/* ==========================================================================
   Thai Connect — Contemporary Thai Fantasy & Kawaii Design System
   Harmonious blend of modern game UI, Thai contemporary aesthetics,
   royal plum/pink brand hues, and warm Suvarnabhumi gold accents.
   ========================================================================== */

/* ─── 1. DESIGN TOKENS & COLOR PALETTE ─── */
:root {
    /* Typography */
    --lp-font-main: 'Mitr', 'Noto Serif Thai', 'Sarabun', system-ui, sans-serif;
    --lp-font-serif: 'Noto Serif Thai', 'Sarabun', serif;
    --lp-font-body: 'Sarabun', 'Mitr', system-ui, sans-serif;
    --lp-font-accent: 'Nunito', 'Mitr', system-ui, sans-serif;

    /* Signature Purples & Royal Plums */
    --tc-purple-950: #140722;
    --tc-purple-900: #230d38;
    --tc-purple-850: #2e1147;
    --tc-purple-800: #3e165d;
    --tc-purple-700: #5b2186;
    --tc-purple-600: #7c2dbe;
    --tc-purple-500: #9333ea;
    --tc-purple-400: #a855f7;
    --tc-purple-300: #c084fc;
    --tc-purple-200: #e9d5ff;
    --tc-purple-100: #f3e8ff;
    --tc-purple-50:  #faf5ff;

    /* Siamese Lotus Pink */
    --tc-pink-700: #be185d;
    --tc-pink-600: #db2777;
    --tc-pink-500: #ec4899;
    --tc-pink-400: #f472b6;
    --tc-pink-300: #f9a8d4;
    --tc-pink-100: #fce7f3;
    --tc-pink-50:  #fdf2f8;

    /* Suvarnabhumi & Royal Thai Gold */
    --tc-gold-700: #92400e;
    --tc-gold-600: #b45309;
    --tc-gold-500: #d97706;
    --tc-gold-400: #f59e0b;
    --tc-gold-300: #fbbf24;
    --tc-gold-200: #fde68a;
    --tc-gold-100: #fef3c7;
    --tc-gold-50:  #fffbeb;

    /* Thai Indigo / Temple Twilight */
    --tc-indigo-950: #0f172a;
    --tc-indigo-900: #1e1b4b;
    --tc-indigo-800: #1e295d;
    --tc-indigo-600: #2563eb;
    --tc-indigo-100: #e0e7ff;

    /* Primary Surfaces & Canvas (Dark Siamese Royal Amethyst) */
    --tc-page-bg: #12051d;
    --tc-card-bg: #1c0a2e;
    --tc-card-soft: #250f3d;
    --tc-ink-title: #fdf4ff;
    --tc-ink-heading: #fae8ff;
    --tc-ink-body: #d8b4fe;
    --tc-ink-muted: #c084fc;
    --tc-ink-faint: #a855f7;

    /* Border & Radii */
    --tc-border-light: rgba(192, 132, 252, 0.16);
    --tc-border-gold: rgba(245, 158, 11, 0.42);
    --tc-radius-pill: 9999px;
    --tc-radius-card: 24px;
    --tc-radius-inner: 16px;
    --tc-radius-sm: 10px;

    /* Elevation & Soft Glows */
    --tc-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
    --tc-shadow-card: 0 14px 38px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.3);
    --tc-shadow-hover: 0 20px 48px rgba(0, 0, 0, 0.7), 0 0 22px rgba(245, 158, 11, 0.28);
    --tc-shadow-gold: 0 4px 20px rgba(245, 158, 11, 0.45);
    --tc-shadow-pink: 0 4px 20px rgba(236, 72, 153, 0.45);
}



/* ─── 2. BASE RESETS & SCROLLBAR ─── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

body {
    background-color: var(--tc-page-bg);
    font-family: var(--lp-font-main);
    color: var(--tc-ink-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.35s ease, color 0.35s ease;
}

/* Custom Themed Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #230d38;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ec4899 0%, #a855f7 50%, #f59e0b 100%);
    border-radius: 9999px;
    border: 2px solid #230d38;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f472b6, #c084fc, #fbbf24);
}

/* Selection Tint */
::selection {
    background: rgba(236, 72, 153, 0.3);
    color: #3b0764;
}


a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
}

img, video {
    display: block;
    max-width: 100%;
}

