/* ==========================================================================
   MINIMAL LANDING PAGE STYLES
   ========================================================================== */

:root {
    --primary-color: #ffffff;
    --bg-dark: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--primary-color);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1, .play-btn {
    font-family: 'Cinzel', serif;
}

/* --- Background Effects --- */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
    z-index: -2;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

/* 1. Golden magic ember */
.particle.type-gold {
    background: radial-gradient(circle, rgba(255, 220, 120, 0.95) 0%, rgba(229, 193, 88, 0.4) 100%);
    box-shadow: 0 0 8px rgba(229, 193, 88, 0.8), 0 0 16px rgba(229, 193, 88, 0.3);
    animation: floatUpGold linear infinite;
}

/* 2. Cyan magic spark */
.particle.type-cyan {
    background: radial-gradient(circle, rgba(160, 240, 255, 0.95) 0%, rgba(50, 180, 255, 0.4) 100%);
    box-shadow: 0 0 8px rgba(100, 220, 255, 0.8), 0 0 16px rgba(100, 220, 255, 0.3);
    animation: floatUpCyan linear infinite;
}

/* 3. Standard white twinkling star */
.particle.type-white {
    background: #ffffff;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
    animation: floatUpWhite linear infinite;
}

/* --- Floating & Swaying Keyframes --- */

@keyframes floatUpGold {
    0% {
        transform: translateY(105vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(50vh) translateX(20px) scale(1);
        opacity: 1;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-10vh) translateX(-10px) scale(0.3);
        opacity: 0;
    }
}

@keyframes floatUpCyan {
    0% {
        transform: translateY(105vh) translateX(0) scale(0);
        opacity: 0;
    }
    15% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(50vh) translateX(-25px) scale(0.9);
        opacity: 1;
    }
    85% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-10vh) translateX(12px) scale(0.2);
        opacity: 0;
    }
}

@keyframes floatUpWhite {
    0% {
        transform: translateY(105vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    30% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(50vh) scale(1);
        opacity: 0.2;
    }
    70% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-10vh) scale(0.5);
        opacity: 0;
    }
}

/* --- Content --- */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.hero-content {
    animation: fadeIn 2s ease-out;
}

.landing-logo {
    max-width: 90%;
    max-height: 250px;
    object-fit: contain;
    margin-bottom: 20px;
    animation: floatLogo 4s infinite ease-in-out;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
}

@keyframes floatLogo {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.subtitle {
    font-size: 1.2rem;
    letter-spacing: 8px;
    color: #888;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 300;
}

/* CTA Button */
.play-btn {
    display: inline-block;
    padding: 15px 50px;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.play-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: all 0.4s ease;
}

.play-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.play-btn:hover::before {
    left: 100%;
}

.play-btn:active {
    transform: scale(0.98);
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .landing-logo {
        max-height: 180px;
    }
    
    .subtitle { 
        font-size: 0.9rem;
        letter-spacing: 4px;
        margin-bottom: 15px;
    }
    
    .play-btn {
        padding: 12px 40px;
        font-size: 1rem;
    }
}

@media (max-height: 500px) {
    .landing-logo {
        max-height: 120px;
        margin-bottom: 10px;
    }
    
    .subtitle { 
        font-size: 0.8rem;
        letter-spacing: 3px;
        margin-bottom: 10px;
    }
    
    .play-btn {
        padding: 10px 30px;
        font-size: 1rem;
    }
}

/* --- Download Menu --- */
.download-corner {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.download-dropdown {
    position: relative;
    display: inline-block;
}

.download-btn {
    font-family: 'Cinzel', serif;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.download-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 5px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    min-width: 150px;
    z-index: 1001;
    overflow: hidden;
}

.download-menu.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.download-item {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #ccc;
    font-size: 0.9rem;
    transition: background 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    font-family: 'Roboto', sans-serif;
}

.download-item:last-child {
    border-bottom: none;
}

.download-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* --- Social Corner (Facebook, Zalo) --- */
.social-corner {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-decoration: none;
    position: relative;
}

.social-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.social-btn:hover img {
    transform: scale(1.15);
}

.social-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .social-corner {
        top: 15px;
        left: 15px;
        gap: 8px;
    }
    
    .social-btn {
        width: 38px;
        height: 38px;
    }
    
    .social-btn img {
        width: 20px;
        height: 20px;
    }
}

/* --- Countdown Timer --- */
.countdown-container {
    margin: 5px auto 20px auto;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.45);
    border-top: 1px solid rgba(229, 193, 88, 0.2);
    border-bottom: 1px solid rgba(229, 193, 88, 0.2);
    border-left: none;
    border-right: none;
    border-radius: 0px;
    max-width: 320px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: fadeIn 2.5s ease-out;
    position: relative;
}

.countdown-title {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #e5c158;
    margin-bottom: 8px;
    text-shadow: 0 0 8px rgba(229, 193, 88, 0.3);
    font-weight: 700;
    text-transform: uppercase;
}

.countdown-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 48px;
    padding: 2px;
}

.countdown-value {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    line-height: 1.1;
    margin-bottom: 3px;
    letter-spacing: 0.5px;
    animation: simplePulse 3s infinite alternate ease-in-out;
}

.countdown-label {
    font-family: 'Cinzel', serif;
    font-size: 0.55rem;
    text-transform: uppercase;
    color: #a89470;
    letter-spacing: 1px;
    font-weight: 700;
    opacity: 0.8;
}

.countdown-separator {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(229, 193, 88, 0.6);
    text-shadow: 0 0 8px rgba(229, 193, 88, 0.3);
    margin-top: -12px;
    animation: separatorBlink 1s infinite;
}

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

@keyframes simplePulse {
    0% {
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
        color: #ffffff;
    }
    100% {
        text-shadow: 0 0 12px rgba(229, 193, 88, 0.5);
        color: #fffaf0;
    }
}

@media (max-width: 768px) {
    .countdown-container {
        padding: 8px 12px;
        margin: 12px auto 18px auto;
        max-width: 270px;
    }
    
    .countdown-title {
        font-size: 0.65rem;
        letter-spacing: 1.5px;
        margin-bottom: 6px;
    }

    .countdown-item {
        min-width: 40px;
    }
    
    .countdown-value {
        font-size: 1.3rem;
    }
    
    .countdown-label {
        font-size: 0.5rem;
        letter-spacing: 0.8px;
    }
    
    .countdown-separator {
        font-size: 1.1rem;
        margin-top: -8px;
    }
}


