/*
Theme Name: 13L Game
Theme URI: https://13lgame.org
Author: 13L Game Team
Author URI: https://13lgame.org
Description: Official WordPress theme for 13L Game — a clean, fast, and SEO-optimized online gaming platform landing page with full navigation, pages, and footer.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 13lgame
Tags: gaming, landing-page, one-page, responsive, custom-menu
*/

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
    background-color: #FDFAF7;
    color: #2E1A0E;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #C8360A;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #E85A00;
}

ul, ol {
    list-style: none;
}

/* =============================================
   CSS VARIABLES
============================================= */
:root {
    --red:         #C8360A;
    --orange:      #E85A00;
    --gold:        #D4860A;
    --light-gold:  #F2A820;
    --grad:        linear-gradient(135deg, #C8360A 0%, #E85A00 55%, #D4860A 100%);
    --bg-page:     #FDFAF7;
    --bg-light:    #FFF5EE;
    --bg-white:    #FFFFFF;
    --text-dark:   #1A0800;
    --text-body:   #2E1A0E;
    --text-muted:  #6B3E1A;
    --border:      rgba(200, 54, 10, 0.15);
    --shadow:      0 2px 20px rgba(200, 54, 10, 0.08);
    --radius:      12px;
    --radius-sm:   8px;
}

/* =============================================
   TYPOGRAPHY
============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', 'Segoe UI', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.25;
    font-weight: 700;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-body);
}

strong {
    color: var(--text-dark);
    font-weight: 700;
}

/* =============================================
   LAYOUT HELPERS
============================================= */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 70px 0;
}

.section-alt {
    background: var(--bg-light);
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
}

.title-rule {
    width: 48px;
    height: 3px;
    background: var(--grad);
    border-radius: 3px;
    margin-bottom: 12px;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.four-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .two-col   { grid-template-columns: 1fr; gap: 28px; }
    .three-col { grid-template-columns: 1fr 1fr; }
    .four-col  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .three-col { grid-template-columns: 1fr; }
    .four-col  { grid-template-columns: 1fr; }
    .section   { padding: 48px 0; }
}

/* =============================================
   BUTTONS
============================================= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 3px 14px rgba(200, 54, 10, 0.30);
}

.btn-primary:hover {
    color: #fff;
    opacity: 0.88;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(200, 54, 10, 0.38);
}

.btn-outline {
    background: transparent;
    color: var(--red);
    border: 2px solid var(--red);
}

.btn-outline:hover {
    background: var(--red);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--red);
    font-weight: 700;
}

.btn-white:hover {
    background: #f5f5f5;
    color: var(--red);
}

/* =============================================
   CARDS
============================================= */
.card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 26px 22px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(200, 54, 10, 0.13);
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.65;
}

/* =============================================
   NOTICE BAR
============================================= */
.notice-bar {
    background: var(--grad);
    text-align: center;
    padding: 9px 20px;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.notice-bar a {
    color: #FFE5A0;
    text-decoration: underline;
}

/* =============================================
   HEADER & NAVIGATION
============================================= */
.site-header {
    background: #1C0900;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 20px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-logo img {
    height: 44px;
    width: auto;
    border-radius: 8px;
}

.site-logo .logo-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Main Navigation */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav ul li a {
    color: #D4A060;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 7px 13px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    display: block;
}

.main-nav ul li a:hover,
.main-nav ul li.current-menu-item a {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

/* Header Action Buttons */
.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.header-actions .btn {
    padding: 8px 20px;
    font-size: 0.87rem;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #D4A060;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #1C0900;
        padding: 16px 24px 20px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; gap: 4px; }
    .main-nav ul li a { padding: 10px 12px; }
    .menu-toggle { display: block; }
    .header-actions .btn-outline { display: none; }
}

@media (max-width: 480px) {
    .header-actions .btn { padding: 7px 14px; font-size: 0.82rem; }
}

/* =============================================
   HERO
============================================= */
.hero {
    background: linear-gradient(135deg, #1C0900 0%, #3B1200 45%, #1C0900 100%);
    padding: 72px 0 64px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 80% 50%, rgba(200,54,10,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--light-gold);
    background: rgba(212,134,10,0.15);
    border: 1px solid rgba(212,134,10,0.3);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.hero h1 {
    color: #fff;
    margin-bottom: 18px;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.15;
}

.hero h1 span {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    color: #C4956A;
    font-size: 1.05rem;
    max-width: 520px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Info Card in Hero */
.hero-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(212,134,10,0.25);
    border-radius: 16px;
    padding: 28px 24px;
    min-width: 220px;
    text-align: center;
    backdrop-filter: blur(4px);
}

.hero-card .hc-label {
    font-size: 0.8rem;
    color: #A07040;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.hero-card .hc-value {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-card .hc-sub {
    color: #C4956A;
    font-size: 0.83rem;
    margin-bottom: 16px;
}

.hero-card .gift-code {
    background: rgba(212,134,10,0.12);
    border: 1px dashed rgba(212,134,10,0.4);
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--light-gold);
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero-card {
        max-width: 320px;
    }
}

/* =============================================
   INFO TABLE
============================================= */
.info-table-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr:nth-child(even) td {
    background: var(--bg-light);
}

.info-table td {
    padding: 13px 18px;
    font-size: 0.93rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.info-table td:first-child {
    font-weight: 700;
    color: var(--red);
    width: 40%;
    background: rgba(200,54,10,0.03);
}

.info-table tr:last-child td {
    border-bottom: none;
}

/* =============================================
   STEPS LIST
============================================= */
.steps-list {
    counter-reset: step-cnt;
}

.steps-list li {
    counter-increment: step-cnt;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 18px;
    margin-bottom: 12px;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.steps-list li::before {
    content: counter(step-cnt);
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--grad);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.88rem;
    margin-top: 2px;
}

.steps-list li .step-content strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-dark);
    font-size: 0.97rem;
}

.steps-list li .step-content span {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =============================================
   MIDDLE BANNER
============================================= */
.mid-banner {
    background: linear-gradient(135deg, #1C0900 0%, #4A1500 60%, #1C0900 100%);
    border-radius: 16px;
    padding: 48px 36px;
    text-align: center;
    box-shadow: 0 6px 36px rgba(200,54,10,0.2);
}

.mid-banner h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    margin-bottom: 12px;
}

.mid-banner h2 span {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mid-banner p {
    color: #C4956A;
    max-width: 560px;
    margin: 0 auto 24px;
    font-size: 1rem;
}

.code-display {
    display: inline-block;
    background: rgba(212,134,10,0.12);
    border: 2px dashed rgba(212,134,10,0.45);
    border-radius: 10px;
    padding: 10px 28px;
    color: var(--light-gold);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 3px;
    margin-bottom: 24px;
}

.bonus-steps-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.b-step {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212,134,10,0.2);
    border-radius: 10px;
    padding: 14px 20px;
    min-width: 120px;
}

.b-step .b-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-gold);
    display: block;
    line-height: 1;
}