.tc-page-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ─── 3. FLOATING GLASS NAVIGATION BAR ─── */
.tc-navbar-wrapper {
    position: sticky;
    top: 14px;
    z-index: 600;
    width: 100%;
    padding: 0 20px;
    pointer-events: none;
}

.tc-navbar {
    pointer-events: auto;
    max-width: 1320px;
    margin: 0 auto;
    background: rgba(35, 13, 56, 0.88);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: var(--tc-radius-pill);
    padding: 8px 18px 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 10px 35px rgba(20, 6, 34, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tc-navbar:hover {
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 12px 40px rgba(20, 6, 34, 0.6), 0 0 16px rgba(245, 158, 11, 0.15);
}

/* Brand */
.tc-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 4px;
}

.tc-brand-logo-wrap {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 60%, #fff7ed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--tc-gold-400);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), 0 0 12px rgba(245, 158, 11, 0.3);
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tc-brand:hover .tc-brand-logo-wrap {
    transform: scale(1.1) rotate(-6deg);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.5);
}

.tc-brand-logo-img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.tc-brand-text {
    font-family: var(--lp-font-main);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.tc-brand-text-sub {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--tc-gold-300);
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 2px 8px;
    border-radius: 9999px;
    margin-left: 2px;
}

/* Desktop Nav Menu */
.tc-nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.tc-nav-item a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--tc-radius-pill);
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.25s ease;
    white-space: nowrap;
    position: relative;
}

.tc-nav-item a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

/* Active Nav Pill */
.tc-nav-item.active a {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 60%, #b45309 100%);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(236, 72, 153, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.tc-nav-icon {
    font-size: 1rem;
}

/* Nav Actions & User Auth */
.tc-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tc-btn-nav-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    border-radius: var(--tc-radius-pill);
    background: linear-gradient(135deg, #9333ea 0%, #7c2dbe 100%);
    border: 1.5px solid var(--tc-gold-400);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(124, 45, 190, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.tc-btn-nav-login:hover {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
    border-color: var(--tc-gold-300);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.5), 0 0 12px rgba(245, 158, 11, 0.35);
}

.tc-nav-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.14);
    padding: 5px 14px 5px 6px;
    border-radius: var(--tc-radius-pill);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
}

.tc-nav-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--tc-gold-300);
}

/* Mobile Hamburger Toggle */
.tc-nav-hamburger {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.tc-nav-hamburger:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile Drawer */
.tc-mobile-drawer {
    display: none;
    position: fixed;
    top: 76px;
    left: 20px;
    right: 20px;
    background: rgba(35, 13, 56, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 16px 40px rgba(15, 4, 25, 0.6);
    z-index: 550;
    animation: tc-drawer-down 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tc-mobile-drawer.is-open {
    display: block;
}

@keyframes tc-drawer-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tc-mobile-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tc-mobile-menu-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.2s ease;
}

.tc-mobile-menu-item a:hover,
.tc-mobile-menu-item.active a {
    background: rgba(236, 72, 153, 0.25);
    color: #ffffff;
    border: 1px solid rgba(245, 158, 11, 0.45);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}

/* ─── 4. HERO SECTION (Thai Fantasy Realm) ─── */
.tc-hero-section {
    position: relative;
    width: 100%;
    min-height: 740px;
    margin-top: -72px;
    padding-top: 150px;
    padding-bottom: 90px;
    background-color: #1e0b2e;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Ambient Animated Static Hero Poster */
.tc-hero-section::before {
    content: '';
    position: absolute;
    inset: -20px;
    background-image: url('../images/bcf242ab-d607-4535-af3c-fd3d81bf3cfe.webp');
    background-position: center 36%;
    background-size: cover;
    background-repeat: no-repeat;
    animation: tc-hero-pan 28s ease-in-out infinite alternate;
    z-index: 0;
    will-change: transform;
}

@keyframes tc-hero-pan {
    0%   { transform: scale(1) translate3d(0, 0, 0); }
    100% { transform: scale(1.06) translate3d(-10px, -6px, 0); }
}

/* Video Background Layer */
.tc-hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 36%;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.tc-hero-bg-video.is-playing {
    opacity: 1;
}

/* Atmospheric Overlay with Twilight Gold Gradient */
.tc-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 45%, rgba(245, 158, 11, 0.1) 0%, rgba(20, 6, 32, 0.45) 70%, rgba(12, 4, 20, 0.8) 100%),
        linear-gradient(180deg, rgba(20, 6, 32, 0.85) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 65%, rgba(18, 5, 29, 0.9) 96%, var(--tc-page-bg) 100%);
    pointer-events: none;
    z-index: 2;
}



/* Hero Container */
.tc-hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1360px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tc-hero-content {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Floating Logo with Golden Solar Lotus Halo */
.tc-hero-logo-box {
    position: relative;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 14px 30px rgba(25, 7, 40, 0.75));
    animation: tc-float-soft 4s ease-in-out infinite alternate;
}

.tc-hero-logo-halo {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.28) 0%, rgba(236, 72, 153, 0.22) 50%, rgba(255, 255, 255, 0) 75%);
    animation: tc-pulse-halo 3s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: -1;
}

