:root {
    --primary-purple: #a855f7;
    --primary-pink: #ec4899;
    --primary-blue: #3b82f6;
    --gold: #fbbf24;
    --gold-dark: #d97706;
    --green: #22c55e;
    --dark-bg: #050507;
    --darker-bg: #020203;
    --glass: rgba(255,255,255,0.03);
    --glass-border: rgba(255,255,255,0.08);
    --glass-border-light: rgba(255,255,255,0.15);
    --text-primary: #ffffff;
    --text-secondary: rgba(255,255,255,0.75);
    /* Improved contrast for WCAG AA - changed from 0.4 to 0.6 */
    --text-muted: rgba(255,255,255,0.6);
    --glow-purple: rgba(168, 85, 247, 0.5);
    --glow-pink: rgba(236, 72, 153, 0.5);
    --glow-gold: rgba(251, 191, 36, 0.5);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f953c6 100%);
    --gradient-gold: linear-gradient(135deg, #f5af19 0%, #f12711 50%, #f5af19 100%);
    --gradient-green: linear-gradient(135deg, #22c55e 0%, #10b981 50%, #06d6a0 100%);
}

/* ==================== SKIP LINK (Accessibility) ==================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    z-index: 10001;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 8px 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Kanit', 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== PRELOADER ==================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    animation: logoFloat 2s ease-in-out infinite, logoPulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 40px var(--glow-purple));
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 40px var(--glow-purple)); }
    50% { filter: drop-shadow(0 0 80px var(--glow-pink)); }
}

.preloader-text {
    margin-top: 30px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
    animation: textFade 1.5s ease-in-out infinite;
}

@keyframes textFade {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.preloader-bar {
    margin-top: 40px;
    width: 200px;
    height: 2px;
    background: var(--glass-border);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-progress {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Animation for nav on index page */
.nav {
    opacity: 0;
    animation: navSlideDown 0.8s ease forwards 0.3s;
}

@keyframes navSlideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== BACKGROUND EFFECTS ==================== */
.bg-gradient-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
    top: -20%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.25) 0%, transparent 70%);
    top: 30%;
    right: -15%;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    bottom: -10%;
    left: 20%;
    animation-delay: -10s;
}

.orb-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    animation-delay: -15s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.1); }
    50% { transform: translate(-30px, 30px) scale(0.9); }
    75% { transform: translate(30px, 50px) scale(1.05); }
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 24px 60px;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 1000px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.hero-badge::before {
    content: '👑';
    font-size: 16px;
}

.hero-logo-container {
    margin-bottom: 24px;
    opacity: 0;
    animation: logoReveal 0.8s ease forwards 0.3s;
}

@keyframes logoReveal {
    from { opacity: 0; transform: scale(0.8) rotateY(-20deg); }
    to { opacity: 1; transform: scale(1) rotateY(0deg); }
}

.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 30px;
    filter: drop-shadow(0 20px 60px var(--glow-purple));
    animation: heroLogoFloat 4s ease-in-out infinite;
}

@keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    50% { transform: translateY(-20px) rotateY(10deg); }
}

.hero-title {
    font-size: clamp(48px, 10vw, 112px);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 20px;
    overflow: hidden;
}

.hero-title-line {
    display: block;
    overflow: hidden;
}

.hero-title .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: letterReveal 0.6s ease forwards;
}

@keyframes letterReveal {
    to { opacity: 1; transform: translateY(0); }
}

.hero-title .gradient-text {
    color: #ffffff;
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1.2s;
}

.scroll-hint-arrow {
    width: 12px;
    height: 12px;
    border-right: 1.5px solid rgba(255, 255, 255, 0.25);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.25);
    transform: rotate(45deg);
    animation: scrollArrow 2s ease-in-out infinite;
}

@keyframes scrollArrow {
    0%, 100% {
        transform: rotate(45deg) translateY(0);
        opacity: 0.25;
    }
    50% {
        transform: rotate(45deg) translateY(6px);
        opacity: 0.5;
    }
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

.hero-subtitle strong {
    color: var(--gold);
    font-weight: 600;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 4s;
}

.btn-primary {
    position: relative;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    color: white;
    background: var(--gradient-primary);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}


.btn-secondary {
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--glass-border-light);
    border-radius: 100px;
    cursor: pointer;
}



/* ==================== ACHIEVEMENTS SECTION ==================== */
.achievements {
    padding: 100px 0;
    overflow: hidden;
}

