:root {
    --primary-color: #6C63FF;
    --secondary-color: #FF6B6B;
    --accent-color: #4ECDC4;
    --background: #0F172A;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 100px;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-sm);
    padding-top: 80px;
}

.site-header {
    padding: var(--spacing-sm) 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header h1 {
    margin: 0;
    font-size: 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(108, 99, 255, 0.2);
    transition: transform 0.3s ease;
}

.site-header a {
    text-decoration: none;
    color: inherit;
}

.site-header a:hover h1 {
    transform: scale(1.05);
}

.nav-glass {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

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

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

.nav-link i {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: translateY(-2px);
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: var(--spacing-lg) var(--spacing-md);
    background: linear-gradient(
        135deg,
        rgba(108, 99, 255, 0.1),
        rgba(78, 205, 196, 0.1)
    );
    overflow: hidden;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.gradient-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
}

.hero-description {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin: var(--spacing-md) 0;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-lg);
}

.btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.section-description {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
}

.event-card {
    padding: var(--spacing-md);
}

.event-date {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.instagram-feed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(45deg, 
        rgba(45, 45, 80, 0.8), 
        rgba(60, 60, 100, 0.8));
    border-radius: 15px;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(188, 19, 254, 0.1);
}

.instagram-media {
    background: transparent !important;
    border: none !important;
    border-radius: 15px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    padding: 0 !important;
    width: 100% !important;
    transition: all 0.4s ease !important;
    overflow: hidden !important;
}

.instagram-media .Content,
.instagram-media .EmbedFrame,
.instagram-media .EmbeddedMedia,
.instagram-media .EmbeddedMediaImage,
.instagram-media ._aane,
.instagram-media ._aand,
.instagram-media .EmbedVideo,
.instagram-media video {
    border-radius: 15px !important;
    overflow: hidden !important;
}

.instagram-media video[poster] {
    border-radius: 15px !important;
}

.instagram-media ._aand > div {
    border-radius: 15px !important;
    overflow: hidden !important;
}

.instagram-media ._aakh {
    border-radius: 15px !important;
}

.instagram-media .EmbeddedMediaImage {
    border-radius: 15px !important;
    width: 100% !important;
    height: auto !important;
}

.instagram-media .EmbedFrame {
    padding-bottom: 125.0% !important;
    position: relative !important;
    width: 100% !important;
}

.instagram-media:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 255, 187, 0.15) !important;
}

.reels-section .instagram-feed {
    background: var(--glass-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.gallery {
    margin: var(--spacing-md) 0;
    padding: 0 var(--spacing-sm);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
    align-items: start;
}

.gallery-item {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    animation: loadImage 0.5s ease-in;
}

@keyframes loadImage {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay span {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 15px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: var(--radius-sm);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

@media (max-width: 768px) {
    .site-header {
        padding: var(--spacing-xs) 0;
    }

    .nav-glass {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        background: rgba(15, 23, 42, 0.95);
        flex-direction: column;
        padding: var(--spacing-lg) var(--spacing-md);
        gap: var(--spacing-md);
    }

    .nav-link {
        font-size: 1.2rem;
    }

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

    .hero-description {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

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

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: var(--spacing-sm);
    }

    .nav-btn {
        padding: 10px 15px;
        font-size: 1.2rem;
    }

    .close-btn {
        top: 10px;
        right: 10px;
    }

    .instagram-feed {
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 20px;
        margin: 20px 0;
    }

    .instagram-media {
        margin: 0 auto !important;
        width: 100% !important;
    }
    
    .instagram-media .EmbedFrame {
        padding-bottom: 125.0% !important;
    }

    .hero-section {
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }
    
    .container {
        padding-top: 60px;
    }
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

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

.btn {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.logo-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.loader-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(var(--primary-color), 0.2);
}

.loading-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
}

.social-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.1rem;
    background: linear-gradient(
        45deg,
        rgba(188, 19, 254, 0.1),
        rgba(255, 88, 181, 0.1)
    );
    border: 1px solid rgba(255, 88, 181, 0.2);
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link .fab.fa-instagram {
    font-size: 1.8rem;
    background: linear-gradient(
        45deg,
        #fa7e1e,
        #d62976,
        #962fbf,
        #4f5bd5
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 2px rgba(250, 126, 30, 0.2));
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 10px 20px rgba(188, 19, 254, 0.1),
        0 6px 6px rgba(255, 88, 181, 0.1);
    background: linear-gradient(
        45deg,
        rgba(188, 19, 254, 0.15),
        rgba(255, 88, 181, 0.15)
    );
    border-color: rgba(255, 88, 181, 0.4);
}

.social-link:hover .fab.fa-instagram {
    transform: scale(1.2) rotate(15deg);
}

@media (max-width: 768px) {
    .social-link {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    .social-link .fab.fa-instagram {
        font-size: 1.5rem;
    }
}

.no-images {
    text-align: center;
    padding: var(--spacing-md);
    color: var(--text-secondary);
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

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

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 900;
    background: linear-gradient(
        135deg,
        rgba(108, 99, 255, 0.2),
        rgba(78, 205, 196, 0.2)
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.back-to-top i {
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: linear-gradient(
        135deg,
        rgba(108, 99, 255, 0.3),
        rgba(78, 205, 196, 0.3)
    );
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.2);
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .back-to-top i {
        font-size: 1rem;
    }
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-full);
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 10px;
    width: 75%;
}

.hamburger span:nth-child(3) {
    top: 20px;
}

.hamburger.active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.hamburger.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-glass {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        background: linear-gradient(
            135deg,
            rgba(15, 23, 42, 0.95),
            rgba(30, 41, 59, 0.95)
        );
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        padding: var(--spacing-lg) var(--spacing-md);
        gap: var(--spacing-md);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        border-left: 1px solid var(--glass-border);
    }

    .nav-glass.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: var(--spacing-sm) var(--spacing-md);
        width: 100%;
        text-align: left;
        border-radius: var(--radius-md);
        background: linear-gradient(
            90deg,
            rgba(108, 99, 255, 0.1),
            rgba(78, 205, 196, 0.1)
        );
        border: 1px solid var(--glass-border);
    }

    .nav-link:hover {
        background: linear-gradient(
            90deg,
            rgba(108, 99, 255, 0.2),
            rgba(78, 205, 196, 0.2)
        );
        transform: translateX(5px);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link i {
        width: 24px;
        text-align: center;
    }
}

.music-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 20px;
    background: linear-gradient(
        135deg,
        rgba(108, 99, 255, 0.2),
        rgba(78, 205, 196, 0.2)
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.music-btn i {
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.music-btn:hover {
    transform: scale(1.1);
    background: linear-gradient(
        135deg,
        rgba(108, 99, 255, 0.3),
        rgba(78, 205, 196, 0.3)
    );
}

.music-btn.playing {
    animation: pulse 2s infinite;
}

.music-btn.playing i {
    animation: rotate 2s linear infinite;
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(108, 99, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0);
    }
}

@media (max-width: 768px) {
    .music-btn {
        width: 35px;
        height: 35px;
        margin: 0 15px;
    }

    .music-btn i {
        font-size: 1rem;
    }
}
