/* Landing page — TribalWars-inspired modern warfare aesthetic */

body.game-theme.landing {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(74, 90, 50, 0.25) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 80, 120, 0.12) 0%, transparent 40%),
        linear-gradient(180deg, #0d0f0a 0%, #141810 40%, #0a0c08 100%) !important;
    background-attachment: fixed;
}

body.game-theme.landing::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

body.game-theme.landing > * {
    position: relative;
    z-index: 1;
}

/* Rajdhani = display/headings only; Roboto = everything else */
body.game-theme.landing .landing-display {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* ── Site navigation ── */
body.game-theme.landing .site-nav {
    background: rgba(10, 12, 8, 0.92) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #3a4530;
    padding: 0;
    margin-bottom: 0 !important;
    position: sticky;
    top: 0;
    z-index: 1030;
}

body.game-theme.landing .site-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #4a5a30 20%, #c4a035 50%, #4a5a30 80%, transparent 100%);
    opacity: 0.7;
}

body.game-theme.landing .site-nav > .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 64px;
    padding-top: 6px;
    padding-bottom: 6px;
}

body.game-theme.landing .site-nav-brand {
    padding: 0;
    margin-right: 24px;
    flex-shrink: 0;
}

body.game-theme.landing .site-nav-brand img {
    height: 34px;
    width: auto;
    transition: opacity 0.2s ease;
}

body.game-theme.landing .site-nav-brand:hover img {
    opacity: 0.85;
}

body.game-theme.landing .site-nav .navbar-collapse {
    flex-grow: 1;
}

@media (min-width: 992px) {
    body.game-theme.landing .site-nav .navbar-collapse {
        display: flex !important;
        align-items: center;
        flex-grow: 1;
    }
}

body.game-theme.landing .site-nav-links {
    gap: 2px;
    margin-left: 8px !important;
}

body.game-theme.landing .site-nav-links .nav-link {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 500;
    font-size: 0.9em;
    color: rgba(212, 207, 192, 0.75) !important;
    padding: 8px 14px !important;
    letter-spacing: 0;
    text-transform: none;
    border-radius: 2px;
    position: relative;
    transition: color 0.2s ease, background 0.2s ease;
}

body.game-theme.landing .site-nav-links .nav-link:hover {
    color: #ecf0f1 !important;
    background: rgba(74, 90, 48, 0.2);
}

body.game-theme.landing .site-nav-links .nav-link.active {
    color: #c4a035 !important;
    background: rgba(196, 160, 53, 0.08);
}

body.game-theme.landing .site-nav-links .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: #c4a035;
    border-radius: 1px;
}

body.game-theme.landing .site-nav-links .nav-link i {
    display: none;
}

body.game-theme.landing .site-nav-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    background: rgba(196, 160, 53, 0.2);
    border: 1px solid rgba(196, 160, 53, 0.35);
    color: #c4a035;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85em;
    font-weight: 600;
    border-radius: 2px;
    line-height: 1.4;
}

body.game-theme.landing .site-nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

body.game-theme.landing .site-nav-social {
    display: flex;
    align-items: center;
    gap: 6px;
}

body.game-theme.landing .site-nav-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #3a4530;
    background: rgba(0, 0, 0, 0.25);
    color: rgba(212, 207, 192, 0.6);
    font-size: 0.95em;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.2s ease;
}

body.game-theme.landing .site-nav-social-link:hover {
    color: #ecf0f1;
    border-color: #4a5a30;
    background: rgba(74, 90, 48, 0.25);
    text-decoration: none;
}

body.game-theme.landing .site-nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
}

body.game-theme.landing .site-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

body.game-theme.landing .site-nav-btn-ghost {
    color: rgba(212, 207, 192, 0.85);
    border: 1px solid #3a4530;
    background: transparent;
}

body.game-theme.landing .site-nav-btn-ghost:hover {
    color: #ecf0f1;
    border-color: #4a5a30;
    background: rgba(74, 90, 48, 0.15);
    text-decoration: none;
}

body.game-theme.landing .site-nav-btn-primary {
    color: #1a1a0a;
    background: #c4a035;
    border: 1px solid #c4a035;
}

body.game-theme.landing .site-nav-btn-primary:hover,
body.game-theme.landing .site-nav-btn-primary.active {
    background: #d4b045;
    border-color: #d4b045;
    color: #1a1a0a;
    text-decoration: none;
    box-shadow: 0 0 16px rgba(196, 160, 53, 0.35);
}