.achievements-track {
    display: flex;
    gap: 80px;
    padding: 40px 0;
    animation: scrollLeft 30s linear infinite;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.achievement-item {
    flex-shrink: 0;
    text-align: center;
    min-width: 300px;
}

.achievement-number {
    font-size: clamp(80px, 15vw, 150px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
}

.achievement-number.gradient-purple {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.achievement-number.gradient-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.achievement-number.gradient-green {
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.achievement-label {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 500;
}

.achievement-sublabel {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ==================== SECTION STYLES ==================== */
.section {
    padding: 120px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-purple);
    margin-bottom: 20px;
}

.section-label::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
}

.section-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.section-title .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
}

/* ==================== AWARDS SECTION ==================== */
.awards {
    padding: 40px 24px 80px;
}

.awards-header {
    text-align: center;
    margin-bottom: 50px;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .awards-grid { grid-template-columns: 1fr; }
}

.award-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}


.award-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}


.award-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}


.award-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    z-index: 2;
}

.award-year {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-gold);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px var(--glow-gold);
}

.award-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.award-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ==================== GMV SECTION ==================== */
.gmv-section {
    padding: 60px 24px;
    position: relative;
}

.gmv-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 968px) {
    .gmv-container { grid-template-columns: 1fr; text-align: center; }
}

.gmv-content {
    position: relative;
}

.gmv-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 968px) {
    .gmv-brand { justify-content: center; }
}

.gmv-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    filter: drop-shadow(0 8px 24px var(--glow-purple));
}

.gmv-brand-text {
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gmv-title {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.gmv-number-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

@media (max-width: 968px) {
    .gmv-number-row { justify-content: center; }
}

.gmv-number {
    font-size: clamp(100px, 20vw, 180px);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 25%, #ffa500 50%, #ffb800 75%, #ffd700 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShine 3s ease infinite;
    filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.6));
}

@keyframes goldShine {
    0% { background-position: 0% 50%; filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.5)); }
    50% { background-position: 100% 50%; filter: drop-shadow(0 0 60px rgba(255, 215, 0, 0.9)); }
    100% { background-position: 0% 50%; filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.5)); }
}

.gmv-unit {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 800;
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 50%, #ffa500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gmv-desc {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 400px;
}

@media (max-width: 968px) {
    .gmv-desc { margin: 0 auto; }
}

.gmv-image {
    position: relative;
}

.gmv-image-wrapper {
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s ease;
}


.gmv-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==================== BENTO GRID (AI FEATURES) ==================== */
.bento-section {
    padding: 120px 24px;
}

.bento-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto auto;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .bento-grid { grid-template-columns: 1fr; }
}

/* ==================== MCN RANKING SECTION ==================== */
.ranking-section {
    padding: 60px 24px;
}

.ranking-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ranking-header .section-desc {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.ranking-image {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    position: relative;
}

.ranking-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: imageShine 3s ease-in-out infinite;
}

@keyframes imageShine {
    0% { left: -100%; }
    50%, 100% { left: 150%; }
}

.ranking-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==================== NEWS SECTION ==================== */
.news-section {
    padding: 120px 24px;
}

.news-header {
    text-align: center;
    margin-bottom: 60px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1000px) {
    .news-grid { grid-template-columns: 1fr; }
}

.news-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 36px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.news-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}


.news-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px var(--glow-purple);
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.news-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.news-date {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==================== CREATOR SECTION ==================== */
.creator-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
}

.creator-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.creator-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.creator-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(5, 5, 7, 1) 0%, rgba(5, 5, 7, 0.5) 50%, rgba(5, 5, 7, 0.3) 100%);
}

.creator-content {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    padding: 0 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.creator-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    margin-bottom: 16px;
}

.creator-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 160px 24px;
    text-align: center;
    position: relative;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow-purple) 0%, transparent 70%);
    filter: blur(100px);
    opacity: 0.3;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    margin-bottom: 24px;
}

.cta-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 24px 60px;
    font-size: 18px;
    font-weight: 700;
    font-family: inherit;
    color: white;
    background: var(--gradient-primary);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-primary);
    border-radius: 100px;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.cta-button span {
    transition: transform 0.3s ease;
}

/* ==================== FOOTER ==================== */
.footer {
    position: relative;
    padding: 80px 24px 40px;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.footer-wave svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    animation: waveMove 10s linear infinite;
}

@keyframes waveMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding-top: 60px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
}

.footer-brand-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.footer-brand-info p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}


.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

@media (max-width: 768px) {
    .footer-contact {
        align-items: center;
        width: 100%;
    }
}

.footer-contact-label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.social-link svg {
    width: 16px;
    height: 16px;
}