@keyframes tc-pulse-halo {
    0%   { transform: scale(0.92); opacity: 0.6; }
    100% { transform: scale(1.14); opacity: 1; }
}

.tc-hero-logo-img {
    width: 200px;
    height: auto;
    max-height: 140px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.tc-hero-logo-img:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Thai Fantasy Realm Badge (Above Title) */
.tc-hero-realm-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(35, 13, 56, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid var(--tc-gold-400);
    border-radius: var(--tc-radius-pill);
    padding: 6px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--tc-gold-200);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), 0 0 12px rgba(245, 158, 11, 0.2);
    margin-bottom: 12px;
}

.tc-hero-realm-badge .badge-lotus {
    font-size: 1rem;
    color: var(--tc-pink-400);
}

/* Hero Headings */
.tc-hero-title {
    font-family: var(--lp-font-main);
    font-size: clamp(2.3rem, 4.4vw, 3.4rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.22;
    letter-spacing: -0.015em;
    text-shadow:
        0 4px 20px rgba(20, 5, 34, 0.95),
        0 2px 6px rgba(20, 5, 34, 1),
        0 0 35px rgba(245, 158, 11, 0.45);
    margin-bottom: 8px;
}

.tc-hero-subtitle {
    font-family: var(--lp-font-main);
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    font-weight: 600;
    color: #ffe4f3;
    margin-bottom: 16px;
    text-shadow:
        0 3px 14px rgba(35, 10, 55, 0.95),
        0 1px 4px rgba(35, 10, 55, 1);
}

.tc-hero-desc {
    font-family: var(--lp-font-body);
    font-size: 1.02rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.7;
    max-width: 640px;
    text-shadow:
        0 2px 12px rgba(15, 4, 25, 0.95),
        0 1px 3px rgba(15, 4, 25, 1);
    margin-bottom: 28px;
    background: rgba(32, 11, 50, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 10px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Hero CTA Buttons */
.tc-hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.tc-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 32px;
    border-radius: var(--tc-radius-pill);
    background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #d97706 100%);
    color: #ffffff;
    font-family: var(--lp-font-main);
    font-size: 1.08rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 8px 24px rgba(236, 72, 153, 0.5),
        0 2px 6px rgba(0, 0, 0, 0.25),
        0 0 16px rgba(245, 158, 11, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tc-btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 12px 32px rgba(236, 72, 153, 0.7),
        0 0 24px rgba(245, 158, 11, 0.5);
    border-color: rgba(255, 255, 255, 0.6);
}

.tc-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    border-radius: var(--tc-radius-pill);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #4c1d95;
    font-family: var(--lp-font-main);
    font-size: 1.08rem;
    font-weight: 600;
    border: 2px solid var(--tc-gold-400);
    box-shadow: 0 6px 20px rgba(35, 10, 55, 0.25), 0 0 12px rgba(245, 158, 11, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tc-btn-secondary:hover {
    background: #ffffff;
    color: #6b21a8;
    border-color: var(--tc-gold-300);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 28px rgba(35, 10, 55, 0.35), 0 0 20px rgba(245, 158, 11, 0.3);
}

/* ── Hero Side Floating Badges ── */

/* 1. Top-Right Mascot Speech Bubble */
.tc-hero-speech-bubble {
    position: absolute;
    right: 36px;
    top: 90px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(35, 13, 56, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 22px;
    padding: 10px 18px;
    border: 1.5px solid var(--tc-border-gold);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 14px rgba(245, 158, 11, 0.25);
    animation: tc-float-soft 4.5s ease-in-out infinite alternate;
}

.tc-speech-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tc-gold-200);
    line-height: 1.4;
    text-align: right;
}

.tc-speech-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--tc-pink-500);
    background: #ffffff;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.35);
}

/* 2. Right-Side Thai Adventure Chronicle Badge (Replaces chunky wood board) */
.tc-hero-wood-sign {
    position: absolute;
    right: 14%;
    bottom: 40px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    filter: drop-shadow(0 10px 24px rgba(30, 8, 45, 0.45));
    animation: tc-float-soft 5s ease-in-out infinite alternate-reverse;
}

.tc-wood-board {
    background: linear-gradient(135deg, rgba(59, 7, 100, 0.92) 0%, rgba(35, 10, 55, 0.95) 100%);
    border: 2px solid var(--tc-gold-400);
    border-radius: 16px;
    padding: 10px 22px;
    color: #fef3c7;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 16px rgba(245, 158, 11, 0.25);
}

.tc-wood-title {
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--tc-gold-200);
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tc-wood-sub {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.tc-wood-posts {
    display: flex;
    gap: 36px;
    width: 65%;
    justify-content: space-between;
}

.tc-wood-post {
    width: 8px;
    height: 28px;
    background: linear-gradient(90deg, #78350f, #b45309, #78350f);
    border-radius: 2px;
}

@keyframes tc-float-soft {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

/* ─── 5. จุดเด่นของ Thai Connect (Features Ribbon Bar) ─── */
.tc-features-bar-section {
    width: 100%;
    max-width: 1360px;
    margin: 24px auto 30px;
    padding: 0 24px;
}

.tc-features-bar-card {
    background: var(--tc-card-bg);
    border: 1.5px solid var(--tc-border-light);
    border-radius: var(--tc-radius-card);
    box-shadow: var(--tc-shadow-card);
    padding: 18px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: nowrap;
    position: relative;
    transition: all 0.3s ease;
}

.tc-features-bar-card:hover {
    box-shadow: var(--tc-shadow-hover);
    border-color: var(--tc-border-gold);
}

/* Title Badge on Left */
.tc-features-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding-right: 18px;
    border-right: 2px solid rgba(147, 51, 234, 0.25);
}

.tc-feature-icon-title {
    font-size: 1.6rem;
    color: var(--tc-pink-500);
    filter: drop-shadow(0 2px 6px rgba(236, 72, 153, 0.35));
}

.tc-feature-title-text small {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--tc-gold-400);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}



.tc-feature-title-text strong {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--tc-ink-heading);
    letter-spacing: -0.01em;
}

/* 5 Feature Chips */
.tc-features-items-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 14px;
    flex: 1;
}

