/* ==========================================================================
   MESOQU — OFFICIAL WEBSITE COMING SOON | LIVE 1ST AUGUST
   Rose Gold Luxury Design System (100vh Ultra-Compact Layout)
   ========================================================================== */

:root {
    /* Rose Gold Metallic Palette */
    --bg-rosegold-1: #fbf0ec;
    --bg-rosegold-2: #eed5ce;
    --bg-rosegold-3: #dfb2a8;
    --bg-rosegold-4: #c9887d;
    --bg-rosegold-5: #a85e53;
    
    /* Typography & Accents */
    --text-main: #2b1117;
    --text-muted: #6b3a43;
    --text-light: #8f535d;
    --gold-accent: #b87333;
    --gold-shimmer: linear-gradient(90deg, #6b2d38 0%, #a85e53 25%, #d4af37 50%, #a85e53 75%, #6b2d38 100%);
    
    /* Luminous Glassmorphism Tokens */
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-box-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.75);
    --glass-shadow: 0 20px 70px rgba(140, 60, 50, 0.25);
    --glass-blur: blur(28px);
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Transitions */
    --transition-fast: 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    font-size: 16px;
}

body.rosegold-theme {
    background: linear-gradient(135deg, var(--bg-rosegold-1) 0%, var(--bg-rosegold-2) 30%, var(--bg-rosegold-3) 65%, var(--bg-rosegold-4) 100%);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.5;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: default;
}

/* Custom Mouse Cursor */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    box-shadow: 0 0 10px var(--bg-rosegold-5);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--bg-rosegold-5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.25s, height 0.25s, background-color 0.25s, border-color 0.25s;
}

body:hover .cursor-dot.hovered {
    width: 12px;
    height: 12px;
    background: var(--text-main);
}

body:hover .cursor-outline.hovered {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.4);
    border-color: var(--text-main);
}

@media (min-width: 1024px) {
    body, a, button, input {
        cursor: none !important;
    }
}

/* Interactive Canvas Background */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Ambient Rose Gold Background Glows */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
    animation: floatGlow 15s infinite alternate ease-in-out;
}

.glow-1 {
    top: -15%;
    left: -10%;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, #ffffff 0%, transparent 70%);
}

.glow-2 {
    bottom: -20%;
    right: -15%;
    width: 65vw;
    height: 65vw;
    background: radial-gradient(circle, #f9decb 0%, transparent 70%);
    animation-delay: -5s;
}

.glow-3 {
    top: 35%;
    left: 25%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, #e2a095 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); opacity: 0.45; }
    50% { transform: translate(5%, 8%) scale(1.1); opacity: 0.65; }
    100% { transform: translate(-5%, -5%) scale(0.95); opacity: 0.45; }
}

/* ==========================================================================
   SANCTUARY CONTAINER & GLASS PANEL (100vh COMPACT)
   ========================================================================== */
.sanctuary-wrapper {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(12px, 3vh, 24px) clamp(16px, 4vw, 32px);
    position: relative;
    z-index: 1;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: clamp(24px, 4vw, 36px);
    position: relative;
    z-index: 1;
}

.content-panel {
    width: 100%;
    max-width: 900px;
    max-height: calc(100vh - clamp(24px, 6vh, 48px));
    padding: clamp(24px, 4.5vh, 50px) clamp(24px, 5vw, 50px);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.content-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.5) 0%, transparent 60%);
    pointer-events: none;
    animation: rotateAura 25s linear infinite;
}

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

/* Animated Launch Badge */
.launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: clamp(6px, 1.2vh, 8px) clamp(16px, 3vw, 24px);
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    margin-bottom: clamp(14px, 2.8vh, 26px);
    box-shadow: 0 8px 25px rgba(168, 94, 83, 0.15);
    position: relative;
    z-index: 2;
}

.badge-text {
    font-size: clamp(10px, 1.2vw, 12px);
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-main);
}

.sparkle-icon {
    font-size: clamp(12px, 1.4vw, 14px);
    animation: pulseSparkle 2s infinite alternate ease-in-out;
}

