/* ULTRA MODERN AURORA & GLASSMORPHISM THEME */
:root {
    --bg-base: #fdfafb;
    --text-primary: #2d1b36;
    --text-secondary: #5e4769;
    --accent: #ff6b9d;
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: rgba(255, 107, 157, 0.15);
    --error-color: #ff4b2b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
@media (pointer: fine) { body, a, button { cursor: none; } }

body { background-color: var(--bg-base); color: var(--text-primary); font-family: 'Inter', sans-serif; overflow-x: hidden; }

/* Aurora Background */
.aurora-container { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; overflow: hidden; background: #fffafa; }
.aurora-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.7; }
.orb-1 { width: 60vw; height: 60vw; background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%); top: -20%; left: -10%; }
.orb-2 { width: 50vw; height: 50vw; background: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%); bottom: -10%; right: -10%; }
.orb-3 { width: 40vw; height: 40vw; background: linear-gradient(to top, #ff0844 0%, #ffb199 100%); top: 30%; left: 40%; opacity: 0.4; }
.orb-4 { width: 45vw; height: 45vw; background: linear-gradient(135deg, #fce38a 0%, #f38181 100%); bottom: 20%; left: -10%; opacity: 0.5; }

/* Light Noise */
.noise-light { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 9998; opacity: 0.05; background: url('https://upload.wikimedia.org/wikipedia/commons/7/76/1k_Dissolve_Noise_Texture.png'); animation: grain 8s steps(10) infinite; }
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 10% { transform: translate(-5%, -10%); } 50% { transform: translate(-15%, 10%); } 90% { transform: translate(-10%, 10%); } }

/* Custom Cursor */
.cursor, .cursor-follower { position: fixed; top: 0; left: 0; pointer-events: none; border-radius: 50%; z-index: 10000; }
.cursor { width: 8px; height: 8px; background-color: var(--accent); transform: translate(-50%, -50%); }
.cursor-follower { width: 40px; height: 40px; border: 1px solid rgba(255, 107, 157, 0.5); background: rgba(255, 107, 157, 0.1); transform: translate(-50%, -50%); transition: width 0.3s, height 0.3s, background 0.3s, border 0.3s; }
.cursor-follower.active { width: 70px; height: 70px; background: rgba(255, 107, 157, 0.3); backdrop-filter: blur(4px); border: none; }

/* ========================================= */
/* LOGIN OVERLAY */
.login-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: #0f0c29;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    z-index: 10001; display: flex; justify-content: center; align-items: center;
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1);
}
.login-card {
    padding: 50px; border-radius: 30px; text-align: center; width: 90%; max-width: 400px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1);
}
.lock-icon { font-size: 50px; color: var(--accent); margin-bottom: 20px; }
.login-card h2 { color: #fff; margin-bottom: 10px; font-size: 32px; font-family: 'Inter', sans-serif; }
.login-card p { color: rgba(255,255,255,0.6); margin-bottom: 30px; font-size: 14px; }

.input-wrapper { position: relative; display: flex; align-items: center; gap: 10px; }
#passwordInput {
    flex: 1; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    padding: 15px 20px; border-radius: 15px; color: #fff; font-size: 18px; outline: none;
    transition: all 0.3s;
}
#passwordInput:focus { border-color: var(--accent); background: rgba(255,255,255,0.1); }
#loginBtn {
    width: 55px; height: 55px; border-radius: 15px; border: none; background: var(--accent);
    color: #fff; font-size: 24px; cursor: pointer; transition: all 0.3s;
    display: flex; justify-content: center; align-items: center;
}
#loginBtn:hover { transform: scale(1.05); filter: brightness(1.1); }

.error-msg { color: var(--error-color); margin-top: 20px; font-weight: 500; font-size: 14px; display: none; opacity: 0; }
.error-msg.visible { display: block; opacity: 1; }

/* Preloader */
.preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: #fff; z-index: 9999; display: none; justify-content: center; align-items: center; }
.loader-content { text-align: center; }
.loader-text { font-size: 5vw; font-family: 'Playfair Display', serif; font-style: italic; color: var(--accent); margin-bottom: 20px; }
.percent { font-size: 2vw; margin-left: 5px; }
.loader-subtitle { font-family: 'Inter', sans-serif; letter-spacing: 5px; text-transform: uppercase; font-size: 1vw; color: var(--text-secondary); }

/* Typography & Global */
h1, h2, h3 { font-family: 'Playfair Display', serif; }
.title-center { text-align: center; width: 100%; display: block; }
.subtitle-center { text-align: center; width: 100%; display: block; margin-bottom: 40px; }

.glass-effect {
    background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.8); box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* ========================================= */
