/* ============================================
   CONQUER ONLINE - PRIVATE SERVER WEBSITE
   Based on dion.town design
   ============================================ */

/* Variables */
:root {
    --primary-gold: #fff;
    --primary-red: #c41e3a;
    --primary-blue: #1e3a8a;
    --dark-bg: #091a1b;
    --dark-brown: #121d1d;
    --medium-brown: #4a3a2a;
    --light-brown: #6b5b4a;
    --text-light: #e8e8e8;
    --text-dark: #1a1a1a;
    --accent-fire: #ff6b35;
    --accent-dragon: #8b0000;
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    --gradient-red: linear-gradient(135deg, #c41e3a 0%, #e63946 100%);
    --gradient-fire: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.3);
    --shadow-heavy: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Navigation */
.navbar {
    background: rgba(90, 84, 3, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-gold) !important;
}

.nav-link.active::after {
    width: 100%;
}

.social-nav {
    margin: 0 2rem;
    gap: 1rem;
}

.social-nav .nav-link {
    font-size: 1.2rem;
    color: var(--primary-gold) !important;
}

.social-nav .nav-link:hover {
    transform: scale(1.2);
    color: var(--accent-fire) !important;
}

.online-count {
    margin: 0 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(31, 58, 57, 0.6);
    border: 1px solid var(--primary-gold);
    border-radius: 5px;
    white-space: nowrap;
}

.online-count-label {
    font-size: 0.75rem;
    color: #4ade80;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.online-count-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-gold);
    font-family: 'Cinzel', serif;
    line-height: 1;
}

.btn-login {
    color: var(--text-light);
    font-size: 1.2rem;
    margin: 0 1rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.btn-login:hover {
    color: var(--primary-gold);
    transform: scale(1.1);
}

.btn-menu-toggle {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    background: linear-gradient(180deg, #36836d 0%, #08383a 50%, #2f5827 100%);
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../hero-bg.svg') center/cover;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1200px;
    padding: 0 2rem;
}

.beta-vip-banner {
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
    animation: slideDown 0.8s ease-out;
}

.beta-vip-content {
    background: linear-gradient(135deg, rgba(51, 122, 89, 0.95) 0%, rgba(36, 103, 106, 0.95) 100%);
    border: 2px solid var(--primary-gold);
    border-radius: 12px;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    max-width: 700px;
    margin: 0 auto;
}

.beta-vip-content i {
    font-size: 2.5rem;
    color: white;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    animation: pulse 2s ease-in-out infinite;
}

.beta-vip-text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-align: left;
}

.beta-vip-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
}

.beta-vip-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    .beta-vip-content {
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 0.75rem;
    }
    
    .beta-vip-content i {
        font-size: 2rem;
    }
    
    .beta-vip-title {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .beta-vip-subtitle {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .beta-vip-text {
        text-align: center;
    }
}

.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.discord-banner {
    background: var(--primary-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
    transition: all 0.3s ease;
}

.discord-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.6);
}

/* Fixed Discord Banner Overlay */
.discord-banner-fixed {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: var(--primary-blue);
    padding: 1rem 1.25rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 90px;
    backdrop-filter: blur(10px);
}

.discord-banner-fixed:hover {
    transform: translateY(-50%) translateX(8px);
    box-shadow: 0 6px 30px rgba(30, 58, 138, 0.7), 0 0 0 2px rgba(255, 255, 255, 0.2);
    background: #1e40af;
}

.discord-banner-fixed span {
    font-size: 0.8rem;
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
}

.discord-banner-fixed .server-name {
    font-weight: 700;
    font-size: 0.85rem;
    opacity: 0.95;
}

.discord-banner-fixed i {
    font-size: 1.8rem;
    margin-top: 0.2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Responsive: Hide on mobile */
@media (max-width: 768px) {
    .discord-banner-fixed {
        display: none;
    }
}

/* Fixed Grand Open Banner Overlay */
.grand-open-banner-fixed {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: linear-gradient(135deg, #64c3c3 0%, #7a6f14 100%);
    padding: 1rem 1.25rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(154, 122, 26, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-width: 120px;
    backdrop-filter: blur(10px);
}

.grand-open-banner-fixed:hover {
    transform: translateY(-50%) translateX(-8px);
    box-shadow: 0 6px 30px rgba(114, 255, 242, 0.7), 0 0 0 2px rgba(255, 255, 255, 0.2);
	background: linear-gradient(135deg, #378a6f 0%, #10575a 100%);

}

.grand-open-banner-fixed .grand-open-title {
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.grand-open-banner-fixed .countdown-container {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0.2rem 0;
}

.grand-open-banner-fixed .countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.grand-open-banner-fixed .countdown-value {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.grand-open-banner-fixed .countdown-label {
    font-size: 0.6rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.grand-open-banner-fixed .countdown-separator {
    font-size: 1rem;
    font-weight: 700;
    opacity: 0.8;
    margin: 0 0.1rem;
}

.grand-open-banner-fixed i {
    font-size: 1.5rem;
    margin-top: 0.2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    opacity: 0.9;
}

/* Responsive: Hide on mobile */
@media (max-width: 768px) {
    .grand-open-banner-fixed {
        display: none;
    }
}

.server-name {
    font-weight: 700;
    margin: 0 0.5rem;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-info {
    background: rgba(16, 36, 31, 0.8);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--primary-gold);
}

.status-label {
    font-size: 0.8rem;
    color: var(--text-light);
    opacity: 0.8;
}

.status-value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.status-text {
    color: #4ade80;
    font-weight: 700;
    font-size: 1.1rem;
}

.status-count {
    color: var(--primary-gold);
    font-weight: 700;
    font-size: 1.1rem;
}

.hero-logo {
    max-width: 600px;
    margin: 2rem auto;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.6));
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.6)); }
    50% { filter: drop-shadow(0 0 50px rgba(212, 175, 55, 0.9)); }
}

.hero-title {
    font-size: 3.5rem;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 1rem 0;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    animation: fade-in-up 1s ease-out;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-features {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 1.1rem;
    animation: fade-in-up 1s ease-out 0.3s both;
}

.hero-features li img {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.hero-character {
    max-width: 300px;
    margin: 2rem auto 0;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    animation: float 3s ease-in-out infinite;
}

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

.btn-start-playing {
    position: relative;
    margin-top: 3rem;
    padding: 1.5rem 4rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
    transition: all 0.3s ease;
}

.btn-start-playing .btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.btn-start-playing:hover {
    transform: scale(1.05);
    color: var(--primary-gold);
}

.btn-start-playing:hover .btn-bg {
    opacity: 1;
    filter: brightness(1.2);
}

.bg-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 0;
    opacity: 0.5;
}

/* Server News Section */
.server-news-section {
    padding: 100px 0;
    background: var(--dark-bg);
    position: relative;
}

.news-section-title {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 3.5rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 2px;
}

.news-title-part {
    color: var(--text-light);
    opacity: 0.7;
}

.news-title-highlight {
    color: var(--primary-gold);
    position: relative;
    display: inline-block;
}

.news-title-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-gold);
}

.news-section-subtitle {
    text-align: center;
    color: var(--text-light);
    opacity: 0.8;
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.news-card {
    background: rgba(16, 36, 31, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
    border-color: var(--primary-gold);
}

.news-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 0.4rem 1rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(18, 63, 57, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    display: inline-block;
}

.news-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
    opacity: 0.8;
}

.news-badge-yellow {
    border-color: rgba(212, 175, 55, 0.4);
    color: var(--primary-gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 12px rgba(212, 175, 55, 0.2);
}

.news-badge-yellow::before {
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
}

.news-badge-blue {
    border-color: rgba(30, 58, 138, 0.5);
    color: #93c5fd;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 15px rgba(30, 58, 138, 0.3);
}

.news-badge-blue::before {
    background: linear-gradient(90deg, transparent, rgba(30, 58, 138, 0.6), transparent);
}

.news-badge-green {
    border-color: rgba(255, 107, 53, 0.5);
    color: var(--accent-fire);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 107, 53, 0.3);
}

.news-badge-green::before {
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.6), transparent);
}

.news-badge-red {
    border-color: rgba(196, 30, 58, 0.5);
    color: #fca5a5;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 15px rgba(196, 30, 58, 0.3);
}

.news-badge-red::before {
    background: linear-gradient(90deg, transparent, rgba(196, 30, 58, 0.6), transparent);
}

.news-badge-purple {
    border-color: rgba(30, 58, 138, 0.5);
    color: #c7d2fe;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 15px rgba(30, 58, 138, 0.3);
}

.news-badge-purple::before {
    background: linear-gradient(90deg, transparent, rgba(30, 58, 138, 0.6), transparent);
}

.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    margin-bottom: 1rem;
}

.news-date {
    color: var(--text-light);
    opacity: 0.7;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-title {
    font-size: 1.4rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-light);
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex: 1;
    font-size: 0.95rem;
}

.news-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.news-link:hover {
    color: var(--accent-fire);
    gap: 0.75rem;
}

.news-link i {
    font-size: 0.85rem;
}

.news-view-all {
    text-align: center;
    margin-top: 4rem;
}

.btn-view-all-news {
    display: inline-block;
    padding: 1rem 3rem;
    border: 2px solid var(--primary-gold);
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-view-all-news:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

/* News List Section */
.news-list-section {
    padding: 80px 0 100px;
    background: var(--dark-bg);
    min-height: 60vh;
}

.news-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.page-item {
    margin: 0;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0.5rem 1rem;
    background: rgba(16, 36, 31, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-link:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--dark-bg);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.page-link i {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .news-list-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pagination {
        gap: 0.25rem;
    }
    
    .page-link {
        min-width: 40px;
        height: 40px;
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Game Screenshots Section */
.game-screenshots-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-brown) 100%);
    position: relative;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.screenshot-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--primary-gold);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 16/9;
}

.screenshot-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4);
    border-color: var(--accent-fire);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.screenshot-item:hover img {
    transform: scale(1.1);
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(18, 63, 57, 0.95) 100%);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.screenshot-item:hover .screenshot-overlay {
    transform: translateY(0);
}

