* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00f0ff;
    --secondary: #ff00ff;
    --accent: #ffff00;
    --dark: #0a0a0a;
    --darker: #050505;
    --light: #ffffff;
    --gray: #333;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    transition: background 0.3s ease;
}

body.light-mode {
    --dark: #f5f5f5;
    --darker: #e0e0e0;
    --light: #0a0a0a;
    --gray: #ddd;
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
    text-align: center;
    padding: 1rem;
}

.spinner {
    width: 80px;
    height: 80px;
    border: 4px solid transparent;
    border-top: 4px solid var(--primary);
    border-right: 4px solid var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#loader p {
    margin-top: 20px;
    font-size: 1.2rem;
    color: var(--primary);
    text-align: center;
    width: 100%;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

#navbar.scrolled {
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

#theme-toggle {
    background: none;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#theme-toggle:hover {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 0 20px var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1571330735066-03aaa9429d89?w=1920') center/cover;
    filter: brightness(0.3);
}

#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.glitch {
    font-size: 6rem;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary), 0 0 30px var(--primary);
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

.tagline {
    font-size: 1.5rem;
    margin: 1rem 0 2rem;
    color: var(--primary);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
}

.btn-primary {
    background: var(--gradient);
    color: var(--dark);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.8);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 0 30px var(--primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--primary);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Common Section Styles */
section {
    padding: 5rem 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

/* About Section */
#about {
    background: var(--darker);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.3);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #ccc;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--dark);
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
}

.stat-label {
    display: block;
    margin-top: 0.5rem;
    color: #999;
}

/* Music Player Section */
#music {
    background: var(--dark);
}

.music-player {
    background: var(--darker);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.2);
}

#waveform {
    width: 100%;
    height: 150px;
    margin-bottom: 2rem;
}

.player-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.track-info {
    text-align: center;
}

.track-info h3 {
    font-size: 1.8rem;
    color: var(--primary);
}

.track-info p {
    color: #999;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.controls button {
    background: none;
    border: 2px solid var(--primary);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.controls button:hover {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 0 20px var(--primary);
}

#play-btn {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: var(--gray);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
}

.progress {
    height: 100%;
    background: var(--gradient);
    border-radius: 10px;
    width: 0;
    transition: width 0.1s linear;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.volume-control input {
    width: 150px;
}

input[type="range"] {
    -webkit-appearance: none;
    background: var(--gray);
    height: 6px;
    border-radius: 10px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
}

.playlist {
    margin-top: 2rem;
    border-top: 1px solid var(--gray);
    padding-top: 1rem;
}

.playlist-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.playlist-item:hover {
    background: var(--dark);
}

.playlist-item.active {
    background: var(--dark);
    border-left: 3px solid var(--primary);
}

.track-number {
    color: var(--primary);
    font-weight: bold;
}

.track-name {
    flex: 1;
    margin-left: 1rem;
}

.track-duration {
    color: #999;
}

/* Events Section */
#events {
    background: var(--darker);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card {
    background: var(--dark);
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.4);
    transform: translateY(-5px);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--gradient);
    width: 80px;
    height: 80px;
    border-radius: 15px;
    justify-content: center;
}

.event-date .day {
    font-size: 2rem;
    font-weight: bold;
    color: var(--dark);
}

.event-date .month {
    font-size: 1rem;
    color: var(--dark);
}

.event-details h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.event-details p {
    color: #999;
    margin: 0.5rem 0;
}

.event-details i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.btn-small {
    padding: 0.7rem 1.5rem;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.btn-small:hover {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 0 20px var(--primary);
}

/* Blog Section */
#blog {
    background: var(--dark);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--darker);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 0 40px rgba(255, 0, 255, 0.4);
}

.blog-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    color: var(--primary);
    font-size: 0.9rem;
}

.blog-content h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: var(--light);
}

.blog-content p {
    color: #999;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--secondary);
}

.read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Gallery Section */
#gallery {
    background: var(--darker);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 240, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay i {
    font-size: 3rem;
    color: var(--dark);
}

/* Lightbox */
#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

#lightbox.active {
    display: flex;
}

#lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 3rem;
    color: var(--light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-lightbox:hover {
    color: var(--primary);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 240, 255, 0.3);
    border: none;
    color: var(--light);
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: var(--primary);
    color: var(--dark);
}

.lightbox-nav.prev {
    left: 30px;
}

.lightbox-nav.next {
    right: 30px;
}

/* Contact Section */
#contact {
    background: var(--dark);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--darker);
    border: 2px solid var(--gray);
    border-radius: 10px;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--primary);
    background: var(--dark);
    padding: 0 0.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: var(--darker);
    border: 2px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 0 30px var(--primary);
    transform: translateY(-5px);
}

.contact-details {
    background: var(--darker);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--primary);
}

.contact-details p {
    margin: 1rem 0;
    color: #ccc;
}

.contact-details i {
    color: var(--primary);
    margin-right: 1rem;
}

/* Footer */
footer {
    background: var(--darker);
    text-align: center;
    padding: 2rem;
    color: #999;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--darker);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .glitch {
        font-size: 3rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .social-links {
        grid-template-columns: repeat(3, 1fr);
        max-width: 300px;
        margin: 0 auto;
    }

    .contact-info {
        align-items: center;
    }

    .contact-details {
        width: 100%;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    section {
        padding: 3rem 1rem;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .glitch {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .controls {
        gap: 1rem;
    }

    .controls button {
        width: 40px;
        height: 40px;
    }

    #play-btn {
        width: 60px;
        height: 60px;
    }

    .lightbox-nav {
        padding: 0.5rem 1rem;
        font-size: 1.5rem;
    }

    .close-lightbox {
        right: 20px;
        font-size: 2rem;
    }

    .social-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .contact-details {
        padding: 1.5rem;
    }

    .contact-details p {
        font-size: 0.9rem;
        word-break: break-word;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
    }

    #loader p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .spinner {
        width: 60px;
        height: 60px;
    }

    .music-player {
        padding: 1rem;
    }

    .playlist-item {
        font-size: 0.9rem;
        padding: 0.8rem;
    }

    .event-card {
        padding: 1.5rem;
    }

    .blog-card {
        margin: 0 0.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
