:root {
    /* ปรับเป็นโทนส้มหรู (Luxury Orange) */
    --orange-primary: #FF8C00;
    --orange-light: #FFA500;
    --orange-gradient: linear-gradient(167deg, #FF6B00 0%, #CC4400 100%);
    --dark-bg: #0D0D0D; /* ปรับพื้นหลังให้ดำสนิทขึ้นเพื่อให้สีส้มเด่น */
    --header-gradient: linear-gradient(180deg, #2D2D2D 0%, #121212 100%);
    --glow-shadow: 0px 0px 12px rgba(255, 107, 0, 0.6);    
    --transition-fast: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1300px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Kanit', sans-serif;
    background-color: var(--dark-bg);
    color: #ffffff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

.site-header {
    background: var(--header-gradient);
    border-bottom: 2px solid var(--orange-primary);
    box-shadow: 0px 4px 15px rgba(255, 107, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 8px 0;
}

.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.site-logo a {
    display: flex;
    align-items: center;
}

.site-logo-img {
    max-width: 100%; 
    height: auto !important; 
    object-fit: contain; 
}

.main-navigation {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 22px; 
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 15px; 
    font-weight: 500;
    position: relative; 
    padding: 8px 0;
    transition: color 0.4s ease; 
    white-space: nowrap;
}

.nav-menu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%; 
    width: 0; 
    height: 2px;
    background: var(--orange-gradient); 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    transform: translateX(-50%); 
    border-radius: 2px;
}

.nav-menu li a:hover, 
.nav-menu li a.active {
    color: var(--orange-light);
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.4);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%; 
}

.nav-menu li a:hover {
    transform: translateY(-2px);
}

.header-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-login {
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 22px;
    border: 1px solid rgba(255, 255, 255, 0.5); 
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05); 
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(5px); 
}

.btn-login:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-register {
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 9px 22px;
    border-radius: 10px;
    background: var(--orange-gradient);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden; 
    z-index: 1;
}

.btn-register::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    transition: 0s;
    animation: btnShine 4s infinite linear;
    z-index: -1;
}

.btn-register:hover {
    transform: translateY(-3px) scale(1.05);
    filter: brightness(1.1);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.5);
    color: #ffffff;
}

@keyframes btnShine {
    0% { left: -60%; }
    20% { left: 140%; }
    100% { left: 140%; }
}

.hero-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/img/1688.png');
    background-size: 100% 100%; 
    background-repeat: no-repeat;
    background-position: center top; 
    padding: 40px 0; 
    min-height: 600px;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; 
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    width: 100%;
}

.hero-visual {
    flex: 1;
    min-width: 280px; 
    max-width: 100%;
    text-align: center;
}

.players-img {
    max-width: 100%; 
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.6)); 
    animation: floatingBall 4s infinite ease-in-out;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
    cursor: pointer; 
}

.players-img:hover {
    animation-play-state: paused; 
    transform: scale(1.05) translateY(-10px); 
    filter: drop-shadow(0 0 20px rgba(255, 140, 0, 0.6)); 
}

@keyframes floatingBall {
    0% { transform: translateY(0); filter: drop-shadow(0 15px 30px rgba(0,0,0,0.6)); }
    50% { transform: translateY(-15px); filter: drop-shadow(0 25px 40px rgba(0,0,0,0.4)); }
    100% { transform: translateY(0); filter: drop-shadow(0 15px 30px rgba(0,0,0,0.6)); }
}

.hero-content {
    flex: 1;
    min-width: 280px; 
    max-width: 100%;
    text-align: center;
    color: #fff;
}

.brand-logo-main img {
    max-width: 450px;
    margin-bottom: 5px;
}

.hero-title {
    font-size: 20px;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.btn-main-register {
    display: inline-block;
    background: var(--header-gradient);
    color: var(--orange-primary);
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    padding: 15px 60px;
    border: 2px solid var(--orange-primary);
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%); 
    transition: var(--transition-fast);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden; 
    z-index: 1;
}

.btn-main-register::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%; 
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 165, 0, 0.4) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg); 
    z-index: 2;
    animation: orangeShine 3s infinite; 
}

@keyframes orangeShine {
    0% { left: -150%; }
    30% { left: 150%; }
    100% { left: 150%; }
}

.btn-main-register:hover {
    transform: skewX(-5deg) scale(1.05); 
    background: var(--orange-primary);
    color: #fff;
    box-shadow: 0 0 25px rgba(255, 107, 0, 0.6);
}

.section-divider {
    background-color: #1a1a1a;
    padding: 20px;
    text-align: center;
}

.section-divider h2 {
    color: var(--orange-primary);
    font-size: 30px;
    max-width: 1500px;
    margin: 0 auto;
    line-height: 1.5;
}

/* --- Mobile Navigation --- */
@media (max-width: 1024px) {
    .main-navigation.active {
        background: var(--header-gradient);
        border-bottom: 2px solid var(--orange-primary);
    }
    
    .mobile-menu-toggle span {
        background-color: var(--orange-primary);
    }

    .mobile-bottom-nav.symmetry-hardcore {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 80px; 
        background: #0a0a0a; 
        border-top: 2px solid var(--orange-primary); 
        box-shadow: 0 -10px 35px rgba(0, 0, 0, 1), 0 -2px 10px rgba(255, 140, 0, 0.2);
        z-index: 9999;
        align-items: center;
        padding-bottom: env(safe-area-inset-bottom); 
    }

    .circle-box {
        width: 72px !important; 
        height: 72px !important;
        background: radial-gradient(circle at 30% 30%, #FFA500 0%, #FF8C00 35%, #994C00 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 4px solid #111;
        outline: 1.5px solid var(--orange-primary);
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 140, 0, 0.4); 
    }

    .nav-item.highlight i {
        color: var(--orange-primary);
        filter: drop-shadow(0 0 8px rgba(255, 140, 0, 0.8));
    }

    .circle-wrapper span {
        color: var(--orange-light);
    }
}

/* --- SEO & Footer --- */
.content-text h3 {
    color: var(--orange-primary);
}

.seo-features li i {
    color: var(--orange-primary); 
}

.seo-card:hover {
    border-color: var(--orange-primary);
    background: rgba(255, 140, 0, 0.08); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 140, 0, 0.2); 
}

.seo-card h3 {
    color: var(--orange-primary);
}

.seo-tag {
    color: var(--orange-primary);
    border: 1px solid rgba(255, 140, 0, 0.2); 
}

.seo-tag:hover {
    color: #fff; 
    background: var(--orange-gradient); 
    border-color: var(--orange-primary);
}

.content-text p strong {
    color: var(--orange-primary);
    background: var(--orange-gradient); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    font-weight: 800;
}

@keyframes orangeTextShine {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.3) drop-shadow(0 0 5px rgba(255, 140, 0, 0.4)); }
    100% { filter: brightness(1); }
}

.content-text p strong {
    animation: orangeTextShine 3s infinite ease-in-out;
}