@import url('https://fonts.googleapis.com/css2?family=Mitr:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&display=swap');

/* [แก้ไข] skin.club purple palette — #5426FF primary, #CD40A7 secondary */
:root {
    --bg-primary:    #0c0b1d;
    --bg-secondary:  #100e26;
    --bg-card:       #15132e;
    --bg-card-hover: #1b1940;
    --bg-topbar:     rgba(10, 8, 24, 0.97);

    --accent:        #6c3fff;
    --accent2:       #cd40a7;
    --accent-hover:  #7d52ff;
    --accent-glow:   rgba(108, 63, 255, 0.28);
    --accent-soft:   rgba(108, 63, 255, 0.09);

    --text-primary:  #eeeef5;
    --text-secondary:#7878a0;
    --text-muted:    #48486a;

    --border-color:  rgba(255, 255, 255, 0.06);
    --border-accent: rgba(108, 63, 255, 0.3);

    /* gradient-red kept as alias so existing code doesn't break */
    --gradient-red:  linear-gradient(135deg, #6c3fff 0%, #cd40a7 100%);
    --gradient-main: linear-gradient(135deg, #5c2dff 0%, #cd40a7 100%);
    --gradient-dark: linear-gradient(135deg, #1b1940 0%, #0c0b1d 100%);

    --shadow-sm:     0 1px 4px rgba(0, 0, 0, 0.7);
    --shadow-md:     0 6px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg:     0 12px 48px rgba(0, 0, 0, 0.65);
    --shadow-red:    0 4px 20px rgba(108, 63, 255, 0.15);
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Mitr', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

.ft {
    font-family: 'Mitr', sans-serif;
}

.ft-num {
    font-family: "Noto Sans Thai", sans-serif;
    font-weight: 700;
}

/* ===== TOPBAR — skin.club style ===== */
/* [แก้ไข] Navbar redesigned: gradient bottom glow line + link indicator effect */
.topbar {
    background: var(--bg-topbar);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    /* gradient glow line at bottom */
    box-shadow: 0 1px 0 0 rgba(108, 63, 255, 0.2),
                0 1px 24px rgba(0, 0, 0, 0.5);
}

/* Animated gradient line along the bottom edge */
.topbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(108, 63, 255, 0.6) 30%,
        rgba(205, 64, 167, 0.7) 60%,
        transparent 100%
    );
    opacity: 0.8;
}

.topbar.scrolled {
    background: rgba(8, 6, 22, 0.99);
    box-shadow: 0 2px 32px rgba(0, 0, 0, 0.7),
                0 1px 0 0 rgba(108, 63, 255, 0.25);
}

/* Topbar transparent on landing */
.topbar.topbar-landing {
    background: transparent;
    box-shadow: none;
    position: absolute;
    width: 100%;
}
.topbar.topbar-landing::after { opacity: 0; }

.topbar.topbar-landing.scrolled {
    background: var(--bg-topbar);
    box-shadow: 0 2px 32px rgba(0, 0, 0, 0.7);
    position: sticky;
}
.topbar.topbar-landing.scrolled::after { opacity: 0.8; }

.topbar .navbar {
    padding: 0.55rem 0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.topbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-primary);
    text-decoration: none;
}

.topbar .navbar-brand img {
    height: 40px;
    width: auto;
}

.topbar .navbar-brand .brand-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nav links — skin.club flat style with bottom indicator */
.topbar .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 400;
    font-size: 0.88rem;
    padding: 0.65rem 0.9rem !important;
    border-radius: 0;
    transition: color 0.2s ease;
    position: relative;
    background: transparent !important;
}

.topbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 2px;
    background: var(--gradient-main);
    border-radius: 2px 2px 0 0;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
    opacity: 0;
}

.topbar .nav-link:hover {
    color: var(--text-primary) !important;
}
.topbar .nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 0.6;
}

.topbar .nav-link.active {
    color: var(--text-primary) !important;
}
.topbar .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

/* Keep icon accent color but use purple */
.topbar .nav-link i {
    color: var(--accent);
    margin-right: 4px;
    opacity: 0.85;
}

/* Dropdown */
.topbar .dropdown-menu {
    background: rgba(14, 12, 34, 0.97);
    border: 1px solid rgba(108, 63, 255, 0.15);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(108, 63, 255, 0.08);
    margin-top: 0.5rem !important;
    backdrop-filter: blur(16px);
}

