/* ==========================================================================
   1. MASTER HEADER SHELL (NAVIGASI ATAS + TICKER PENGUMUMAN)
   ========================================================================== */
.master-header {
    position: sticky;
    top: 8px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1000;
    padding: 0 15px;
}

.header-shell {
    width: 100%;
    max-width: 1260px;
    background: rgba(10, 15, 22, 0.94);
    border: 1px solid var(--border-gold);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.85), 0 0 15px rgba(240, 192, 90, 0.12);
    overflow: hidden;
    transition: all 0.3s ease;
}

.nav-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.nav-logo a {
    display: flex;
    align-items: center;
}

.header-logo-img {
    height: 38px;
    width: auto;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 8px rgba(240, 192, 90, 0.6));
    transition: transform 0.3s ease;
}

.header-logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--gold-bright);
    text-shadow: 0 0 8px rgba(240, 192, 90, 0.6);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.server-clock {
    font-size: 0.82rem;
    color: var(--gold-bright);
    font-weight: 700;
    letter-spacing: 1px;
}

.btn-login {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    padding: 5px 12px;
}

.btn-login:hover {
    color: var(--gold-bright);
}

.btn-play {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: #0b0c10;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: 18px;
    font-size: 0.88rem;
    box-shadow: 0 0 14px rgba(240, 192, 90, 0.45);
    white-space: nowrap;
}

.btn-play:hover {
    box-shadow: 0 0 20px rgba(240, 192, 90, 0.75);
    transform: scale(1.03);
}

.mobile-toggle-btn {
    display: none;
    background: transparent;
    color: var(--gold-primary);
    font-size: 1.4rem;
    cursor: pointer;
}

/* Ticker Pengumuman Berjalan */
.news-ticker-row {
    display: flex;
    align-items: center;
    padding: 4px 14px;
    background: rgba(5, 8, 12, 0.85);
    overflow: hidden;
}

