/* ============================================
   王者殿堂 - Kings Hall Royal Theme
   澳门线上博彩 主样式表
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Merriweather:wght@300;400;700;900&display=swap');

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --imperial-gold: #FFD700;
    --royal-red: #8B0000;
    --glory-purple: #4B0082;
    --obsidian-black: #2F4F4F;
    --pearl-white: #FAF0E6;
    --deep-black: #1a1a2e;
    --velvet-red: #6B0000;
    --marble-white: #F5F0EB;
    --gold-gradient: linear-gradient(135deg, #FFD700, #DAA520, #FFD700);
    --dark-gradient: linear-gradient(180deg, #1a1a2e, #2F4F4F, #1a1a2e);
    --royal-gradient: linear-gradient(135deg, #4B0082, #8B0000, #4B0082);
    --font-title: 'Cinzel', serif;
    --font-body: 'Merriweather', serif;
    --max-width: 1200px;
    --section-padding: 80px 20px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--pearl-white);
    background-color: var(--deep-black);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--imperial-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFF8DC;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    color: var(--imperial-gold);
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 { font-size: 2.5rem; font-weight: 900; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
    margin-bottom: 1.2em;
    font-size: 1rem;
    color: var(--pearl-white);
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-gold { color: var(--imperial-gold); }
.text-red { color: var(--royal-red); }

.gold-divider {
    width: 120px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 30px auto;
    border: none;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--pearl-white);
    opacity: 0.85;
    margin-bottom: 40px;
}

/* Jammer Block - SEO */
.jammer-block {
    display: none;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* ============================================
   Navigation
   ============================================ */
#kings-hall-nav {
    position: relative;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.98), rgba(47, 79, 79, 0.95));
    border-bottom: 2px solid var(--imperial-gold);
    padding: 0;
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--imperial-gold);
}

.nav-logo-text {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--imperial-gold);
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-links li a {
    display: block;
    padding: 10px 15px;
    font-family: var(--font-title);
    font-size: 0.85rem;
    color: var(--pearl-white);
    transition: all 0.3s ease;
    border-radius: 4px;
    white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--imperial-gold);
    background: rgba(255, 215, 0, 0.1);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--imperial-gold);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Gothic Mobile Menu */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: linear-gradient(180deg, #1a1a2e 0%, #2F4F4F 100%);
        border-top: 2px solid var(--imperial-gold);
        border-bottom: 2px solid var(--imperial-gold);
        padding: 15px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        padding: 12px 25px;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .nav-links li a::before {
        content: '⚔ ';
        color: var(--imperial-gold);
    }
}

/* ============================================
   Hero Section
   ============================================ */
#kings-hall-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--deep-black);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: brightness(0.6);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.3), rgba(26, 26, 46, 0.7), rgba(26, 26, 46, 0.95));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px 20px;
}

.hero-crown {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: crownFloat 3s ease-in-out infinite;
}

@keyframes crownFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-shadow: none;
    letter-spacing: 3px;
}

.hero-slogan {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: var(--pearl-white);
    margin-bottom: 30px;
    opacity: 0.9;
    letter-spacing: 2px;
}

.hero-cta {
    display: inline-block;
    padding: 16px 50px;
    background: var(--gold-gradient);
    color: var(--deep-black);
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
    color: var(--deep-black);
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-slogan { font-size: 1rem; }
    .hero-crown { font-size: 3rem; }
}

/* ============================================
   Royal Module (Section Base)
   ============================================ */
.royal-module {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.royal-module:nth-child(even) {
    background: linear-gradient(180deg, rgba(75, 0, 130, 0.08), rgba(139, 0, 0, 0.08));
}

.module-header {
    text-align: center;
    margin-bottom: 50px;
}

.module-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.module-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold-gradient);
}

/* ============================================
   Brand Story Section
   ============================================ */
.brand-story {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.15), rgba(26, 26, 46, 0.95));
    position: relative;
}

.brand-story-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    mask-image: linear-gradient(to left, rgba(0,0,0,0.3), transparent);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.3), transparent);
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-chapter {
    margin-bottom: 40px;
    padding: 30px;
    border-left: 3px solid var(--imperial-gold);
    background: rgba(255, 215, 0, 0.03);
    border-radius: 0 8px 8px 0;
}

.story-chapter h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--imperial-gold);
}

.story-chapter h3::before {
    content: '♛ ';
}

.story-chapter p {
    font-size: 0.95rem;
    line-height: 2;
    text-indent: 2em;
}

/* ============================================
   Game Cards Grid
   ============================================ */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.game-card {
    background: linear-gradient(135deg, rgba(47, 79, 79, 0.6), rgba(26, 26, 46, 0.8));
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--imperial-gold);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.15);
}

.game-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.game-card-body {
    padding: 25px;
}