.topbar .dropdown-item {
    color: var(--text-secondary);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.topbar .dropdown-item:hover {
    color: var(--text-primary);
    background: rgba(108, 63, 255, 0.1);
}

.topbar .dropdown-item i {
    width: 20px;
    text-align: center;
    margin-right: 6px;
}

.navbar-toggler {
    border: 1px solid rgba(108, 63, 255, 0.25);
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px var(--accent-glow);
}

/* Online badge */
.online-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #22c55e;
}

.online-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
    100% { opacity: 1; transform: scale(1); }
}

/* ===== LANDING PAGE ===== */
.landing-hero {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: calc(100vh - 120px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-center {
    position: relative;
    z-index: 5;
    text-align: center;
    animation: landingFadeIn 1.2s ease-out;
}

/* Login Page (separate) */
.login-page-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

.landing-page {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.landing-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center top;
    filter: brightness(0.35) saturate(1.1);
    transform: scale(1.05);
    animation: bgSlowZoom 30s ease-in-out infinite alternate;
}

@keyframes bgSlowZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.12); }
}

.landing-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.6) 100%),
        radial-gradient(ellipse at 50% 100%, rgba(220, 38, 38, 0.15) 0%, transparent 60%);
}

.landing-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.7) 100%);
}

.landing-bottom-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: linear-gradient(transparent, rgba(220, 38, 38, 0.08) 40%, rgba(0,0,0,0.9) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Fire Particles */
.particles-container {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.fire-particle {
    position: absolute;
    bottom: -10px;
    border-radius: 50%;
    animation: floatUp linear infinite;
    will-change: transform, opacity;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
    80% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) translateX(var(--drift, 0px)) scale(0);
        opacity: 0;
    }
}

/* Landing Content */
.landing-content {
    position: relative;
    z-index: 5;
    height: 100%;
}

.landing-info {
    animation: landingFadeIn 1.2s ease-out;
}

@keyframes landingFadeIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.landing-logo-wrap {
    margin-bottom: 1.5rem;
}

.landing-logo {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 30px rgba(220, 38, 38, 0.4)) drop-shadow(0 0 60px rgba(220, 38, 38, 0.15));
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from { filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.3)) drop-shadow(0 0 40px rgba(220, 38, 38, 0.1)); }
    to { filter: drop-shadow(0 0 35px rgba(220, 38, 38, 0.5)) drop-shadow(0 0 70px rgba(220, 38, 38, 0.2)); }
}

.landing-title {
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 0.8rem;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.landing-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 300;
}

/* Landing Stats */
.landing-stats {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.2rem 2rem;
    margin-bottom: 2rem;
}

.landing-stat {
    text-align: center;
}

.landing-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.landing-stat-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.landing-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px #22c55e;
}

/* Scroll to login button */
.btn-scroll-down {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    background: var(--gradient-red);
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 25px rgba(220, 38, 38, 0.3);
}

.btn-scroll-down:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 35px rgba(220, 38, 38, 0.45);
    color: white;
}

.btn-scroll-down i {
    animation: bounceDown 1.5s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Scroll Indicator (mouse icon) */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    animation: fadeInUp 1.5s ease-out 1s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* Login Section (below landing) */
.login-section {
    background: var(--bg-primary);
    padding: 5rem 0;
    position: relative;
}

.login-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(rgba(220, 38, 38, 0.03), transparent);
    pointer-events: none;
}

.login-card-landing {
    border-top: 1px solid var(--border-color);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.login-logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(220, 38, 38, 0.3));
}

/* ===== LOGIN FORM ===== */
.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.login-card .form-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 400;
    margin-bottom: 0.4rem;
}

.login-card .form-control {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.login-card .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.login-card .input-group-text {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-right: none;
    color: var(--text-muted);
    border-radius: 10px 0 0 10px;
}

.login-card .input-group .form-control {
    border-radius: 0 10px 10px 0;
}

/* ===== BUTTONS ===== */
.btn-accent {
    background: var(--gradient-red);
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-accent:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-red);
    color: white;
}

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