.ticker-badge {
    background: linear-gradient(135deg, var(--gold-primary), #c98a0c);
    color: #08090b;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 3px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 0 8px rgba(240, 192, 90, 0.4);
    flex-shrink: 0;
}

.ticker-track-container {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding-left: 15px;
}

.ticker-track {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
    animation: marquee 25s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
    cursor: pointer;
}

.ticker-item {
    font-size: 0.86rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ticker-separator {
    color: var(--gold-primary);
    margin-right: 15px;
}

.text-gold { color: var(--gold-primary); }
.text-cyan { color: var(--cyan-glow); }
.text-green { color: var(--emerald-accent); }

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ==========================================================================
   2. SUSUN ATUR PORTAL 3 KOLOM & SIDE GUARDIANS
   ========================================================================== */
.classic-portal-wrapper {
    position: relative;
    max-width: 1560px;
    margin: 20px auto 60px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

/* Karakter Penjaga Samping (Kiri & Kanan) */
.side-guardian {
    position: fixed;
    top: 90px;
    width: 280px;
    height: 86vh;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.guardian-left {
    left: 20px;
}

.guardian-right {
    right: 20px;
}

.guardian-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.85;
    mix-blend-mode: screen;
    mask-image: linear-gradient(to bottom, black 65%, transparent 100%),
                radial-gradient(ellipse at center, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
    filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.3));
}

.guardian-art.mirror {
    transform: scaleX(-1);
    filter: drop-shadow(0 0 18px rgba(240, 192, 90, 0.3));
}

/* Papan Konten Tengah Solid */
.portal-main-board {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 290px minmax(500px, 660px) 290px;
    gap: 18px;
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
}

/* Bingkai Kotak Portal MMORPG Klasik */
.portal-box {
    background: var(--bg-card);
    border-radius: 10px;
    margin-bottom: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.85);
    border: 1px solid var(--border-steel);
    position: relative;
}

/* Ornamen Border Emas Bergaya Relik */
.gold-ornate-box {
    border: 1px solid var(--border-gold);
    box-shadow: 0 0 20px rgba(240, 192, 90, 0.12), inset 0 0 10px rgba(240, 192, 90, 0.05);
}

.box-header {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.box-header h3 {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #fff;
    flex: 1;
}

.gold-hdr {
    background: linear-gradient(90deg, rgba(138, 100, 8, 0.4) 0%, rgba(20, 26, 36, 0.95) 50%, rgba(138, 100, 8, 0.4) 100%);
    border-bottom: 1px solid var(--border-gold);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.gold-hdr i {
    color: var(--gold-bright);
}

.hdr-ornament {
    width: 18px;
    height: 2px;
    background: var(--gold-primary);
    box-shadow: 0 0 6px var(--gold-primary);
}

.steel-hdr {
    background: linear-gradient(90deg, rgba(9, 132, 227, 0.3) 0%, rgba(16, 22, 32, 0.95) 100%);
    border-bottom: 1px solid rgba(0, 229, 255, 0.25);
}

.steel-hdr i {
    color: var(--cyan-glow);
}

.discord-hdr {
    background: linear-gradient(90deg, rgba(88, 101, 242, 0.35) 0%, rgba(16, 22, 32, 0.95) 100%);
    border-bottom: 1px solid rgba(88, 101, 242, 0.4);
}

.discord-hdr i {
    color: #7289da;
}

.box-content {
    padding: 14px;
}

/* ==========================================================================
   3. GAYA KHAS BUTANG GRAFIK ASLI (ANTI-GLITCH & ANTI-FLICKERING)
   ========================================================================== */
.classic-btn-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.classic-img-btn {
    display: block;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(240, 192, 90, 0.25);
    background: #111620;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
    line-height: 0;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.classic-img-btn .btn-graphic {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: filter 0.25s ease;
}

/* Efek Hover Stabil (Pergerakan mikro tidak memotong kedudukan tetikus) */
.classic-img-btn:hover {
    transform: translateY(-2px);
    border-color: var(--gold-bright);
    box-shadow: 0 6px 18px rgba(240, 192, 90, 0.45);
}

.classic-img-btn:hover .btn-graphic {
    filter: brightness(1.1) contrast(1.05);
}

.classic-img-btn.non-clickable {
    cursor: default;
}

.classic-img-btn.non-clickable:hover {
    transform: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    border-color: rgba(240, 192, 90, 0.25);
}

/* Sistem Hover-Swap Lancar (Menggunakan Opacity & Absolute, Mencegah Glitch/Lompat Saiz) */
.hover-swap-btn {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hover-swap-btn .state-normal {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.25s ease;
}

.hover-swap-btn .state-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    filter: drop-shadow(0 0 10px rgba(240, 192, 90, 0.6));
}

.hover-swap-btn:hover .state-hover {
    opacity: 1;
}

.hover-swap-btn:hover .state-normal {
    opacity: 0;
}

.maintain-subtext {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Mini Server Status Emboss */
.status-emboss-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(90deg, rgba(14, 24, 34, 0.9) 0%, rgba(8, 12, 18, 0.95) 100%);
}

.status-indicator-ring {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(46, 213, 115, 0.15);
    border: 1px solid rgba(46, 213, 115, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.status-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald-accent);
    box-shadow: 0 0 8px var(--emerald-accent);
}

.status-info-text {
    display: flex;
    flex-direction: column;
}

.status-head {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.status-green {
    color: var(--emerald-accent);
}

.status-sub {
    font-size: 0.85rem;
    color: #fff;
}

/* ==========================================================================
   4. KOLOM TENGAH: PENTAS LOGO, TAB BERITA & SPOTLIGHT
   ========================================================================== */
.portal-hero-stage {
    position: relative;
    text-align: center;
    padding: 20px 0 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stage-back-pedestal {
    position: absolute;
    width: 80%;
    height: 60px;
    bottom: 10px;
    background: radial-gradient(ellipse at center, rgba(240, 192, 90, 0.25) 0%, transparent 70%);
    filter: blur(14px);
    pointer-events: none;
}

.center-stage-logo {
    max-width: 440px;
    width: 100%;
    height: auto;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 25px rgba(240, 192, 90, 0.6))
            drop-shadow(0 0 40px rgba(0, 229, 255, 0.25));
    transition: transform 0.3s ease;
}

.center-stage-logo:hover {
    transform: scale(1.02);
}

/* Papan Berita Bertab */
.center-board-box {
    border: 1px solid var(--border-gold);
}

.board-tabs-header {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid var(--border-gold);
}

.tab-btn {
    flex: 1;
    padding: 12px 14px;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
    color: var(--gold-bright);
    border-bottom-color: var(--gold-primary);
    background: linear-gradient(180deg, rgba(240, 192, 90, 0.08) 0%, rgba(20, 26, 36, 0.4) 100%);
}

.news-classic-list {
    list-style: none;
    padding: 14px 20px;
}

.news-classic-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.news-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: monospace;
    flex-shrink: 0;
}

.news-title {
    font-size: 0.92rem;
    color: #e2e8f0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-title:hover {
    color: var(--cyan-glow);
    transform: translateX(4px);
}

.highlight-text {
    color: var(--gold-bright);
}

.tag-badge {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.event-tag { background: #d35400; color: #fff; }
.maint-tag { background: #c0392b; color: #fff; }
.info-tag { background: #0984e3; color: #fff; }
.gift-tag { background: #2ed573; color: #000; }

.board-footer-more {
    text-align: right;
    padding: 8px 20px 14px;
}

.btn-more-news {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold-primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-more-news:hover {
    color: var(--gold-bright);
    text-decoration: underline;
}

/* Discord Spotlight */
.spotlight-body {
    padding: 24px;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.15) 0%, rgba(10, 16, 26, 0.9) 100%);
}

.spotlight-content h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 6px;
}

.spotlight-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 18px;
}

.btn-discord-join {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #5865f2;
    color: #fff;
    font-weight: 700;
    padding: 9px 24px;
    border-radius: 20px;
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.45);
}

.btn-discord-join:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 0 22px rgba(88, 101, 242, 0.65);
}

/* Galeri Foto Aktiviti */
.gallery-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 16px;
}

.polaroid-photo {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.polaroid-photo:hover {
    transform: translateY(-4px);
    border-color: var(--gold-primary);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.photo-placeholder {
    height: 95px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--gold-primary);
    margin-bottom: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.polaroid-photo span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
}

/* ==========================================================================
   5. KOLOM KANAN: BAHAGIAN AHLI & JADUAL
   ========================================================================== */
.member-links-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.member-action-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
}

.member-action-tile:hover {
    border-color: var(--gold-primary);
    background: rgba(240, 192, 90, 0.08);
    transform: translateX(4px);
}

.tile-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.gold-icon { color: var(--gold-bright); border: 1px solid rgba(240, 192, 90, 0.3); }
.cyan-icon { color: var(--cyan-glow); border: 1px solid rgba(0, 229, 255, 0.3); }
.steel-icon { color: var(--text-muted); border: 1px solid rgba(255, 255, 255, 0.1); }

.tile-desc strong {
    display: block;
    font-size: 0.92rem;
    color: #fff;
    font-weight: 700;
}

.tile-desc small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Waktu Penyelenggaraan */
.schedule-body {
    padding: 16px;
    text-align: center;
}

.schedule-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.schedule-highlight {
    background: rgba(231, 76, 60, 0.12);
    border: 1px dashed rgba(231, 76, 60, 0.5);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
}

.schedule-highlight i {
    font-size: 1.2rem;
    color: #ff6b6b;
    margin-bottom: 4px;
}

.schedule-highlight strong {
    display: block;
    color: #ff6b6b;
    font-size: 1.05rem;
}

.schedule-highlight span {
    font-size: 0.85rem;
    color: #fff;
}

.schedule-body small {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* Partner Card */
.partner-card {
    text-align: center;
    padding: 18px 14px;
}

.partner-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
}

.partner-box-inner {
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 14px 10px;
    background: rgba(0, 0, 0, 0.35);
}

.partner-box-inner i {
    font-size: 1.6rem;
    margin-bottom: 6px;
    display: block;
}

.partner-box-inner strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #fff;
}

.partner-box-inner small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   6. HALAMAN TOP-UP / DONATION (MODEN MMORPG PORTAL)
   ========================================================================== */
.topup-page-wrapper {
    max-width: 1260px;
    margin: 30px auto 70px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Hero Banner Tajuk */
.topup-hero-banner {
    text-align: center;
    margin-bottom: 40px;
}

.topup-hero-banner .sub-badge {
    color: var(--cyan-glow);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 3px;
    display: inline-block;
    margin-bottom: 8px;
}

.topup-hero-banner .page-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
    margin-bottom: 10px;
}

.topup-hero-banner .page-desc {
    color: var(--text-muted);
    font-size: 0.98rem;
    max-width: 650px;
    margin: 0 auto 25px;
    line-height: 1.6;
}

/* Toggle Tabs Kapsul */
.toggle-pills-group {
    display: inline-flex;
    gap: 12px;
    background: rgba(10, 16, 24, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5px 8px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.pill-tab {
    padding: 9px 24px;
    border-radius: 20px;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.pill-tab:hover {
    color: #fff;
}

.pill-tab.active {
    background: linear-gradient(135deg, #00e5ff 0%, #0984e3 100%);
    color: #050b11;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

/* Susunan 2 Lajur */
.topup-layout-container {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 25px;
    align-items: start;
}

/* Kad Langkah (Steps) */
.topup-step-card {
    background: rgba(13, 19, 28, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
}

.step-badge-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.step-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--emerald-accent);
    color: #07170e;
    font-size: 0.88rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px var(--emerald-accent);
}

.step-badge-title h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
}

.step-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 22px;
}

/* Step 1: Info Bar Akaun */
.account-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 14px 18px;
}

.account-status-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.account-avatar {
    font-size: 2.2rem;
}

.account-status-info strong {
    display: block;
    color: #fff;
    font-size: 0.98rem;
}

.account-status-info small {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.btn-step-login {
    background: linear-gradient(135deg, var(--emerald-accent), #1bb05a);
    color: #041209;
    font-weight: 800;
    padding: 8px 22px;
    border-radius: 20px;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 12px rgba(46, 213, 115, 0.4);
}

.btn-step-login:hover {
    box-shadow: 0 0 20px rgba(46, 213, 115, 0.7);
    transform: scale(1.03);
}

/* Step 2: Grid Pakej Peti */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.package-card {
    background: rgba(20, 27, 38, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    padding: 22px 16px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
}

.package-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, 0.4);
    background: rgba(25, 35, 50, 0.85);
}

.package-card.active {
    border-color: var(--emerald-accent);
    background: linear-gradient(180deg, rgba(46, 213, 115, 0.12) 0%, rgba(15, 22, 32, 0.95) 100%);
    box-shadow: 0 0 20px rgba(46, 213, 115, 0.35);
}

/* Bekas & Gambar Peti Harta */
.chest-art-wrap {
    width: 100%;
    height: 110px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
}

.chest-img {
    max-height: 100px;
    max-width: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7));
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
    user-select: none;
}

.tier-1 .chest-img { filter: drop-shadow(0 0 10px rgba(46, 213, 115, 0.3)); }
.tier-2 .chest-img { filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.45)); }
.tier-3 .chest-img { filter: drop-shadow(0 0 16px rgba(0, 229, 255, 0.6)); }
.tier-4 .chest-img { filter: drop-shadow(0 0 18px rgba(240, 192, 90, 0.5)); }
.tier-5 .chest-img { filter: drop-shadow(0 0 22px rgba(240, 192, 90, 0.7)); }
.tier-6 .chest-img { filter: drop-shadow(0 0 25px rgba(46, 213, 115, 0.8)) drop-shadow(0 0 15px rgba(255, 234, 167, 0.6)); }