.screenshot-overlay h5 {
    color: var(--primary-gold);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.screenshot-overlay p {
    color: var(--text-light);
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
}

.lightbox-info {
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    padding: 0 2rem;
}

.lightbox-info h3 {
    color: var(--primary-gold);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lightbox-info p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

@media (max-width: 768px) {
    .lightbox-close,
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-close {
        top: 10px;
        right: 15px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .lightbox-info h3 {
        font-size: 1.4rem;
    }
    
    .lightbox-info p {
        font-size: 1rem;
    }
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--dark-bg);
    position: relative;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    opacity: 0.8;
    margin-bottom: 4rem;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.features-title {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.features-title span {
    color: var(--primary-gold);
}

.feature-items {
    list-style: none;
}

.feature-item {
    margin-bottom: 1.5rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.feature-item.active {
    opacity: 1;
}

.feature-btn {
    position: relative;
    width: 100%;
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.feature-btn .btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.feature-item.active .feature-btn .btn-bg,
.feature-btn:hover .btn-bg {
    opacity: 0.6;
}

.feature-item.active .feature-btn,
.feature-btn:hover {
    color: var(--primary-gold);
    transform: translateX(10px);
}

.feature-desc {
    margin-top: 1rem;
    padding-left: 2rem;
    color: var(--text-light);
    opacity: 0.9;
    line-height: 1.8;
    display: none;
}

.feature-item.active .feature-desc {
    display: block;
    animation: fade-in 0.5s ease-out;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.feature-gallery {
    margin-top: 1.5rem;
    padding-left: 2rem;
    display: none;
}

.feature-item.active .feature-gallery {
    display: block;
    animation: fade-in 0.5s ease-out;
}

.gallery-images {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
}

.gallery-images img {
    scroll-snap-align: center;
}

.gallery-images img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.gallery-images img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.gallery-controls {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.gallery-controls button {
    background: var(--primary-gold);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--dark-bg);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-controls button:hover {
    background: var(--accent-fire);
    transform: scale(1.1);
}

.features-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.btn-action {
    position: relative;
    padding: 1.25rem 3rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-action .btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.btn-action:hover {
    transform: translateY(-3px);
    color: var(--primary-gold);
}

.btn-action:hover .btn-bg {
    opacity: 1;
    filter: brightness(1.2);
}

/* Account & Download Section */
.account-download-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-brown) 100%);
    position: relative;
}

.account-download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.account-box,
.download-box {
    background: rgba(31, 58, 57, 0.6);
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid var(--primary-gold);
    box-shadow: var(--shadow-heavy);
}

.account-box h3,
.download-box h3 {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 2rem;
    text-align: center;
}

.btn-primary {
    position: relative;
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    margin-bottom: 2rem;
}

.btn-primary .btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    color: var(--primary-gold);
}

.btn-primary:hover .btn-bg {
    opacity: 1;
    filter: brightness(1.2);
}

.help-links {
    list-style: none;
    margin-top: 2rem;
}

.help-links li {
    margin-bottom: 1rem;
}

.help-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.help-links a:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateX(5px);
    color: var(--primary-gold);
}

.download-box p {
    text-align: center;
    margin: 1rem 0;
    color: var(--text-light);
    opacity: 0.9;
}

.alt-download {
    font-size: 0.9rem;
    opacity: 0.7;
}

.download-mirrors {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.btn-mirror {
    position: relative;
    flex: 1;
    padding: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.btn-mirror .btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.btn-mirror:hover {
    transform: translateY(-3px);
    color: var(--primary-gold);
}

.btn-mirror:hover .btn-bg {
    opacity: 0.8;
}

.btn-mirror i {
    font-size: 1.5rem;
}

.btn-mirror small {
    font-size: 0.7rem;
    opacity: 0.8;
}

.patch-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.patch-section h6 {
    font-size: 1.1rem;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.patch-section p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.patch-buttons {
    display: flex;
    gap: 1rem;
}

.btn-patch {
    position: relative;
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-patch .btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.btn-patch:hover {
    transform: translateY(-2px);
    color: var(--primary-gold);
}

.btn-patch:hover .btn-bg {
    opacity: 0.9;
}

/* Starter Packs Section */
.starter-packs-section {
    padding: 100px 0;
    background: var(--dark-bg);
    position: relative;
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 2rem;
}

.pack-card {
    background: rgba(31, 58, 57, 0.6);
    padding: 3rem 2rem;
    border-radius: 15px;
    border: 2px solid var(--primary-gold);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pack-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pack-card:hover::before {
    opacity: 1;
}

.pack-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
    border-color: var(--accent-fire);
}

.pack-card.silver {
    border-color: #c0c0c0;
}

.pack-card.silver:hover {
    border-color: #e8e8e8;
    box-shadow: 0 20px 40px rgba(192, 192, 192, 0.3);
}

.pack-card.gold {
    border-color: var(--primary-gold);
}

.pack-card.premium {
    border-color: #9b59b6;
}

.pack-card.premium:hover {
    border-color: #bb77db;
    box-shadow: 0 20px 40px rgba(155, 89, 182, 0.3);
}

.pack-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
    transition: all 0.3s ease;
}

.pack-card:hover .pack-icon {
    transform: scale(1.1) rotate(5deg);
}

.pack-card h5 {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 2rem;
}

.btn-pack {
    position: relative;
    width: 100%;
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
}

.btn-pack .btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.btn-pack:hover {
    transform: scale(1.05);
    color: var(--primary-gold);
}

.btn-pack:hover .btn-bg {
    opacity: 1;
    filter: brightness(1.2);
}

/* Media Section */
.media-section {
    padding: 100px 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.media-bg-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.media-bg {
    position: absolute;
    width: 25%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    filter: blur(2px);
}

.media-bg:nth-child(1) { left: 0; }
.media-bg:nth-child(2) { left: 25%; }
.media-bg:nth-child(3) { left: 50%; }
.media-bg:nth-child(4) { left: 75%; }

.media-section .container {
    position: relative;
    z-index: 1;
}

.media-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.media-tab {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--text-light);
    padding: 0.75rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.media-tab.active,
.media-tab:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
    box-shadow: var(--shadow-glow);
}

.media-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-prev,
.carousel-next {
    background: var(--primary-gold);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--dark-bg);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--accent-fire);
    transform: scale(1.1);
}

.media-content {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex: 1;
    scroll-snap-type: x mandatory;
}

.media-item {
    scroll-snap-align: center;
}

.media-item {
    min-width: 500px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--primary-gold);
}

.media-item iframe {
    width: 100%;
    height: 100%;
}

.media-item img,
.media-link {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-join {
    position: relative;
    margin-top: 100px;
    padding: 80px 0;
    overflow: hidden;
}

.media-join .media-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}

.media-join-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.media-join-content img {
    max-width: 200px;
    margin: 0 1rem;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.media-join-content h6 {
    font-size: 1.8rem;
    color: var(--primary-gold);
    margin: 2rem 0 1rem;
}

.media-join-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Community Section */
.community-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-brown) 100%);
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.telegram-widget h3,
.latest-topics h3 {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.telegram-embed {
    background: rgba(31, 58, 57, 0.6);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--primary-gold);
    min-height: 500px;
}

.telegram-embed iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 10px;
}

.topics-list {
    list-style: none;
}

.topics-list li {
    margin-bottom: 1.5rem;
}

.topics-list a {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(31, 58, 57, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    color: var(--text-light);
}

.topics-list a:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--primary-gold);
    transform: translateX(5px);
}

.topic-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.topic-author {
    font-weight: 600;
    color: var(--primary-gold);
}

.topic-content {
    flex: 1;
    line-height: 1.6;
}

.topics-list i {
    color: var(--primary-gold);
    margin-top: 0.25rem;
}

/* Footer */
.footer {
    background: var(--dark-brown);
    padding: 60px 0 30px;
    border-top: 2px solid var(--primary-gold);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    width: 80px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.footer-brand p {
    color: var(--text-light);
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.footer-legal {
    font-size: 0.85rem;
    opacity: 0.6;
}

.footer-column h6 {
    font-size: 1.1rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--text-light);
    opacity: 0.8;
}

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

.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-social li a {
    font-size: 1.5rem;
    color: var(--primary-gold);
}

.footer-social li a:hover {
    color: var(--accent-fire);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .features-content,
    .account-download-grid,
    .community-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .packs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .packs-grid {
        grid-template-columns: 1fr;
    }
    
    .media-content {
        flex-direction: column;
    }
    
    .media-item {
        min-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-nav {
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn-start-playing {
        padding: 1rem 2rem;
        font-size: 1.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

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

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

/* Ensure sections are visible initially, then fade in on scroll */
section:not(.page-header) {
    opacity: 1;
    transform: translateY(0);
}

section.fade-in:not(.visible) {
    opacity: 0;
    transform: translateY(30px);
}

/* Stagger animation for list items */
.topics-list li.fade-in,
.help-links li.fade-in {
    transition-delay: 0s;
}

.topics-list li.fade-in.visible,
.help-links li.fade-in.visible {
    transition-delay: inherit;
}

/* Page-specific styles */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-brown) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../hero-bg.svg') center/cover;
    opacity: 0.25;
    z-index: 0;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    opacity: 0.8;
}

.page-content {
    padding: 80px 0;
    background: var(--dark-bg);
}

/* Form Styles */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(31, 58, 57, 0.6);
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid var(--primary-gold);
    box-shadow: var(--shadow-heavy);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary-gold);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-fire);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
    background: rgba(20, 20, 25, 0.8);
    color: #ffffff;
}

.form-control::placeholder {
    color: rgba(232, 232, 232, 0.5);
}

.btn-submit {
    position: relative;
    width: 100%;
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-submit .btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: scale(1.05);
    color: var(--primary-gold);
}

.btn-submit:hover .btn-bg {
    opacity: 1;
    filter: brightness(1.2);
}

.form-links {
    margin-top: 2rem;
    text-align: center;
}

.form-links a {
    color: var(--primary-gold);
    margin: 0 1rem;
    transition: all 0.3s ease;
}

.form-links a:hover {
    color: var(--accent-fire);
    text-decoration: underline;
}

/* Table Styles */
.table-container {
    background: rgba(31, 58, 57, 0.6);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--primary-gold);
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-light);
}

table thead {
    background: rgba(212, 175, 55, 0.2);
}

table th {
    padding: 1rem;
    text-align: left;
    color: var(--primary-gold);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--primary-gold);
}

table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

table tbody tr {
    transition: all 0.3s ease;
}

table tbody tr:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: rgba(31, 58, 57, 0.6);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    border-color: var(--accent-fire);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.card h5 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-light);
    opacity: 0.9;
    line-height: 1.6;
}

/* Hide menu toggle button on desktop */
@media (min-width: 992px) {
    .btn-menu-toggle {
        display: none !important;
    }
}

/* ============================================
   Premium redesign layer
   ============================================ */

:root {
    --primary-gold: #f6c95b;
    --primary-red: #d44b4b;
    --primary-blue: #52a7ff;
    --dark-bg: #070908;
    --dark-brown: #10130f;
    --medium-brown: #2a2418;
    --light-brown: #9c8251;
    --text-light: #f5efe4;
    --text-muted: #b9b0a1;
    --accent-fire: #ef8f45;
    --accent-emerald: #4bd4a0;
    --panel: rgba(17, 20, 16, 0.78);
    --panel-strong: rgba(22, 24, 19, 0.94);
    --line: rgba(246, 201, 91, 0.22);
    --line-soft: rgba(255, 255, 255, 0.08);
    --gradient-gold: linear-gradient(135deg, #8f6420 0%, #f6c95b 46%, #fff0aa 100%);
    --gradient-red: linear-gradient(135deg, #7f2527 0%, #d44b4b 100%);
    --gradient-fire: linear-gradient(135deg, #b4662f 0%, #ef8f45 100%);
    --shadow-glow: 0 0 42px rgba(246, 201, 91, 0.28);
    --shadow-heavy: 0 28px 90px rgba(0, 0, 0, 0.56);
}

html {
    scroll-behavior: smooth;
}

body.modern-body,
body {
    background:
        radial-gradient(circle at 18% 8%, rgba(246, 201, 91, 0.11), transparent 30rem),
        radial-gradient(circle at 82% 16%, rgba(75, 212, 160, 0.08), transparent 28rem),
        linear-gradient(180deg, #070908 0%, #11130f 48%, #080908 100%);
    color: var(--text-light);
    font-size: 16px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 72%);
}

a:hover {
    color: var(--primary-gold);
}

.container {
    max-width: 1180px;
}

.navbar {
    background: rgba(7, 9, 8, 0.76);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
    padding: 0.65rem 0;
    backdrop-filter: blur(18px) saturate(140%);
}

.navbar .container {
    gap: 1rem;
}

.logo-img {
    height: 58px;
    filter: drop-shadow(0 10px 24px rgba(246, 201, 91, 0.28));
}

.nav-link {
    color: rgba(245, 239, 228, 0.78) !important;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.nav-link::after {
    height: 1px;
    background: var(--gradient-gold);
    box-shadow: 0 0 16px rgba(246, 201, 91, 0.65);
}

.nav-link:hover,
.nav-link.active {
    color: #fff4c8 !important;
}

.btn-login,
.btn-menu-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 0 0.6rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff2bf;
}

.btn-login:hover,
.btn-menu-toggle:hover {
    color: #11130f;
    background: var(--gradient-gold);
    transform: translateY(-2px);
}

.server-status-wrapper {
    gap: 0.65rem !important;
}

.server-status-card {
    min-width: 128px !important;
    padding: 0.62rem 0.82rem !important;
    border-radius: 12px !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.026)),
        rgba(10, 12, 10, 0.82) !important;
    border: 1px solid var(--line-soft) !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22) !important;
}