@keyframes pulseSparkle {
    0% { transform: scale(0.8); opacity: 0.6; }
    100% { transform: scale(1.2); opacity: 1; filter: drop-shadow(0 0 6px #ffffff); }
}

/* Brand Logo Title */
.brand-title {
    font-family: var(--font-serif);
    font-size: clamp(48px, 9.5vw, 92px);
    font-weight: 700;
    letter-spacing: clamp(8px, 2vw, 14px);
    line-height: 1;
    margin-right: calc(-1 * clamp(8px, 2vw, 14px));
    margin-bottom: clamp(6px, 1.2vh, 12px);
    position: relative;
    z-index: 2;
}

.shimmer-text {
    background: var(--gold-shimmer);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerAnim 7s linear infinite;
    text-shadow: 0 10px 35px rgba(255, 255, 255, 0.6);
}

@keyframes shimmerAnim {
    to { background-position: 200% center; }
}

/* Tagline & Typewriter */
.brand-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(17px, 2.5vw, 26px);
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    margin-bottom: clamp(10px, 1.8vh, 18px);
    position: relative;
    z-index: 2;
}

.typewriter-container {
    font-size: clamp(13px, 1.6vw, 17px);
    font-weight: 500;
    color: var(--text-light);
    min-height: clamp(24px, 4vh, 32px);
    margin-bottom: clamp(20px, 4.5vh, 42px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.typewriter-text {
    color: var(--text-main);
    font-weight: 700;
}

.typewriter-cursor {
    color: var(--text-main);
    font-weight: 700;
    animation: blinkCursor 0.8s infinite;
    margin-left: 3px;
}

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

/* ==========================================================================
   GIANT MESMERIZING COUNTDOWN TIMER (100vh COMPACT)
   ========================================================================== */
.countdown-wrapper {
    width: 100%;
    max-width: 760px;
    position: relative;
    z-index: 2;
    margin-bottom: clamp(20px, 4vh, 36px);
}

.countdown-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: clamp(16px, 3vh, 26px);
}

.countdown-header .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(107, 58, 67, 0.35), transparent);
}

.countdown-label {
    font-size: clamp(10px, 1.2vw, 11px);
    font-weight: 700;
    letter-spacing: 3.5px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(10px, 2vw, 18px);
    flex-wrap: nowrap;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: clamp(75px, 14vw, 140px);
    height: clamp(80px, 15vw, 140px);
    background: var(--glass-box-bg);
    border: 1px solid var(--glass-border);
    border-radius: clamp(16px, 2.5vw, 22px);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(140, 60, 50, 0.15);
}

.time-box:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: #ffffff;
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 18px 45px rgba(140, 60, 50, 0.28);
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px transparent;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), transparent, rgba(168, 94, 83, 0.45)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    pointer-events: none;
    animation: rotateRing 8s linear infinite;
}

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

.time-value {
    font-family: var(--font-serif);
    font-size: clamp(34px, 6vw, 64px);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
    background: var(--gold-shimmer);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerAnim 7s linear infinite;
}

.time-label {
    font-size: clamp(9px, 1.1vw, 11px);
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: clamp(4px, 1vh, 8px);
}

.time-separator {
    font-family: var(--font-serif);
    font-size: clamp(24px, 4vw, 44px);
    color: var(--text-muted);
    font-weight: 300;
    margin-top: -16px;
    animation: pulseSeparator 1s infinite alternate;
}

@keyframes pulseSeparator {
    0% { opacity: 0.2; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.1); }
}

/* Minimalist Status Indicator */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: clamp(6px, 1.2vh, 8px) clamp(16px, 3vw, 22px);
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 50px;
    font-size: clamp(10px, 1.1vw, 11px);
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #d84355;
    border-radius: 50%;
    box-shadow: 0 0 10px #d84355;
    animation: pulseRedDot 1.2s infinite alternate;
}

@keyframes pulseRedDot {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 1; }
}

/* ==========================================================================
   FLOATING LUXURY MUSIC TOGGLE
   ========================================================================== */
.music-btn {
    position: fixed;
    top: clamp(16px, 3vh, 28px);
    right: clamp(16px, 4vw, 32px);
    z-index: 2000;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 50px;
    padding: clamp(8px, 1.2vh, 10px) clamp(16px, 2.5vw, 22px);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    font-size: clamp(10px, 1.1vw, 12px);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(140, 60, 50, 0.2);
}

.music-btn:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: #ffffff;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 40px rgba(140, 60, 50, 0.35);
}

.music-btn.playing {
    background: rgba(255, 255, 255, 0.9);
    border-color: #ffffff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8), 0 10px 30px rgba(140, 60, 50, 0.3);
}

.music-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.music-icon-wrapper i {
    font-size: clamp(12px, 1.3vw, 14px);
    color: var(--bg-rosegold-5);
    transition: var(--transition-fast);
}

.music-btn.playing .music-icon-wrapper i {
    color: var(--text-main);
}

.sound-waves {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
    opacity: 0.3;
    transition: opacity var(--transition-fast);
}

.music-btn.playing .sound-waves {
    opacity: 1;
}

.sound-waves span {
    width: 3px;
    height: 4px;
    background-color: var(--bg-rosegold-5);
    border-radius: 2px;
    transition: height 0.2s ease;
}

.music-btn.playing .sound-waves span:nth-child(1) {
    animation: bounceWave 0.6s infinite alternate ease-in-out;
}
.music-btn.playing .sound-waves span:nth-child(2) {
    animation: bounceWave 0.8s infinite alternate ease-in-out 0.2s;
}
.music-btn.playing .sound-waves span:nth-child(3) {
    animation: bounceWave 0.5s infinite alternate ease-in-out 0.4s;
}

