/* General layout */
html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Landing page specific styling */
body.landing-page {
    padding: 0;
    padding-top: 70px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* ========================================
   LANDING PAGE STYLES
   ======================================== */

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #ED335F;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo-img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ED335F;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-store {
    background: #ED335F;
    color: #fff !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link-store:hover {
    background: #D12347;
    transform: translateY(-2px);
}

.nav-link-store::after {
    display: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* About Section */
.about-section {
    background: #000000;
    padding: 6rem 0 4rem 0;
    color: #e0e0e0;
    position: relative;
}

.header-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 2rem;
}

.about-section>.container {
    position: relative;
    z-index: 2;
}

.about-section h2 {
    font-size: 2.5rem;
    color: #fff;
    margin: 0 0 1.5rem 0;
    text-align: center;
    position: relative;
}

.about-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #ED335F;
    margin: 1rem auto 0;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    text-align: center;
    margin: 0 auto 3rem;
    max-width: 800px;
    color: #ffffff;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background: rgba(139, 0, 0, 0.15);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(139, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(139, 0, 0, 0.25);
    border-color: rgba(237, 51, 95, 0.6);
    transform: translateY(-4px);
}

.feature h3 {
    font-size: 1.5rem;
    color: #ED335F;
    margin: 0 0 1rem 0;
}

.feature p {
    margin: 0;
    line-height: 1.6;
    color: #ffffff;
}

/* Games Section */
.games-section {
    background: #1a1a1a;
    padding: 4rem 0;
    color: #e0e0e0;
}

.games-section h2 {
    font-size: 2.5rem;
    color: #fff;
    margin: 0 0 3rem 0;
    text-align: center;
    position: relative;
}

.games-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #ED335F;
    margin: 1rem auto 0;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    justify-items: center;
}

/* Game Card */
.game-card {
    background: linear-gradient(135deg, #2d2d2d 0%, #252525 100%);
    border: 2px solid #3d3d3d;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    max-width: 550px;
    width: 100%;
}

.game-card:hover {
    border-color: #ED335F;
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(237, 51, 95, 0.2);
}

.game-card.coming-soon {
    opacity: 0.6;
    border-style: dashed;
}

.game-card.coming-soon:hover {
    transform: none;
    border-color: #5d5d5d;
}

.game-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.game-card h3 {
    font-size: 1.75rem;
    color: #fff;
    margin: 0;
    flex: 1;
}

.game-badge {
    background: #ED335F;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.game-description {
    color: #ffffff;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.game-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #3d3d3d;
}

.meta-item {
    font-size: 0.9rem;
    color: #ffffff;
}

.game-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.game-button {
    display: inline-block;
    background: #ED335F;
    color: #fff;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #ED335F;
}

.game-button:hover {
    background: #D12347;
    border-color: #D12347;
    transform: scale(1.02);
}

.game-button-secondary {
    background: transparent;
    color: #ED335F;
    border: 2px solid #ED335F;
}

.game-button-secondary:hover {
    background: rgba(237, 51, 95, 0.1);
    border-color: #D12347;
    color: #D12347;
}

/* FAQs Section */
.faqs-section {
    background: #2d2d2d;
    padding: 4rem 0;
    color: #e0e0e0;
}

.faqs-section h2 {
    font-size: 2.5rem;
    color: #fff;
    margin: 0 0 3rem 0;
    text-align: center;
    position: relative;
}

.faqs-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #ED335F;
    margin: 1rem auto 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(237, 51, 95, 0.4);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    margin: 0;
    font-family: inherit;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-icon {
    font-size: 1.5rem;
    color: #ED335F;
    transition: transform 0.3s ease;
    font-weight: 300;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 5px 1.5rem 1.25rem 1.5rem;
}

.faq-answer p {
    margin: 0;
    color: #ffffff;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #0d0d0d;
    padding: 2rem 0;
    text-align: center;
    color: #808080;
    border-top: 1px solid #2d2d2d;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Landing Page Responsive Design */
@media (max-width: 768px) {

    .about-section,
    .games-section {
        padding: 3rem 0;
    }

    .about-section h2,
    .games-section h2 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1rem;
    }

    .game-card {
        padding: 1.5rem;
    }

    .game-card h3 {
        font-size: 1.5rem;
    }

    .nav-container {
        padding: 0 1rem;
        height: 60px;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .nav-logo-img {
        height: 40px;
    }

    body.landing-page {
        padding-top: 60px;
    }
}

@media (max-width: 600px) {
    .nav-menu {
        gap: 0.75rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .nav-logo-img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .game-card-header {
        flex-direction: column;
        align-items: start;
    }

    .game-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}