body.game-theme.landing .site-nav-toggler {
    border: 1px solid #3a4530;
    padding: 6px 10px;
}

body.game-theme.landing .site-nav-toggler:focus {
    box-shadow: none;
    outline: none;
}

@media (max-width: 991px) {
    body.game-theme.landing .site-nav > .container {
        min-height: 56px;
    }

    body.game-theme.landing .site-nav .navbar-collapse {
        padding: 12px 0 16px;
        border-top: 1px solid #2a3020;
        margin-top: 8px;
    }

    body.game-theme.landing .site-nav-links {
        margin-bottom: 12px !important;
    }

    body.game-theme.landing .site-nav-links .nav-link {
        padding: 10px 4px !important;
    }

    body.game-theme.landing .site-nav-links .nav-link.active::after {
        left: 4px;
        right: auto;
        width: 24px;
    }

    body.game-theme.landing .site-nav-right {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-left: 0;
        padding-top: 12px;
        border-top: 1px solid #2a3020;
    }

    body.game-theme.landing .site-nav-social {
        justify-content: center;
    }

    body.game-theme.landing .site-nav-cta {
        flex-direction: column;
    }

    body.game-theme.landing .site-nav-btn {
        width: 100%;
        padding: 10px 16px;
    }
}

body.game-theme.landing .game-footer .footer-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    letter-spacing: 0.06em;
}

body.game-theme.landing .game-footer .footer-version {
    font-family: 'Roboto', sans-serif;
}

body.game-theme.landing .game-footer .footer-text,
body.game-theme.landing .game-footer .footer-links-list a,
body.game-theme.landing .game-footer .footer-social .social-link,
body.game-theme.landing .game-footer .footer-copyright {
    font-family: 'Roboto', sans-serif;
}

body.game-theme.landing .logout-button {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

body.game-theme.landing .landing-auth-panel .auth-links {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9em;
}

body.game-theme.landing .landing-news-section .announcement-date,
body.game-theme.landing .landing-news-section .announcement-content p {
    font-family: 'Roboto', sans-serif;
}

/* ── Intel ticker ── */
.landing-ticker {
    background: linear-gradient(90deg, #1a1f14 0%, #2a3020 50%, #1a1f14 100%);
    border-bottom: 2px solid #4a5a30;
    padding: 8px 0;
    overflow: hidden;
}

.landing-ticker-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.landing-ticker-label {
    flex-shrink: 0;
    background: #c4a035;
    color: #1a1a0a;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
}

.landing-ticker-track {
    overflow: hidden;
    flex: 1;
}

.landing-ticker-text {
    display: inline-block;
    animation: ticker-scroll 30s linear infinite;
    color: rgba(212, 207, 192, 0.85);
    font-family: 'Roboto', sans-serif;
    font-size: 0.9em;
    letter-spacing: 0;
}

.landing-ticker-text i {
    color: #c4a035;
    margin: 0 8px;
}

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

/* ── Hero ── */
.landing-hero {
    position: relative;
    padding: 50px 0 40px;
    overflow: hidden;
    border-bottom: 3px solid #4a5a30;
}

.landing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 60%, rgba(196, 160, 53, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(0, 162, 255, 0.06) 0%, transparent 45%);
    pointer-events: none;
}

.landing-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c4a035, transparent);
}

.landing-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.landing-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(74, 90, 48, 0.4);
    border: 1px solid #4a5a30;
    padding: 6px 18px;
    margin-bottom: 20px;
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8aaa60;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

.landing-hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5); }
    50%       { opacity: 0.7; box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); }
}

.landing-hero-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3.4em;
    font-weight: 700;
    color: #c4a035;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    text-shadow:
        0 0 40px rgba(196, 160, 53, 0.4),
        2px 2px 0 rgba(0, 0, 0, 0.8);
    line-height: 1.1;
}

.landing-hero-tagline {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.25em;
    font-weight: 500;
    color: #ecf0f1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 18px;
    opacity: 0.9;
}

.landing-hero-desc {
    max-width: 680px;
    margin: 0 auto 30px;
    color: rgba(212, 207, 192, 0.8);
    font-size: 1.05em;
    line-height: 1.7;
    font-family: 'Roboto', sans-serif;
}

