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

:root {
    --primary-color: #12c2e9;
    --secondary-color: #c471ed;
    --accent-color: #f64f59;
    --dark-bg: #0a1628;
    --darker-bg: #050d1a;
    --card-bg: rgba(18, 194, 233, 0.05);
    --text-light: #ffffff;
    --text-gray: #b0b8c4;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--darker-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Age Banner (Sticky) */
.age-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.age-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.age-icon {
    background: white;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 16px;
    padding: 5px 12px;
    border-radius: 50px;
    border: 2px solid white;
}

.age-text {
    font-size: 14px;
    font-weight: 500;
}

/* Navigation */
.navbar {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 60px;
    z-index: 999;
    border-bottom: 1px solid rgba(18, 194, 233, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    color: var(--text-light);
}

.logo-icon {
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.brand-name {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--text-light);
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.crypto-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('bg.jpg');
    background-position: center;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-gray);
    margin-bottom: 40px;
    font-style: italic;
    animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    color: white;
    box-shadow: 0 10px 30px rgba(18, 194, 233, 0.3);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(18, 194, 233, 0.5);
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: var(--dark-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(18, 194, 233, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(18, 194, 233, 0.5);
    box-shadow: 0 20px 40px rgba(18, 194, 233, 0.2);
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.feature-icon svg {
    filter: drop-shadow(0 5px 15px rgba(18, 194, 233, 0.3));
}

.feature-label {
    color: var(--primary-color);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: bold;
}

.feature-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.feature-description {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}

/* Game Preview Section */
.game-preview {
    padding: 80px 20px;
    background: var(--darker-bg);
    text-align: center;
}

.section-title {
    font-size: 42px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 16px;
    line-height: 1.8;
}

.game-preview-placeholder {
    max-width: 600px;
    margin: 40px auto;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(18, 194, 233, 0.1), rgba(196, 113, 237, 0.1));
    border: 2px solid rgba(18, 194, 233, 0.3);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.slot-frame {
    background: rgba(10, 22, 40, 0.8);
    padding: 40px;
    border-radius: 15px;
    border: 3px solid rgba(18, 194, 233, 0.5);
}

.crypto-symbols {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 60px;
    animation: spin 3s ease-in-out infinite;
}

@keyframes spin {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
}

.symbol {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about {
    padding: 80px 20px;
    background: var(--dark-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    color: var(--primary-color);
    font-size: 28px;
    margin: 30px 0 15px 0;
}

.about-content h2:first-child {
    margin-top: 0;
}

.about-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.crypto-float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Disclaimer Banner */
.disclaimer-banner {
    background: linear-gradient(135deg, rgba(18, 194, 233, 0.1), rgba(246, 79, 89, 0.1));
    padding: 60px 20px;
    text-align: center;
    border-top: 2px solid rgba(18, 194, 233, 0.3);
    border-bottom: 2px solid rgba(18, 194, 233, 0.3);
}

.disclaimer-banner h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.disclaimer-banner p {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 60px 20px 30px;
    border-top: 1px solid rgba(18, 194, 233, 0.2);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

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

.footer-disclaimer {
    max-width: 900px;
    margin: 0 auto 30px;
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(18, 194, 233, 0.1);
}

.copyright {
    color: var(--text-gray);
    font-size: 14px;
}

.age-badges {
    display: flex;
    gap: 15px;
}

.age-badge {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 14px;
}

/* Policy Pages Styles */
.policy-page {
    padding: 120px 20px 80px;
    min-height: 100vh;
}

.policy-header {
    text-align: center;
    margin-bottom: 60px;
}

.policy-title {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.policy-subtitle {
    color: var(--text-gray);
    font-size: 18px;
}

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

.policy-content h2 {
    color: var(--primary-color);
    font-size: 28px;
    margin: 40px 0 20px 0;
}

.policy-content h3 {
    color: var(--text-light);
    font-size: 22px;
    margin: 30px 0 15px 0;
}

.policy-content p,
.policy-content li {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-content strong {
    color: var(--text-light);
}

.policy-highlight {
    background: rgba(18, 194, 233, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}

/* Game Page */
.game-container {
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--darker-bg);
}

.game-frame {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .age-banner-content {
        gap: 8px;
        text-align: center;
    }

    .age-text {
        font-size: 12px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 71px;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.98);
        flex-direction: column;
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s;
        border-bottom: 1px solid rgba(18, 194, 233, 0.2);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

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

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

    .about-visual {
        order: -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .crypto-symbols {
        font-size: 40px;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 16px;
    }
}