@media (max-width: 600px) {
    .footer-social {
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-link span {
        display: none;
    }

    .social-link {
        padding: 12px;
        border-radius: 50%;
    }

    .social-link svg {
        width: 20px;
        height: 20px;
    }
}

.footer-copyright {
    width: 100%;
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    margin-top: 40px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ==================== SCROLL REVEAL ==================== */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .section { padding: 80px 20px; }
    .hero { padding: 60px 16px 40px; }
    .achievements-track { gap: 40px; }
    .achievement-item { min-width: 200px; }

    /* ลดขนาด orbs บน tablet/mobile */
    .orb-1 { width: 300px; height: 300px; }
    .orb-2 { width: 250px; height: 250px; }
    .orb-3 { width: 200px; height: 200px; }
    .orb-4 { width: 180px; height: 180px; }

    /* Hero adjustments */
    .hero-logo { width: 80px; height: 80px; border-radius: 20px; }
    .hero-title { font-size: clamp(36px, 12vw, 60px); }
    .hero-subtitle { font-size: 16px; }
    .hero-badge { font-size: 11px; padding: 8px 16px; }
}

/* มือถือเล็ก (iPhone SE, Galaxy S8) */
@media (max-width: 480px) {
    .section { padding: 60px 16px; }
    .hero { padding: 40px 12px 30px; }

    /* Hero */
    .hero-logo { width: 60px; height: 60px; border-radius: 16px; }
    .hero-title { font-size: clamp(28px, 14vw, 48px); margin-bottom: 12px; }
    .hero-subtitle { font-size: 14px; line-height: 1.5; }
    .hero-badge { font-size: 10px; padding: 6px 12px; margin-bottom: 16px; }

    /* Orbs - ลดลงอีกบนมือถือเล็��� */
    .orb-1 { width: 200px; height: 200px; }
    .orb-2 { width: 180px; height: 180px; }
    .orb-3 { width: 150px; height: 150px; }
    .orb-4 { width: 120px; height: 120px; }

    /* Section titles */
    .section-title { font-size: clamp(22px, 6vw, 32px); }
    .section-label { font-size: 10px; letter-spacing: 1.5px; }
    .section-desc { font-size: 14px; }

    /* GMV Section */
    .gmv-number { font-size: clamp(48px, 15vw, 72px); }
    .gmv-unit { font-size: 20px; }
    .gmv-title { font-size: 16px; }
    .gmv-brand-text { font-size: 16px; }
    .gmv-logo { width: 40px; height: 40px; }

    /* News cards */
    .news-card { padding: 20px; }
    .news-title { font-size: 16px; }
    .news-desc { font-size: 13px; }
    .news-icon { width: 40px; height: 40px; font-size: 18px; }

    /* Footer */
    .footer-brand-info h4 { font-size: 16px; }
    .footer-content { padding: 30px 16px; }
}

/* มือถือเก่า/เล็กมาก */
@media (max-width: 360px) {
    .hero-title { font-size: 28px; }
    .hero-subtitle { font-size: 13px; }
    .section-title { font-size: 20px; }
    .gmv-number { font-size: 42px; }
}

/* ==================== LOW-END DEVICE OPTIMIZATIONS ==================== */

/* ปิด animation สำหรับผู้ใช้ที่ต้องการ reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .orb { display: none; }
    .preloader { display: none; }
}

/* Mobile optimizations - ปิด/ลด effects หนักๆ */
@media (max-width: 768px) {
    /* ปิด orbs animation บนมือถือ */
    .orb {
        animation: none !important;
        opacity: 0.3;
    }

    /* ลด blur effect ที่หนัก GPU */
    .nav {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .mobile-menu-overlay {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    /* ปิด Ken Burns effect */
    .creator-image img {
        animation: none !important;
        transform: none !important;
    }

    /* ลด filter effects */
    .hero-logo,
    .preloader-logo,
    .gmv-logo {
        filter: none;
    }

    .gmv-number {
        filter: none;
        animation: none;
    }

    /* ปิด wave animation */
    .footer-wave svg {
        animation: none;
    }

    /* ปิด shine effects */
    .ranking-image::before {
        display: none;
    }

    /* ลด transition duration */
    .reveal {
        transition-duration: 0.4s;
    }
}

/* มือถือเล็กมาก/เก่ามาก - ปิดเกือบทุก effect */
@media (max-width: 480px) {
    /* ซ่อน orbs ทั้งหมด */
    .bg-gradient-orbs {
        display: none;
    }

    /* ปิด noise overlay */
    .noise-overlay {
        display: none;
    }

    /* ปิด backdrop-filter ทั้งหมด - ใช้ solid bg แทน */
    .nav {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(3, 3, 5, 0.95);
    }

    .mobile-menu-overlay {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(5, 5, 7, 0.98);
    }

    /* ปิด box-shadow หนักๆ */
    .news-icon,
    .nav-link.nav-ai,
    .nav-link.nav-faq {
        box-shadow: none;
    }

    .gmv-image-wrapper,
    .ranking-image {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    /* ปิด gradient text animation */
    .gmv-number {
        background: var(--gradient-gold);
        -webkit-background-clip: text;
        background-clip: text;
        animation: none;
        filter: none;
    }

    /* Simplify transitions */
    .award-card,
    .news-card,
    .gmv-image-wrapper {
        transition: none;
    }

    /* ปิด scroll hint animation */
    .scroll-hint-arrow {
        animation: none;
        opacity: 0.4;
    }
}
