:root {
    --neon-pink: #ff00de;
    --neon-pink-glow: #ff66ff;
    --purple: #a64ce6;
    --bg-dark: #050005;
    --text-white: #ffffff;
    --trans-ease: all 0.3s ease-in-out;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at center, #1a001a 0%, #000 100%);
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 90px;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(40vmax at 10% 10%, rgba(255, 0, 222, 0.1), transparent 60%),
        radial-gradient(35vmax at 90% 90%, rgba(122, 63, 245, 0.1), transparent 60%);
    z-index: -1;
    filter: blur(50px);
}

.magic-rain-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.party-emoji {
    position: absolute;
    font-size: 20px;
    user-select: none;
    opacity: 0.7;
    animation: fallAnimation linear forwards;
}

header {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 35px;
    z-index: 10;
}

.header-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.logo-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(45deg, var(--neon-pink), var(--purple));
    box-shadow: 0 0 25px rgba(255, 0, 222, 0.6);
    transition: var(--trans-ease);
    margin-bottom: 10px;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-dark);
}

.title-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-title {
    font-family: 'Pangolin', cursive;
    font-size: clamp(2.2rem, 9vw, 3.2rem);
    background: linear-gradient(to bottom, #ffffff 40%, var(--neon-pink-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px var(--neon-pink));
    animation: float 3s ease-in-out infinite;
}

.sub-title {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    background: rgba(166, 76, 230, 0.3);
    padding: 4px 20px;
    border-radius: 50px;
    border: 1px solid var(--purple);
    box-shadow: 0 0 15px rgba(166, 76, 230, 0.4);
}

.sparkle {
    font-size: 2rem;
    animation: blink 2s infinite;
}

.tagline {
    font-style: italic;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
    letter-spacing: 1px;
}

.btn-links-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 90%;
    max-width: 370px;
    margin-bottom: 45px;
    z-index: 10;
}

.party-btn {
    position: relative;
    padding: 16px 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid var(--neon-pink);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    backdrop-filter: blur(8px);
    transition: var(--trans-ease);
    overflow: hidden;
}

.party-btn::before {
    content: "";
    position: absolute;
    top: 0; 
    left: -100%;
    width: 40%; 
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s ease;
}

.party-btn:hover::before { 
    left: 140%; 
}

.party-btn:hover {
    background: rgba(255, 0, 222, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 0 20px var(--neon-pink);
}

.contact-btn {
    background: linear-gradient(90deg, var(--neon-pink), var(--purple));
    border: none;
    animation: pulseGlow 2.5s infinite;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 90%;
    max-width: 380px;
    margin-bottom: 60px;
    z-index: 10;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--trans-ease);
}

.gallery-grid img:hover {
    transform: scale(1.1);
    border-color: #fff;
}

.footer-marquee {
    position: fixed;
    bottom: 0; 
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    padding: 15px 0;
    border-top: 2px solid var(--neon-pink);
    z-index: 100;
}

.marquee-track {
    display: inline-block;
    white-space: nowrap;
    animation: marqueeScroll 25s linear infinite;
    color: #fff;
    font-weight: 600;
}

.modal-overlay {
    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;
}

.modal-overlay.active { 
    display: flex; 
}

.modal-content {
    position: relative;
    max-width: 85%;
    box-shadow: 0 0 40px var(--neon-pink);
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    display: block;
}

.close-btn {
    position: absolute;
    top: -40px; 
    right: 0;
    color: #fff;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

@keyframes fallAnimation {
    to { transform: translateY(110vh) rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 15px var(--neon-pink); }
    50% { box-shadow: 0 0 30px var(--neon-pink-glow); }
}

@keyframes marqueeScroll {
    from { transform: translateX(100vw); }
    to { transform: translateX(-100%); }
}