.game-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.game-card-body p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 15px;
}

.game-card-btn {
    display: inline-block;
    padding: 8px 25px;
    background: transparent;
    border: 1px solid var(--imperial-gold);
    color: var(--imperial-gold);
    font-family: var(--font-title);
    font-size: 0.85rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.game-card-btn:hover {
    background: var(--imperial-gold);
    color: var(--deep-black);
}

/* ============================================
   Odds / Stats Section
   ============================================ */
.odds-table-wrap {
    overflow-x: auto;
    margin-top: 30px;
}

.odds-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.odds-table thead {
    background: linear-gradient(135deg, var(--royal-red), var(--glory-purple));
}

.odds-table th {
    padding: 14px 18px;
    font-family: var(--font-title);
    color: var(--imperial-gold);
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
}

.odds-table td {
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    color: var(--pearl-white);
}

.odds-table tbody tr:hover {
    background: rgba(255, 215, 0, 0.05);
}

.odds-table .odds-value {
    color: var(--imperial-gold);
    font-weight: 700;
}

/* ============================================
   Security Section
   ============================================ */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.security-item {
    text-align: center;
    padding: 35px 25px;
    background: rgba(47, 79, 79, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.security-item:hover {
    border-color: var(--imperial-gold);
    transform: translateY(-3px);
}

.security-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 2px solid var(--imperial-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

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

.security-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ============================================
   VIP Section
   ============================================ */
.vip-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.vip-card {
    text-align: center;
    padding: 35px 20px;
    background: linear-gradient(180deg, rgba(47, 79, 79, 0.4), rgba(26, 26, 46, 0.6));
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    transition: all 0.4s ease;
}

.vip-card:hover {
    border-color: var(--imperial-gold);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

.vip-card.featured {
    border-color: var(--imperial-gold);
    background: linear-gradient(180deg, rgba(139, 0, 0, 0.3), rgba(75, 0, 130, 0.2));
}

.vip-rank {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.vip-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.vip-benefits {
    list-style: none;
    text-align: left;
    padding: 0;
}

.vip-benefits li {
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--pearl-white);
    opacity: 0.85;
}

.vip-benefits li::before {
    content: '♦ ';
    color: var(--imperial-gold);
}

/* ============================================
   News / Articles Section
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: rgba(47, 79, 79, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-3px);
}

.news-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-card-body {
    padding: 20px;
}

.news-card-body h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.news-card-body p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 12px;
}

.news-date {
    font-size: 0.8rem;
    color: var(--imperial-gold);
    opacity: 0.7;
}

/* ============================================
   Expert Column Section
   ============================================ */
.expert-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.expert-card {
    padding: 30px;
    background: rgba(47, 79, 79, 0.3);
    border-left: 3px solid var(--imperial-gold);
    border-radius: 0 10px 10px 0;
}

.expert-name {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--imperial-gold);
    margin-bottom: 8px;
}

.expert-title {
    font-size: 0.85rem;
    color: var(--pearl-white);
    opacity: 0.7;
    margin-bottom: 15px;
}

.expert-quote {
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.8;
    border-left: none;
    padding: 0;
}

/* ============================================
   License Module
   ============================================ */
.license-section {
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.1), rgba(139, 0, 0, 0.1));
}

.license-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.license-info h3 {
    margin-bottom: 15px;
}

.license-info p {
    font-size: 0.95rem;
    line-height: 1.9;
}

.license-badge {
    text-align: center;
    padding: 30px;
    background: rgba(47, 79, 79, 0.3);
    border: 2px solid var(--imperial-gold);
    border-radius: 12px;
}

.license-badge img {
    max-width: 120px;
    margin: 0 auto 15px;
}

.license-number {
    font-family: var(--font-title);
    font-size: 0.9rem;
    color: var(--imperial-gold);
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .license-content {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   APP Download Section
   ============================================ */
.app-section {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.1), rgba(75, 0, 130, 0.15));
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.app-features {
    list-style: none;
    padding: 0;
}

.app-features li {
    padding: 10px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.app-features li::before {
    content: '♛ ';
    color: var(--imperial-gold);
}

.app-mockup {
    text-align: center;
}

.app-mockup img {
    max-width: 300px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.app-download-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.app-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--gold-gradient);
    color: var(--deep-black);
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.app-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
    color: var(--deep-black);
}

@media (max-width: 768px) {
    .app-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Inner Page Hero
   ============================================ */
.inner-hero {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--deep-black);
}

.inner-hero .hero-bg {
    opacity: 0.3;
}

.inner-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
}

.inner-hero-content h1 {
    font-size: 2.2rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--pearl-white);
    opacity: 0.7;
}

.breadcrumb a {
    color: var(--imperial-gold);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .inner-hero {
        min-height: 35vh;
    }
    .inner-hero-content h1 {
        font-size: 1.6rem;
    }
}

/* ============================================
   Inner Page Content
   ============================================ */
.inner-content {
    padding: 60px 20px;
}

.inner-content .container {
    max-width: 900px;
}

.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.content-section h3 {
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 12px;
}

.content-section p {
    text-indent: 2em;
    line-height: 2;
    font-size: 0.95rem;
}

.content-img {
    width: 100%;
    border-radius: 10px;
    margin: 25px 0;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.content-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.content-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.15);
    transition: all 0.3s ease;
}