.status-label {
    color: rgba(245, 239, 228, 0.56) !important;
    letter-spacing: 0.12em !important;
}

.status-text,
.online-player-count {
    color: #fff4c8 !important;
}

.status-indicator.online {
    background: var(--accent-emerald) !important;
    box-shadow: 0 0 20px rgba(75, 212, 160, 0.76) !important;
}

.discord-banner-fixed,
.grand-open-banner-fixed {
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
        rgba(10, 12, 10, 0.84);
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.36);
}

.discord-banner-fixed:hover,
.grand-open-banner-fixed:hover {
    background:
        linear-gradient(180deg, rgba(246, 201, 91, 0.18), rgba(255, 255, 255, 0.04)),
        rgba(10, 12, 10, 0.9);
}

.hero-section {
    min-height: 94vh;
    padding: 136px 0 96px;
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(7, 9, 8, 0.38) 0%, rgba(7, 9, 8, 0.76) 68%, #070908 100%);
}

.hero-bg-video {
    opacity: 0.52;
    filter: saturate(0.9) contrast(1.08) brightness(0.78);
}

.hero-section::before {
    opacity: 0.3;
    background:
        linear-gradient(90deg, rgba(7, 9, 8, 0.86) 0%, rgba(7, 9, 8, 0.22) 46%, rgba(7, 9, 8, 0.84) 100%),
        url("../hero-bg.svg") center/cover;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, #070908 78%);
}

.hero-content {
    max-width: 930px;
}

.hero-logo {
    max-width: min(560px, 82vw);
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 26px 54px rgba(0, 0, 0, 0.52)) drop-shadow(0 0 28px rgba(246, 201, 91, 0.32));
    animation: none;
}

.hero-title {
    max-width: 920px;
    margin: 0 auto;
    color: #fff7df;
    font-size: clamp(2.65rem, 6.2vw, 5.8rem);
    line-height: 0.96;
    letter-spacing: 0;
    text-transform: none;
    text-wrap: balance;
    text-shadow: 0 18px 54px rgba(0, 0, 0, 0.82);
}

.hero-kicker {
    max-width: 680px;
    margin: 1.35rem auto 0;
    color: rgba(245, 239, 228, 0.8);
    font-size: clamp(1rem, 1.6vw, 1.22rem);
    line-height: 1.75;
}

.hero-features {
    gap: 1rem;
    margin: 2.2rem 0 0;
}

.hero-features li {
    min-height: 58px;
    padding: 0.8rem 1.05rem;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.hero-features li img {
    width: 26px;
    height: 26px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.3rem;
}

.premium-cta,
.btn-start-playing,
.btn-submit,
.btn-primary,
.btn-pack,
.download-card__cta,
.ranking-tab.active,
.ranking-tab:hover {
    border-radius: 999px;
}

.premium-cta,
.btn-submit,
.btn-primary,
.btn-pack {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 54px;
    padding: 0.95rem 1.45rem;
    border: 1px solid rgba(255, 238, 172, 0.58);
    background: var(--gradient-gold);
    color: #161106 !important;
    box-shadow: 0 18px 48px rgba(246, 201, 91, 0.2);
    font-family: 'Cinzel', serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    overflow: hidden;
}

.premium-cta::before,
.btn-submit::before,
.btn-primary::before,
.btn-pack::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.36), transparent 46%);
    pointer-events: none;
}

.premium-cta:hover,
.btn-submit:hover,
.btn-primary:hover,
.btn-pack:hover {
    transform: translateY(-3px);
    color: #161106 !important;
    box-shadow: 0 24px 70px rgba(246, 201, 91, 0.3);
}

.premium-cta--ghost {
    background: rgba(255, 255, 255, 0.055);
    color: #fff1bd !important;
    border-color: var(--line);
    box-shadow: none;
}

.premium-cta--ghost:hover {
    color: #fff8d8 !important;
    background: rgba(255, 255, 255, 0.1);
}

.btn-submit,
.btn-primary,
.btn-pack {
    width: 100%;
}

.btn-bg {
    display: none !important;
}

.bg-bottom {
    opacity: 0.2;
    mix-blend-mode: screen;
}

.server-news-section,
.starter-packs-section,
.page-content,
.account-download-section,
.community-section,
.media-section {
    background: transparent;
    padding: 96px 0;
}

.section-title,
.news-section-title,
.page-header h1 {
    color: #fff7df;
    font-size: clamp(2.25rem, 4.7vw, 4.1rem);
    line-height: 1.02;
    letter-spacing: 0;
    text-transform: none;
    text-shadow: 0 18px 44px rgba(0, 0, 0, 0.48);
}

.news-title-highlight,
.footer-column h6,
.account-box h3,
.download-box h3,
.pack-card h5,
.news-title,
.card h5,
.patch-section h6 {
    color: #f7d274;
}

.news-title-highlight::after {
    height: 1px;
    bottom: -10px;
    background: var(--gradient-gold);
}

.news-section-subtitle,
.section-subtitle,
.page-header p,
.news-excerpt,
.card p {
    color: rgba(245, 239, 228, 0.72);
}

.news-grid,
.packs-grid,
.download-grid-modern,
.card-grid {
    gap: 1.25rem;
}

.news-card,
.pack-card,
.form-container,
.table-container,
.download-card,
.download-extra__card,
.card,
.account-box,
.download-box,
.telegram-embed,
.topics-list a,
.ranking-wrapper,
.top-player {
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
        var(--panel);
    box-shadow: var(--shadow-heavy);
    backdrop-filter: blur(18px) saturate(132%);
}

.news-card,
.pack-card,
.download-card,
.card,
.topics-list a {
    overflow: hidden;
}

.news-card:hover,
.pack-card:hover,
.download-card:hover,
.card:hover,
.topics-list a:hover {
    transform: translateY(-6px);
    border-color: rgba(246, 201, 91, 0.42);
    box-shadow: 0 30px 88px rgba(0, 0, 0, 0.5), 0 0 34px rgba(246, 201, 91, 0.12);
}

.news-image {
    height: 260px;
}

.news-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 36%, rgba(7, 9, 8, 0.72));
}

.news-badge {
    border-radius: 999px;
    background: rgba(7, 9, 8, 0.72);
}

.starter-packs-section .container {
    text-align: center;
}

.pack-card {
    padding: 2.4rem 1.5rem;
}

.pack-card.premium,
.pack-card.gold,
.pack-card.silver {
    border-color: var(--line-soft);
}

.pack-card::before {
    background: radial-gradient(circle at top, rgba(246, 201, 91, 0.18), transparent 62%);
}

.pack-icon {
    width: 92px;
    height: 92px;
}

.page-header {
    padding: 170px 0 92px;
    background:
        linear-gradient(180deg, rgba(7, 9, 8, 0.42), rgba(7, 9, 8, 0.92)),
        url("../hero-bg.svg") center/cover;
}

.page-header::before {
    opacity: 0.08;
}

.page-header::after {
    background: linear-gradient(180deg, transparent, rgba(7, 9, 8, 0.96));
}

.form-container {
    max-width: 540px;
    padding: 2rem;
}

.form-group label,
table th {
    color: #fff0ba;
}

.form-control {
    min-height: 52px;
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.26);
    color: #fff7df;
}

.form-control:focus {
    border-color: rgba(246, 201, 91, 0.72);
    box-shadow: 0 0 0 4px rgba(246, 201, 91, 0.1);
    background: rgba(0, 0, 0, 0.34);
}

.input-with-toggle {
    position: relative;
}

.input-with-toggle .form-control {
    padding-right: 3.4rem;
}

.password-toggle {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff0ba;
}

.form-hint {
    margin-top: 0.45rem;
    color: rgba(245, 239, 228, 0.58);
    font-size: 0.86rem;
}

.form-links,
.form-links p {
    color: rgba(245, 239, 228, 0.7);
}

.form-links a {
    color: #f7d274;
}

.download-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.download-card {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.35rem;
    color: var(--text-light);
}

.download-card__icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(246, 201, 91, 0.12);
    border: 1px solid var(--line);
}

.download-card__icon img {
    width: 30px;
    height: 30px;
}

.download-card__content h3 {
    margin: 1.4rem 0 0.3rem;
    color: #fff7df;
}

.download-card__content p {
    color: rgba(245, 239, 228, 0.66);
}

.download-card__cta {
    align-self: flex-start;
    padding: 0.7rem 1rem;
    background: rgba(246, 201, 91, 0.12);
    border: 1px solid var(--line);
    color: #fff0ba;
    font-weight: 800;
}

.download-extra {
    margin-top: 1.25rem;
}

.download-extra__card {
    padding: 1.5rem;
}

.help-links a {
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.04);
}

.footer {
    background: rgba(6, 7, 6, 0.94);
    border-top: 1px solid var(--line-soft);
}

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

.footer-logo {
    width: 96px;
}

.ranking-tabs {
    justify-content: center;
}

.ranking-tab {
    border: 1px solid var(--line-soft) !important;
    background: rgba(255, 255, 255, 0.055) !important;
    color: rgba(245, 239, 228, 0.78) !important;
}

.ranking-tab.active,
.ranking-tab:hover {
    background: var(--gradient-gold) !important;
    color: #161106 !important;
}

.ranking-wrapper {
    overflow: hidden;
}

.ranking-header {
    background: var(--gradient-gold) !important;
}

.ranking-row {
    border-top: 1px solid var(--line-soft) !important;
}

.ranking-row:hover {
    background: rgba(246, 201, 91, 0.07) !important;
}