.package-card:hover .chest-img {
    transform: scale(1.1) translateY(-6px);
}

.package-card.active .chest-img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 20px rgba(46, 213, 115, 0.8));
}

.package-qp {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.package-bonus {
    font-size: 0.8rem;
    font-weight: 700;
    min-height: 18px;
    margin-bottom: 12px;
}

.package-bonus.empty-bonus {
    opacity: 0.2;
}

.package-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gold-bright);
    letter-spacing: 0.5px;
}

/* Pengawal Kuantiti */
.quantity-controller-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px 20px;
}

.quantity-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-light);
}

.qty-btn-group {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4px 10px;
}

.qty-btn {
    background: transparent;
    color: var(--gold-bright);
    font-size: 0.95rem;
    cursor: pointer;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.qty-number {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    min-width: 25px;
    text-align: center;
}

/* Step 3: Kaedah Pembayaran */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 16px;
}

.payment-option-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(20, 27, 38, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.payment-option-card input[type="radio"] {
    margin-top: 4px;
    accent-color: var(--emerald-accent);
}

.payment-option-card:hover {
    border-color: rgba(0, 229, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.payment-option-card.active {
    border-color: var(--emerald-accent);
    background: rgba(46, 213, 115, 0.08);
}

.pay-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.pay-title strong {
    font-size: 0.95rem;
    color: #fff;
}

.badge-status-ready {
    background: rgba(46, 213, 115, 0.2);
    color: var(--emerald-accent);
    border: 1px solid var(--emerald-accent);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}

.payment-option-card small {
    display: block;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.4;
}

.legal-disclaimer-note {
    font-size: 0.8rem;
    color: #636e72;
    line-height: 1.6;
}

.legal-disclaimer-note a {
    color: var(--emerald-accent);
    text-decoration: underline;
}

/* ==========================================================================
   PANEL CHECKOUT SISI (KANAN)
   ========================================================================== */
.checkout-floating-box {
    background: rgba(13, 19, 28, 0.95);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 26px 24px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85), inset 0 0 15px rgba(240, 192, 90, 0.08);
    position: sticky;
    top: 90px;
    backdrop-filter: blur(14px);
}

.checkout-hdr {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}

.checkout-details-table {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.ck-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
}

.ck-label {
    color: var(--text-muted);
}

.ck-val {
    color: #ffffff;
    font-weight: 700;
}

.npc-badge {
    background: rgba(240, 192, 90, 0.12);
    border: 1px solid rgba(240, 192, 90, 0.35);
    color: var(--gold-bright);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
}

.checkout-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 20px 0;
}

.checkout-total-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.total-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-light);
}

.total-amount {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
}