.tc-feature-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 10px;
    border-radius: 14px;
    transition: all 0.25s ease;
    cursor: default;
}

.tc-feature-chip:hover {
    background: var(--tc-card-soft);
    transform: translateY(-3px);
}

.tc-chip-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 6px;
    border: 1.5px solid;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tc-feature-chip:hover .tc-chip-icon-box {
    transform: scale(1.12) rotate(4deg);
}

.tc-chip-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--tc-ink-heading);
    line-height: 1.35;
    white-space: nowrap;
}

/* Quote Ribbon on Right with Thai Boat */
.tc-features-quote-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.tc-quote-ribbon {
    background: linear-gradient(135deg, #7c2dbe 0%, #9333ea 60%, #b45309 100%);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: var(--tc-radius-pill);
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 18px rgba(124, 45, 190, 0.35);
}

.tc-quote-boat-art {
    width: 65px;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
    animation: tc-float-soft 3.5s ease-in-out infinite alternate;
}

/* ─── 6. MAIN THREE-COLUMN / GRID SECTION ─── */
.tc-main-three-cols {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto 40px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1.05fr 0.95fr;
    gap: 24px;
    align-items: stretch;
}

/* Common Card Styling */
.tc-card {
    background: var(--tc-card-bg);
    border: 1.5px solid var(--tc-border-light);
    border-radius: var(--tc-radius-card);
    box-shadow: var(--tc-shadow-card);
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.tc-card:hover {
    border-color: var(--tc-border-gold);
    box-shadow: var(--tc-shadow-hover);
}

.tc-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.tc-card-header-icon {
    font-size: 1.45rem;
    color: var(--tc-pink-500);
}

.tc-card-title {
    font-family: var(--lp-font-main);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tc-ink-heading);
    line-height: 1.2;
}

.tc-card-subtitle {
    font-size: 0.82rem;
    color: var(--tc-ink-muted);
    margin-top: 2px;
}

/* ── COLUMN 1: โหมดเกมยอดนิยม (4 in 1 Row) ── */
.tc-gamemodes-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    flex: 1;
}