@media (max-width: 1200px) {
    .navbar-nav {
        gap: 0.8rem;
    }

    .server-status-wrapper {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        margin-top: 0.9rem;
        padding: 1rem;
        border: 1px solid var(--line-soft);
        border-radius: 18px;
        background: rgba(7, 9, 8, 0.94);
    }

    .social-nav {
        flex-direction: row;
        justify-content: center;
    }

    .btn-login {
        width: 100%;
        margin: 0.8rem 0 0;
        border-radius: 12px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 74px;
    }

    .hero-features {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-features li {
        justify-content: center;
        border-radius: 14px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .premium-cta {
        width: min(100%, 360px);
    }

    .news-grid,
    .packs-grid,
    .download-grid-modern,
    .account-download-grid,
    .community-grid {
        grid-template-columns: 1fr;
        padding-left: 0;
        padding-right: 0;
    }

    .news-image {
        height: 210px;
    }

    .page-header {
        padding: 132px 0 68px;
    }

    .page-content,
    .server-news-section,
    .starter-packs-section {
        padding: 64px 0;
    }

    .form-container {
        padding: 1.35rem;
    }

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

@media (max-width: 480px) {
    .logo-img {
        height: 46px;
    }

    .hero-title {
        font-size: 2.42rem;
    }

    .hero-kicker {
        font-size: 0.98rem;
    }

    .section-title,
    .news-section-title,
    .page-header h1 {
        font-size: 2.05rem;
    }
}

/* ============================================
   Epic campaign upgrade
   Uses Bootstrap grid in markup plus custom utility-style components
   ============================================ */

:root {
    --ember: #ff6a3d;
    --arcane: #63d7ff;
    --steel: #d7dde8;
    --deep-red: #32100d;
}

.hero-section {
    min-height: 100vh;
    padding-top: 150px;
}

.hero-section::before {
    background:
        linear-gradient(90deg, rgba(5, 6, 5, 0.92) 0%, rgba(5, 6, 5, 0.18) 42%, rgba(5, 6, 5, 0.9) 100%),
        linear-gradient(180deg, rgba(255, 106, 61, 0.12), transparent 38%),
        url("../hero-bg.svg") center/cover;
}

.hero-content::before,
.hero-content::after {
    content: "";
    position: absolute;
    left: 50%;
    z-index: -1;
    pointer-events: none;
    transform: translateX(-50%);
}

.hero-content::before {
    top: 18%;
    width: min(920px, 92vw);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(246, 201, 91, 0.72), transparent);
    box-shadow:
        0 26px 70px rgba(246, 201, 91, 0.32),
        0 84px 120px rgba(255, 106, 61, 0.14);
}

.hero-content::after {
    bottom: -1.6rem;
    width: min(760px, 82vw);
    height: 140px;
    border: 1px solid rgba(246, 201, 91, 0.16);
    border-left: 0;
    border-right: 0;
    transform: translateX(-50%) skewX(-16deg);
    opacity: 0.65;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
    padding: 0.45rem;
    border: 1px solid rgba(246, 201, 91, 0.2);
    border-radius: 999px;
    background: rgba(7, 9, 8, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 54px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(16px);
}

.hero-eyebrow span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.25rem 0.85rem;
    border-radius: 999px;
    color: #fff6d8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-eyebrow span:first-child {
    background: linear-gradient(135deg, rgba(255, 106, 61, 0.28), rgba(246, 201, 91, 0.2));
    color: #ffe6ba;
}

.hero-title {
    position: relative;
    max-width: 1040px;
    color: transparent;
    background:
        linear-gradient(180deg, #ffffff 0%, #fff3c8 36%, #f6c95b 62%, #b36b2e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.72));
}

.hero-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.28em;
    width: min(360px, 48vw);
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--ember), var(--primary-gold), transparent);
    box-shadow: 0 0 28px rgba(255, 106, 61, 0.54);
}

.hero-kicker {
    max-width: 760px;
    color: rgba(255, 250, 234, 0.86);
}

.hero-features li {
    position: relative;
    overflow: hidden;
}

.hero-features li::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-120%) skewX(-18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transition: transform 0.7s ease;
}

.hero-features li:hover {
    border-color: rgba(246, 201, 91, 0.42);
    transform: translateY(-3px);
}

.hero-features li:hover::after {
    transform: translateX(120%) skewX(-18deg);
}

.premium-cta {
    min-width: 210px;
    min-height: 60px;
    isolation: isolate;
}

.premium-cta::after,
.btn-submit::after,
.btn-pack::after {
    content: "";
    position: absolute;
    inset: -36% -18%;
    z-index: -1;
    background: conic-gradient(from 180deg, transparent, rgba(255, 106, 61, 0.42), transparent, rgba(246, 201, 91, 0.48), transparent);
    opacity: 0;
    transition: opacity 0.28s ease, transform 0.8s ease;
}

.premium-cta:hover::after,
.btn-submit:hover::after,
.btn-pack:hover::after {
    opacity: 1;
    transform: rotate(24deg);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    width: min(760px, 100%);
    margin: 2.1rem auto 0;
}

.metric-card {
    position: relative;
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
    border: 1px solid rgba(246, 201, 91, 0.18);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.032)),
        rgba(8, 9, 8, 0.7);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.metric-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(110deg, rgba(99, 215, 255, 0.08), transparent 46%, rgba(255, 106, 61, 0.1));
    pointer-events: none;
}

.metric-card strong {
    color: #fff3c8;
    font-family: 'Cinzel', serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1;
}

.metric-card span {
    margin-top: 0.45rem;
    color: rgba(245, 239, 228, 0.64);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.epic-showcase-section {
    position: relative;
    padding: 104px 0;
    overflow: hidden;
    background:
        linear-gradient(180deg, #070908 0%, #11100c 48%, #070908 100%);
}

.epic-showcase-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0 18%, rgba(246, 201, 91, 0.08) 18.2%, transparent 18.8% 58%, rgba(99, 215, 255, 0.055) 58.2%, transparent 58.8%),
        linear-gradient(180deg, transparent, rgba(255, 106, 61, 0.065), transparent);
}

.epic-showcase-section .container {
    position: relative;
    z-index: 1;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 2.4rem;
    text-align: center;
}

.section-kicker {
    display: inline-flex;
    margin-bottom: 0.9rem;
    color: var(--arcane);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.showcase-panel {
    position: relative;
    height: 100%;
    border: 1px solid rgba(246, 201, 91, 0.17);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.028)),
        rgba(11, 12, 10, 0.86);
    box-shadow: 0 30px 94px rgba(0, 0, 0, 0.48);
    overflow: hidden;
}

.showcase-panel::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 19px;
    border: 1px solid rgba(255, 255, 255, 0.055);
    pointer-events: none;
    z-index: 2;
}

.showcase-panel--media {
    min-height: 520px;
}

.showcase-panel--media img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.05) brightness(0.76);
    transition: transform 0.7s ease, filter 0.7s ease;
}

.showcase-panel--media:hover img {
    transform: scale(1.045);
    filter: saturate(1.16) contrast(1.08) brightness(0.86);
}

.showcase-panel__content {
    position: absolute;
    left: 1.35rem;
    right: 1.35rem;
    bottom: 1.35rem;
    z-index: 3;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(7, 9, 8, 0.7);
    backdrop-filter: blur(14px);
}

.showcase-panel__content span {
    color: var(--arcane);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.showcase-panel__content h3 {
    margin: 0.45rem 0 0;
    color: #fff7df;
    font-size: clamp(1.45rem, 3vw, 2.35rem);
    line-height: 1.08;
}

.showcase-stack {
    display: grid;
    gap: 1rem;
    height: 100%;
}

.showcase-panel--compact {
    display: grid;
    grid-template-columns: 58px 1fr;
    align-items: center;
    gap: 1rem;
    min-height: 154px;
    padding: 1.2rem;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.showcase-panel--compact:hover {
    transform: translateX(7px);
    border-color: rgba(99, 215, 255, 0.34);
    box-shadow: 0 28px 82px rgba(0, 0, 0, 0.45), 0 0 30px rgba(99, 215, 255, 0.09);
}

.showcase-panel--compact i {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(246, 201, 91, 0.24);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(246, 201, 91, 0.16), rgba(99, 215, 255, 0.08));
    color: #ffe3a4;
    font-size: 1.25rem;
}

.showcase-panel--compact h3 {
    margin: 0 0 0.4rem;
    color: #fff6d8;
    font-size: 1.2rem;
}

.showcase-panel--compact p {
    margin: 0;
    color: rgba(245, 239, 228, 0.68);
    line-height: 1.65;
}

.news-card,
.pack-card,
.download-card,
.form-container,
.ranking-wrapper {
    position: relative;
}

.news-card::before,
.pack-card::after,
.download-card::before,
.form-container::before,
.ranking-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(246, 201, 91, 0.18), transparent 28%),
        linear-gradient(315deg, rgba(99, 215, 255, 0.075), transparent 34%);
    opacity: 0.55;
}

.pack-card {
    transform-style: preserve-3d;
}

.pack-card:hover {
    transform: translateY(-10px) rotateX(2deg);
}

.pack-card h5 {
    font-size: 1.42rem;
}

@media (max-width: 991px) {
    .hero-metrics {
        grid-template-columns: 1fr;
        width: min(420px, 100%);
    }

    .showcase-panel--media,
    .showcase-panel--media img {
        min-height: 380px;
    }

    .showcase-panel--compact:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 128px;
    }

    .hero-eyebrow {
        flex-direction: column;
        border-radius: 18px;
    }

    .hero-eyebrow span {
        justify-content: center;
        width: 100%;
    }

    .hero-title::after {
        width: 72vw;
    }

    .epic-showcase-section {
        padding: 72px 0;
    }

    .showcase-panel--compact {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .showcase-panel--compact i {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .premium-cta {
        min-width: 0;
        width: 100%;
    }

    .metric-card {
        min-height: 82px;
    }

    .showcase-panel--media,
    .showcase-panel--media img {
        min-height: 320px;
    }

    .showcase-panel__content {
        left: 0.8rem;
        right: 0.8rem;
        bottom: 0.8rem;
        padding: 1rem;
    }
}

/* ============================================
   Hero redesign v2
   ============================================ */

.hero-section {
    display: flex;
    align-items: center;
    min-height: 100svh;
    padding: 136px 0 92px;
}

.hero-section::before {
    opacity: 1;
    background:
        linear-gradient(90deg, rgba(3, 4, 4, 0.96) 0%, rgba(3, 4, 4, 0.62) 36%, rgba(3, 4, 4, 0.1) 63%, rgba(3, 4, 4, 0.78) 100%),
        radial-gradient(circle at 78% 34%, rgba(255, 106, 61, 0.26), transparent 26rem),
        radial-gradient(circle at 30% 22%, rgba(246, 201, 91, 0.2), transparent 24rem),
        url("../hero-bg.svg") center/cover;
}

.hero-bg-video {
    opacity: 0.64;
    filter: saturate(1.18) contrast(1.18) brightness(0.62);
}

.hero-content--cinematic {
    width: min(1180px, calc(100% - 2rem));
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    text-align: left;
}

.hero-content--cinematic::before {
    left: 0;
    top: 12%;
    width: min(620px, 60vw);
    transform: none;
}

.hero-content--cinematic::after {
    left: auto;
    right: 2rem;
    bottom: 5%;
    width: min(520px, 42vw);
    height: 74%;
    transform: skewX(-10deg);
    border-color: rgba(246, 201, 91, 0.12);
    opacity: 0.8;
}

.hero-copy {
    position: relative;
    z-index: 3;
}

.hero-content--cinematic .hero-eyebrow {
    justify-content: flex-start;
}

.hero-content--cinematic .hero-logo {
    max-width: min(390px, 70vw);
    margin: 0 0 1.25rem;
}

.hero-content--cinematic .hero-title {
    max-width: 720px;
    margin: 0;
    font-size: clamp(3.15rem, 7vw, 6.8rem);
    line-height: 0.88;
}

.hero-content--cinematic .hero-title::after {
    left: 0;
    width: min(420px, 60vw);
    transform: none;
}

.hero-content--cinematic .hero-kicker {
    max-width: 630px;
    margin: 2.05rem 0 0;
    font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.hero-content--cinematic .hero-actions {
    justify-content: flex-start;
    margin-top: 2rem;
}

.hero-content--cinematic .hero-features {
    justify-content: flex-start;
    margin-top: 1.45rem;
}

.hero-war-panel {
    position: relative;
    z-index: 2;
    min-height: 590px;
    perspective: 1200px;
}

.war-panel-frame {
    position: relative;
    height: 100%;
    min-height: 590px;
    padding: 1rem;
    border: 1px solid rgba(246, 201, 91, 0.22);
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.026)),
        rgba(7, 9, 8, 0.72);
    box-shadow:
        0 42px 120px rgba(0, 0, 0, 0.58),
        0 0 70px rgba(255, 106, 61, 0.12);
    overflow: hidden;
    transform: rotateY(-7deg) rotateX(2deg);
    transform-origin: center;
    backdrop-filter: blur(20px) saturate(135%);
}

