:root {
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --accent-mint: #4ade80;
    --accent-mint-alt: #2ecc71;
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-dark: #0f172a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.header {
    position: sticky;
    top: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(74, 222, 128, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    line-height: 0;
    flex-shrink: 0;
}

.logo {
    max-height: 40px;
    width: auto;
    height: 40px;
    min-width: 100px;
    display: block;
    object-fit: contain;
}

.header-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent-mint);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: var(--accent-mint-alt);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-mint);
    border-color: var(--accent-mint);
}

.btn-secondary:hover {
    background: rgba(74, 222, 128, 0.1);
    transform: translateY(-2px);
}

.hero-banner-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-banner {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    position: relative;
}

.banner-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.main-content {
    padding: 4rem 1.5rem;
    background: var(--bg-dark);
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
}

.content-header {
    margin-bottom: 3rem;
    text-align: center;
}

.content-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.content-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.cta-container {
    margin-top: 2.5rem;
    text-align: center;
}

.btn-cta {
    display: inline-block;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-mint) 0%, var(--accent-mint-alt) 100%);
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(74, 222, 128, 0.4);
    text-transform: none;
    letter-spacing: 0.5px;
}

.btn-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(74, 222, 128, 0.6);
    background: linear-gradient(135deg, var(--accent-mint-alt) 0%, var(--accent-mint) 100%);
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-mint);
    line-height: 1.3;
}

.content-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.content-link {
    color: var(--accent-mint);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.content-link:hover {
    color: var(--accent-mint-alt);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.feature-list li {
    position: relative;
    padding: 1.25rem 1.25rem 1.25rem 3rem;
    margin-bottom: 1rem;
    background: rgba(74, 222, 128, 0.05);
    border-left: 3px solid var(--accent-mint);
    border-radius: 8px;
    color: var(--text-secondary);
    line-height: 1.7;
    transition: all 0.3s ease;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 1rem;
    top: 1.25rem;
    color: var(--accent-mint);
    font-weight: 700;
    font-size: 1.2rem;
}

.feature-list li:hover {
    background: rgba(74, 222, 128, 0.1);
    transform: translateX(5px);
    border-left-color: var(--accent-mint-alt);
}

.games {
    padding: 4rem 1.5rem;
    background: var(--bg-darker);
}

.games-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.game-card {
    position: relative;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(74, 222, 128, 0.3);
}

.game-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-card-image {
    transform: scale(1.1);
}

.game-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
    padding: 1.5rem;
    display: flex;
    align-items: flex-end;
}

.game-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.games-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 12px;
    overflow: hidden;
    min-width: 600px;
}

.games-table thead {
    background: linear-gradient(135deg, var(--accent-mint) 0%, var(--accent-mint-alt) 100%);
}

.games-table th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.games-table tbody tr {
    border-bottom: 1px solid rgba(74, 222, 128, 0.1);
    transition: background 0.3s ease;
}

.games-table tbody tr:last-child {
    border-bottom: none;
}

.games-table tbody tr:hover {
    background: rgba(74, 222, 128, 0.1);
}

.games-table td {
    padding: 1.25rem 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.games-table tbody tr:nth-child(even) {
    background: rgba(74, 222, 128, 0.03);
}

.games-table tbody tr:nth-child(even):hover {
    background: rgba(74, 222, 128, 0.15);
}

.games-table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

.games-table td:nth-child(2) {
    color: var(--accent-mint);
    font-weight: 600;
}

.table-note {
    margin-top: 1rem;
    font-style: italic;
    color: var(--text-secondary);
    opacity: 0.8;
}

.content-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(74, 222, 128, 0.2);
    text-align: center;
}

.content-footer small {
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(74, 222, 128, 0.1);
    padding: 2rem 1.5rem;
    overflow-x: hidden;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    overflow-x: hidden;
}

.footer-payments {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.payment-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.payment-icons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.payment-icon {
    height: 32px;
    width: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
    filter: brightness(0.9);
}

.payment-icon:hover {
    opacity: 1;
    filter: brightness(1.1);
    transform: scale(1.1);
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .header-nav {
        gap: 0.5rem;
    }

    .btn-login {
        display: none;
    }

    .btn-register {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .logo {
        max-height: 35px;
    }

    .hero-banner {
        max-height: 350px;
    }

    .main-content {
        padding: 3rem 1rem;
    }

    .content-header h1 {
        font-size: 2rem;
    }

    .content-header p {
        font-size: 1rem;
    }

    .cta-container {
        margin-top: 2rem;
    }

    .btn-cta {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .content-section h2 {
        font-size: 1.75rem;
    }

    .content-section p {
        font-size: 1rem;
    }

    .feature-list li {
        padding: 1rem 1rem 1rem 2.5rem;
        font-size: 0.95rem;
    }

    .feature-list li::before {
        left: 0.75rem;
        top: 1rem;
    }

    .games-table {
        min-width: 500px;
        font-size: 0.9rem;
    }

    .games-table th,
    .games-table td {
        padding: 1rem 0.75rem;
    }

    .table-wrapper {
        margin: 1.5rem -1rem;
        border-radius: 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }

    .game-card {
        height: 180px;
    }

    .games {
        padding: 3rem 1rem;
    }

    .footer-payments {
        flex-direction: column;
        gap: 0.5rem;
    }

    .payment-icons {
        max-width: 100%;
        justify-content: center;
    }

    .footer-container {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 1rem;
    }

    .hero-banner {
        max-height: 250px;
    }

    .main-content {
        padding: 2rem 1rem;
    }

    .content-header h1 {
        font-size: 1.75rem;
    }

    .cta-container {
        margin-top: 1.5rem;
    }

    .btn-cta {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .feature-list li {
        padding: 0.875rem 0.875rem 0.875rem 2.25rem;
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .feature-list li::before {
        left: 0.625rem;
        top: 0.875rem;
        font-size: 1rem;
    }

    .games-table {
        min-width: 450px;
        font-size: 0.85rem;
    }

    .games-table th,
    .games-table td {
        padding: 0.875rem 0.5rem;
    }

    .games-table th {
        font-size: 0.85rem;
        padding: 1rem 0.5rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .games {
        padding: 3rem 1rem;
    }

    .payment-icon {
        height: 28px;
    }
}
