@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600;700&display=swap');

:root {
    /* Wuxia Theme: Black, Gold, Orange */
    --primary-bg: #0a0a0a;
    /* Pure Black */
    --accent-blue: #3b82f6;
    /* Keep for standard links if needed */
    --accent-red: #dc2626;
    /* Deep Red */
    --accent-magenta: #f97316;
    /* REPLACED PINK WITH ORANGE */
    --accent-gold: #fbbf24;
    /* Bright Gold */

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;

    --nav-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Sarabun', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    cursor: url('../images/_cur108.cur'), auto;
}

a,
button,
.btn,
.nav-link,
.feature-card {
    cursor: url('../images/_cur108.cur'), pointer;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* =========================================
   Header & Navigation
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(10, 10, 10, 0.9);
    /* Darker Header */
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(251, 191, 36, 0.1);
    /* Subtle Gold border */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    /* Gold Gradient Text */
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.main-nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-magenta);
    /* Orange Underline */
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    gap: 15px;
}

.btn-login,
.btn-register {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.btn-login {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: var(--accent-gold);
}

.btn-register {
    background: linear-gradient(45deg, #f59e0b, #ea580c);
    /* Gold to Orange */
    color: #fff;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.4);
    border: none;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.6);
    background: linear-gradient(45deg, #fbbf24, #f97316);
}

/* =========================================
   Layout Reset (No Sidebar)
   ========================================= */
.layout-content {
    padding-top: var(--nav-height);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    background: #050510;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    margin-top: auto;
    text-align: center;
    color: var(--text-secondary);
}

/* =========================================
   Utility Classes
   ========================================= */
.text-gold {
    color: var(--accent-gold);
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}