.btn-submit-donation {
    width: 100%;
    background: linear-gradient(135deg, var(--emerald-accent) 0%, #16a34a 100%);
    color: #041408;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.5px;
    padding: 13px;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 0 18px rgba(46, 213, 115, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    transition: all 0.25s ease;
}

.btn-submit-donation:hover {
    box-shadow: 0 0 26px rgba(46, 213, 115, 0.7);
    transform: translateY(-2px);
}

.payment-gateway-note {
    display: block;
    text-align: center;
    font-size: 0.74rem;
    color: #636e72;
    line-height: 1.4;
}

/* ==========================================================================
   7. FOOTER KOMPREHENSIF RASMI
   ========================================================================== */
.site-footer {
    background-color: #040507;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 0 35px;
    color: #8b90a0;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 25px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 380px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-logo-img {
    height: 34px;
    mix-blend-mode: screen;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
}

.footer-desc {
    color: #d1d5db;
    margin-bottom: 10px;
}

.footer-subdesc {
    color: #6b7280;
    font-size: 0.82rem;
    line-height: 1.6;
}

.footer-links-group {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--emerald-accent);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-legal {
    max-width: 720px;
}

.trademark-note {
    font-size: 0.78rem;
    color: #555c6d;
    line-height: 1.6;
    margin-bottom: 12px;
}

.legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legal-links a {
    font-size: 0.82rem;
    color: #8b90a0;
    text-decoration: underline;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.social-circle:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--gold-bright);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   8. PENYESUAIAN RESPONSIF & MUDAH ALIH (MOBILE-FRIENDLY)
   ========================================================================== */
@media (max-width: 1400px) {
    .side-guardian {
        width: 220px;
    }
}

@media (max-width: 1240px) {
    .side-guardian {
        display: none;
    }
}

@media (max-width: 1024px) {
    .portal-main-board {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .col-left, .col-right {
        order: 2;
    }

    .col-center {
        order: 1;
    }

    .topup-layout-container {
        grid-template-columns: 1fr;
    }

    .checkout-floating-box {
        position: static;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle-btn {
        display: block;
    }

    .server-clock, .btn-login {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(6, 11, 16, 0.98);
        border-bottom: 1px solid var(--border-gold);
        flex-direction: column;
        padding: 18px 25px;
        gap: 15px;
        z-index: 1001;
    }

    .nav-links.show-mobile {
        display: flex;
    }

    .gallery-photo-grid {
        grid-template-columns: 1fr;
    }

    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .payment-methods-grid {
        grid-template-columns: 1fr;
    }

    .account-bar-flex {
        flex-direction: column;
        gap: 14px;
        align-items: flex-start;
    }

    .btn-step-login {
        width: 100%;
        justify-content: center;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links-group {
        gap: 30px;
        justify-content: space-between;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }

    .topup-hero-banner .page-title {
        font-size: 2rem;
    }
}

/* ==========================================================================
   9. HALAMAN RANKING.PHP (ARKIB GAYA MMORPG KLASIK - TERKINI)
   ========================================================================== */
.ranking-board-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1240px;
    margin: 15px auto 60px;
    background: #0d121a;
    border: 2px solid var(--border-gold);
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), inset 0 0 15px rgba(240, 192, 90, 0.08);
}

/* Baris Butang Tab Grafik Ranking (Semua 5 Kategori Menggunakan Grafik) */
.ranking-button-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.rank-tab-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.25s ease;
    line-height: 0;
    display: flex;
    align-items: center;
}

/* Saiz Asas Butang Grafik */
.rank-btn-img {
    height: 48px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.7));
    transition: all 0.25s ease;
    user-select: none;
}

/* Pelarasan Ketinggian Khas bagi Butang Legion & Affiliate */
.legion-btn-img {
    height: 50px;
}

.affiliate-btn-img {
    height: 50px;
    border-radius: 4px;
}

/* Efek Hover & Status Aktif */
.rank-tab-btn:hover .rank-btn-img,
.rank-tab-btn.active .rank-btn-img {
    transform: scale(1.08) translateY(-2px);
    filter: drop-shadow(0 0 14px rgba(240, 192, 90, 0.85)) brightness(1.15);
}