/* HERO SECTION */
.hero { height: 100vh; position: relative; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.hero-wrapper { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-line { font-size: 9vw; line-height: 0.85; font-weight: 400; text-transform: uppercase; color: var(--text-primary); opacity: 0; }
.hero-name { font-size: 14vw; font-style: italic; margin-top: -1.5vw; opacity: 0; background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 10px 40px rgba(255, 107, 157, 0.2); }

.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; opacity: 0; z-index: 5; }
.scroll-indicator span { font-size: 0.8vw; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; font-weight: 600; color: var(--text-secondary); }
.scroll-indicator .line { width: 2px; height: 50px; background: rgba(45, 27, 54, 0.1); position: relative; overflow: hidden; border-radius: 2px; }
.scroll-indicator .line::after { content: ''; position: absolute; top: -50px; left: 0; width: 100%; height: 50px; background: var(--text-primary); animation: scrollDrop 2s cubic-bezier(0.77, 0, 0.175, 1) infinite; }
@keyframes scrollDrop { 0% { top: -50px; } 50% { top: 50px; } 100% { top: 50px; } }

/* ========================================= */
/* STATS SECTION */
.stats-section { min-height: 50vh; display: flex; justify-content: center; align-items: center; padding: 5vw; }
.stats-container { display: flex; justify-content: space-around; align-items: center; width: 100%; max-width: 1000px; padding: 40px; border-radius: 30px; }
.stat-item { text-align: center; }
.stat-number-wrapper { display: flex; justify-content: center; align-items: baseline; color: var(--accent); margin-bottom: 10px; }
.stat-number { font-size: 4.5vw; font-weight: 700; margin: 0; font-family: 'Inter'; }
.stat-plus { font-size: 3vw; font-weight: 700; margin-left: 5px; }
.stat-label { font-size: 1.2vw; color: var(--text-secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 80px; background: rgba(0,0,0,0.1); }

/* ========================================= */
/* GALLERY */
/* ========================================= */
/* GALLERY - SIMPLE & PREMIUM GRID */
.gallery-section { padding: 8vw 5vw; position: relative; }
.gallery-header { margin-bottom: 40px; text-align: center; }
.section-title { font-size: 5vw; color: var(--text-primary); margin-bottom: 10px; }
.section-subtitle { font-size: 1.2vw; text-transform: uppercase; letter-spacing: 2px; color: var(--text-secondary); font-weight: 600; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; align-items: start; }
.card { width: 100%; height: 650px; position: relative; border-radius: 24px; overflow: hidden; background: var(--glass-bg); padding: 12px; box-shadow: 0 25px 50px var(--glass-shadow); border: 1px solid var(--glass-border); backdrop-filter: blur(15px); transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.card:hover { transform: translateY(-15px) scale(1.02); }
.card img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; border-radius: 18px; transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1); }
.card:hover img { transform: scale(1.1); }
.card-overlay { position: absolute; bottom: 30px; left: 30px; right: 30px; padding: 20px; border-radius: 12px; font-family: 'Playfair Display', serif; font-size: 2vw; font-style: italic; color: var(--text-primary); text-align: center; opacity: 0; transition: all 0.5s ease; transform: translateY(20px); background: rgba(255,255,255,0.7); backdrop-filter: blur(10px); }
.card:hover .card-overlay { opacity: 1; transform: translateY(0); }

/* ========================================= */
/* MUSIC PLAYER SECTION */
.music-section { min-height: 80vh; display: flex; justify-content: center; align-items: center; padding: 5vw; }
.music-card { display: flex; align-items: center; gap: 40px; padding: 40px; border-radius: 30px; transition: transform 0.3s ease; }
.music-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px var(--glass-shadow); }
.record-wrapper { position: relative; width: 180px; height: 180px; }
.record-vinyl { position: absolute; top: -10px; right: -20px; width: 180px; height: 180px; border-radius: 50%; background: #111; border: 4px solid #333; z-index: 1; transition: all 0.5s ease; }
.record-vinyl::after { content:''; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:60px; height:60px; background:var(--accent); border-radius:50%; }
.record-vinyl::before { content:''; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:10px; height:10px; background:#fff; border-radius:50%; z-index:2; }
.album-cover { position: relative; width: 180px; height: 180px; border-radius: 15px; object-fit: cover; z-index: 2; box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.music-card.playing .record-vinyl { animation: spinVinyl 4s linear infinite; transform: translateX(30px); }
@keyframes spinVinyl { 100% { transform: translateX(30px) rotate(360deg); } }

.music-info { min-width: 250px; }
.now-playing { font-size: 0.8vw; font-weight: 700; color: var(--accent); letter-spacing: 2px; }
.artist-name { color: var(--text-secondary); margin-bottom: 20px; font-weight: 500;}
.progress-bar-music { width: 100%; height: 6px; background: rgba(0,0,0,0.1); border-radius: 3px; position: relative; margin-bottom: 20px; overflow: visible;}
.progress-fill { width: 30%; height: 100%; background: var(--accent); border-radius: 3px; transition: width 0.1s linear;}
.progress-dot { position: absolute; top: 50%; left: 30%; transform: translate(-50%, -50%); width: 12px; height: 12px; background: #fff; box-shadow: 0 0 5px rgba(0,0,0,0.3); border-radius:50%; border: 2px solid var(--accent); }
.music-controls { display: flex; align-items: center; gap: 20px; justify-content: center;}
.ctrl-btn { font-size: 24px; color: var(--text-primary); cursor: pointer; transition: color 0.3s; }
.ctrl-btn:hover { color: var(--accent); }
.play-btn { font-size: 40px; color: var(--accent); }

/* ========================================= */
/* FLIP CARDS SECTION (SECRET NOTES) */
.flip-section { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 5vw; }
.flip-grid { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; width: 100%; max-width: 1200px; margin-top: 40px;}
.card-offset { margin-top: 40px; }

.flip-card { background-color: transparent; width: 300px; height: 350px; perspective: 1000px; }
.flip-card-inner { position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); transform-style: preserve-3d; }
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
.flip-card-front, .flip-card-back { position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 20px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 30px; }

.flip-card-front { z-index: 2; }
.flip-card-front h3 { margin-bottom: 10px; font-size: 28px; }
.flip-card-front p { color: var(--text-secondary); font-weight: 500; }
.flip-icon { font-size: 60px; color: var(--accent); margin-bottom: 20px; filter: drop-shadow(0 5px 10px rgba(255,107,157,0.3)); }

.flip-card-back { transform: rotateY(180deg); background: rgba(255,255,255,0.8); }
.flip-card-back p { font-size: 22px; font-family: 'Playfair Display', serif; font-style: italic; color: #000; line-height: 1.4; }

/* ========================================= */
/* COMPARISON SLIDER */
.comparison-section { padding: 8vw 5vw; display: flex; flex-direction: column; align-items: center; }
.comparison-header { text-align: center; margin-bottom: 40px; }
.comparison-container { width: 100%; max-width: 800px; border-radius: 30px; overflow: hidden; position: relative; padding: 12px; }
.comparison-slider { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; cursor: ew-resize; user-select: none; }
.img-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }
.img-container img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

.img-before { z-index: 1; }
.img-after { z-index: 2; width: 50%; border-right: 2px solid #fff; }

.label { position: absolute; bottom: 20px; padding: 10px 20px; border-radius: 50px; background: rgba(255,255,255,0.3); backdrop-filter: blur(10px); color: #fff; font-size: 0.9vw; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; z-index: 3; }
.label-before { right: 20px; }
.label-after { left: 20px; }

.slider-handle { position: absolute; top: 0; left: 50%; width: 4px; height: 100%; background: #fff; z-index: 10; transform: translateX(-50%); pointer-events: none; }
.handle-circle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; background: #fff; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: var(--accent); font-size: 24px; box-shadow: 0 0 20px rgba(0,0,0,0.2); }

@media(max-width: 768px) {
    .comparison-container { max-width: 100%; }
    .label { font-size: 3vw; }
    .handle-circle { width: 40px; height: 40px; font-size: 20px; }
}

/* ========================================= */
/* MESSAGE */
.message-section { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 0 10vw; position: relative; }
.glass-message-panel { background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid rgba(255,255,255,0.8); border-radius: 30px; padding: 6vw 8vw; box-shadow: 0 30px 60px rgba(0,0,0,0.05); }
.reveal-text { font-family: 'Playfair Display', serif; font-size: 3.5vw; line-height: 1.4; text-align: center; color: var(--text-primary); }
.reveal-text span { opacity: 0.1; }

/* ========================================= */
/* END SECTION */
.end-section { height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.end-content { display: flex; flex-direction: column; align-items: center; }
.end-title { font-size: 4vw; margin-bottom: 3vw; color: var(--text-primary); }
.magnet-wrapper { display: flex; justify-content: center; align-items: center; padding: 20px; }
.gift-btn { padding: 20px 50px; font-size: 1.2vw; font-family: 'Inter', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; background: rgba(255,255,255,0.8); color: var(--accent); border: 2px solid var(--accent); border-radius: 50px; box-shadow: 0 15px 30px var(--glass-shadow); transition: all 0.4s; backdrop-filter: blur(10px); cursor: pointer; }
.gift-btn:hover { background: var(--accent); color: #fff; box-shadow: 0 20px 40px rgba(255, 107, 157, 0.4); }

/* Responsive adjustments */
@media(max-width: 768px) {
    .loader-text { font-size: 12vw; } .percent { font-size: 5vw;} .loader-subtitle { font-size: 3vw;}
    .hero-line { font-size: 15vw; } .hero-name { font-size: 20vw; }
    .scroll-indicator span { font-size: 3vw; }
    
    .stats-container { flex-direction: column; gap: 30px; } .stat-divider { width: 80%; height: 1px; }
    .stat-number { font-size: 12vw;} .stat-label { font-size: 3.5vw; }

    .music-card { flex-direction: column; text-align: center; }
    .flip-grid { flex-direction: column; align-items: center; } .card-offset { margin-top: 0; }

    .section-title { font-size: 10vw; } .section-subtitle { font-size: 3vw; }
    .gallery-grid { grid-template-columns: 1fr; gap: 20px; }
    .card { height: 550px; } .card-overlay { font-size: 6vw; padding: 10px;}
    .reveal-text { font-size: 6vw; }
    .end-title { font-size: 8vw; } .gift-btn { font-size: 4vw; }
    .horizontal-container { padding-left: 10vw; }
}