.landing-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-landing-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: linear-gradient(180deg, #5a7030 0%, #3a4a20 100%);
    border: 2px solid #c4a035;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.05em;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: all 0.3s ease;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.btn-landing-primary:hover {
    background: linear-gradient(180deg, #6a8040 0%, #4a5a30 100%);
    box-shadow: 0 0 25px rgba(196, 160, 53, 0.4);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-landing-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid #4a5a30;
    color: #8aaa60;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.05em;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-landing-secondary:hover {
    border-color: #00a2ff;
    color: #00a2ff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* ── Stats bar ── */
.landing-stats {
    background: rgba(10, 12, 8, 0.85);
    border-bottom: 1px solid #2a3020;
    padding: 0;
}

.landing-stats-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.landing-stat {
    flex: 1;
    min-width: 140px;
    max-width: 220px;
    padding: 18px 20px;
    text-align: center;
    border-right: 1px solid #2a3020;
    position: relative;
}

.landing-stat:last-child {
    border-right: none;
}

.landing-stat-icon {
    font-size: 1.4em;
    color: #c4a035;
    margin-bottom: 6px;
}

.landing-stat-value {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.75em;
    font-weight: 700;
    color: #ecf0f1;
    line-height: 1;
}

.landing-stat-label {
    font-family: 'Roboto', sans-serif;
    font-size: 0.72em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(212, 207, 192, 0.55);
    margin-top: 4px;
}

/* ── Tactical panels ── */
.landing-container {
    padding-top: 30px;
    padding-bottom: 20px;
}

.landing-panel {
    background: linear-gradient(160deg, rgba(26, 30, 20, 0.95) 0%, rgba(18, 20, 14, 0.98) 100%);
    border: 1px solid #3a4530;
    position: relative;
    margin-bottom: 24px;
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.landing-panel::before,
.landing-panel::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: #c4a035;
    border-style: solid;
    pointer-events: none;
}

.landing-panel::before {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
}

.landing-panel::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
}

.landing-panel-header {
    background: linear-gradient(90deg, #2a3020 0%, #1a1f14 100%);
    border-bottom: 2px solid #4a5a30;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-panel-header.landing-server-header {
    justify-content: space-between;
}

.landing-panel-header.landing-server-header > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-panel-header i {
    color: #c4a035;
    font-size: 1.1em;
}

.landing-panel-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.05em;
    color: #c4a035;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
}

.landing-panel-body {
    padding: 22px 24px;
}

/* ── Game pitch ── */
.landing-pitch-text {
    color: rgba(212, 207, 192, 0.85);
    line-height: 1.7;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95em;
}

.landing-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.landing-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid #2a3020;
    transition: all 0.25s ease;
}

.landing-feature-item:hover {
    border-color: #4a5a30;
    background: rgba(74, 90, 48, 0.15);
}

.landing-feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3a4530, #2a3020);
    border: 1px solid #4a5a30;
    color: #c4a035;
    font-size: 1.1em;
}

.landing-feature-text h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95em;
    font-weight: 600;
    color: #ecf0f1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 4px;
}

.landing-feature-text p {
    font-size: 0.8em;
    color: rgba(212, 207, 192, 0.6);
    margin: 0;
    line-height: 1.4;
    font-family: 'Roboto', sans-serif;
}

/* ── Login / register / server panel ── */
.landing-auth-page.landing-container {
    padding-top: 40px;
    padding-bottom: 40px;
    max-width: 560px;
}

.landing-auth-page .landing-auth-intro {
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.9em;
}

.landing-auth-panel {
    position: sticky;
    top: 20px;
}

.landing-auth-page .landing-auth-panel {
    position: static;
}

.landing-auth-panel .alert,
.landing-auth-page .alert {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9em;
    border-radius: 2px;
    margin-bottom: 16px;
}