.war-panel-frame::before,
.war-panel-frame::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.war-panel-frame::before {
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 245, 195, 0.7), transparent 24%, rgba(99, 215, 255, 0.26) 58%, rgba(255, 106, 61, 0.55));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
}

.war-panel-frame::after {
    inset: -40% -20%;
    background: linear-gradient(105deg, transparent 28%, rgba(255, 255, 255, 0.11) 46%, transparent 62%);
    transform: translateX(-35%) rotate(8deg);
    animation: heroPanelShine 5.6s ease-in-out infinite;
}

@keyframes heroPanelShine {
    0%, 28% {
        transform: translateX(-56%) rotate(8deg);
        opacity: 0;
    }
    42%, 58% {
        opacity: 1;
    }
    82%, 100% {
        transform: translateX(56%) rotate(8deg);
        opacity: 0;
    }
}

.war-panel-topline {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.28);
}

.war-panel-topline span {
    color: rgba(245, 239, 228, 0.62);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.war-panel-topline strong {
    color: var(--accent-emerald);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.war-panel-main {
    position: relative;
    height: 390px;
    border-radius: 22px;
    overflow: hidden;
    background: #0a0b09;
}

.war-panel-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.22) contrast(1.12) brightness(0.74);
    transform: scale(1.03);
}

.war-panel-main::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 22%, rgba(0, 0, 0, 0.72) 100%),
        linear-gradient(90deg, rgba(255, 106, 61, 0.18), transparent 44%, rgba(99, 215, 255, 0.14));
}

.war-panel-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    padding: 0.62rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(7, 9, 8, 0.74);
    color: #ffe5a7;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
}

.war-panel-badge i {
    color: var(--ember);
}

.war-panel-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.war-stat {
    min-height: 96px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.war-stat strong {
    color: #fff3c8;
    font-family: 'Cinzel', serif;
    font-size: 1.45rem;
    line-height: 1;
}

.war-stat span {
    margin-top: 0.45rem;
    color: rgba(245, 239, 228, 0.58);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-floating-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 220px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(246, 201, 91, 0.22);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
        rgba(8, 9, 8, 0.82);
    box-shadow: 0 24px 66px rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(16px);
}

.hero-floating-card i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(246, 201, 91, 0.13);
    color: #ffe0a0;
}

.hero-floating-card strong {
    display: block;
    color: #fff6d7;
    font-size: 0.95rem;
}

.hero-floating-card span {
    display: block;
    margin-top: 0.12rem;
    color: rgba(245, 239, 228, 0.62);
    font-size: 0.78rem;
}

.hero-floating-card--rank {
    top: 92px;
    right: -32px;
}

.hero-floating-card--reward {
    left: -42px;
    bottom: 84px;
}

.hero-floating-card--rank,
.hero-floating-card--reward {
    animation: heroFloatCard 4.6s ease-in-out infinite;
}

.hero-floating-card--reward {
    animation-delay: -1.8s;
}

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

@media (max-width: 1200px) {
    .hero-content--cinematic {
        grid-template-columns: 1fr;
        max-width: 900px;
        text-align: center;
    }

    .hero-content--cinematic .hero-logo,
    .hero-content--cinematic .hero-title,
    .hero-content--cinematic .hero-kicker {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content--cinematic .hero-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-content--cinematic .hero-eyebrow,
    .hero-content--cinematic .hero-actions,
    .hero-content--cinematic .hero-features {
        justify-content: center;
    }

    .hero-war-panel {
        width: min(620px, 100%);
        min-height: auto;
        margin: 1rem auto 0;
    }

    .war-panel-frame {
        min-height: auto;
        transform: none;
    }

    .hero-floating-card--rank {
        right: -10px;
    }

    .hero-floating-card--reward {
        left: -10px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 118px;
    }

    .hero-content--cinematic {
        width: min(100% - 1rem, 620px);
        gap: 1.8rem;
    }

    .hero-content--cinematic .hero-title {
        font-size: clamp(2.55rem, 13vw, 4.4rem);
    }

    .hero-content--cinematic .hero-kicker {
        margin-top: 1.55rem;
    }

    .war-panel-main {
        height: 310px;
    }

    .war-panel-grid {
        grid-template-columns: 1fr;
    }

    .war-stat {
        min-height: 76px;
    }

    .hero-floating-card {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        margin-top: 0.75rem;
        animation: none;
    }
}

@media (max-width: 480px) {
    .hero-content--cinematic .hero-logo {
        max-width: 270px;
    }

    .war-panel-frame {
        padding: 0.7rem;
        border-radius: 20px;
    }

    .war-panel-main {
        height: 250px;
        border-radius: 16px;
    }

    .war-panel-topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .war-panel-badge {
        left: 0.7rem;
        bottom: 0.7rem;
        font-size: 0.76rem;
    }
}

/* ============================================
   Elegant static hero
   ============================================ */

.hero-section {
    min-height: 92svh;
    padding: 138px 0 88px;
    background:
        radial-gradient(circle at 18% 18%, rgba(246, 201, 91, 0.13), transparent 28rem),
        radial-gradient(circle at 84% 20%, rgba(75, 212, 160, 0.08), transparent 26rem),
        linear-gradient(135deg, #080a08 0%, #11130f 48%, #070908 100%);
}

.hero-bg-video {
    display: none;
}

.hero-section::before {
    opacity: 1;
    background:
        linear-gradient(180deg, rgba(7, 9, 8, 0.2), rgba(7, 9, 8, 0.86)),
        linear-gradient(110deg, rgba(246, 201, 91, 0.11), transparent 36%, rgba(75, 212, 160, 0.06)),
        url("../hero-bg.svg") center/cover;
}

.hero-section::after {
    height: 38%;
    background: linear-gradient(180deg, transparent, #070908 86%);
}

.hero-content--elegant {
    width: min(1120px, calc(100% - 2rem));
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.72fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
    text-align: left;
}

.hero-content--elegant::before,
.hero-content--elegant::after {
    display: none;
}

.hero-content--elegant .hero-logo {
    max-width: min(360px, 72vw);
    margin: 0 0 1.4rem;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.42));
}

.hero-content--elegant .hero-eyebrow {
    justify-content: flex-start;
    margin-bottom: 1.35rem;
    background: rgba(255, 255, 255, 0.045);
}

.hero-content--elegant .hero-title {
    max-width: 720px;
    margin: 0;
    color: #fff7df;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    font-size: clamp(3rem, 6.3vw, 5.9rem);
    line-height: 0.98;
    filter: none;
    text-shadow: 0 22px 46px rgba(0, 0, 0, 0.5);
}

.hero-content--elegant .hero-title::after {
    left: 0;
    bottom: -1rem;
    width: min(300px, 58vw);
    height: 1px;
    transform: none;
    background: linear-gradient(90deg, var(--primary-gold), transparent);
    box-shadow: none;
}

.hero-content--elegant .hero-kicker {
    max-width: 620px;
    margin: 2.25rem 0 0;
    color: rgba(245, 239, 228, 0.75);
    font-size: clamp(1rem, 1.35vw, 1.15rem);
}

.hero-content--elegant .hero-actions {
    justify-content: flex-start;
    margin-top: 2rem;
}

.hero-content--elegant .hero-features {
    justify-content: flex-start;
    margin-top: 1.4rem;
}

.hero-content--elegant .hero-features li {
    min-height: 52px;
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: none;
}

.hero-content--elegant .hero-features li:hover {
    transform: translateY(-2px);
    border-color: rgba(246, 201, 91, 0.28);
}

.hero-elegant-panel {
    position: relative;
    z-index: 3;
}

.elegant-panel-card {
    position: relative;
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid rgba(246, 201, 91, 0.18);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.028)),
        rgba(9, 11, 9, 0.72);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px) saturate(130%);
}

.elegant-panel-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 21px;
    border: 1px solid rgba(255, 255, 255, 0.055);
    pointer-events: none;
}

.panel-label {
    display: inline-flex;
    margin-bottom: 1.1rem;
    color: rgba(245, 239, 228, 0.58);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.elegant-panel-logo {
    display: grid;
    place-items: center;
    min-height: 170px;
    margin-bottom: 1rem;
    border-radius: 18px;
    background:
        radial-gradient(circle, rgba(246, 201, 91, 0.12), transparent 58%),
        rgba(255, 255, 255, 0.035);
}

.elegant-panel-logo img {
    width: min(210px, 70%);
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.42));
}

.elegant-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
}

.elegant-stats div {
    min-height: 86px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
}

.elegant-stats strong {
    color: #fff2bf;
    font-family: 'Cinzel', serif;
    font-size: 1.35rem;
    line-height: 1;
}