.tc-gamemode-card {
    background: var(--tc-card-soft);
    border: 1.5px solid var(--tc-border-light);
    border-radius: var(--tc-radius-inner);
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.tc-gamemode-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(245, 158, 11, 0.28);
    border-color: var(--tc-gold-400);
    background: #2b1044;
}

.tc-gamemode-thumb-box {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    position: relative;
}

.tc-gamemode-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.tc-gamemode-card:hover .tc-gamemode-thumb-img {
    transform: scale(1.08);
}

.tc-gamemode-realm-tag {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(35, 13, 56, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(245, 158, 11, 0.5);
    border-radius: 9999px;
    padding: 2px 8px;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--tc-gold-200);
}

.tc-gamemode-info {
    flex: 1;
}

.tc-gamemode-title {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--tc-ink-heading);
    margin-bottom: 4px;
}

.tc-gamemode-desc {
    font-family: var(--lp-font-body);
    font-size: 0.76rem;
    color: #c4b5fd;
    line-height: 1.4;
    margin-bottom: 12px;
}

/* Action Button */
.tc-gamemode-action-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.tc-gamemode-circle-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.88rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tc-gamemode-card:hover .tc-gamemode-circle-btn {
    transform: scale(1.15) translateX(3px);
    box-shadow: 0 6px 14px rgba(236, 72, 153, 0.4);
}

.btn-pink {
    background: linear-gradient(135deg, #ec4899, #db2777);
}
.btn-purple {
    background: linear-gradient(135deg, #7c2dbe, #6b21a8);
}
.btn-blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

/* ── COLUMN 2: ทำไมต้อง Thai Connect? ── */
.tc-why-card {
    position: relative;
    overflow: hidden;
}

.tc-why-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.tc-why-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--tc-ink-heading);
}

.tc-why-icon-badge {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #351554;
    border: 1px solid #581c87;
    color: #f472b6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease;
}



.tc-why-item:hover .tc-why-icon-badge {
    transform: scale(1.12) rotate(-4deg);
}

/* Mascot Sitting in Corner with Thai Costume */
.tc-why-mascot-corner {
    position: absolute;
    right: 4px;
    bottom: -6px;
    width: 130px;
    height: 160px;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.15));
}

.tc-why-mascot-corner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

/* ── COLUMN 3: สถิติผู้ใช้งาน (Royal Plum & Gold Celestial Card) ── */
.tc-stats-card {
    background: linear-gradient(160deg, #3e125b 0%, #290b40 55%, #19052a 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.35);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(25, 6, 40, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Watermark Cloud Swirls */
.tc-stats-card::before {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 200px;
    height: 240px;
    background-image: url('../images/1ed241e6-c9b0-4468-849a-eaa59f426574.jpg');
    background-size: cover;
    opacity: 0.1;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    pointer-events: none;
}

.tc-stats-pill-tag {
    align-self: flex-start;
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid var(--tc-gold-400);
    border-radius: var(--tc-radius-pill);
    padding: 6px 18px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--tc-gold-200);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tc-stats-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
    position: relative;
    z-index: 2;
}

.tc-stat-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tc-stat-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid var(--tc-gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 10px rgba(245, 158, 11, 0.2);
}

.tc-stat-val {
    font-family: var(--lp-font-main);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--tc-gold-300);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 12px rgba(245, 158, 11, 0.3);
}

.tc-stat-lbl {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 2px;
}

/* Stats Card Bottom Banner */
.tc-stats-bottom-join {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 14px;
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.tc-join-text {
    font-size: 0.78rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
}

.tc-join-cat-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--tc-gold-400);
    background: #ffffff;
    object-fit: contain;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 0 8px rgba(245, 158, 11, 0.35);
    flex-shrink: 0;
}

/* ─── 7. QUOTE DIVIDER WITH THAI BOAT ─── */
.tc-quote-divider-section {
    width: 100%;
    max-width: 1360px;
    margin: 10px auto 36px;
    padding: 0 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-boat-floating-left {
    position: absolute;
    left: 10%;
    bottom: -15px;
    width: 120px;
    filter: drop-shadow(0 6px 16px rgba(91, 33, 134, 0.25));
    animation: tc-float-soft 4s ease-in-out infinite alternate;
}

.tc-boat-floating-left svg {
    width: 100%;
    height: auto;
}

.tc-quote-divider-text {
    font-family: var(--lp-font-main);
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--tc-purple-200);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(28, 10, 46, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 10px 36px;
    border-radius: var(--tc-radius-pill);
    border: 1.5px solid var(--tc-border-light);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4), 0 0 14px rgba(147, 51, 234, 0.2);
}



