:root {
    --bg-dark: #121620;
    --bg-card: #1c2133;
    --accent: #5b8dce;
    --accent-hover: #7ba8e0;
    --text-primary: #e8eaf0;
    --text-muted: #8b92a8;
    --border-subtle: rgba(91, 141, 206, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Navbar */
.navbar {
    background: rgba(18, 22, 32, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.navbar-brand img {
    height: 32px;
    width: auto;
}

.navbar-brand .accent {
    color: var(--accent);
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent) !important;
}

/* Hero */
.hero {
    padding: 5rem 0 4rem;
    text-align: center;
}

.hero-logo {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero h1 .accent {
    color: var(--accent);
}

.hero .lead {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About section */
.about-section {
    padding: 4rem 0;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2.5rem;
}

.about-card h2 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

.about-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.about-header h4 {
    margin-bottom: 0;
}

.about-icon {
    width: 50px;
    height: 50px;
    background: rgba(91, 141, 206, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Games section */
.games-section {
    padding: 4rem 0 6rem;
}

.section-title {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(91, 141, 206, 0.1);
}

.game-card-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: linear-gradient(135deg, #1c2133 0%, #1a2540 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-card-img .placeholder-icon {
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.4;
}

.game-card-body {
    padding: 2rem;
}

.game-card-body h3 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.game-card-body .game-genre {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.game-link {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.65rem 1.5rem;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(91, 141, 206, 0.3);
}

.game-link:hover {
    background: #4a7ab8;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 141, 206, 0.4);
}

.game-link:active {
    transform: translateY(0);
}

.game-link i {
    margin-right: 0.4rem;
}

.game-card-body p {
    color: var(--text-muted);
    line-height: 1.7;
}

.badge-status {
    display: inline-block;
    background: rgba(91, 141, 206, 0.12);
    color: var(--accent);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: rgba(18, 22, 32, 0.95);
    border-top: 1px solid var(--border-subtle);
    padding: 2rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.site-footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: var(--accent);
}

.social-links a {
    font-size: 1.2rem;
    margin-left: 1rem;
}

/* Promo section */
.promo-section {
    padding: 4rem 0 5rem;
}

.promo-card {
    position: relative;
    background: linear-gradient(135deg, #1c2133 0%, #1e2845 50%, #1c2133 100%);
    border: 1px solid rgba(91, 141, 206, 0.2);
    border-radius: 16px;
    padding: 3rem;
    overflow: hidden;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(91, 141, 206, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.promo-badge {
    display: inline-block;
    background: rgba(91, 141, 206, 0.15);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.promo-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.promo-text {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.promo-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.promo-feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.promo-feature i {
    color: var(--accent);
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.promo-cta {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(91, 141, 206, 0.3);
}

.promo-cta:hover {
    background: #4a7ab8;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 141, 206, 0.4);
}

.promo-cta:active {
    transform: translateY(0);
}

.promo-cta i {
    margin-right: 0.4rem;
}

.promo-logo {
    max-width: 180px;
    height: auto;
    transition: transform 0.2s;
}

.promo-logo:hover {
    transform: scale(1.05);
}

.promo-section .col-lg-5 a {
    text-decoration: none;
}

.promo-logo-text {
    margin-top: 0.75rem;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 4rem 0 2rem;
    }

    .hero-logo {
        width: 90px;
    }

    .game-card-img {
        height: 200px;
    }

    .promo-features {
        grid-template-columns: 1fr;
    }

    .promo-card {
        padding: 2rem;
    }

    .promo-logo {
        max-width: 140px;
        margin-top: 1rem;
    }
}