.elegant-stats span {
    margin-top: 0.42rem;
    color: rgba(245, 239, 228, 0.55);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.panel-link {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.85rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(246, 201, 91, 0.2);
    border-radius: 14px;
    color: #fff1bd;
    background: rgba(246, 201, 91, 0.08);
    font-weight: 800;
}

.panel-link:hover {
    background: rgba(246, 201, 91, 0.14);
    color: #fff7df;
}

@media (max-width: 991px) {
    .hero-content--elegant {
        grid-template-columns: 1fr;
        max-width: 760px;
        text-align: center;
    }

    .hero-content--elegant .hero-logo,
    .hero-content--elegant .hero-title,
    .hero-content--elegant .hero-kicker {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content--elegant .hero-title::after {
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    }

    .hero-content--elegant .hero-eyebrow,
    .hero-content--elegant .hero-actions,
    .hero-content--elegant .hero-features {
        justify-content: center;
    }

    .hero-elegant-panel {
        width: min(520px, 100%);
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .hero-section {
        min-height: auto;
        padding: 118px 0 68px;
    }

    .hero-content--elegant {
        width: min(100% - 1rem, 560px);
    }

    .hero-content--elegant .hero-title {
        font-size: clamp(2.45rem, 12vw, 3.75rem);
    }

    .hero-content--elegant .hero-actions,
    .hero-content--elegant .hero-features {
        flex-direction: column;
        align-items: stretch;
    }

    .elegant-stats {
        grid-template-columns: 1fr;
    }

    .elegant-panel-logo {
        min-height: 132px;
    }
}

/* ============================================
   Simple battlefield hero
   ============================================ */

.hero-section {
    min-height: 90svh;
    background:
        linear-gradient(90deg, rgba(5, 6, 5, 0.96), rgba(5, 6, 5, 0.72) 44%, rgba(5, 6, 5, 0.48)),
        radial-gradient(circle at 70% 38%, rgba(255, 106, 61, 0.2), transparent 28rem),
        radial-gradient(circle at 22% 20%, rgba(246, 201, 91, 0.14), transparent 24rem),
        url("../hero-bg.svg") center/cover,
        #070908;
}

.hero-section::before {
    background:
        linear-gradient(180deg, rgba(7, 9, 8, 0.04), rgba(7, 9, 8, 0.9)),
        repeating-linear-gradient(115deg, rgba(246, 201, 91, 0.035) 0 1px, transparent 1px 92px);
}

.hero-content--elegant {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.62fr);
}

.hero-content--elegant .hero-eyebrow {
    border-color: rgba(255, 106, 61, 0.2);
}

.hero-content--elegant .hero-eyebrow span:first-child {
    background: rgba(255, 106, 61, 0.14);
    color: #ffd1b8;
}

.hero-content--elegant .hero-title {
    max-width: 760px;
    color: #fff2cf;
    text-shadow:
        0 18px 42px rgba(0, 0, 0, 0.58),
        0 0 38px rgba(255, 106, 61, 0.12);
}

.hero-content--elegant .hero-title::after {
    height: 2px;
    background: linear-gradient(90deg, var(--ember), var(--primary-gold), transparent);
}

.hero-content--elegant .hero-kicker {
    color: rgba(245, 239, 228, 0.82);
}

.hero-content--elegant .premium-cta {
    background: linear-gradient(135deg, #b53924 0%, #ff7a3d 42%, #ffd36a 100%);
    border-color: rgba(255, 213, 116, 0.5);
    color: #140a05 !important;
}

.hero-content--elegant .premium-cta--ghost {
    background: rgba(255, 255, 255, 0.055);
    color: #fff0ba !important;
    border-color: rgba(246, 201, 91, 0.2);
}

.hero-content--elegant .hero-features li {
    background: rgba(6, 7, 6, 0.54);
}

.elegant-panel-card {
    border-color: rgba(255, 106, 61, 0.22);
    background:
        linear-gradient(180deg, rgba(255, 106, 61, 0.1), rgba(255, 255, 255, 0.026)),
        rgba(9, 10, 8, 0.78);
}

.panel-label {
    color: #ffd1b8;
}

.battle-panel-copy {
    margin: 0 0 1rem;
    color: rgba(245, 239, 228, 0.72);
    line-height: 1.65;
}

.elegant-panel-logo {
    min-height: 145px;
    background:
        radial-gradient(circle, rgba(255, 106, 61, 0.13), transparent 58%),
        linear-gradient(135deg, rgba(246, 201, 91, 0.08), rgba(255, 255, 255, 0.028));
}

.elegant-stats div {
    border-color: rgba(255, 106, 61, 0.12);
}

.elegant-stats strong {
    color: #ffd36a;
}

.panel-link {
    border-color: rgba(255, 106, 61, 0.22);
    background: rgba(255, 106, 61, 0.1);
}

.panel-link:hover {
    background: rgba(255, 106, 61, 0.16);
}

@media (max-width: 991px) {
    .hero-section {
        background:
            linear-gradient(180deg, rgba(5, 6, 5, 0.9), rgba(5, 6, 5, 0.7)),
            radial-gradient(circle at 50% 20%, rgba(255, 106, 61, 0.18), transparent 24rem),
            url("../hero-bg.svg") center/cover,
            #070908;
    }
}

/* ============================================
   Premium server homepage concept
   ============================================ */

.premium-home {
    background:
        linear-gradient(180deg, rgba(7, 9, 8, 0) 0%, rgba(11, 12, 9, 0.9) 36%, #070908 100%),
        #070908;
}

.premium-home .premium-hero {
    position: relative;
    min-height: 96svh;
    display: flex;
    align-items: center;
    padding: 136px 0 86px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(5, 6, 5, 0.98) 0%, rgba(5, 6, 5, 0.78) 44%, rgba(5, 6, 5, 0.48) 100%),
        linear-gradient(135deg, rgba(246, 201, 91, 0.14), transparent 34%, rgba(255, 106, 61, 0.12)),
        url("../hero-bg.svg") center/cover,
        #070908;
}

.premium-home .premium-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(116deg, rgba(246, 201, 91, 0.04) 0 1px, transparent 1px 96px),
        linear-gradient(180deg, rgba(7, 9, 8, 0), #070908 94%);
}

.premium-home .premium-hero .container {
    position: relative;
    z-index: 1;
}

.premium-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
}

.premium-hero__copy {
    max-width: 760px;
}

.premium-hero__eyebrow {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.35rem;
}

.premium-hero__eyebrow span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.42rem 0.78rem;
    border: 1px solid rgba(246, 201, 91, 0.2);
    border-radius: 999px;
    background: rgba(7, 9, 8, 0.7);
    color: #ffe9aa;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.premium-hero__eyebrow span:last-child {
    border-color: rgba(255, 106, 61, 0.24);
    color: #ffd0ba;
}

.premium-hero__logo {
    display: block;
    width: min(390px, 76vw);
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 22px 48px rgba(0, 0, 0, 0.54));
}

.premium-hero__title {
    max-width: 820px;
    margin: 0;
    color: #fff3d5;
    font-family: 'Cinzel', serif;
    font-size: clamp(3.1rem, 7.1vw, 6.7rem);
    font-weight: 800;
    line-height: 0.93;
    letter-spacing: 0;
    text-wrap: balance;
    text-shadow: 0 24px 58px rgba(0, 0, 0, 0.68);
}

.premium-hero__text {
    max-width: 680px;
    margin: 1.55rem 0 0;
    color: rgba(245, 239, 228, 0.82);
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    line-height: 1.78;
}

.premium-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.premium-hero__button {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.9rem 1.25rem;
    border-radius: 999px;
    font-family: 'Cinzel', serif;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.premium-hero__button--primary {
    border: 1px solid rgba(255, 216, 124, 0.58);
    background: linear-gradient(135deg, #a93422 0%, #ff753d 44%, #ffd36b 100%);
    color: #150b05;
    box-shadow: 0 22px 58px rgba(255, 106, 61, 0.22);
}

.premium-hero__button--primary:hover {
    color: #150b05;
    transform: translateY(-3px);
    box-shadow: 0 28px 72px rgba(255, 106, 61, 0.3);
}

.premium-hero__button--secondary {
    border: 1px solid rgba(246, 201, 91, 0.24);
    background: rgba(255, 255, 255, 0.055);
    color: #fff0bd;
}

.premium-hero__button--secondary:hover {
    background: rgba(255, 255, 255, 0.095);
    color: #fff8db;
    transform: translateY(-3px);
}

.premium-hero__proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    max-width: 720px;
    margin-top: 1.6rem;
}

.premium-hero__proof div,
.premium-command,
.premium-strip__grid,
.premium-feature-card,
.premium-warfront__media,
.premium-news-card,
.premium-pack-card,
.premium-final__inner {
    border: 1px solid rgba(255, 255, 255, 0.085);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.028)),
        rgba(10, 11, 9, 0.78);
    box-shadow: 0 28px 84px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(16px) saturate(128%);
}

.premium-hero__proof div {
    min-height: 94px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
    border-radius: 16px;
}

.premium-hero__proof strong {
    color: #ffd872;
    font-family: 'Cinzel', serif;
    font-size: 1.55rem;
    line-height: 1;
}

.premium-hero__proof span {
    margin-top: 0.45rem;
    color: rgba(245, 239, 228, 0.6);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.premium-command {
    position: relative;
    padding: 1.25rem;
    border-color: rgba(246, 201, 91, 0.18);
    border-radius: 24px;
}

.premium-command__top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.22);
}

.premium-command__top span,
.premium-section__heading span,
.premium-warfront__copy > span,
.premium-pack-card > span,
.premium-final__inner span {
    color: #ffd0ba;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.premium-command__top strong {
    color: #4bd4a0;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.premium-command__emblem {
    display: grid;
    place-items: center;
    min-height: 185px;
    margin: 1rem 0;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(246, 201, 91, 0.09), rgba(255, 106, 61, 0.08)),
        rgba(255, 255, 255, 0.035);
}

.premium-command__emblem img {
    width: min(230px, 72%);
    filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.46));
}

.premium-command__list {
    display: grid;
    gap: 0.75rem;
}

.premium-command__list > div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0.8rem;
    align-items: center;
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.035);
}

.premium-command__list i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(246, 201, 91, 0.12);
    color: #ffd872;
}

.premium-command__list strong {
    display: block;
    color: #fff4d1;
}

.premium-command__list span {
    display: block;
    margin-top: 0.18rem;
    color: rgba(245, 239, 228, 0.62);
    font-size: 0.9rem;
    line-height: 1.45;
}

.premium-command__link,
.premium-pack-card a {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.85rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 106, 61, 0.24);
    border-radius: 14px;
    background: rgba(255, 106, 61, 0.1);
    color: #fff0bd;
    font-weight: 800;
}

.premium-command__link:hover,
.premium-pack-card a:hover {
    color: #fff8db;
    background: rgba(255, 106, 61, 0.16);
}

.premium-strip,
.premium-section,
.premium-final {
    position: relative;
    padding: 86px 0;
}

.premium-strip {
    padding: 0 0 42px;
    margin-top: -42px;
}

.premium-strip .container {
    position: relative;
    z-index: 2;
}

.premium-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 18px;
    overflow: hidden;
}

.premium-strip__grid div {
    min-height: 104px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.premium-strip__grid div:last-child {
    border-right: 0;
}

.premium-strip__grid span {
    color: rgba(245, 239, 228, 0.55);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.premium-strip__grid strong {
    margin-top: 0.45rem;
    color: #fff3d0;
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
}

.premium-section__heading {
    max-width: 760px;
    margin: 0 auto 2.2rem;
    text-align: center;
}

.premium-section__heading h2,
.premium-warfront__copy h2,
.premium-final__inner h2 {
    margin: 0.6rem 0 0;
    color: #fff3d5;
    font-size: clamp(2.1rem, 4vw, 3.8rem);
    line-height: 1.04;
    letter-spacing: 0;
    text-transform: none;
}

.premium-feature-grid,
.premium-pack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
}

.premium-feature-card,
.premium-pack-card {
    position: relative;
    border-radius: 18px;
    padding: 1.35rem;
    overflow: hidden;
}

.premium-feature-card {
    min-height: 260px;
}

.premium-feature-card img,
.premium-pack-card img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 14px 24px rgba(246, 201, 91, 0.18));
}

.premium-feature-card h3,
.premium-pack-card h3 {
    margin: 1.2rem 0 0.65rem;
    color: #ffe3a2;
    font-size: 1.35rem;
}

.premium-feature-card p,
.premium-warfront__copy p,
.premium-news-card p {
    color: rgba(245, 239, 228, 0.68);
    line-height: 1.72;
}

.premium-warfront__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);
}

.premium-warfront__media {
    border-radius: 22px;
    overflow: hidden;
}

.premium-warfront__media img {
    width: 100%;
    min-height: 430px;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.08) brightness(0.82);
}

.premium-warfront__copy h2 {
    margin-bottom: 1rem;
}