/* Notis Kemas Kini Masa */
.ranking-update-notice {
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* Header Jalur Merah/Emas Jadual */
.ranking-table-header-bar {
    background: linear-gradient(90deg, #8b0000 0%, #a01010 50%, #8b0000 100%);
    border: 1px solid var(--border-gold);
    border-radius: 8px 8px 0 0;
    padding: 10px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ranking-table-header-bar .panel-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #ffd700;
    font-weight: 700;
}

.classic-select {
    background: #090d14;
    color: #fff;
    border: 1px solid var(--border-gold);
    border-radius: 4px;
    padding: 4px 8px;
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
}

/* Susunan Jadual Berkembar */
.dual-table-wrapper {
    display: flex;
    background: rgba(16, 22, 32, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.table-half {
    flex: 1;
}

.table-half:first-child {
    border-right: 1px solid rgba(240, 192, 90, 0.25);
}

/* Grid Jadual Klasik MMORPG */
.classic-rank-grid {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

.classic-rank-grid th {
    background: rgba(0, 0, 0, 0.45);
    color: #ffeaa7;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 9px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.classic-rank-grid td {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
}

.classic-rank-grid tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.classic-rank-grid tbody tr:hover {
    background: rgba(240, 192, 90, 0.08);
}

/* Lencana Kedudukan Juara (Nombor 1, 2, 3) */
.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-weight: 900;
    font-size: 0.8rem;
    color: #0b0c10;
}

.rank-1 { background: #ffd700; box-shadow: 0 0 8px #ffd700; }
.rank-2 { background: #dcdde1; box-shadow: 0 0 8px #dcdde1; }
.rank-3 { background: #e67e22; box-shadow: 0 0 8px #e67e22; color: #fff; }

/* Kemasan Badge & Teks Khusus Halaman Ranking */
.owner-pill {
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid rgba(0, 229, 255, 0.35);
    color: var(--cyan-glow);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
}

.star-badge {
    color: #ffd700;
    font-weight: 800;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.ep-badge {
    background: rgba(240, 192, 90, 0.12);
    border: 1px solid rgba(240, 192, 90, 0.35);
    color: var(--gold-bright);
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.82rem;
}

.pk-title-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

.red-title { background: #c0392b; color: #fff; }
.purple-title { background: #8e44ad; color: #fff; }
.orange-title { background: #d35400; color: #fff; }

.table-half code {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffeaa7;
    padding: 3px 7px;
    border-radius: 4px;
    font-size: 0.82rem;
}

/* Nota Kaki P/S */
.ranking-footer-note {
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 0.82rem;
    color: #8b9bb0;
    line-height: 1.6;
}

.ranking-footer-note strong {
    color: #ffd700;
}

/* Penyesuaian Responsif Tablet & Skrin Kecil */
@media (max-width: 992px) {
    .ranking-button-bar {
        gap: 8px;
    }

    .rank-btn-img,
    .legion-btn-img,
    .affiliate-btn-img {
        height: 42px;
    }
}

@media (max-width: 900px) {
    .dual-table-wrapper {
        flex-direction: column;
    }
    .table-half:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(240, 192, 90, 0.25);
    }
}
/* ==========================================================================
   HALAMAN FORUM.PHP (KOMUNITI MMORPG KLASIK ORIENTAL)
   ========================================================================== */
.forum-board-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1260px;
    margin: 20px auto 60px;
    background: #0d121a;
    border: 2px solid var(--border-gold);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), inset 0 0 15px rgba(240, 192, 90, 0.08);
}

/* Header Forum */
.forum-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 20px;
}

.forum-main-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.forum-sub-title {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.forum-actions-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.forum-search-wrap {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 3px 6px 3px 14px;
}

.forum-search-input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.88rem;
    width: 220px;
}

.btn-forum-search {
    background: transparent;
    color: var(--gold-bright);
    cursor: pointer;
    padding: 6px 10px;
    font-size: 0.9rem;
}

.btn-new-topic {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: #0b0c10;
    font-weight: 800;
    padding: 9px 20px;
    border-radius: 20px;
    font-size: 0.88rem;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(240, 192, 90, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-new-topic:hover {
    box-shadow: 0 0 18px rgba(240, 192, 90, 0.7);
    transform: translateY(-2px);
}

/* Susunan Grid Forum (Kiri: Papan Kategori, Kanan: Sidebar) */
.forum-layout-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

/* Kad Seksyen Kategori Forum */
.forum-section-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}

.forum-section-header {
    background: linear-gradient(90deg, rgba(20, 30, 45, 0.95) 0%, rgba(10, 16, 26, 0.98) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.forum-section-header h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #fff;
}

.official-header {
    background: linear-gradient(90deg, rgba(138, 100, 8, 0.35) 0%, rgba(15, 22, 32, 0.95) 100%);
    border-bottom: 1px solid var(--border-gold);
}

.support-header {
    background: linear-gradient(90deg, rgba(9, 132, 227, 0.3) 0%, rgba(15, 22, 32, 0.95) 100%);
    border-bottom: 1px solid rgba(0, 229, 255, 0.3);
}

/* Senarai Baris Papan (Board Rows) */
.forum-boards-list {
    display: flex;
    flex-direction: column;
}

.board-row {
    display: grid;
    grid-template-columns: 50px 1fr 140px 220px;
    align-items: center;
    gap: 15px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.2s ease;
}

.board-row:last-child {
    border-bottom: none;
}

.board-row:hover {
    background: rgba(240, 192, 90, 0.04);
}

.board-icon-cell {
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.board-info-cell h4 {
    margin-bottom: 4px;
}

.board-link {
    font-size: 0.98rem;
    font-weight: 700;
    color: #fff;
    transition: color 0.2s ease;
}

.board-link:hover {
    color: var(--gold-bright);
    text-decoration: underline;
}

.board-info-cell p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.board-stats-cell {
    display: flex;
    flex-direction: column;
    font-size: 0.82rem;
    color: var(--text-muted);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0 12px;
}

.board-stats-cell strong {
    color: #e2e8f0;
}

.board-lastpost-cell {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.lastpost-title {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--cyan-glow);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.lastpost-title:hover {
    color: var(--gold-bright);
}

.board-lastpost-cell small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Sidebar Forum */
.forum-stats-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.forum-stat-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
}

.forum-stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-threads-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.recent-thread-tile {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.recent-thread-tile:hover {
    background: rgba(240, 192, 90, 0.08);
    border-color: var(--gold-primary);
    transform: translateX(3px);
}

.recent-thread-tile i {
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.recent-thread-tile strong {
    display: block;
    font-size: 0.88rem;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 3px;
}

.recent-thread-tile small {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.rules-body ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rules-body li {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.text-ruby { color: #e74c3c; }

/* Responsif Forum */
@media (max-width: 1024px) {
    .forum-layout-grid {
        grid-template-columns: 1fr;
    }
    
    .board-row {
        grid-template-columns: 45px 1fr;
        gap: 10px;
    }

    .board-stats-cell,
    .board-lastpost-cell {
        display: none;
    }
}

@media (max-width: 768px) {
    .forum-header-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .forum-actions-group {
        flex-direction: column;
    }
    .forum-search-wrap {
        width: 100%;
    }
    .forum-search-input {
        width: 100%;
    }
    .btn-new-topic {
        width: 100%;
        justify-content: center;
    }
}
/* ==========================================================================
   MODAL POPUP FORUM (KEMASAN PAPARAN LALAI)
   ========================================================================== */
.admin-modal-backdrop {
    display: none; /* Wajib disembunyikan secara lalai */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.admin-modal-box {
    background: #0f1520;
    border: 2px solid var(--border-gold);
    border-radius: 12px;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.95);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(90deg, rgba(138, 100, 8, 0.4) 0%, rgba(20, 26, 36, 0.95) 100%);
    border-bottom: 1px solid var(--border-gold);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-close-modal {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.btn-close-modal:hover { 
    color: #fff; 
}

.modal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-bright);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 10px 14px;
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.form-control:focus {
    border-color: var(--gold-primary);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.modal-footer {
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-cancel {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-submit-notice {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: #0b0c10;
    font-weight: 800;
    padding: 8px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}
/* ==========================================================================
   GAYA KHAS POSTBIT FORUM KLASIK (VBULLETIN STYLE)
   ========================================================================== */
.postbit-modal-shell {
    max-width: 960px !important;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
}

.postbit-scroll-body {
    overflow-y: auto;
    flex: 1;
    padding: 16px 20px;
    background: #090d14;
}

/* Setiap Kotak Balasan (Postbit) */
.postbit-container {
    background: #0f1522;
    border: 1px solid rgba(240, 192, 90, 0.25);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.postbit-header-bar {
    background: linear-gradient(90deg, #162030 0%, #0d131e 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.post-number {
    font-weight: 800;
    color: var(--gold-bright);
}

/* Kandungan Utama Postbit (Lajur Profil Kiri + Mesej Kanan) */
.postbit-main-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 160px;
}

/* Lajur Profil Kiri */
.postbit-userinfo-col {
    background: rgba(0, 0, 0, 0.25);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.postbit-username {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 2px;
}

.postbit-usertitle {
    font-size: 0.75rem;
    color: var(--cyan-glow);
    font-weight: 600;
    margin-bottom: 10px;
}

.postbit-avatar-box {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    border: 2px solid var(--border-gold);
    background: #080b11;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.postbit-avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.postbit-quick-stats {
    font-size: 0.76rem;
    color: var(--text-muted);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 8px;
    text-align: left;
}

/* Lajur Mesej Kanan */
.postbit-message-col {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.postbit-text {
    color: #e2e8f0;
    line-height: 1.6;
    font-size: 0.95rem;
    white-space: pre-line;
}

.postbit-signature {
    margin-top: 25px;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 0.78rem;
    color: #718096;
}

/* Bar Tindakan Bawah Postbit (Quote / Thanks) */
.postbit-footer-bar {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.btn-postbit-action {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-postbit-action:hover {
    background: rgba(240, 192, 90, 0.15);
    border-color: var(--gold-primary);
    color: var(--gold-bright);
}

/* Pembahagi Balasan */
.replies-divider-header {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gold-bright);
    margin: 25px 0 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Kotak Tulis Balasan */
.reply-compose-box {
    background: #0f1522;
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 8px;
    padding: 18px;
    margin-top: 20px;
}

.compose-title {
    font-size: 0.92rem;
    color: #fff;
    margin-bottom: 12px;
}

.compose-user-logged {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.88rem;
}

.compose-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--gold-primary);
}

.reply-login-required {
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: var(--text-muted);
}

/* Pilihan Preset Avatar */
.preset-avatar-grid {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.preset-av-choice {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.2s;
    background: #080b11;
}

.preset-av-choice:hover, .preset-av-choice.selected {
    border-color: var(--gold-primary);
    transform: scale(1.08);
    box-shadow: 0 0 12px rgba(240, 192, 90, 0.6);
}

.btn-avatar-setting {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 3px 12px 3px 4px;
    color: #fff;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
}

.mini-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--gold-primary);
}

.btn-logout-link {
    color: #e74c3c;
    font-size: 1.1rem;
    padding: 4px 8px;
    transition: transform 0.2s;
}

.btn-logout-link:hover {
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .postbit-main-content {
        grid-template-columns: 1fr;
    }
    .postbit-userinfo-col {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
}
/* ==========================================================================
   TEMA FORUM TERANG & SEGAR (PUTIH & HIJAU EMERALD WHATSAPP)
   ========================================================================== */
.light-forum-wrapper {
    max-width: 1260px;
    margin: 20px auto 60px;
    padding: 0 15px;
    position: relative;
    z-index: 10;
}

.light-forum-container {
    background: #f8fafc; /* Latar belakang cerah kelabu-putih lembut */
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
    padding: 24px;
    color: #1e293b;
}

/* Header Forum */
.light-forum-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 18px;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 16px;
}

.light-forum-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.light-forum-title i {
    color: #128c7e; /* Hijau WhatsApp Utama */
}

.light-forum-subtitle {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 3px;
}

.header-user-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.light-search-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 3px 6px 3px 14px;
}

.light-search-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.85rem;
    color: #1e293b;
    width: 190px;
}

.btn-light-search {
    background: transparent;
    border: none;
    color: #128c7e;
    cursor: pointer;
    padding: 5px 8px;
}

/* Butang Hijau WhatsApp */
.btn-emerald-primary {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 8px 18px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.2s ease;
}

.btn-emerald-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

.logged-user-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 3px 12px 3px 4px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
}

.nav-user-av {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #128c7e;
}

.btn-logout-small {
    color: #ef4444;
    margin-left: 4px;
}

/* Notifikasi Cerah */
.light-alert {
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.alert-error { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }

/* Grid 2 Lajur */
.light-forum-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 22px;
    align-items: start;
}

/* Kad Papan Kategori */
.light-board-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.card-bar-title {
    padding: 10px 18px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bar-green { background: linear-gradient(90deg, #128c7e 0%, #075e54 100%); }
.bar-teal { background: linear-gradient(90deg, #0f766e 0%, #115e59 100%); }

.boards-body-list {
    display: flex;
    flex-direction: column;
}

.light-topic-row {
    display: grid;
    grid-template-columns: 48px 1fr 120px 170px;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.light-topic-row:last-child { border-bottom: none; }
.light-topic-row:hover { background: #f0fdf4; /* Hijau pudar waktu hover */ }

.row-icon-cell {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-green { color: #128c7e; }
.icon-teal { color: #0f766e; }

.topic-title-link {
    font-size: 0.96rem;
    font-weight: 700;
    color: #0f172a;
    transition: color 0.2s;
}

.topic-title-link:hover { color: #128c7e; }

.badge-pin {
    background: #fef08a;
    color: #854d0e;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 4px;
}

.badge-lock {
    background: #fee2e2;
    color: #991b1b;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 4px;
}

.topic-preview-text {
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 3px;
    line-height: 1.4;
}

.row-stats-cell {
    font-size: 0.82rem;
    color: #64748b;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    padding: 0 12px;
    text-align: center;
}
.row-stats-cell strong { color: #0f172a; }

.row-meta-cell {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
}
.meta-author { font-weight: 700; color: #128c7e; }
.meta-date { color: #94a3b8; }

/* Lajur Bar Sisi (Sidebar) */
.sidebar-white-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.sidebar-box-head {
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 16px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-box-head i { color: #128c7e; }

.sidebar-box-body { padding: 16px; }

.user-profile-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-big-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid #25d366;
    margin-bottom: 8px;
}

.profile-username {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
}

.profile-title-tag {
    background: #dcfce7;
    color: #15803d;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.profile-detail-stats {
    width: 100%;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}

.stat-row-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 5px 0;
    border-bottom: 1px dashed #f1f5f9;
    color: #64748b;
}
.stat-row-line:last-child { border-bottom: none; }

.text-emerald { color: #128c7e !important; }
.status-online { color: #16a34a; font-weight: 700; font-size: 0.8rem; }
.login-prompt-text { font-size: 0.85rem; color: #64748b; margin-bottom: 12px; }

.btn-emerald-full {
    width: 100%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 9px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

/* ==========================================================================
   MODAL POSTBIT & 5 TEMPLAT BALASAN PANTAS
   ========================================================================== */
.light-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(5px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.light-modal-box {
    background: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.postbit-large-box {
    max-width: 950px;
    max-height: 90vh;
}

.modal-top-bar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-top-bar h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
}

.btn-modal-close {
    background: transparent;
    border: none;
    font-size: 1.6rem;
    color: #94a3b8;
    cursor: pointer;
}
.btn-modal-close:hover { color: #0f172a; }

.modal-scroll-area {
    padding: 20px;
    overflow-y: auto;
    background: #f8fafc;
}

/* Kad Pos Asal & Balasan (Postbit) */
.postbit-white-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.postbit-meta-header {
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #64748b;
}

.meta-post-id { font-weight: 800; color: #128c7e; }

.postbit-content-wrapper {
    display: grid;
    grid-template-columns: 190px 1fr;
}

.author-sidebar-info {
    background: #fafafa;
    border-right: 1px solid #f1f5f9;
    padding: 16px 14px;
    text-align: center;
}

.author-display-name {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.author-rank-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: #128c7e;
    display: block;
    margin-bottom: 8px;
}

.author-avatar-frame {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 2px solid #25d366;
    margin: 0 auto 10px;
    overflow: hidden;
    background: #ffffff;
}
.author-avatar-frame img { width: 100%; height: 100%; object-fit: cover; }

.author-mini-metrics {
    font-size: 0.76rem;
    color: #64748b;
    text-align: left;
    border-top: 1px solid #e2e8f0;
    padding-top: 6px;
}

.author-message-body {
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.message-text-content {
    font-size: 0.94rem;
    line-height: 1.6;
    color: #334155;
    white-space: pre-line;
}

.message-signature-line {
    margin-top: 25px;
    padding-top: 8px;
    border-top: 1px dashed #cbd5e1;
    font-size: 0.75rem;
    color: #94a3b8;
}

.sub-replies-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: #0f172a;
    margin: 20px 0 14px;
}

.empty-replies-card {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    padding: 18px;
    border-radius: 8px;
    text-align: center;
    color: #64748b;
    font-size: 0.88rem;
    margin-bottom: 18px;
}

/* ==========================================================================
   KOTAK TULIS BALASAN & 5 TEMPLAT PANTAS
   ========================================================================== */
.compose-reply-card {
    background: #ffffff;
    border: 2px solid #25d366; /* Border Hijau WhatsApp */
    border-radius: 10px;
    padding: 18px 22px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.12);
}

.compose-header-title {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

/* Kotak Baris 5 Templat */
.reply-templates-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.templates-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    color: #166534;
    margin-bottom: 8px;
}

.template-buttons-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-template {
    background: #ffffff;
    border: 1px solid #86efac;
    color: #15803d;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-template:hover, .btn-template.active-template {
    background: #25d366;
    color: #ffffff;
    border-color: #25d366;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
}

.logged-user-preview-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 10px;
}
.preview-av { width: 28px; height: 28px; border-radius: 50%; }

.light-textarea {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #0f172a;
    outline: none;
    resize: vertical;
}
.light-textarea:focus {
    border-color: #25d366;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

.form-submit-row {
    text-align: right;
    margin-top: 12px;
}

.btn-emerald-submit {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    font-weight: 800;
    padding: 9px 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-emerald-submit:hover { opacity: 0.95; }

.login-warning-box {
    text-align: center;
    padding: 16px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #64748b;
}

/* Modals Tambahan */
.modal-box-compact { max-width: 440px; }
.modal-inner-padding { padding: 20px; }
.modal-helper-text { font-size: 0.82rem; color: #64748b; margin-bottom: 14px; }
.input-field-group { margin-bottom: 14px; }
.input-field-group label { display: block; font-size: 0.82rem; font-weight: 700; color: #0f172a; margin-bottom: 4px; }

.light-input {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 0.88rem;
    color: #0f172a;
    outline: none;
}
.light-input:focus { border-color: #25d366; }

.modal-footer-bar {
    padding: 12px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-light-cancel {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 7px 16px;
    border-radius: 6px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .light-forum-grid { grid-template-columns: 1fr; }
    .light-topic-row { grid-template-columns: 40px 1fr; }
    .row-stats-cell, .row-meta-cell { display: none; }
    .postbit-content-wrapper { grid-template-columns: 1fr; }
    .author-sidebar-info { border-right: none; border-bottom: 1px solid #e2e8f0; }
}
/* ==========================================================================
   SEPANDUK BUTANG GRAFIK TAJUK KATEGORI FORUM (FULL VIEW / TIADA CROP)
   ========================================================================== */
.category-banner-header {
    width: 100%;
    background: #090d14; /* Latar gelap kemas menyatu dengan tema batu */
    border-bottom: 2px solid #e2e8f0;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
}

.category-banner-img {
    width: 100%;
    max-width: 580px; /* Saiz maksimum ideal supaya teks dan bingkai nampak padat & jelas */
    height: auto;
    aspect-ratio: 16 / 9; /* Mengekalkan nisbah asal gambar */
    object-fit: contain; /* Menghalang gambar daripada dizum atau terpotong */
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.7));
    transition: transform 0.25s ease, filter 0.25s ease;
    user-select: none;
}

.category-banner-header:hover .category-banner-img {
    transform: scale(1.02);
    filter: drop-shadow(0 6px 14px rgba(240, 192, 90, 0.4)) brightness(1.06);
}

@media (max-width: 768px) {
    .category-banner-header {
        padding: 4px 6px;
    }
    .category-banner-img {
        max-width: 100%;
    }
}
/* ==========================================================================
   HALAMAN DOWNLOAD.PHP (GAYA MMORPG MODEN & ELEGAN)
   ========================================================================== */
.download-page-wrapper {
    max-width: 1260px;
    margin: 30px auto 70px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Hero Banner */
.download-hero-banner {
    text-align: center;
    margin-bottom: 35px;
}

.download-hero-banner .sub-badge {
    color: var(--cyan-glow);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 3px;
    display: inline-block;
    margin-bottom: 8px;
}

.download-hero-banner .page-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: #ffffff;
    text-shadow: 0 0 25px rgba(0, 229, 255, 0.4);
    margin-bottom: 10px;
}

.download-hero-banner .page-desc {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Susun Atur 2 Lajur */
.download-layout-container {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 30px;
    align-items: start;
}

/* Kad Muat Turun Utama (Full Client Card) */
.main-download-card {
    background: linear-gradient(135deg, rgba(16, 24, 34, 0.95) 0%, rgba(8, 14, 22, 0.98) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 30px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(240, 192, 90, 0.08);
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 25px;
}

.client-badge {
    color: var(--emerald-accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 4px;
}

.client-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.client-meta {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.client-file-details {
    display: flex;
    gap: 20px;
    font-size: 0.88rem;
    color: #e2e8f0;
}

.client-file-details strong {
    color: #ffffff;
}

/* Butang Hijau Muat Turun Bersinar */
.card-right-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.btn-download-glow {
    background: linear-gradient(135deg, var(--emerald-accent) 0%, #16a34a 100%);
    color: #041408;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    padding: 15px 36px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 25px rgba(46, 213, 115, 0.55);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-download-glow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 35px rgba(46, 213, 115, 0.8);
    color: #000;
}

.host-notice {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.host-notice strong {
    color: var(--gold-bright);
}

/* Pautan Alternatif (Mirror Links) */
.mirror-links-bar {
    background: rgba(13, 19, 28, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.mirror-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mirror-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-mirror {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-mirror:hover {
    background: rgba(0, 229, 255, 0.12);
    border-color: var(--cyan-glow);
    color: #fff;
    transform: translateY(-2px);
}

.mirror-patch {
    border-color: rgba(240, 192, 90, 0.3);
    color: var(--gold-bright);
}
.mirror-patch:hover {
    background: rgba(240, 192, 90, 0.15);
    border-color: var(--gold-primary);
    color: #fff;
}

/* 4 Kad Langkah Mula Bermain */
.get-started-section {
    margin-bottom: 45px;
}

.section-heading-center {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.steps-grid-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.step-guide-card {
    background: rgba(13, 19, 28, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 22px 18px;
    transition: all 0.25s ease;
}

.step-guide-card:hover {
    transform: translateY(-4px);
    border-color: var(--emerald-accent);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.step-num-pill {
    background: rgba(46, 213, 115, 0.12);
    color: var(--emerald-accent);
    border: 1px solid rgba(46, 213, 115, 0.35);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 12px;
}

.step-guide-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 8px;
}

.step-guide-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.step-guide-card code {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--cyan-glow);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.link-highlight {
    color: var(--emerald-accent);
    font-weight: 700;
    text-decoration: underline;
}

/* Jadual Keperluan Sistem */
.sys-req-section {
    margin-bottom: 20px;
}

.sys-req-table-wrapper {
    background: rgba(13, 19, 28, 0.85);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
}

.sys-req-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

.sys-req-table th {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 12px 18px;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-gold);
}

.sys-req-table td {
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.sys-req-table tr:last-child td {
    border-bottom: none;
}

.sys-req-table tr:hover td {
    background: rgba(240, 192, 90, 0.03);
    color: #fff;
}

/* Tip Antivirus */
.antivirus-tip-box {
    background: rgba(240, 192, 90, 0.06);
    border: 1px solid rgba(240, 192, 90, 0.3);
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.antivirus-tip-box i {
    font-size: 1.6rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.antivirus-tip-box strong {
    display: block;
    color: var(--gold-bright);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.antivirus-tip-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Bar Sisi Kanan Muat Turun */
.download-sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.download-status-box {
    position: static;
    transform: none;
    width: 100%;
    box-sizing: border-box;
}

.vertical-shortcuts-card {
    background: rgba(13, 19, 28, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.v-shortcut-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.v-shortcut-item i {
    font-size: 1.1rem;
    color: var(--gold-primary);
    width: 22px;
    text-align: center;
}

.v-shortcut-item:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--cyan-glow);
    color: #fff;
    transform: translateX(3px);
}

.v-shortcut-item:hover i {
    color: var(--cyan-glow);
}

/* Penyesuaian Responsif */
@media (max-width: 1024px) {
    .download-layout-container {
        grid-template-columns: 1fr;
    }
    .steps-grid-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .download-sidebar-column {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-download-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .card-right-action {
        width: 100%;
    }
    .btn-download-glow {
        width: 100%;
        justify-content: center;
    }
    .steps-grid-cards {
        grid-template-columns: 1fr;
    }
    .sys-req-table-wrapper {
        overflow-x: auto;
    }
    .sys-req-table {
        min-width: 500px;
    }
}
/* ==========================================================================
   HALAMAN REGISTER.PHP (GAYA KLASIK JIN DENGAN KESELAMATAN KUKUH)
   ========================================================================== */
.register-page-wrapper {
    max-width: 1260px;
    margin: 30px auto 70px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Hero Banner */
.register-hero-banner {
    text-align: center;
    margin-bottom: 35px;
}

.register-hero-banner .sub-badge {
    color: var(--cyan-glow);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 3px;
    display: inline-block;
    margin-bottom: 8px;
}

.register-hero-banner .page-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: #ffffff;
    text-shadow: 0 0 25px rgba(0, 229, 255, 0.4);
    margin-bottom: 10px;
}

.register-hero-banner .page-desc {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Susunan Grid 2 Lajur */
.register-layout-grid {
    display: grid;
    grid-template-columns: minmax(480px, 620px) 1fr;
    gap: 35px;
    align-items: start;
}

/* Kotak Borang Pendaftaran (Kiri) */
.register-card-box {
    background: #0f1522;
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 28px 32px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85), inset 0 0 15px rgba(240, 192, 90, 0.08);
}

.card-header-line {
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 18px;
    margin-bottom: 22px;
}

.card-header-line i {
    font-size: 2rem;
}

.card-header-line h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 2px;
}

.card-header-line small {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* Kumpulan Input Borang */
.register-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reg-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.reg-form-group label {
    font-size: 0.86rem;
    font-weight: 700;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reg-input {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.25s ease;
}

.reg-input:focus {
    border-color: var(--cyan-glow);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.35);
    background: rgba(0, 0, 0, 0.7);
}

.reg-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.field-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Lencana Perlindungan Enkripsi */
.encryption-security-badge {
    background: rgba(46, 213, 115, 0.08);
    border: 1px solid rgba(46, 213, 115, 0.25);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.78rem;
    color: #86efac;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

/* Butang Daftar */
.btn-register-submit {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: 1px;
    padding: 14px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
    margin-top: 6px;
}

.btn-register-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.7);
}

.card-footer-redirect {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 10px;
}

.link-emerald {
    color: var(--emerald-accent);
    font-weight: 700;
    text-decoration: underline;
    margin-left: 6px;
}

/* ==========================================================================
   LAJUR KANAN: KAD POLISI KESELAMATAN
   ========================================================================== */
.register-sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.policy-card {
    background: rgba(15, 21, 34, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.policy-card:hover {
    transform: translateX(4px);
    border-color: var(--border-gold);
}

.policy-icon-cell {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.icon-cyan { background: rgba(0, 229, 255, 0.12); color: var(--cyan-glow); }
.icon-purple { background: rgba(155, 81, 224, 0.15); color: var(--purple-glow); }
.icon-gold { background: rgba(240, 192, 90, 0.15); color: var(--gold-bright); }
.icon-ruby { background: rgba(231, 76, 60, 0.15); color: #ff7675; }
.icon-green { background: rgba(46, 213, 115, 0.12); color: var(--emerald-accent); }

.policy-content-cell h4 {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    color: #ffffff;
    margin-bottom: 4px;
}

.policy-content-cell p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.policy-content-cell strong {
    color: #e2e8f0;
}

/* Responsif */
@media (max-width: 1024px) {
    .register-layout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .register-card-box {
        padding: 22px 18px;
    }
    .reg-form-row {
        grid-template-columns: 1fr;
    }
    .register-hero-banner .page-title {
        font-size: 2.2rem;
    }
}
/* ==========================================================================
   BADGE ANIMASI HOT & NEW KHUSUS BERITA PORTAL (INDEX.PHP)
   ========================================================================== */
.badge-flag-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
    vertical-align: middle;
}

/* Badge Animasi HOT */
.badge-flag-hot {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(255, 71, 87, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    animation: pulseHot 1.5s infinite;
}

/* Badge Animasi NEW */
.badge-flag-new {
    background: linear-gradient(135deg, #2ed573 0%, #20bf6b 100%);
    color: #061e0e;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(46, 213, 115, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    animation: pulseNew 1.5s infinite;
}

@keyframes pulseHot {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 6px rgba(255, 71, 87, 0.6);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 14px rgba(255, 71, 87, 0.95);
    }
}

@keyframes pulseNew {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 6px rgba(46, 213, 115, 0.6);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 14px rgba(46, 213, 115, 0.95);
    }
}