.btn-outline-accent {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-weight: 500;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-outline-accent:hover {
    background: var(--accent-soft);
    color: var(--accent-hover);
    border-color: var(--accent-hover);
}

/* ===== CARDS ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    border-color: rgba(108, 63, 255, 0.15);
    box-shadow: var(--shadow-md);
}

.card-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.2rem;
    font-weight: 500;
}

.card-head-bg {
    background: var(--gradient-red) !important;
    color: white !important;
}

.card-body {
    padding: 1.2rem;
}

.box-bg {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
}

/* ===== PROFILE SIDEBAR ===== */
.profile-sidebar .card {
    border-top: 1px solid var(--border-color);
}

.profile-sidebar .list-unstyled li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.88rem;
}

.profile-sidebar .list-unstyled li:last-child {
    border-bottom: none;
}

/* ===== CHARACTER CARDS ===== */
.char-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.char-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-red);
}

.char-card .card-body {
    padding: 1.5rem;
}

.char-card .img-fluid {
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.char-card:hover .img-fluid {
    transform: scale(1.05);
}

/* ===== PROGRESS BAR ===== */
.progress {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    height: 22px;
    overflow: hidden;
}

.progress-bar.bg-danger {
    background: var(--gradient-red) !important;
}

.black-txt {
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 500;
}

/* ===== TEXT UTILITIES ===== */
.white-txt {
    color: var(--text-primary);
}

.text-orange {
    color: #f97316;
}

.glow-txt {
    text-shadow: 0 0 10px var(--accent-glow);
}

/* ===== SECTION ===== */
#main {
    flex: 1;
    padding-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    opacity: 0.7;
}

/* ===== FORM ELEMENTS ===== */
.form-control,
.form-select {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.input-group-text {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* ===== TABLE ===== */
.table {
    margin-bottom: 0;
    color: var(--text-primary);
}

.table th {
    border-top: none;
    border-color: var(--border-color);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.85rem;
}

.table td {
    border-color: var(--border-color);
    vertical-align: middle;
}

/* ===== BADGE ===== */
.badge {
    padding: 0.45em 0.85em;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.8rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: var(--accent-hover);
}

/* ===== ALERT ===== */
.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border-radius: 12px;
}

/* ===== ACCORDION ===== */
.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.accordion-button {
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: 'Mitr', sans-serif;
}

.accordion-button:not(.collapsed) {
    background: var(--accent-soft);
    color: var(--accent);
}

.accordion-button:focus {
    box-shadow: 0 0 0 2px var(--accent-glow);
}

.accordion-body {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

/* ===== CAPTCHA ===== */
#captchaImage {
    height: 40px;
    cursor: pointer;
    border-radius: 8px;
}

/* ===== LOGO ===== */
.logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.2s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .landing-info {
        text-align: center !important;
    }

    .landing-stats {
        justify-content: center;
    }

    .landing-logo {
        height: 90px;
    }

    .landing-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .landing-title {
        font-size: 2rem;
    }

    .landing-logo {
        height: 70px;
    }

    .landing-stats {
        gap: 1rem;
        padding: 1rem 1.2rem;
    }

    .landing-stat-value {
        font-size: 1.4rem;
    }

    .landing-stat-label {
        font-size: 0.6rem;
    }

    .login-card {
        margin-top: 2rem;
    }

    .logo-img {
        height: 32px;
    }

    .topbar .navbar-brand {
        font-size: 1rem;
    }

    .login-section {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .landing-title {
        font-size: 1.5rem;
    }

    .landing-desc {
        font-size: 0.9rem;
    }

    .landing-logo {
        height: 55px;
    }

    .landing-stats {
        gap: 0.8rem;
        padding: 0.8rem 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .landing-stat-divider {
        display: none;
    }

    .card-body {
        padding: 1rem;
    }
}

/* ===== SKIN.CLUB STYLE ADDITIONS ===== */
/* Glass-card: ใช้แทน card ในหน้าที่ต้องการความ premium */
.glass-card {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
}

/* Subtle dividers */
.divider-muted {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 0;
}

/* Number pill (ala skin.club stats) */
.num-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 3px 10px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* Minimal table refinement */
.table-minimal th {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
}

/* Glow dot (online indicator) */
.glow-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
    animation: pulse 2s infinite;
}

/* Acent underline link */
.link-accent {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
.link-accent:hover { border-color: var(--accent); color: var(--accent); }