.premium-news-card {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.3rem;
    padding: 1rem;
    border-radius: 16px;
}

.premium-news-card span {
    color: rgba(245, 239, 228, 0.56);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.premium-news-card strong {
    display: block;
    margin-top: 0.25rem;
    color: #ffe3a2;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
}

.premium-packs {
    padding-top: 68px;
}

.premium-pack-card {
    text-align: center;
}

.premium-pack-card--featured {
    border-color: rgba(246, 201, 91, 0.3);
    transform: translateY(-10px);
}

.premium-pack-card a {
    justify-content: center;
}

.premium-final {
    padding-top: 30px;
}

.premium-final__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 20px;
}

.premium-final__inner h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

@media (max-width: 991px) {
    .premium-hero__grid,
    .premium-warfront__grid {
        grid-template-columns: 1fr;
    }

    .premium-hero__copy,
    .premium-command {
        max-width: 720px;
        margin: 0 auto;
    }

    .premium-strip__grid,
    .premium-feature-grid,
    .premium-pack-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .premium-pack-card--featured {
        transform: none;
    }
}

@media (max-width: 640px) {
    .premium-home .premium-hero {
        min-height: auto;
        padding: 118px 0 70px;
    }

    .premium-hero__title {
        font-size: clamp(2.45rem, 12vw, 4.2rem);
    }

    .premium-hero__actions,
    .premium-final__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .premium-hero__button {
        width: 100%;
    }

    .premium-hero__proof,
    .premium-strip__grid,
    .premium-feature-grid,
    .premium-pack-grid {
        grid-template-columns: 1fr;
    }

    .premium-strip__grid div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .premium-strip__grid div:last-child {
        border-bottom: 0;
    }

    .premium-warfront__media img {
        min-height: 280px;
    }
}

/* ============================================
   Premium global pages, nav, auth, downloads, rankings, account
   ============================================ */

.modern-body {
    background:
        radial-gradient(circle at 16% 0%, rgba(246, 201, 91, 0.12), transparent 28rem),
        radial-gradient(circle at 88% 10%, rgba(255, 106, 61, 0.1), transparent 30rem),
        linear-gradient(180deg, #070908 0%, #10110d 48%, #070908 100%) !important;
}

.premium-navbar.navbar {
    padding: 0.7rem 0 !important;
    border-bottom: 1px solid rgba(246, 201, 91, 0.14) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
        rgba(6, 7, 6, 0.82) !important;
    box-shadow: 0 18px 58px rgba(0, 0, 0, 0.42) !important;
    backdrop-filter: blur(18px) saturate(140%);
}

.premium-navbar .logo-img {
    height: 54px !important;
}

.premium-navbar .navbar-nav {
    gap: 0.55rem !important;
}

.premium-navbar .nav-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.8rem !important;
    border: 1px solid transparent;
    border-radius: 999px;
    color: rgba(245, 239, 228, 0.74) !important;
    font-size: 0.76rem !important;
    letter-spacing: 0.11em !important;
}

.premium-navbar .nav-link::after {
    display: none !important;
}

.premium-navbar .nav-link:hover,
.premium-navbar .nav-link.active {
    border-color: rgba(246, 201, 91, 0.2);
    background: rgba(246, 201, 91, 0.08);
    color: #fff2bf !important;
}

.premium-navbar .social-nav .nav-link {
    width: 42px;
    justify-content: center;
    padding: 0 !important;
}

.premium-navbar .btn-login,
.premium-navbar .nav-account-link {
    width: auto !important;
    min-width: 46px;
    min-height: 44px;
    padding: 0 1rem !important;
    border: 1px solid rgba(255, 216, 124, 0.44) !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #a93422 0%, #ff753d 48%, #ffd36b 100%) !important;
    color: #160a05 !important;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.premium-navbar .btn-login:hover,
.premium-navbar .nav-account-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(255, 106, 61, 0.24);
}

.premium-navbar .server-status-wrapper {
    transform: scale(0.92);
    transform-origin: right center;
}

.premium-navbar .server-status-card {
    min-width: 118px !important;
    border-color: rgba(246, 201, 91, 0.12) !important;
    background: rgba(0, 0, 0, 0.28) !important;
}

.navbar-toggler {
    border: 1px solid rgba(246, 201, 91, 0.22) !important;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.discord-banner-fixed,
.grand-open-banner-fixed {
    border-color: rgba(246, 201, 91, 0.16) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.028)),
        rgba(7, 9, 8, 0.82) !important;
}

.premium-subpage .page-header,
.page-header {
    padding: 158px 0 82px !important;
    background:
        linear-gradient(180deg, rgba(7, 9, 8, 0.3), rgba(7, 9, 8, 0.94)),
        linear-gradient(115deg, rgba(246, 201, 91, 0.12), transparent 40%, rgba(255, 106, 61, 0.1)),
        url("../hero-bg.svg") center/cover !important;
}

.premium-subpage .page-header h1,
.page-header h1 {
    color: #fff3d5 !important;
    font-size: clamp(2.5rem, 5.4vw, 5rem) !important;
    line-height: 0.96 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.premium-subpage .page-header p,
.page-header p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(245, 239, 228, 0.76) !important;
}

.premium-subpage .page-content,
.page-content {
    padding: 76px 0 96px !important;
    background:
        radial-gradient(circle at 20% 10%, rgba(246, 201, 91, 0.08), transparent 24rem),
        #070908 !important;
}

.form-container,
.download-card,
.download-extra__card,
.ranking-wrapper,
.account-card,
.password-modal-box,
.table-container {
    border: 1px solid rgba(246, 201, 91, 0.16) !important;
    border-radius: 22px !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.028)),
        rgba(10, 11, 9, 0.82) !important;
    box-shadow: 0 28px 84px rgba(0, 0, 0, 0.42) !important;
    backdrop-filter: blur(16px) saturate(128%);
}

.premium-auth-page .form-container {
    max-width: 560px !important;
    padding: 2rem !important;
    position: relative;
    overflow: hidden;
}

.premium-auth-page .form-container::before {
    display: block;
    margin-bottom: 1.4rem;
    color: #ffd0ba;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.form-group label {
    color: #fff0bd !important;
    font-weight: 800;
}

.form-control {
    min-height: 54px !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 14px !important;
    background: rgba(0, 0, 0, 0.28) !important;
    color: #fff7df !important;
}

.form-control:focus {
    border-color: rgba(246, 201, 91, 0.58) !important;
    box-shadow: 0 0 0 4px rgba(246, 201, 91, 0.1) !important;
}

.btn-submit,
.save-password-btn {
    min-height: 56px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 216, 124, 0.58) !important;
    background: linear-gradient(135deg, #a93422 0%, #ff753d 44%, #ffd36b 100%) !important;
    color: #150b05 !important;
    font-weight: 900 !important;
}

.form-links {
    color: rgba(245, 239, 228, 0.7) !important;
}

.form-links a {
    color: #ffd872 !important;
    font-weight: 800;
}

.download-grid-modern {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
}

.download-card {
    min-height: 245px !important;
    align-items: flex-start !important;
    flex-direction: column !important;
    padding: 1.4rem !important;
}

.download-card__icon {
    width: 62px !important;
    height: 62px !important;
    border-color: rgba(246, 201, 91, 0.2) !important;
    background: rgba(246, 201, 91, 0.1) !important;
}

.download-card__content h3 {
    color: #fff3d5 !important;
    font-size: 1.45rem;
}

.download-card__content p {
    color: rgba(245, 239, 228, 0.64) !important;
}

.download-card__cta {
    margin-top: auto;
    border-radius: 999px !important;
    color: #fff0bd !important;
    background: rgba(255, 106, 61, 0.1) !important;
}

.download-extra__card h3,
.account-card h3,
.card-header h3 {
    color: #fff3d5 !important;
}

.help-links a,
.action-btn {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    color: #fff1bd !important;
}

.help-links a:hover,
.action-btn:hover {
    border-color: rgba(246, 201, 91, 0.26) !important;
    background: rgba(246, 201, 91, 0.08) !important;
}

.ranking-tabs {
    justify-content: center !important;
    gap: 0.7rem !important;
    margin-bottom: 2rem !important;
}

.ranking-tab {
    border-radius: 999px !important;
    border: 1px solid rgba(246, 201, 91, 0.16) !important;
    background: rgba(255, 255, 255, 0.045) !important;
    color: rgba(245, 239, 228, 0.78) !important;
    font-weight: 800;
}

.ranking-tab:hover,
.ranking-tab.active {
    background: linear-gradient(135deg, #a93422 0%, #ff753d 48%, #ffd36b 100%) !important;
    color: #150b05 !important;
}

.top-three-wrapper {
    gap: 1rem !important;
    padding: 1.25rem !important;
}

.top-player {
    border: 1px solid rgba(246, 201, 91, 0.16) !important;
    border-radius: 18px !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.028)),
        rgba(10, 11, 9, 0.78) !important;
}

.top-player.gold {
    border-color: rgba(246, 201, 91, 0.34) !important;
}

.top-avatar,
.char-avatar,
.profile-avatar {
    background: linear-gradient(135deg, #a93422 0%, #ff753d 45%, #ffd36b 100%) !important;
    color: #150b05 !important;
}

.ranking-header {
    background: linear-gradient(135deg, #a93422 0%, #ff753d 48%, #ffd36b 100%) !important;
    color: #150b05 !important;
}

.ranking-row {
    border-top: 1px solid rgba(255, 255, 255, 0.075) !important;
}

.ranking-row:hover {
    background: rgba(246, 201, 91, 0.065) !important;
}

.rank-normal,
.value-column,
.vip-badge,
.top-player strong {
    color: #ffd872 !important;
}

.premium-account-page .account-grid,
.account-grid {
    gap: 1rem !important;
}

.account-card {
    padding: 1.5rem !important;
}

.account-card::before {
    background: linear-gradient(90deg, #a93422, #ff753d, #ffd36b) !important;
}

.profile-card h2 {
    color: #fff3d5 !important;
}

.profile-email,
.info-item span {
    color: rgba(245, 239, 228, 0.6) !important;
}

.info-item {
    border-bottom-color: rgba(255, 255, 255, 0.075) !important;
}

.info-item strong {
    color: #fff7df !important;
}

.status-badge {
    background: rgba(75, 212, 160, 0.12) !important;
    color: #4bd4a0 !important;
}

.action-btn {
    height: 122px !important;
}

.action-btn i {
    color: #ffd872 !important;
}

.logout-btn i {
    color: #ff7a6b !important;
}

.password-modal {
    background: rgba(0, 0, 0, 0.74) !important;
    backdrop-filter: blur(8px) !important;
}

.footer {
    border-top: 1px solid rgba(246, 201, 91, 0.14) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
        #060706 !important;
}

.footer-content {
    grid-template-columns: 2fr 1fr 1fr !important;
}

.footer-column h6 {
    color: #ffd872 !important;
}

.footer-column a {
    color: rgba(245, 239, 228, 0.72) !important;
}

.footer-column a:hover {
    color: #fff2bf !important;
}

.success-popup {
    background: rgba(0, 0, 0, 0.78) !important;
    backdrop-filter: blur(10px) !important;
}

.success-box {
    border: 1px solid rgba(246, 201, 91, 0.18) !important;
    border-radius: 22px !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.028)),
        rgba(10, 11, 9, 0.92) !important;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5) !important;
}

