* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #f97316;
    --secondary-color: #ea580c;
    --accent-color: #fb923c;
    --purple-accent: #a855f7;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-light: #fef3c7;
    --white: #ffffff;
    --border-color: #fed7aa;
    --success-color: #22c55e;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.15);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 25px;
}

.section-padding {
    padding: 90px 0;
}

header {
    background: linear-gradient(to right, var(--primary-color), var(--purple-accent));
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 20px 25px;
    gap: 30px;
    max-width: 1280px;
    margin: 0 auto;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo span {
    color: var(--bg-light);
}

nav ul {
    display: grid;
    grid-template-columns: repeat(6, auto);
    gap: 40px;
    align-items: center;
    justify-content: center;
}

nav a {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    position: relative;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::before {
    width: 100%;
}

nav a:hover {
    opacity: 0.9;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--white);
    cursor: pointer;
    padding: 8px;
}

.hero-section {
    background: linear-gradient(135deg, #f97316 0%, #a855f7 100%);
    color: var(--white);
    padding: 120px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--white);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 16px 45px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 17px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--purple-accent));
    border-radius: 2px;
}

.section-title p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 650px;
    margin: 20px auto 0;
}

.game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.game-card {
    background: linear-gradient(135deg, #fff 0%, #fef3c7 100%);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    transition: var(--transition);
    opacity: 0;
}

.game-card:hover::before {
    opacity: 1;
}

.game-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.game-card-icon {
    font-size: 52px;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: var(--transition);
}

.game-card:hover .game-card-icon {
    transform: scale(1.15) rotate(5deg);
}

.game-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-dark);
}

.game-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.card-link {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-link:hover {
    gap: 15px;
    color: var(--secondary-color);
}

.features-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 25px;
    align-items: start;
    transition: var(--transition);
}

.feature-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 36px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

.about-section {
    background: var(--white);
}

.about-content {
    max-width: 950px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.about-content p {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 25px;
}

.about-content h3 {
    font-size: 26px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--text-dark);
}

.image-placeholder {
    background: linear-gradient(135deg, #fed7aa 0%, #fef3c7 100%);
    border-radius: 15px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 20px;
    margin: 35px 0;
    border: 3px dashed var(--border-color);
}

footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #cbd5e1;
    padding: 70px 0 35px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 45px;
    margin-bottom: 45px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.footer-column ul {
    display: grid;
    gap: 14px;
}

.footer-column a {
    color: #cbd5e1;
    font-size: 14px;
    transition: var(--transition);
    display: inline-block;
}

.footer-column a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 25px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-4px) rotate(5deg);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
}

.page-header {
    background: linear-gradient(135deg, #f97316 0%, #a855f7 100%);
    color: var(--white);
    padding: 70px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 18px;
}

.page-header p {
    font-size: 19px;
    opacity: 0.95;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    font-size: 15px;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 12px;
}

.breadcrumb span {
    font-weight: 600;
}

.content-section {
    padding: 70px 0;
}

.content-wrapper {
    max-width: 950px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 32px;
    font-weight: 800;
    margin: 45px 0 25px;
    color: var(--text-dark);
}

.content-wrapper h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 35px 0 18px;
    color: var(--text-dark);
}

.content-wrapper p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 20px;
}

.content-wrapper ul {
    margin: 25px 0;
    padding-left: 0;
}

.content-wrapper ul li {
    padding: 12px 0 12px 35px;
    position: relative;
    font-size: 16px;
    color: var(--text-light);
}

.content-wrapper ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-size: 18px;
}

.contact-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 45px;
}

.contact-info {
    display: grid;
    gap: 35px;
}

.contact-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 25px;
    align-items: start;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

.contact-form {
    background: var(--white);
    padding: 45px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.submit-button {
    background: linear-gradient(135deg, var(--primary-color), var(--purple-accent));
    color: var(--white);
    padding: 16px 40px;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.map-container {
    margin-top: 55px;
    border-radius: 15px;
    overflow: hidden;
    height: 420px;
    background: var(--bg-light);
    border: 3px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 20px;
}

.faq-section {
    background: var(--white);
}

.faq-item {
    background: linear-gradient(135deg, #fff 0%, #fef3c7 100%);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 15px;
}

.faq-item h3 i {
    color: var(--primary-color);
    font-size: 18px;
}

.faq-item p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
}

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 240px;
    background: linear-gradient(135deg, #fed7aa 0%, #fef3c7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border-bottom: 2px solid var(--border-color);
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 18px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 18px;
}

.blog-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.blog-content p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.read-more:hover {
    gap: 15px;
}

.error-page {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 25px;
}

.error-content h1 {
    font-size: 130px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 25px;
}

.error-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-dark);
}

.error-content p {
    font-size: 19px;
    color: var(--text-light);
    margin-bottom: 35px;
}

@media (max-width: 768px) {
    .header-container {
        grid-template-columns: auto 1fr;
    }

    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: linear-gradient(to bottom, var(--primary-color), var(--purple-accent));
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        padding: 25px 0;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        grid-template-columns: 1fr;
        gap: 0;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    nav a {
        display: block;
        padding: 18px 25px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 17px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .game-categories {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .error-content h1 {
        font-size: 90px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .section-padding {
        padding: 60px 0;
    }
}

.article-detail {
    background: var(--white);
}

.article-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 45px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
    font-size: 15px;
    color: var(--text-light);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta i {
    color: var(--primary-color);
    font-size: 16px;
}

.article-body {
    line-height: 1.9;
    color: var(--text-dark);
}

.article-body .lead {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 35px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08), rgba(168, 85, 247, 0.08));
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.article-body h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 50px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.article-body h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-body h4 {
    font-size: 21px;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-body p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.9;
}

.article-body ul,
.article-body ol {
    margin: 25px 0;
    padding-left: 30px;
}

.article-body ul li,
.article-body ol li {
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.8;
}

.article-body ul li {
    list-style-type: none;
    position: relative;
    padding-left: 25px;
}

.article-body ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}

.article-body strong {
    font-weight: 700;
    color: var(--text-dark);
}

.article-body .image-placeholder {
    background: linear-gradient(135deg, var(--bg-light), #fff5e6);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 80px 30px;
    text-align: center;
    margin: 40px 0;
    color: var(--text-light);
    font-size: 16px;
    font-weight: 600;
}

.article-body .image-placeholder i {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.article-tags {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.article-tags strong {
    display: block;
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-dark);
}

.article-tags a {
    display: inline-block;
    padding: 8px 18px;
    margin: 5px 8px 5px 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(168, 85, 247, 0.1));
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid transparent;
}

.article-tags a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.article-navigation {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--purple-accent));
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-back:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .article-content {
        padding: 30px 20px;
        border-radius: 0;
    }

    .article-meta {
        gap: 15px;
        font-size: 14px;
    }

    .article-body .lead {
        font-size: 18px;
        padding: 20px;
    }

    .article-body h2 {
        font-size: 26px;
        margin-top: 35px;
    }

    .article-body h3 {
        font-size: 22px;
        margin-top: 30px;
    }

    .article-body h4 {
        font-size: 19px;
    }

    .article-body p,
    .article-body ul li,
    .article-body ol li {
        font-size: 16px;
    }

    .article-body .image-placeholder {
        padding: 60px 20px;
    }

    .article-body .image-placeholder i {
        font-size: 40px;
    }
}