.b-step .b-lbl {
    font-size: 0.8rem;
    color: #A07040;
    margin-top: 4px;
    display: block;
}

/* =============================================
   PAYMENT BADGES
============================================= */
.pay-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.pay-badge {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.87rem;
    font-weight: 700;
    color: var(--text-dark);
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

/* =============================================
   DATA TABLE (Withdrawal etc.)
============================================= */
.data-table-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead tr th {
    background: var(--grad);
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-size: 0.88rem;
    font-weight: 700;
}

.data-table tbody tr:nth-child(even) td {
    background: var(--bg-light);
}

.data-table tbody td {
    padding: 11px 16px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-body);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* =============================================
   FAQ ACCORDION
============================================= */
.faq-wrap {
    max-width: 780px;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-q {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 0.97rem;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    gap: 12px;
}

.faq-q .faq-arrow {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--grad);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.65rem;
    transition: transform 0.3s;
    line-height: 1;
}

.faq-item.open .faq-q .faq-arrow {
    transform: rotate(180deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    padding: 0 20px;
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-item.open .faq-a {
    max-height: 400px;
    padding: 0 20px 18px;
}

/* =============================================
   STATS ROW
============================================= */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

@media (max-width: 700px) {
    .stats-row { grid-template-columns: 1fr 1fr; }
}

.stat-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 22px 16px;
    border: 1px solid var(--border);
}

.stat-item .stat-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-item .stat-lbl {
    font-size: 0.83rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* =============================================
   FOOTER
============================================= */
.site-footer {
    background: #140600;
    color: #A07040;
    padding: 56px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

@media (max-width: 800px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-col .fc-logo {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 12px;
}

.footer-col p {
    font-size: 0.87rem;
    color: #6B4820;
    line-height: 1.7;
    margin-bottom: 0;
}

.footer-col h4 {
    color: #D4A060;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #6B4820;
    font-size: 0.87rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--light-gold);
}

.footer-bottom {
    background: #0A0300;
    padding: 16px 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #4A2A0A;
    margin-bottom: 0;
}

.footer-bottom p + p {
    margin-top: 4px;
    font-size: 0.75rem;
}

/* =============================================
   MARQUEE
============================================= */
.marquee-strip {
    background: #1C0900;
    padding: 10px 0;
    overflow: hidden;
    border-top: 2px solid var(--red);
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: scrollMarquee 45s linear infinite;
}

.marquee-track span {
    color: #D4A060;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0 30px;
    letter-spacing: 0.4px;
    border-right: 1px solid rgba(212,134,10,0.2);
    flex-shrink: 0;
}

@keyframes scrollMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =============================================
   PAGE HEADER (Inner Pages)
============================================= */
.page-hero {
    background: linear-gradient(135deg, #1C0900, #3B1200);
    padding: 52px 0 44px;
    text-align: center;
}

.page-hero h1 {
    color: #fff;
    margin-bottom: 10px;
}

.page-hero p {
    color: #C4956A;
    max-width: 560px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #7A4A1A;
    margin-bottom: 14px;
}

.breadcrumb a { color: #A07040; }
.breadcrumb span { color: #5A3010; }

/* =============================================
   ABOUT PAGE
============================================= */
.about-feature-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--text-body);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature-list li:last-child {
    border-bottom: none;
}

.about-feature-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
    margin-top: 9px;
}

/* =============================================
   DISCLAIMER PAGE
============================================= */
.disclaimer-content h3 {
    font-size: 1.05rem;
    margin: 28px 0 10px;
    color: var(--text-dark);
}

.disclaimer-content p,
.disclaimer-content li {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.disclaimer-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 12px;
}

/* =============================================
   CONTACT CARDS
============================================= */
.contact-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--shadow);
}

.contact-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* =============================================
   RESPONSIBLE GAMING
============================================= */
.rg-list li {
    padding: 14px 18px;
    margin-bottom: 10px;
    background: var(--bg-white);
    border-left: 3px solid var(--red);
    border-radius: 0 8px 8px 0;
    font-size: 0.93rem;
    color: var(--text-body);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.rg-list li strong {
    display: block;
    margin-bottom: 3px;
    color: var(--text-dark);
}

/* =============================================
   SCROLL TO TOP
============================================= */
#scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 40px;
    height: 40px;
    background: var(--grad);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 14px rgba(200,54,10,0.35);
    z-index: 999;
    transition: opacity 0.2s;
}

#scroll-top.visible {
    display: flex;
}

/* =============================================
   UTILITY
============================================= */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0  { margin-bottom: 0; }
