/* ==========================================================================
   TS LANDING PAGE - LUXURY SAPPHIRE BLUE, ONYX BLACK & PLATINUM SILVER/GREY
   Color Palette: Deep Royal Blue, Sapphire Glow, Platinum Silver, Slate Grey, Obsidian Black
   Style: น้ำเงิน-ดำ-เทา สไตล์หรูหรา ไฮเอนด์ โมเดิร์น เอฟเฟกต์ลูกเล่นสวยงาม
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;800;900&family=Kanit:wght@300;400;500;600;700;800&family=Prompt:wght@600;700;800&display=swap');

:root {
    /* Royal Sapphire & Cobalt Blue */
    --blue-sapphire: #1E40AF;
    --blue-electric: #2563EB;
    --blue-neon: #3B82F6;
    --blue-ice: #60A5FA;
    --blue-light: #93C5FD;
    --blue-glow: rgba(37, 99, 235, 0.45);

    /* Luxury Silver & Platinum Slate Grey */
    --platinum-white: #F8FAFC;
    --silver-light: #E2E8F0;
    --silver-metal: #CBD5E1;
    --silver-grey: #94A3B8;
    --slate-dark: #334155;
    --slate-border: rgba(148, 163, 184, 0.35);

    /* Obsidian Deep Space Black */
    --black-obsidian: #030712;
    --black-void: #020408;
    --black-surface: #090E17;
    --black-card: #0D1524;
}

