/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6B35;
    --secondary-color: #F7931E;
    --accent-color: #FFD23F;
    --dark-bg: #0A0E27;
    --dark-card: #151B3D;
    --text-light: #E8E8E8;
    --text-muted: #9CA3AF;
    --success-color: #10B981;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0A0E27 0%, #1A1F3A 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

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

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav a:hover {
    color: var(--primary-color);
}

.nav a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 107, 53, 0.4);
    border-radius: 10px;
    background: rgba(10, 14, 39, 0.6);
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.burger span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin: 0 auto;
}

.burger:is(:hover, :focus-visible) {
    border-color: var(--primary-color);
    background: rgba(255, 107, 53, 0.1);
}

.burger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
    opacity: 0;
}

.burger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

body.no-scroll {
    overflow: hidden;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.age-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.feature-item svg {
    color: var(--success-color);
}

/* About Section */
.about {
    padding: 5rem 0;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: var(--dark-card);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
    border-color: var(--primary-color);
}

.info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.info-card h3 {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.5rem;
}

.info-card p {
    color: var(--text-muted);
}

/* Featured Games Section */
.featured-games {
    padding: 5rem 0;
    background: rgba(21, 27, 61, 0.3);
}

.featured-games h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.game-card {
    background: var(--dark-card);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
    border-color: var(--primary-color);
}

.game-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #1A1F3A, #2A2F4A);
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 107, 53, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.game-info {
    padding: 1.5rem;
}

.game-info h3 {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    font-size: 1.5rem;
}

.game-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.btn-play {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.show-more-container {
    text-align: center;
    margin-top: 2rem;
}

.btn-show-more {
    display: inline-block;
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
    padding: 1rem 3rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-show-more:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

/* Disclaimer */
.disclaimer {
    padding: 4rem 0;
    background: rgba(255, 107, 53, 0.05);
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.disclaimer h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.disclaimer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.disclaimer-content p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.disclaimer-content .highlight {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 1.5rem 0;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.3rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.age-restriction {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.age-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-note {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 107, 53, 0.1);
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.badge {
    background: rgba(255, 107, 53, 0.1);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.safety-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.safety-logos img {
    width: 120px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.safety-logos a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Consent Popups */
.consent-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 20, 0.82);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 2000;
}

.consent-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.consent-modal {
    width: min(520px, 100%);
    background: var(--dark-card);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 30px 80px rgba(5, 8, 20, 0.6);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.consent-modal::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.6), rgba(247, 147, 30, 0.4));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

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

.consent-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 107, 53, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.consent-icon svg {
    width: 28px;
    height: 28px;
}

.consent-modal h3 {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 1.5rem;
}

.consent-modal p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.consent-list {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.consent-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.consent-list li::before {
    content: '•';
    color: var(--primary-color);
    font-size: 1.5rem;
    line-height: 1;
}

.consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.consent-btn {
    flex: 1;
    min-width: 140px;
    border: none;
    border-radius: 10px;
    padding: 0.9rem 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

.consent-btn:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.consent-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.35);
}

.consent-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.consent-btn.ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.consent-btn:hover {
    transform: translateY(-2px);
}

.consent-caption {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

@media (max-width: 600px) {
    .consent-modal {
        padding: 1.5rem;
    }

    .consent-actions {
        flex-direction: column;
    }

    .consent-btn {
        width: 100%;
    }
}

/* Game Page Styles */
.game-page {
    padding: 2rem 0;
}

.game-header {
    text-align: center;
    margin-bottom: 2rem;
}

.game-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-provider {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.game-container {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.game-frame {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 12px;
    background: #000;
}

.game-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.detail-card {
    background: var(--dark-card);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 16px;
    padding: 2rem;
}

.detail-card h2 {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.8rem;
}

.detail-card h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.detail-card ul {
    list-style: none;
    padding-left: 0;
}

.detail-card li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    padding-left: 1.5rem;
    position: relative;
}

.detail-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.detail-card p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.all-games-header {
    text-align: center;
    padding: 4rem 0 2rem;
}

.all-games-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Policy Pages */
.policy-page {
    padding: 4rem 0;
    min-height: 60vh;
}

.policy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 107, 53, 0.2);
}

.policy-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-section {
    background: var(--dark-card);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.policy-section h2 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.policy-section h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.policy-section p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.policy-section li {
    color: var(--text-muted);
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    line-height: 1.6;
}

.policy-section li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.policy-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-section a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.policy-disclaimer {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
}

.policy-disclaimer h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.policy-disclaimer p {
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.8;
}

.policy-disclaimer ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.policy-disclaimer li {
    color: var(--text-light);
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.policy-disclaimer li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.highlight-section {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(247, 147, 30, 0.05));
    border: 2px solid var(--primary-color);
}

.highlight-section p strong {
    color: var(--primary-color);
}

/* Responsible Gaming Resources */
.help-resources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.resource-card {
    background: rgba(255, 107, 53, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.resource-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.resource-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-resource {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-resource:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .burger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 80vw);
        height: 100vh;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(12px);
        padding: 6rem 2rem 2rem;
        transition: right 0.3s ease, opacity 0.3s ease;
        box-shadow: -15px 0 40px rgba(0, 0, 0, 0.5);
        opacity: 0;
        display: none;
        pointer-events: none;
    }

    .nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav.nav-open {
        right: 0;
        opacity: 1;
        display: block;
        pointer-events: auto;
    }

    .header-content {
        align-items: center;
    }

}

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

    .hero p {
        font-size: 1rem;
    }

    .hero-features {
        gap: 1.5rem;
    }

    .nav ul {
        gap: 1rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 500px;
    }

    .footer-badges {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .about h2,
    .featured-games h2 {
        font-size: 1.8rem;
    }

    .game-header h1 {
        font-size: 1.8rem;
    }

    .game-frame {
        height: 400px;
    }
}
