:root {
    --primary-color: #0070ba;
    --secondary-color: #00eaff;
    --dark-bg: #1e1e2f;
    --darker-bg: #16161f;
    --card-bg: rgba(42, 42, 60, 0.8);
    --text-light: #ffffff;
    --text-muted: #b3b3b3;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --glow-blue: #00eaff;
    --glow-purple: #0070ba;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg), var(--darker-bg));
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Snowflakes */
.snowflakes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -2em;
    color: #1fb6ff;
    font-size: 1.8em;
    -webkit-user-select: none;
    user-select: none;
    opacity: 0.85;
    animation: fall linear infinite;
    will-change: transform, opacity;
}

@keyframes fall {
    0% {
        transform: translateY(-2em) rotate(0deg);
        opacity: 0.9;
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

.glitch {
    text-shadow: 1px 0 #00ffea, -1px 0 #ff00ff;
    animation: fall 9s linear infinite, glitchShift 0.3s infinite alternate;
}

@keyframes glitchShift {
    from { text-shadow: 1px 0 #00ffea, -1px 0 #ff00ff; }
    to { text-shadow: -1px 0 #00ffea, 1px 0 #ff00ff; }
}

.snowflake:nth-child(1) { left: 5%; animation-duration: 8s; animation-delay: 0s; }
.snowflake:nth-child(2) { left: 20%; animation-duration: 10s; animation-delay: 1.5s; }
.snowflake:nth-child(3) { left: 35%; animation-duration: 9s; animation-delay: 3s; }
.snowflake:nth-child(4) { left: 50%; animation-duration: 11s; animation-delay: 0.7s; }
.snowflake:nth-child(5) { left: 65%; animation-duration: 12s; animation-delay: 2.3s; }
.snowflake:nth-child(6) { left: 80%; animation-duration: 9.5s; animation-delay: 4s; }

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(30, 30, 47, 0.95);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    padding: 1rem 2rem;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 234, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(22, 22, 31, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    text-shadow: 0 0 10px var(--glow-blue);
    transition: all 0.3s ease;
}

.logo:hover {
    text-shadow: 0 0 20px var(--glow-blue);
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 112, 186, 0.3);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 112, 186, 0.4);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../assets/background2.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 234, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    animation: heroFadeIn 1.5s ease-out;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, var(--secondary-color), #fff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite alternate;
    text-shadow: 0 0 30px rgba(0, 234, 255, 0.5);
    position: relative;
    top: -60px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    text-shadow: 0 0 10px rgba(0, 234, 255, 0.3);
    position: relative;
    top: -60px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-buttons, .buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 80px;
    animation: fadeInUp 1s ease-out 1s both;
}

/* Button Styling */
.btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 112, 186, 0.4);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.1;
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.1;
    }
    50% { 
        transform: translateY(-30px) rotate(180deg); 
        opacity: 0.3;
    }
}

/* About Section */
.about, .features-section {
    padding: 5rem 2rem;
    background: var(--darker-bg);
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title, .about h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after, .about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.about p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-muted);
    line-height: 1.8;
}

.features, .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    list-style: none;
    padding: 0;
}

.features li, .feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 234, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.features li:hover, .feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(0, 234, 255, 0.2);
}

.features li::before {
    content: "✔";
    color: var(--success);
    margin-right: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: center;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-align: center;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    text-align: center;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    animation: modalFadeIn 0.3s ease-out;
}

.modal-content {
    background: var(--card-bg);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    border: 1px solid rgba(0, 234, 255, 0.3);
    backdrop-filter: blur(15px);
    animation: modalSlideIn 0.3s ease-out;
}

.close {
    color: var(--text-muted);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(0, 234, 255, 0.3);
    border-radius: 10px;
    background: rgba(30, 30, 47, 0.8);
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(0, 234, 255, 0.3);
    background: rgba(30, 30, 47, 0.9);
}

/* Social Links / Contact Section */
.social-links, .contact-section, .contact-us {
    padding: 5rem 2rem;
    background: var(--dark-bg);
}

.contact-grid, .contact-us {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-card, .contact-box {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 234, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    width: 300px;
    position: relative;
    overflow: hidden;
}

.contact-card:hover, .contact-box:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 30px rgba(0, 234, 255, 0.2);
}

.contact-card h3, .contact-box h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.2rem;
    text-decoration: none;
    padding: 1rem 2rem;
    background: var(--card-bg);
    border-radius: 25px;
    margin: 0.5rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 234, 255, 0.3);
}

.social-links a:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 234, 255, 0.3);
}

/* Music Controls */
.music-controls, .music-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--card-bg);
    border: 1px solid rgba(0, 234, 255, 0.3);
    border-radius: 50px;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.music-btn {
    background: var(--card-bg);
    color: var(--secondary-color);
    border: 1px solid rgba(0, 234, 255, 0.3);
    padding: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.music-btn:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
    color: var(--dark-bg);
    box-shadow: 0 10px 25px rgba(0, 234, 255, 0.4);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 3rem 2rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(0, 234, 255, 0.1);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.footer p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--glow-blue);
}

/* Animations */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textGlow {
    0% {
        background-position: 0% 50%;
        text-shadow: 0 0 30px rgba(0, 234, 255, 0.5);
    }
    100% {
        background-position: 100% 50%;
        text-shadow: 0 0 50px rgba(0, 234, 255, 0.8);
    }
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .hero-buttons, .buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .section-title, .about h2 {
        font-size: 2.5rem;
    }

    .features, .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid, .contact-us {
        flex-direction: column;
    }

    .contact-card, .contact-box {
        width: 90%;
        margin: 0.5rem;
    }

    .music-btn {
        bottom: 15px;
        right: 15px;
        padding: 0.8rem;
        font-size: 1.2rem;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .section-title, .about h2 {
        font-size: 2rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

/* Glow Effects */
.glow-on-hover {
    transition: all 0.3s ease;
}

.glow-on-hover:hover {
    box-shadow: 0 0 20px rgba(0, 234, 255, 0.4);
}
