/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00f5ff;
    --primary-glow: rgba(0, 245, 255, 0.5);
    --secondary-color: #ff0099;
    --secondary-glow: rgba(255, 0, 153, 0.5);
    --accent-color: #7928ca;
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: rgba(20, 20, 30, 0.7);
    --text-light: #ffffff;
    --text-gray: #a0a0b0;
    --border-glow: rgba(0, 245, 255, 0.3);
    --shadow-neon: 0 0 20px var(--primary-glow), 0 0 40px var(--primary-glow);
    --shadow-neon-secondary: 0 0 20px var(--secondary-glow), 0 0 40px var(--secondary-glow);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--bg-dark);
    background-image:
        radial-gradient(at 0% 0%, rgba(121, 40, 202, 0.2) 0, transparent 50%),
        radial-gradient(at 100% 0%, rgba(0, 245, 255, 0.2) 0, transparent 50%),
        radial-gradient(at 100% 100%, rgba(255, 0, 153, 0.2) 0, transparent 50%),
        radial-gradient(at 0% 100%, rgba(121, 40, 202, 0.2) 0, transparent 50%);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* Animated background particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 245, 255, 0.05) 0, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 153, 0.05) 0, transparent 50%);
    animation: drift 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, 50px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glow);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 5px 30px rgba(0, 245, 255, 0.2);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-shadow: 0 0 30px var(--primary-glow);
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

.nav-links 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-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(121, 40, 202, 0.3) 0%, rgba(0, 245, 255, 0.3) 100%);
    padding: 150px 0 100px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(0,245,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 3s ease-in-out infinite;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--text-gray);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--primary-color);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: var(--shadow-neon);
    position: relative;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--primary-glow), 0 0 60px var(--primary-glow);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    border: 2px solid var(--secondary-color);
    box-shadow: var(--shadow-neon-secondary);
}

.btn-large:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px var(--secondary-glow), 0 0 60px var(--secondary-glow);
}

/* Section Titles */
.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 4rem;
}

/* Features Section */
.features {
    padding: 100px 0;
    position: relative;
}

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

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 245, 255, 0.2);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px var(--primary-glow);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px var(--primary-glow));
    animation: bounce 2s ease-in-out infinite;
}

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

.feature-card h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

/* Levels Section */
.levels {
    padding: 100px 0;
    background: rgba(10, 10, 15, 0.5);
}

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

.level-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid rgba(0, 245, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.level-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.level-card:hover::after {
    left: 100%;
}

.level-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px var(--primary-glow);
}

.level-card.highlight {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(255, 0, 153, 0.1), rgba(121, 40, 202, 0.1));
}

.level-card.highlight:hover {
    box-shadow: 0 10px 40px var(--secondary-glow);
}

.level-card.extreme {
    border-color: #ff0055;
    background: linear-gradient(135deg, rgba(255, 0, 85, 0.1), rgba(255, 0, 153, 0.1));
    animation: extreme-pulse 2s ease-in-out infinite;
}

@keyframes extreme-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 0, 85, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 0, 85, 0.6); }
}

.level-header {
    margin-bottom: 1.5rem;
}

.level-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 0 20px var(--primary-glow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.level-card.highlight .level-badge {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    box-shadow: 0 0 20px var(--secondary-glow);
}

.level-card.extreme .level-badge {
    background: linear-gradient(135deg, #ff0055, #ff0099);
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.5);
}

.level-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.level-details p {
    color: var(--text-gray);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.level-details strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 0, 153, 0.2) 0%, rgba(121, 40, 202, 0.2) 100%);
    position: relative;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 245, 255, 0.1) 0%, transparent 70%);
}

.download-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.download-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    text-shadow: 0 0 20px var(--primary-glow);
}

.download-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-gray);
}

/* Footer */
.footer {
    background: var(--bg-darker);
    color: var(--text-gray);
    padding: 3rem 0;
    border-top: 1px solid var(--border-glow);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

.footer-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
}

/* Privacy Policy Page */
.privacy-policy {
    padding: 150px 0 80px;
    background: var(--bg-dark);
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-glow);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.policy-content h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.update-date {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.policy-section {
    margin-bottom: 3rem;
}

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

.policy-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

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

.policy-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-section li {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

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

.policy-section a:hover {
    text-shadow: 0 0 10px var(--primary-glow);
}

.policy-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-glow);
    text-align: center;
}

.policy-footer p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.policy-footer p:first-child {
    font-weight: 700;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

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

    .download-content h2 {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .policy-content {
        padding: 2rem;
    }

    .policy-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 0.75rem;
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.level-card {
    animation: fade-in-up 0.8s ease-out;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary-color), var(--primary-color));
}