body {
    background-color: var(--black-void);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.28) 0%, transparent 60%),
        radial-gradient(circle at 85% 80%, rgba(30, 64, 175, 0.22) 0%, transparent 50%),
        radial-gradient(circle at 15% 70%, rgba(148, 163, 184, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 50% 100%, #081630 0%, var(--black-void) 80%);
    background-attachment: fixed;
    font-family: 'Kanit', sans-serif;
    color: #FFFFFF;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Custom Luxury Silver-Blue Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #020408;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #60A5FA, #2563EB, #1E293B);
    border-radius: 4px;
}

/* ==========================================================================
   DYNAMIC BACKGROUND NEON BLOBS (SAPPHIRE & PLATINUM)
   ========================================================================== */
.neon-bg {
    filter: contrast(120%);
}

.neon-bg > .blob-1 {
    animation: floatA 45s ease-in-out infinite alternate, blobMorph 22s ease-in-out infinite alternate, glowPulseBlue 6s ease-in-out infinite;
    will-change: transform, border-radius, opacity;
}

.neon-bg > .blob-2 {
    animation: floatB 50s ease-in-out infinite alternate, blobMorph 26s ease-in-out infinite alternate, glowPulseBlue 7s ease-in-out infinite;
    will-change: transform, border-radius, opacity;
}

.neon-bg > .blob-3 {
    animation: floatC 48s ease-in-out infinite alternate, blobMorph 24s ease-in-out infinite alternate;
    will-change: transform, border-radius, opacity;
}

.neon-bg > .blob-4 {
    animation: floatD 55s ease-in-out infinite alternate, blobMorph 30s ease-in-out infinite alternate;
    will-change: transform, border-radius, opacity;
}

@keyframes glowPulseBlue {
    0%, 100% {
        opacity: 0.24;
        filter: blur(65px);
    }
    50% {
        opacity: 0.42;
        filter: blur(50px);
    }
}

@keyframes blobMorph {
    0% {
        border-radius: 42% 58% 55% 45% / 42% 46% 54% 58%;
    }
    25% {
        border-radius: 48% 52% 43% 57% / 60% 40% 60% 40%;
    }
    50% {
        border-radius: 58% 42% 47% 53% / 38% 62% 38% 62%;
    }
    75% {
        border-radius: 35% 65% 60% 40% / 52% 48% 58% 42%;
    }
    100% {
        border-radius: 42% 58% 55% 45% / 42% 46% 54% 58%;
    }
}

@keyframes floatA {
    0% {
        transform: translate3d(-20vw, -15vh, 0) scale(1.05) rotate(0deg);
    }
    25% {
        transform: translate3d(12vw, -8vh, 0) scale(1.1) rotate(12deg);
    }
    50% {
        transform: translate3d(24vw, 10vh, 0) scale(1.02) rotate(-8deg);
    }
    75% {
        transform: translate3d(-10vw, 18vh, 0) scale(1.08) rotate(6deg);
    }
    100% {
        transform: translate3d(-20vw, -15vh, 0) scale(1.05) rotate(0deg);
    }
}

@keyframes floatB {
    0% {
        transform: translate3d(20vw, -20vh, 0) scale(1.02) rotate(0deg);
    }
    30% {
        transform: translate3d(30vw, 14vh, 0) scale(1.08) rotate(-10deg);
    }
    60% {
        transform: translate3d(-15vw, 20vh, 0) scale(1.04) rotate(8deg);
    }
    100% {
        transform: translate3d(20vw, -20vh, 0) scale(1.02) rotate(0deg);
    }
}

@keyframes floatC {
    0% {
        transform: translate3d(-15vw, 10vh, 0) scale(1.06) rotate(6deg);
    }
    50% {
        transform: translate3d(22vw, -12vh, 0) scale(1.03) rotate(-6deg);
    }
    100% {
        transform: translate3d(-15vw, 10vh, 0) scale(1.06) rotate(6deg);
    }
}

@keyframes floatD {
    0% {
        transform: translate3d(5vw, 15vh, 0) scale(1.04) rotate(-4deg);
    }
    50% {
        transform: translate3d(-22vw, -15vh, 0) scale(1.08) rotate(10deg);
    }
    100% {
        transform: translate3d(5vw, 15vh, 0) scale(1.04) rotate(-4deg);
    }
}

/* ==========================================================================
   LOGO MEDALLION: ROYAL SAPPHIRE GLASS & PLATINUM SILVER BEVEL
   ========================================================================== */
.logo-container {
    background: radial-gradient(circle, rgba(14, 30, 68, 0.9) 0%, rgba(3, 7, 18, 0.98) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(96, 165, 250, 0.55);
    border-top: 2px solid rgba(241, 245, 249, 0.9);
    box-shadow: 
        0 0 25px rgba(37, 99, 235, 0.5),
        0 0 50px rgba(30, 58, 138, 0.4),
        inset 0 0 16px rgba(96, 165, 250, 0.25);
    animation: logoSapphirePulse 3.8s ease-in-out infinite;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.logo-container:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 
        0 0 35px rgba(59, 130, 246, 0.8),
        0 0 70px rgba(37, 99, 235, 0.6),
        inset 0 0 20px rgba(147, 197, 253, 0.4);
    border-color: #93C5FD;
}

@keyframes logoSapphirePulse {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(37, 99, 235, 0.4),
            0 0 40px rgba(30, 58, 138, 0.3),
            inset 0 0 14px rgba(96, 165, 250, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 
            0 0 32px rgba(59, 130, 246, 0.7),
            0 0 60px rgba(37, 99, 235, 0.5),
            inset 0 0 22px rgba(147, 197, 253, 0.35);
        transform: scale(1.03);
    }
}

/* ==========================================================================
   SAPPHIRE & PLATINUM SILVER SHIMMER TITLE
   ========================================================================== */
.font-cinzel {
    font-family: 'Cinzel', serif;
}

.text-blue-shimmer {
    background: linear-gradient(
        90deg, 
        #FFFFFF 0%, 
        #E2E8F0 15%, 
        #60A5FA 35%, 
        #2563EB 50%, 
        #93C5FD 70%, 
        #FFFFFF 85%, 
        #3B82F6 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: blueShimmer 5s linear infinite;
    font-weight: 900;
    letter-spacing: 0.08em;
    filter: drop-shadow(0 0 16px rgba(37, 99, 235, 0.65)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9));
}

@keyframes blueShimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.text-glow-silver {
    color: #F8FAFC;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.7),
        0 0 20px rgba(96, 165, 250, 0.5),
        0 0 35px rgba(37, 99, 235, 0.35);
}

/* ==========================================================================
   HERO CTA BUTTON: ROYAL SAPPHIRE BLUE & PLATINUM REFLECTION
   ========================================================================== */
.btn-neo {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    will-change: transform, box-shadow;
}

.btn-sapphire-luxury {
    background: linear-gradient(
        135deg, 
        #93C5FD 0%, 
        #3B82F6 22%, 
        #1D4ED8 48%, 
        #1E3A8A 72%, 
        #2563EB 90%, 
        #BFDBFE 100%
    );
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-top: 2px solid #FFFFFF;
    border-bottom: 2.5px solid #0F172A;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.85),
        0 0 30px rgba(37, 99, 235, 0.6),
        0 0 60px rgba(30, 58, 138, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.75),
        inset 0 -3px 6px rgba(15, 23, 42, 0.7);
    position: relative;
    overflow: hidden;
    color: #FFFFFF !important;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), 0 0 8px rgba(37, 99, 235, 0.5);
    letter-spacing: 0.04em;
}

.btn-sapphire-luxury:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 15px 42px rgba(0, 0, 0, 0.95),
        0 0 45px rgba(59, 130, 246, 0.9),
        0 0 80px rgba(37, 99, 235, 0.6),
        inset 0 2px 5px rgba(255, 255, 255, 0.95),
        inset 0 -3px 6px rgba(15, 23, 42, 0.6);
    border-color: #FFFFFF;
}

.btn-sapphire-luxury:active {
    transform: translateY(-1px) scale(0.99);
}

/* Light Sweep Shimmer on Button */
.sheen-sapphire {
    position: absolute;
    top: -50%;
    left: -120%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        to right, 
        transparent 0%, 
        rgba(255, 255, 255, 0.25) 25%, 
        rgba(255, 255, 255, 0.9) 50%, 
        rgba(255, 255, 255, 0.25) 75%, 
        transparent 100%
    );
    transform: rotate(25deg);
    animation: sapphireSheenSlide 3.4s infinite;
    z-index: 20;
    pointer-events: none;
}