@keyframes bounceWave {
    0% { height: 4px; }
    100% { height: 14px; background-color: var(--text-main); }
}

/* ==========================================================================
   ANIMATED RUNNING MESOQU COSMETIC CATEGORIES
   ========================================================================== */
.running-categories-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.running-category {
    position: absolute;
    width: clamp(125px, 16vw, 175px);
    height: clamp(45px, 6.5vw, 56px);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 50px;
    padding: 8px 18px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.35s, box-shadow 0.35s, border-color 0.35s;
    box-shadow: 0 10px 30px rgba(140, 60, 50, 0.2);
    will-change: transform, left, top;
}

.running-category:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: #ffffff;
    box-shadow: 0 20px 50px rgba(140, 60, 50, 0.45), 0 0 25px rgba(255, 255, 255, 0.85);
    z-index: 100;
}

.category-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 4px 8px rgba(140, 60, 50, 0.3));
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.running-category:hover .category-icon-wrapper {
    transform: scale(1.25) rotate(15deg);
}

.category-icon-wrapper svg {
    width: 100%;
    height: 100%;
}

.category-badge-label {
    font-family: var(--font-sans);
    font-size: clamp(10px, 1.1vw, 12px);
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-main);
    text-transform: uppercase;
    white-space: nowrap;
}

.category-tooltip {
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--text-main);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 101;
}

.running-category:hover .category-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Glowing Trail Aura */
.category-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 150%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.65) 0%, transparent 70%);
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
    z-index: -1;
}

.running-category:hover .category-aura {
    opacity: 1;
    animation: pulseCategoryAura 1.5s infinite alternate;
}

@keyframes pulseCategoryAura {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.9; }
}

/* ==========================================================================
   BROWSER AUTOPLAY INVITATION PROMPT
   ========================================================================== */
.autoplay-prompt {
    margin-top: clamp(14px, 2.5vh, 24px);
    padding: clamp(8px, 1.2vh, 10px) clamp(18px, 3vw, 28px);
    background: rgba(168, 94, 83, 0.85);
    border: 1px solid #ffffff;
    border-radius: 50px;
    font-size: clamp(10px, 1.1vw, 12px);
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6), 0 10px 30px rgba(140, 60, 50, 0.4);
    animation: pulsePrompt 1.5s infinite alternate ease-in-out;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 10;
}

.autoplay-prompt.hidden {
    opacity: 0;
    transform: translateY(15px);
    pointer-events: none;
}

@keyframes pulsePrompt {
    0% { transform: scale(0.96); box-shadow: 0 0 15px rgba(255, 255, 255, 0.4); }
    100% { transform: scale(1.04); box-shadow: 0 0 30px rgba(255, 255, 255, 0.9); }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   ULTRA-COMPACT RESPONSIVE BREAKPOINTS (FOR SHORT / MOBILE SCREENS)
   ========================================================================== */
@media (max-width: 600px) {
    .content-panel {
        padding: 30px 16px;
    }
    
    .countdown-timer {
        gap: 8px;
    }
    
    .time-box {
        width: 70px;
        height: 78px;
        border-radius: 14px;
    }
    
    .time-value {
        font-size: 28px;
    }
    
    .time-label {
        font-size: 8px;
        letter-spacing: 1px;
        margin-top: 2px;
    }
    
    .time-separator {
        font-size: 20px;
        margin-top: -10px;
    }
    
    .brand-title {
        letter-spacing: 6px;
        margin-right: -6px;
    }
    
    .brand-tagline {
        font-size: 15px;
    }
    
    .typewriter-container {
        font-size: 12px;
        margin-bottom: 24px;
    }
}

@media (max-height: 700px) {
    .content-panel {
        padding: 20px 24px;
    }
    
    .launch-badge {
        margin-bottom: 10px;
        padding: 4px 14px;
    }
    
    .brand-title {
        font-size: clamp(40px, 8vw, 64px);
        margin-bottom: 4px;
    }
    
    .brand-tagline {
        font-size: clamp(14px, 2vw, 18px);
        margin-bottom: 8px;
    }
    
    .typewriter-container {
        margin-bottom: 16px;
        min-height: 20px;
    }
    
    .countdown-wrapper {
        margin-bottom: 16px;
    }
    
    .countdown-header {
        margin-bottom: 10px;
    }
    
    .time-box {
        height: 70px;
        width: 68px;
    }
    
    .time-value {
        font-size: 26px;
    }
    
    .time-label {
        font-size: 8px;
        margin-top: 2px;
    }
    
    .time-separator {
        font-size: 20px;
        margin-top: -8px;
    }
    
    .status-indicator {
        padding: 4px 14px;
    }
}
