* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #DC2626;
    --dark-red: #991B1B;
    --light-red: #FEE2E2;
    --accent-red: #EF4444;
    --text-dark: #1F2937;
    --text-gray: #4B5563;
    --text-light: #6B7280;
    --bg-white: #FFFFFF;
    --bg-gray: #F9FAFB;
    --border-color: #E5E7EB;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--bg-white);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    margin-right: 8px;
    color: var(--light-red);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

nav ul li a {
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

nav ul li a:hover {
    color: var(--light-red);
    border-bottom-color: var(--light-red);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 26px;
    cursor: pointer;
    padding: 5px;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    padding: 80px 0;
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: var(--bg-white);
    color: var(--primary-red);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    background: var(--light-red);
}

.cta-button i {
    margin-left: 8px;
}

.section {
    padding: 70px 0;
}

.section-alt {
    background-color: var(--bg-gray);
}

.section-title {
    text-align: center;
    font-size: 38px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.game-category {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 35px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-red);
}

.game-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.15);
}

.game-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-red);
}

.game-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-red));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.game-icon i {
    font-size: 32px;
    color: var(--bg-white);
}

.game-title {
    flex: 1;
}

.game-title h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.game-title span {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.game-description {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.benefits-section h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
}

.benefits-section h4 i {
    margin-right: 10px;
    font-size: 22px;
}

.benefits-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: var(--bg-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: var(--light-red);
}

.benefit-item i {
    color: var(--primary-red);
    margin-right: 12px;
    margin-top: 3px;
    font-size: 18px;
    flex-shrink: 0;
}

.benefit-item span {
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-red);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(220, 38, 38, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 36px;
    color: var(--bg-white);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    margin-top: 40px;
}

.about-content h2:first-child {
    margin-top: 0;
}

.about-content p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 20px;
}

.info-box {
    background: var(--light-red);
    border-left: 5px solid var(--primary-red);
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
}

.info-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-red);
    margin-bottom: 12px;
}

.info-box p {
    color: var(--text-dark);
    margin-bottom: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.contact-card {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.contact-card i {
    font-size: 42px;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.contact-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
}

.contact-card a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}

.map-container {
    margin-top: 50px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    height: 400px;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: var(--text-light);
}

.map-placeholder i {
    font-size: 64px;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--light-red);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.faq-question i {
    color: var(--primary-red);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 25px 25px;
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.8;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(220, 38, 38, 0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-red));
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image i {
    font-size: 64px;
    color: var(--bg-white);
    opacity: 0.8;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.blog-date i {
    margin-right: 6px;
    color: var(--primary-red);
}

.blog-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(4px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.gallery-item {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--light-red), var(--bg-gray));
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.15);
}

.gallery-item i {
    font-size: 48px;
    color: var(--primary-red);
    opacity: 0.5;
}

footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #111827 100%);
    color: var(--bg-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--bg-white);
}

.footer-section p {
    color: #D1D5DB;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #D1D5DB;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-section ul li a i {
    margin-right: 8px;
    color: var(--primary-red);
    font-size: 12px;
}

.footer-section ul li a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-red);
    color: var(--bg-white);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9CA3AF;
    font-size: 14px;
}

.error-container {
    text-align: center;
    padding: 100px 20px;
}

.error-code {
    font-size: 120px;
    font-weight: 900;
    color: var(--primary-red);
    line-height: 1;
    margin-bottom: 20px;
}

.error-message {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.error-description {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 35px;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
        flex-direction: column;
        justify-content: flex-start;
        padding: 30px;
        gap: 20px;
        transition: left 0.3s ease;
    }

    nav ul.active {
        left: 0;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 15px;
        font-size: 18px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .game-category {
        padding: 25px;
    }

    .game-header {
        flex-direction: column;
        text-align: center;
    }

    .game-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 22px;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 15px;
    }

    .game-title h3 {
        font-size: 22px;
    }

    .error-code {
        font-size: 80px;
    }

    .error-message {
        font-size: 22px;
    }
}