.success-icon {
    color: #4bd4a0 !important;
}

.success-box h2 {
    color: #fff3d5 !important;
}

.success-box p {
    color: rgba(245, 239, 228, 0.7) !important;
}

.success-box button {
    border-radius: 999px !important;
    background: linear-gradient(135deg, #a93422 0%, #ff753d 44%, #ffd36b 100%) !important;
    color: #150b05 !important;
    font-weight: 900 !important;
}

@media (max-width: 1200px) {
    .premium-navbar .server-status-wrapper {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .premium-navbar .navbar-collapse {
        border: 1px solid rgba(246, 201, 91, 0.14) !important;
        border-radius: 18px;
        background: rgba(6, 7, 6, 0.96) !important;
    }

    .premium-navbar .btn-login,
    .premium-navbar .nav-account-link {
        width: 100% !important;
        justify-content: center;
        margin: 0.8rem 0 0 !important;
    }
}

@media (max-width: 768px) {
    .download-grid-modern,
    .top-three-wrapper,
    .footer-content {
        grid-template-columns: 1fr !important;
    }

    .ranking-row {
        padding: 1rem !important;
    }
}

/* ============================================
   FocusConquer violet and brown premium theme
   ============================================ */

:root {
    --fc-brown-950: #0c0705;
    --fc-brown-900: #150c08;
    --fc-brown-800: #21130d;
    --fc-brown-700: #3b2418;
    --fc-violet-900: #22113b;
    --fc-violet-800: #351a5d;
    --fc-violet-700: #55238a;
    --fc-violet-500: #8f55ff;
    --fc-violet-300: #c6a4ff;
    --fc-bronze: #c98742;
    --fc-gold-soft: #f0c879;
    --fc-cream: #fff0d6;
    --primary-gold: var(--fc-gold-soft);
    --accent-fire: var(--fc-bronze);
    --dark-bg: var(--fc-brown-950);
    --dark-brown: var(--fc-brown-900);
    --panel: rgba(24, 13, 10, 0.84);
    --line: rgba(143, 85, 255, 0.26);
    --line-soft: rgba(240, 200, 121, 0.12);
    --gradient-gold: linear-gradient(135deg, #5b321f 0%, #8f55ff 48%, #f0c879 100%);
}

body.modern-body,
.premium-home {
    background:
        radial-gradient(circle at 12% 4%, rgba(143, 85, 255, 0.18), transparent 28rem),
        radial-gradient(circle at 88% 10%, rgba(201, 135, 66, 0.16), transparent 30rem),
        linear-gradient(180deg, var(--fc-brown-950) 0%, var(--fc-brown-900) 42%, #080504 100%) !important;
}

body::before {
    background-image:
        linear-gradient(rgba(198, 164, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(240, 200, 121, 0.024) 1px, transparent 1px) !important;
}

.premium-navbar.navbar,
.navbar {
    border-bottom-color: rgba(143, 85, 255, 0.26) !important;
    background:
        linear-gradient(180deg, rgba(143, 85, 255, 0.12), rgba(255, 255, 255, 0.025)),
        rgba(12, 7, 5, 0.86) !important;
    box-shadow: 0 22px 70px rgba(20, 8, 35, 0.48) !important;
}

.premium-navbar .nav-link:hover,
.premium-navbar .nav-link.active,
.nav-link:hover,
.nav-link.active {
    border-color: rgba(143, 85, 255, 0.42) !important;
    background: rgba(143, 85, 255, 0.14) !important;
    color: var(--fc-cream) !important;
}

.premium-navbar .btn-login,
.premium-navbar .nav-account-link,
.premium-hero__button--primary,
.btn-submit,
.save-password-btn,
.premium-cta,
.ranking-tab:hover,
.ranking-tab.active,
.success-box button {
    border-color: rgba(240, 200, 121, 0.5) !important;
    background:
        linear-gradient(135deg, var(--fc-brown-700) 0%, var(--fc-violet-700) 48%, var(--fc-bronze) 100%) !important;
    color: var(--fc-cream) !important;
    box-shadow: 0 20px 58px rgba(85, 35, 138, 0.28) !important;
}

.premium-navbar .btn-login:hover,
.premium-hero__button--primary:hover,
.btn-submit:hover,
.save-password-btn:hover,
.premium-cta:hover,
.success-box button:hover {
    color: #fff8ea !important;
    box-shadow: 0 28px 84px rgba(143, 85, 255, 0.34) !important;
}

.premium-hero__button--secondary,
.premium-cta--ghost,
.panel-link,
.premium-command__link,
.premium-pack-card a,
.download-card__cta {
    border-color: rgba(143, 85, 255, 0.32) !important;
    background: rgba(143, 85, 255, 0.12) !important;
    color: #eadcff !important;
}

.premium-hero__button--secondary:hover,
.premium-cta--ghost:hover,
.panel-link:hover,
.premium-command__link:hover,
.premium-pack-card a:hover,
.download-card__cta:hover {
    background: rgba(143, 85, 255, 0.2) !important;
    color: var(--fc-cream) !important;
}

.premium-home .premium-hero,
.premium-home .premium-hero,
.hero-section {
    background:
        linear-gradient(90deg, rgba(12, 7, 5, 0.96) 0%, rgba(21, 12, 8, 0.8) 48%, rgba(34, 17, 59, 0.58) 100%),
        radial-gradient(circle at 72% 36%, rgba(143, 85, 255, 0.24), transparent 28rem),
        radial-gradient(circle at 20% 24%, rgba(201, 135, 66, 0.16), transparent 24rem),
        url("../hero-bg.svg") center/cover,
        var(--fc-brown-950) !important;
}

.premium-home .premium-hero::before,
.hero-section::before {
    background:
        repeating-linear-gradient(116deg, rgba(198, 164, 255, 0.04) 0 1px, transparent 1px 92px),
        linear-gradient(180deg, rgba(12, 7, 5, 0), var(--fc-brown-950) 94%) !important;
}

.premium-hero__title,
.premium-subpage .page-header h1,
.page-header h1,
.premium-section__heading h2,
.premium-warfront__copy h2,
.premium-final__inner h2,
.section-title,
.news-section-title {
    color: var(--fc-cream) !important;
    text-shadow:
        0 22px 56px rgba(0, 0, 0, 0.66),
        0 0 34px rgba(143, 85, 255, 0.16) !important;
}

.premium-hero__eyebrow span,
.hero-eyebrow span,
.premium-section__heading span,
.premium-warfront__copy > span,
.premium-pack-card > span,
.premium-final__inner span,
.panel-label,
.premium-command__top span {
    border-color: rgba(143, 85, 255, 0.28) !important;
    color: var(--fc-violet-300) !important;
}

.premium-hero__eyebrow span:last-child,
.hero-eyebrow span:first-child {
    border-color: rgba(201, 135, 66, 0.32) !important;
    background: rgba(201, 135, 66, 0.12) !important;
    color: #ffd9af !important;
}

.premium-hero__text,
.premium-subpage .page-header p,
.page-header p,
.premium-feature-card p,
.premium-warfront__copy p,
.premium-news-card p,
.form-links,
.profile-email,
.info-item span,
.download-card__content p {
    color: rgba(255, 240, 214, 0.72) !important;
}

.premium-command,
.premium-strip__grid,
.premium-feature-card,
.premium-warfront__media,
.premium-news-card,
.premium-pack-card,
.premium-final__inner,
.form-container,
.download-card,
.download-extra__card,
.ranking-wrapper,
.account-card,
.password-modal-box,
.success-box,
.top-player {
    border-color: rgba(143, 85, 255, 0.22) !important;
    background:
        linear-gradient(180deg, rgba(143, 85, 255, 0.11), rgba(255, 255, 255, 0.028)),
        rgba(24, 13, 10, 0.86) !important;
    box-shadow:
        0 28px 88px rgba(0, 0, 0, 0.46),
        inset 0 1px 0 rgba(240, 200, 121, 0.05) !important;
}

.premium-command__emblem,
.elegant-panel-logo,
.download-card__icon {
    border-color: rgba(143, 85, 255, 0.22) !important;
    background:
        radial-gradient(circle, rgba(143, 85, 255, 0.18), transparent 58%),
        linear-gradient(135deg, rgba(201, 135, 66, 0.1), rgba(255, 255, 255, 0.03)) !important;
}

.premium-feature-card h3,
.premium-pack-card h3,
.premium-news-card strong,
.download-card__content h3,
.download-extra__card h3,
.account-card h3,
.card-header h3,
.footer-column h6,
.news-title,
.pack-card h5 {
    color: #f3d39b !important;
}

.premium-hero__proof strong,
.premium-command__list i,
.elegant-stats strong,
.rank-normal,
.value-column,
.vip-badge,
.top-player strong,
.action-btn i {
    color: var(--fc-violet-300) !important;
}

.premium-hero__proof div,
.premium-command__list > div,
.elegant-stats div,
.war-stat,
.help-links a,
.action-btn,
.form-control {
    border-color: rgba(143, 85, 255, 0.18) !important;
    background: rgba(34, 17, 59, 0.18) !important;
}

.form-control:focus {
    border-color: rgba(198, 164, 255, 0.72) !important;
    box-shadow: 0 0 0 4px rgba(143, 85, 255, 0.14) !important;
}

.ranking-header,
.top-avatar,
.char-avatar,
.profile-avatar,
.account-card::before {
    background:
        linear-gradient(135deg, var(--fc-brown-700) 0%, var(--fc-violet-700) 48%, var(--fc-bronze) 100%) !important;
    color: var(--fc-cream) !important;
}

.top-player.gold,
.premium-pack-card--featured {
    border-color: rgba(240, 200, 121, 0.34) !important;
    box-shadow:
        0 32px 96px rgba(0, 0, 0, 0.5),
        0 0 42px rgba(143, 85, 255, 0.16) !important;
}

.page-header,
.premium-subpage .page-header {
    background:
        linear-gradient(180deg, rgba(12, 7, 5, 0.28), rgba(12, 7, 5, 0.94)),
        linear-gradient(115deg, rgba(143, 85, 255, 0.18), transparent 42%, rgba(201, 135, 66, 0.12)),
        url("../hero-bg.svg") center/cover !important;
}

.page-content,
.premium-subpage .page-content {
    background:
        radial-gradient(circle at 18% 8%, rgba(143, 85, 255, 0.11), transparent 24rem),
        radial-gradient(circle at 82% 22%, rgba(201, 135, 66, 0.09), transparent 24rem),
        var(--fc-brown-950) !important;
}

.footer {
    border-top-color: rgba(143, 85, 255, 0.2) !important;
    background:
        linear-gradient(180deg, rgba(143, 85, 255, 0.08), rgba(255, 255, 255, 0)),
        var(--fc-brown-950) !important;
}

.footer-column a,
.footer-brand p {
    color: rgba(255, 240, 214, 0.66) !important;
}

.footer-column a:hover {
    color: var(--fc-violet-300) !important;
}

.status-badge,
.status-indicator.online {
    background: rgba(143, 85, 255, 0.16) !important;
    color: var(--fc-violet-300) !important;
    box-shadow: 0 0 18px rgba(143, 85, 255, 0.36) !important;
}

.class-column {
    color: var(--fc-violet-300) !important;
}

.guild-column,
.char-info span,
.top-player span {
    color: rgba(255, 240, 214, 0.58) !important;
}