.landing-auth-panel .alert-danger,
.landing-auth-page .alert-danger {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.landing-auth-panel .alert-success,
.landing-auth-page .alert-success {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

.landing-auth-panel .game-form label,
.landing-auth-page .game-form label {
    color: #8aaa60;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 0.85em;
    letter-spacing: 0;
    text-transform: none;
}

.landing-auth-panel .game-form label i,
.landing-auth-page .game-form label i {
    color: #c4a035;
    margin-right: 6px;
    width: 14px;
    text-align: center;
}

.landing-auth-panel .game-title {
    display: none;
}

.landing-auth-panel .button-green,
.landing-auth-panel button.button-green,
.landing-auth-panel a.button-green,
.landing-auth-page .button-green,
.landing-auth-page button.button-green,
.landing-auth-page a.button-green {
    background: linear-gradient(180deg, #5a7030 0%, #3a4a20 100%) !important;
    border: 2px solid #c4a035 !important;
    color: #fff !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.05em !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.landing-auth-panel .game-form input,
.landing-auth-panel .game-form .form-control,
.landing-auth-page .game-form input,
.landing-auth-page .game-form .form-control {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95em;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid #3a4530;
    color: #ecf0f1;
    border-radius: 2px;
    padding: 11px 14px;
}

.landing-auth-panel .game-form input:focus,
.landing-auth-panel .game-form .form-control:focus,
.landing-auth-page .game-form input:focus,
.landing-auth-page .game-form .form-control:focus {
    background: rgba(0, 0, 0, 0.45);
    border-color: #4a5a30;
    box-shadow: 0 0 0 2px rgba(196, 160, 53, 0.12);
    outline: none;
    color: #ecf0f1;
}

.landing-auth-panel .game-form input::placeholder,
.landing-auth-page .game-form input::placeholder {
    color: rgba(212, 207, 192, 0.35);
}

.landing-auth-panel .button-green:hover,
.landing-auth-panel button.button-green:hover,
.landing-auth-panel a.button-green:hover,
.landing-auth-page .button-green:hover,
.landing-auth-page button.button-green:hover,
.landing-auth-page a.button-green:hover {
    background: linear-gradient(180deg, #6a8040 0%, #4a5a30 100%) !important;
    border-color: #c4a035 !important;
    box-shadow: 0 0 20px rgba(196, 160, 53, 0.3) !important;
    transform: translateY(-2px) !important;
}

.landing-auth-panel .button-green i,
.landing-auth-page .button-green i {
    color: #fff !important;
}

.landing-auth-panel .auth-links,
.landing-auth-page .auth-links {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #2a3020;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9em;
    color: rgba(212, 207, 192, 0.55);
}

.landing-auth-panel .auth-links a,
.landing-auth-page .auth-links a {
    color: #8aaa60;
    text-decoration: none;
    margin-left: 6px;
    transition: color 0.2s ease;
}

.landing-auth-panel .auth-links a:hover,
.landing-auth-page .auth-links a:hover {
    color: #c4a035;
    text-decoration: none;
}

.landing-auth-panel .auth-links .separator,
.landing-auth-page .auth-links .separator {
    color: #3a4530;
    margin: 0 8px;
}

.landing-server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-world-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid #3a4530;
    text-decoration: none;
    color: #ecf0f1;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.landing-world-card:hover {
    border-color: #c4a035;
    background: rgba(74, 90, 48, 0.2);
    text-decoration: none;
    color: #ecf0f1;
    transform: translateX(4px);
    box-shadow: 0 0 20px rgba(196, 160, 53, 0.15);
}

.landing-world-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3a4530, #1a1f14);
    border: 2px solid #4a5a30;
    font-size: 1.4em;
    color: #c4a035;
}

.landing-world-info {
    flex: 1;
}

.landing-world-name {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.landing-world-meta {
    font-family: 'Roboto', sans-serif;
    font-size: 0.82em;
    color: rgba(212, 207, 192, 0.55);
    margin-top: 2px;
}

.landing-world-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #2ecc71;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

.landing-world-status i {
    font-size: 0.6em;
}

.landing-world-arrow {
    color: #c4a035;
    font-size: 1.2em;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.landing-world-card:hover .landing-world-arrow {
    opacity: 1;
}

/* ── Warfare showcase (screenshots) ── */
.landing-screenshots-section .landing-panel-body {
    padding: 16px 20px;
}

.landing-screenshots-section .screenshots-grid {
    gap: 12px;
    padding: 4px 0;
}

.landing-screenshots-section .screenshot-item,
.landing-screenshots-section .screenshot-item img {
    width: 160px;
    height: 100px;
    border-radius: 2px;
}

.landing-screenshots-section .screenshot-item img {
    border: 2px solid #3a4530;
    object-fit: cover;
}

.landing-screenshots-section .screenshot-item:hover img {
    border-color: #c4a035;
    box-shadow: 0 0 20px rgba(196, 160, 53, 0.3);
}

.landing-screenshots-section .screenshot-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    color: #c4a035;
    font-size: 1.2em;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.landing-screenshots-section .screenshot-item:hover::after {
    opacity: 1;
}

/* ── Command briefings (announcements) ── */
.landing-news-section .announcements-list {
    gap: 0;
}

.landing-news-section .announcement-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid #2a3020;
    border-radius: 0;
    padding: 16px 0;
}

.landing-news-section .announcement-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.landing-news-section .announcement-item:first-child {
    padding-top: 0;
}

.landing-news-section .announcement-badge {
    background: rgba(196, 160, 53, 0.15);
    color: #c4a035;
    border-color: rgba(196, 160, 53, 0.3);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.78em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.landing-news-section .announcement-content h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #ecf0f1;
    font-size: 0.95em;
}

/* ── How it works strip ── */
.landing-howto {
    margin-bottom: 24px;
}

.landing-howto-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.landing-howto-step {
    text-align: center;
    padding: 24px 16px;
    border-right: 1px solid #2a3020;
    position: relative;
}

.landing-howto-step:last-child {
    border-right: none;
}

.landing-howto-number {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.2em;
    font-weight: 700;
    color: rgba(196, 160, 53, 0.25);
    line-height: 1;
    margin-bottom: 8px;
}

.landing-howto-step h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9em;
    font-weight: 600;
    color: #c4a035;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.landing-howto-step p {
    font-size: 0.8em;
    color: rgba(212, 207, 192, 0.55);
    margin: 0;
    line-height: 1.4;
    font-family: 'Roboto', sans-serif;
}

/* ── Footer on landing ── */
body.game-theme.landing .game-footer {
    background: linear-gradient(180deg, #141810 0%, #0a0c08 100%);
    border-top: 2px solid #4a5a30;
    margin-top: 0;
}

body.game-theme.landing .footer-title {
    color: #c4a035;
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .landing-auth-panel {
        position: static;
    }

    .landing-howto-steps {
        grid-template-columns: 1fr 1fr;
    }

    .landing-howto-step:nth-child(2) {
        border-right: none;
    }

    .landing-howto-step:nth-child(1),
    .landing-howto-step:nth-child(2) {
        border-bottom: 1px solid #2a3020;
    }
}

@media (max-width: 768px) {
    .landing-hero {
        padding: 30px 0 25px;
    }

    .landing-hero-title {
        font-size: 2.2em;
        letter-spacing: 0.08em;
    }

    .landing-hero-tagline {
        font-size: 1em;
        letter-spacing: 0.12em;
    }

    .landing-hero-desc {
        font-size: 0.95em;
    }

    .landing-hero-actions {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
    }

    .landing-stat {
        min-width: 50%;
        border-bottom: 1px solid #2a3020;
    }

    .landing-stat:nth-child(even) {
        border-right: none;
    }

    .landing-features-grid {
        grid-template-columns: 1fr;
    }

    .landing-howto-steps {
        grid-template-columns: 1fr;
    }

    .landing-howto-step {
        border-right: none;
        border-bottom: 1px solid #2a3020;
    }

    .landing-howto-step:last-child {
        border-bottom: none;
    }

    .landing-screenshots-section .screenshot-item,
    .landing-screenshots-section .screenshot-item img {
        width: 130px;
        height: 82px;
    }

    .premium-packages {
        grid-template-columns: 1fr;
    }
}

/* ── Premium points page ── */
.premium-page.landing-container {
    padding-top: 30px;
    max-width: 960px;
}

.premium-balance {
    text-align: center;
    padding: 28px 20px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid #3a4530;
}

.premium-balance-label {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9em;
    font-weight: 500;
    color: rgba(212, 207, 192, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.premium-balance-label i {
    color: #c4a035;
    margin-right: 6px;
}

.premium-balance-amount {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3.5em;
    font-weight: 700;
    color: #c4a035;
    line-height: 1;
    text-shadow: 0 0 30px rgba(196, 160, 53, 0.25);
}

.premium-balance-sub {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85em;
    color: rgba(212, 207, 192, 0.45);
    margin-top: 10px;
}

.premium-alert {
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 2px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.premium-alert-success {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

.premium-alert-danger {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.premium-alert-info {
    background: rgba(0, 162, 255, 0.1);
    border: 1px solid rgba(0, 162, 255, 0.25);
    color: #00a2ff;
}

.premium-packages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 8px;
}

.premium-package-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid #3a4530;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    position: relative;
}

.premium-package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: #4a5a30;
    transition: background 0.25s ease;
}

.premium-package-card:hover {
    border-color: #4a5a30;
    background: rgba(74, 90, 48, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.premium-package-card:hover::before {
    background: #c4a035;
}

.premium-package-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #2a3020;
}

.premium-package-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05em;
    font-weight: 600;
    color: #ecf0f1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
    line-height: 1.3;
}

.premium-package-price {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4em;
    font-weight: 700;
    color: #c4a035;
    white-space: nowrap;
    line-height: 1;
}

.premium-package-currency {
    font-size: 0.75em;
    opacity: 0.7;
    margin-right: 1px;
}

.premium-package-points {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95em;
    color: rgba(212, 207, 192, 0.75);
    margin-bottom: 16px;
    flex: 1;
}

.premium-package-points i {
    color: #c4a035;
    margin-right: 6px;
}

.premium-package-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 20px;
    background: linear-gradient(180deg, #5a7030 0%, #3a4a20 100%);
    border: 2px solid #c4a035;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all 0.2s ease;
    clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.premium-package-btn:hover {
    background: linear-gradient(180deg, #6a8040 0%, #4a5a30 100%);
    box-shadow: 0 0 20px rgba(196, 160, 53, 0.3);
    transform: translateY(-1px);
}

.premium-package-btn:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(196, 160, 53, 0.3);
}

.premium-back {
    text-align: center;
    margin-bottom: 30px;
}

.premium-back .btn-landing-secondary {
    display: inline-flex;
    padding: 10px 28px;
    font-size: 0.9em;
}

/* ── Landing modals (unified with panel style) ── */
body.game-theme.landing .modal-backdrop.show {
    opacity: 0.75;
    background: #0a0c08;
}

body.game-theme.landing .landing-modal .modal-dialog {
    margin: 1.5rem auto;
}

body.game-theme.landing .landing-modal .modal-content {
    background: linear-gradient(160deg, rgba(26, 30, 20, 0.98) 0%, rgba(18, 20, 14, 1) 100%);
    border: 1px solid #3a4530;
    border-radius: 0;
    color: #ecf0f1;
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: visible;
}

body.game-theme.landing .landing-modal .modal-content::before,
body.game-theme.landing .landing-modal .modal-content::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: #c4a035;
    border-style: solid;
    pointer-events: none;
    z-index: 2;
}

body.game-theme.landing .landing-modal .modal-content::before {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
}

body.game-theme.landing .landing-modal .modal-content::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
}

body.game-theme.landing .landing-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(90deg, #2a3020 0%, #1a1f14 100%);
    border-bottom: 2px solid #4a5a30;
    padding: 12px 20px;
}

body.game-theme.landing .landing-modal-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

body.game-theme.landing .landing-modal-header-left i {
    color: #c4a035;
    font-size: 1.1em;
    flex-shrink: 0;
}

body.game-theme.landing .landing-modal-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.05em;
    color: #c4a035;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.game-theme.landing .landing-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #3a4530;
    color: rgba(212, 207, 192, 0.7);
    font-size: 0.85em;
    cursor: pointer;
    border-radius: 2px;
    padding: 0;
    opacity: 1;
    transition: all 0.2s ease;
    line-height: 1;
}

body.game-theme.landing .landing-modal-close:hover {
    color: #ecf0f1;
    border-color: #4a5a30;
    background: rgba(74, 90, 48, 0.25);
}

body.game-theme.landing .landing-modal-close:focus {
    outline: none;
    box-shadow: none;
}

body.game-theme.landing .landing-modal-body {
    padding: 20px;
    background: transparent;
}

body.game-theme.landing .landing-modal-img {
    display: block;
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    border: 2px solid #3a4530;
    border-radius: 0;
}

@media (min-width: 768px) {
    body.game-theme.landing .landing-modal-dialog {
        max-width: 900px;
    }
}

@media (max-width: 575px) {
    body.game-theme.landing .landing-modal .modal-dialog {
        margin: 0.75rem;
    }

    body.game-theme.landing .landing-modal-body {
        padding: 12px;
    }

    body.game-theme.landing .landing-modal-img {
        max-height: 65vh;
    }
}