@keyframes sapphireSheenSlide {
    0% {
        left: -120%;
    }
    40% {
        left: 160%;
    }
    100% {
        left: 160%;
    }
}

/* ==========================================================================
   PROMO CARDS: 3D LUXURY OBSIDIAN & SAPPHIRE-SILVER RIM
   ========================================================================== */
.promo-card {
    background: linear-gradient(150deg, rgba(14, 23, 42, 0.75) 0%, rgba(3, 7, 18, 0.94) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1.5px solid rgba(96, 165, 250, 0.45);
    border-top: 2px solid rgba(226, 232, 240, 0.75);
    border-bottom: 1.5px solid rgba(30, 58, 138, 0.4);
    box-shadow: 
        0 14px 40px rgba(0, 0, 0, 0.88),
        0 0 25px rgba(37, 99, 235, 0.25),
        inset 0 0 20px rgba(96, 165, 250, 0.08);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    transform-style: preserve-3d;
    will-change: transform;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.promo-card:hover {
    border-color: rgba(147, 197, 253, 0.85);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.95),
        0 0 35px rgba(59, 130, 246, 0.5),
        0 0 60px rgba(30, 64, 175, 0.3),
        inset 0 0 25px rgba(96, 165, 250, 0.15);
}

/* Floating Corner Diamond Sparks on Cards */
.promo-card::before {
    content: '✦';
    position: absolute;
    top: 10px;
    left: 14px;
    font-size: 14px;
    color: #93C5FD;
    text-shadow: 0 0 10px #3B82F6;
    opacity: 0;
    animation: sparkFloat 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 25;
}

.promo-card::after {
    content: '✧';
    position: absolute;
    bottom: 12px;
    right: 14px;
    font-size: 12px;
    color: #E2E8F0;
    text-shadow: 0 0 10px #60A5FA;
    opacity: 0;
    animation: sparkFloat 3s ease-in-out infinite 1.5s;
    pointer-events: none;
    z-index: 25;
}

@keyframes sparkFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0.6);
    }
    50% {
        opacity: 0.95;
        transform: translateY(-6px) scale(1.1);
    }
}

/* ==========================================================================
   SAPPHIRE & PLATINUM DUST PARTICLES
   ========================================================================== */
.sapphire-dust-container {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.dust-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: sapphireRise linear infinite;
    filter: drop-shadow(0 0 6px currentColor);
}

@keyframes sapphireRise {
    0% {
        transform: translateY(105vh) translateX(0) scale(0.3);
        opacity: 0;
    }
    15% {
        opacity: 0.85;
        transform: translateY(85vh) translateX(var(--drift-x, 8px)) scale(1);
    }
    50% {
        opacity: 0.95;
        transform: translateY(50vh) translateX(calc(var(--drift-x, 8px) * -1.2)) scale(1.15);
    }
    85% {
        opacity: 0.6;
        transform: translateY(15vh) translateX(var(--drift-x, 5px)) scale(0.9);
    }
    100% {
        transform: translateY(-5vh) translateX(0) scale(0.4);
        opacity: 0;
    }
}