.content-gallery img:hover {
    border-color: var(--imperial-gold);
    transform: scale(1.02);
}

/* Strategy Box */
.strategy-box {
    background: rgba(47, 79, 79, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    padding: 30px;
    margin: 25px 0;
}

.strategy-box h4 {
    color: var(--imperial-gold);
    margin-bottom: 12px;
}

.strategy-box h4::before {
    content: '♛ ';
}

/* King Story Box */
.king-story {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.15), rgba(75, 0, 130, 0.1));
    border-left: 4px solid var(--imperial-gold);
    padding: 30px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.king-story h3 {
    color: var(--imperial-gold);
}

.king-creed {
    background: rgba(255, 215, 0, 0.05);
    border: 2px solid var(--imperial-gold);
    padding: 25px;
    margin: 25px 0;
    text-align: center;
    border-radius: 10px;
}

.king-creed h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.king-creed p {
    font-family: var(--font-title);
    font-size: 1.05rem;
    color: var(--imperial-gold);
    text-indent: 0;
    line-height: 2;
}

/* ============================================
   APP Download Page Specific
   ============================================ */
.coronation-hall {
    position: relative;
    overflow: hidden;
}

.scroll-step {
    background: rgba(47, 79, 79, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
}

.scroll-step:hover {
    border-color: var(--imperial-gold);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    color: var(--deep-black);
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.9rem;
    text-indent: 0;
}

.qr-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.qr-card {
    text-align: center;
    padding: 30px;
    background: rgba(47, 79, 79, 0.3);
    border: 2px solid var(--imperial-gold);
    border-radius: 12px;
}

.qr-card h3 {
    margin-bottom: 15px;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    background: var(--pearl-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--deep-black);
}

@media (max-width: 768px) {
    .qr-section {
        grid-template-columns: 1fr;
    }
    .scroll-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ============================================
   Footer - Castle Wall Style
   ============================================ */
#kings-hall-footer {
    position: relative;
    background: linear-gradient(180deg, #1a1a2e, #0d0d1a);
    border-top: 3px solid var(--imperial-gold);
    padding: 60px 20px 30px;
    overflow: hidden;
}

#kings-hall-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/common/castle-wall.webp') repeat;
    opacity: 0.05;
    pointer-events: none;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: var(--font-title);
    font-size: 1rem;
    color: var(--imperial-gold);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

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

.footer-col ul li a {
    font-size: 0.85rem;
    color: var(--pearl-white);
    opacity: 0.7;
    transition: all 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--imperial-gold);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--imperial-gold);
}

.footer-contact p {
    font-size: 0.85rem;
    margin-bottom: 8px;
    opacity: 0.7;
}

.footer-payment {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.footer-payment span {
    padding: 5px 12px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--imperial-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    padding-top: 25px;
    text-align: center;
}

.footer-license {
    font-size: 0.8rem;
    color: var(--pearl-white);
    opacity: 0.6;
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-legal {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.footer-legal a {
    font-size: 0.8rem;
    color: var(--pearl-white);
    opacity: 0.6;
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--imperial-gold);
}

.footer-age {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid var(--imperial-gold);
    border-radius: 50%;
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 900;
    color: var(--imperial-gold);
    margin: 10px auto;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--pearl-white);
    opacity: 0.5;
    margin-top: 15px;
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Oil painting loading effect */
.oil-paint-load {
    filter: blur(10px);
    transition: filter 1.5s ease;
}

.oil-paint-load.loaded {
    filter: blur(0);
}

/* Crown coronation animation */
@keyframes coronation {
    0% { transform: translateY(-50px) rotate(-10deg); opacity: 0; }
    50% { transform: translateY(5px) rotate(2deg); opacity: 1; }
    100% { transform: translateY(0) rotate(0deg); opacity: 1; }
}

.crown-animate {
    animation: coronation 1.5s ease-out forwards;
}

/* Scepter wave */
@keyframes scepterWave {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* Gold shimmer */
@keyframes goldShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.gold-shimmer {
    background: linear-gradient(90deg, #FFD700, #FFF8DC, #DAA520, #FFD700);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 3s linear infinite;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 60px 15px;
    }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 45px 15px;
    }
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.15rem; }

    .game-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .vip-tiers {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    html { font-size: 14px; }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
}