.tc-diamond-ornament {
    color: var(--tc-gold-400);
    font-size: 1rem;
}

/* ─── 8. FOOTER (Deep Royal Plum Bar) ─── */
.tc-footer {
    width: 100%;
    background: linear-gradient(180deg, #180726 0%, #0d0315 100%);
    color: #ffffff;
    margin-top: auto;
    position: relative;
    border-top: 1.5px solid rgba(245, 158, 11, 0.25);
}

.tc-footer-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 30px 24px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
}

/* Footer Brand */
.tc-footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tc-footer-logo-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--tc-gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.tc-footer-logo-wrap img {
    width: 85%;
    height: 85%;
    object-fit: contain;
}

.tc-footer-brand-title {
    font-family: var(--lp-font-main);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.tc-footer-brand-tagline {
    font-size: 0.78rem;
    color: var(--tc-gold-200);
    margin-top: 2px;
}

/* Footer Nav */
.tc-footer-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
}

.tc-footer-nav li a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.25s ease;
}

.tc-footer-nav li a:hover {
    color: var(--tc-gold-300);
}

.tc-footer-nav-sep {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
}

/* Footer Social & Copyright */
.tc-footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding-right: 100px;
}

.tc-footer-social-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tc-footer-social-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.8);
}

.tc-social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tc-social-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tc-social-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.soc-discord { background: #5865f2; }
.soc-line    { background: #06c755; }
.soc-twitter { background: #000000; }
.soc-youtube { background: #ff0000; }
.soc-tiktok  { background: #010101; }

.tc-footer-copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
}

/* Far-Right Mascot */
.tc-footer-mascot-box {
    position: absolute;
    right: 20px;
    bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.tc-footer-speech-bubble {
    background: #ffffff;
    color: #581c87;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 12px;
    margin-bottom: 2px;
    white-space: nowrap;
    border: 1.5px solid var(--tc-pink-400);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
}

.tc-footer-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 5px 0;
    border-style: solid;
    border-color: #ffffff transparent;
    display: block;
    width: 0;
}

.tc-footer-mascot-img {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    border: 2px solid var(--tc-gold-400);
    background: #ffffff;
    object-fit: contain;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}



/* ─── 10. RESPONSIVE BREAKPOINTS ─── */
@media (max-width: 1200px) {
    .tc-main-three-cols {
        grid-template-columns: 1.4fr 1fr;
    }
    .tc-stats-card {
        grid-column: span 2;
    }
    .tc-hero-wood-sign {
        display: none;
    }
    .tc-features-items-row {
        gap: 8px;
    }
}

@media (max-width: 992px) {
    .tc-nav-menu {
        display: none;
    }
    .tc-nav-hamburger {
        display: flex;
    }
    .tc-features-bar-card {
        flex-wrap: wrap;
    }
    .tc-features-items-row {
        order: 2;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 8px;
    }
    .tc-features-quote-wrap {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    .tc-footer-right {
        padding-right: 0;
        align-items: flex-start;
    }
    .tc-footer-mascot-box {
        display: none;
    }
}

@media (max-width: 768px) {
    .tc-hero-section {
        min-height: 620px;
        padding-top: 130px;
        padding-bottom: 60px;
    }
    .tc-hero-speech-bubble {
        display: none;
    }
    .tc-boat-floating-left {
        display: none;
    }
    .tc-main-three-cols {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .tc-stats-card {
        grid-column: span 1;
    }
    .tc-gamemodes-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .tc-features-heading {
        border-right: none;
        padding-right: 0;
        width: 100%;
        justify-content: center;
        border-bottom: 1px solid var(--tc-purple-100);
        padding-bottom: 10px;
    }
    .tc-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    .tc-footer-nav {
        flex-wrap: wrap;
    }

}

@media (max-width: 480px) {
    .tc-gamemodes-row {
        grid-template-columns: 1fr;
    }
    .tc-hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .tc-btn-primary, .tc-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ─── 11. ACCESSIBILITY & PREFERS-REDUCED-MOTION ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .tc-hero-bg-video {
        display: none !important;
    }
    .tc-hero-section::before {
        animation: none !important;
        transform: none !important;
    }
}