:root {
    --primary-color: #FFD700;
    /* Gold */
    --primary-glow: rgba(255, 215, 0, 0.3);
    --secondary-color: #00d4ff;
    /* Cyan/Blue accent */
    --secondary-glow: rgba(0, 212, 255, 0.2);
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --bg-light: #252525;
    --text-light: #f5f5f5;
    --text-dim: #999;
    --font-heading: 'Exo 2', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --spacing-unit: 1rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.section-desc {
    color: var(--text-dim);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation - Vertical Left Sidebar */
.navbar {
    position: fixed;
    top: 0;
    padding: 0;
    left: 0;
    height: 100vh;
    width: 100px;
    background: rgba(10, 10, 10, 0.95);
    justify-content: center;
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transition: width 0.3s ease, background 0.3s ease;
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.navbar:hover {
    width: 250px;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5);
    background: rgba(10, 10, 10, 0.98);
}

.navbar .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    max-width: 100%;
}

.navbar:hover .container {
    align-items: flex-start;
    padding: 0 1rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: all 0.3s ease;
    margin-bottom: 3rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logo i {
    font-size: 2rem;
}

.navbar:hover .logo {
    font-size: 2rem;
}

.logo:hover {
    text-shadow: 0 0 20px var(--primary-glow);
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1;
}

.navbar:hover .nav-links {
    align-items: flex-start;
    margin-left: 0;
}

.nav-links li {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.navbar:hover .nav-links li {
    justify-content: flex-start;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-light);
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 0.5rem;
}

.navbar:hover .nav-links a {
    justify-content: flex-start;
    width: 100%;
}

.nav-links a .nav-icon {
    font-size: 1.5rem;
    min-width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar:hover .nav-links a .nav-icon {
    min-width: 40px;
    justify-content: flex-start;
}

.nav-links a .nav-text {
    display: none;
    margin-left: 1rem;
    white-space: nowrap;
    text-align: center;
}

.navbar:hover .nav-links a .nav-text {
    display: inline;
    text-align: left;
}

.nav-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 0;
    width: 3px;
    background: var(--primary-color);
    transition: height 0.3s ease;
}

.nav-links a:hover::before {
    height: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-nav {
    border: 2px solid var(--primary-color);
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    align-self: center;
}

.navbar:hover .btn-nav {
    padding: 0.7rem 1.5rem;
    align-self: flex-start;
    border-radius: 25px;
    width: auto;
    height: auto;
}

.btn-nav .nav-icon {
    font-size: 1.5rem;
}

.navbar:hover .btn-nav .nav-icon {
    font-size: 1.2rem;
}

.btn-nav .nav-text {
    display: none;
    margin-left: 0.5rem;
}

.navbar:hover .btn-nav .nav-text {
    display: inline;
}

/* ============================================
   LANGUAGE SELECTOR
   ============================================ */

#languageSelector {
    position: relative;
}

.language-btn {
    background: transparent;
    border: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 700;
    position: relative;
}

.navbar:hover .language-btn {
    justify-content: flex-start;
}

.language-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 0;
    width: 3px;
    background: var(--primary-color);
    transition: height 0.3s ease;
}

.navbar:hover .language-btn:hover::before {
    height: 100%;
}

.language-btn:hover {
    color: var(--primary-color);
}

.language-btn .nav-icon {
    font-size: 1.5rem;
    min-width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar:hover .language-btn .nav-icon {
    min-width: 40px;
    justify-content: flex-start;
}

.language-btn .nav-text {
    display: none;
    margin-left: 1rem;
    white-space: nowrap;
}

.navbar:hover .language-btn .nav-text {
    display: inline;
}

.language-name {
    display: inline;
}

.language-list {
    position: fixed;
    top: 50%;
    left: calc(80px + 1rem);
    transform: translateY(-50%);
    background: rgba(20, 20, 30, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    min-width: 150px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.navbar:hover .language-list {
    left: calc(250px + 1rem);
}

@media (max-width: 768px) {
    .language-list {
        position: fixed;
        top: auto;
        bottom: 70px;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        min-width: 140px;
        font-size: 0.9rem;
    }
    
    .navbar:hover .language-list {
        left: 50%;
        transform: translateX(-50%);
        bottom: 70px;
    }

    .language-list li {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}

.language-list li {
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.language-list li:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-color);
}

.language-list li[aria-selected="true"] {
    background: rgba(255, 215, 0, 0.15);
    color: var(--primary-color);
}

.language-list .flag-icon {
    font-size: 1.2rem;
}

.btn-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-nav:hover::before {
    left: 0;
}

.btn-nav:hover {
    color: var(--bg-dark) !important;
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Adjust body for left navbar */
body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    padding-left: 100px;
}

/* Hero Section - Completely Refactored */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: #000 url('../img/rok_night.png') center center / cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Animated Background Layers */
.hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.layer-1 {
    background: radial-gradient(ellipse at 30% 40%, rgba(255, 215, 0, 0.15) 0%, transparent 50%);
    animation: float 15s ease-in-out infinite;
}

.layer-2 {
    background: radial-gradient(ellipse at 70% 60%, rgba(0, 212, 255, 0.15) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite reverse;
}

.layer-3 {
    background:
        linear-gradient(120deg, transparent 48%, rgba(255, 215, 0, 0.03) 50%, transparent 52%),
        linear-gradient(240deg, transparent 48%, rgba(0, 212, 255, 0.03) 50%, transparent 52%);
    animation: rotate-slow 30s linear infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, 30px) scale(1.1);
    }
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Particle Canvas */
.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Animated Crown */
.hero-crown-container {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: crown-float 6s ease-in-out infinite;
}

@keyframes crown-float {

    0%,
    100% {
        transform: translate(-50%, 0) rotate(0deg);
    }

    50% {
        transform: translate(-50%, -20px) rotate(5deg);
    }
}

.hero-crown-icon {
    font-size: 4rem;
    color: var(--primary-color);
    filter: drop-shadow(0 0 30px var(--primary-glow));
    animation: crown-pulse 3s ease-in-out infinite;
}

@keyframes crown-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.crown-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    animation: rays-rotate 8s linear infinite;
}

@keyframes rays-rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Content Container */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
}

/* Top Badge Enhanced */
.hero-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 3rem;
    padding: 12px 30px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 50px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.3),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.badge-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

.badge-separator {
    width: 2px;
    height: 16px;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
}

/* Title with Letter Animation */
.hero-title {
    font-size: 5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    line-height: 1;
}

.title-word {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.letter {
    display: inline-block;
    font-size: 4rem;
    color: #fff;
    animation: letter-wave 2s ease-in-out infinite;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3);
}

.letter:nth-child(1) {
    animation-delay: 0s;
}

.letter:nth-child(2) {
    animation-delay: 0.1s;
}

.letter:nth-child(3) {
    animation-delay: 0.2s;
}

.letter:nth-child(4) {
    animation-delay: 0.3s;
}

.letter:nth-child(5) {
    animation-delay: 0.4s;
}

.letter:nth-child(6) {
    animation-delay: 0.5s;
}

.letter:nth-child(7) {
    animation-delay: 0.6s;
}

@keyframes letter-wave {

    0%,
    100% {
        transform: translateY(0) rotateX(0deg);
    }

    50% {
        transform: translateY(-10px) rotateX(10deg);
    }
}

.title-number {
    position: relative;
    display: inline-block;
}

.number-glow,
.number-overlay {
    font-size: 7rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FFD700, #FFA500, #FF8C00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.number-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(20px);
    opacity: 0.8;
    animation: glow-pulse 2s ease-in-out infinite;
}

.number-overlay {
    position: relative;
    animation: number-scale 3s ease-in-out infinite;
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.6;
        filter: blur(20px);
    }

    50% {
        opacity: 1;
        filter: blur(30px);
    }
}

@keyframes number-scale {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Subtitle Enhanced - Now Achievement Badge */
.hero-subtitle-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 1rem 3rem;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 188, 212, 0.05));
    border: 2px solid rgba(0, 212, 255, 0.5);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.hero-subtitle-badge .badge-glow-left,
.hero-subtitle-badge .badge-glow-right {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    opacity: 0.5;
    animation: banner-glow 3s ease-in-out infinite;
}

.hero-subtitle-badge .badge-glow-left {
    left: 0;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.4), transparent);
}

.hero-subtitle-badge .badge-glow-right {
    right: 0;
    background: linear-gradient(270deg, rgba(0, 212, 255, 0.4), transparent);
    animation-delay: 1.5s;
}

.hero-subtitle-badge .badge-content {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.hero-subtitle-badge .badge-dot {
    font-size: 0.8rem;
}

.hero-subtitle-badge .badge-text.gradient {
    background: linear-gradient(135deg, #00d4ff, #00ffb3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stats Grid Enhanced */
.hero-stats-wrapper {
    margin-bottom: 3rem;
}

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

.stat-card {
    position: relative;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.stat-gold {
    border-color: rgba(255, 215, 0, 0.5);
}

.stat-gold:hover {
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
}

.stat-star {
    border-color: var(--primary-color);
    background: rgba(255, 215, 0, 0.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.stat-star:hover {
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.4);
}

.stat-fire {
    border-color: rgba(255, 69, 0, 0.5);
}

.stat-fire:hover {
    border-color: #ff4500;
    box-shadow: 0 20px 60px rgba(255, 69, 0, 0.3);
}

.stat-bg-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: rotate 10s linear infinite;
    pointer-events: none;
}

.stat-icon-wrap {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.stat-icon-wrap.pulse {
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
    text-shadow: 0 0 10px var(--primary-glow);
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
}

/* Corner Decorations */
.stat-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--primary-color);
}

.stat-corner.tl {
    top: -2px;
    left: -2px;
    border-top: 2px solid;
    border-left: 2px solid;
}

.stat-corner.tr {
    top: -2px;
    right: -2px;
    border-top: 2px solid;
    border-right: 2px solid;
}

.stat-corner.bl {
    bottom: -2px;
    left: -2px;
    border-bottom: 2px solid;
    border-left: 2px solid;
}

.stat-corner.br {
    bottom: -2px;
    right: -2px;
    border-bottom: 2px solid;
    border-right: 2px solid;
}

/* Mobile Stats Strip */
.hero-stats-mobile {
    display: none;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.stat-pill {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 1.1rem;
    border-radius: 50px;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--primary-color);
}

.stat-pill-star {
    background: rgba(255, 215, 0, 0.06);
    border-left-color: var(--primary-color);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.15);
}

.stat-pill-fire {
    border-left-color: #ff4500;
}

.stat-pill > i {
    font-size: 1.1rem;
    color: var(--primary-color);
    flex-shrink: 0;
    width: 1.2rem;
    text-align: center;
}

.stat-pill-fire > i {
    color: #ff6535;
}

.stat-pill-text {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.stat-pill-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
    text-shadow: 0 0 8px var(--primary-glow);
    white-space: nowrap;
}

.stat-pill-fire .stat-pill-value {
    color: #ff6535;
    text-shadow: 0 0 8px rgba(255, 69, 0, 0.4);
}

.stat-pill-sep {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.8rem;
}

.stat-pill-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
}

/* Migration Notice */
.migration-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.migration-notice i {
    font-size: 1.3rem;
    animation: migration-pulse 2s ease-in-out infinite;
}

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

/* Achievement Banner */
.achievement-banner {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 1rem 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 188, 212, 0.05));
    border: 2px solid rgba(0, 212, 255, 0.5);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.banner-glow-left,
.banner-glow-right {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    opacity: 0.5;
    animation: banner-glow 3s ease-in-out infinite;
}

.banner-glow-left {
    left: 0;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.4), transparent);
}

.banner-glow-right {
    right: 0;
    background: linear-gradient(270deg, rgba(0, 212, 255, 0.4), transparent);
    animation-delay: 1.5s;
}

@keyframes banner-glow {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.banner-dot {
    font-size: 0.8rem;
}

.banner-text.gradient {
    background: linear-gradient(135deg, #00d4ff, #00ffb3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* CTA Button Enhanced */
.hero-cta {
    margin-top: 2rem;
}

.btn-hero {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 1.5rem 4rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    transition: all 0.4s ease;
}

.btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), #ffa500);
    z-index: 1;
    transition: transform 0.4s ease;
}

.btn-hero:hover .btn-bg {
    transform: scale(1.1);
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #000;
}

.btn-icon {
    transition: transform 0.4s ease;
}

.btn-hero:hover .btn-icon {
    transform: translateX(10px);
}

.btn-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.6s, height 0.6s;
    z-index: 1;
}

.btn-hero:hover::after {
    width: 300px;
    height: 300px;
}

.btn-hero:hover {
    box-shadow:
        0 0 40px var(--primary-glow),
        0 10px 50px rgba(255, 215, 0, 0.4);
    transform: translateY(-5px);
}

/* Scroll Indicator Enhanced */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 3;
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 15px);
    }
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel-scroll 2s infinite;
}

@keyframes wheel-scroll {
    0% {
        top: 10px;
        opacity: 1;
    }

    100% {
        top: 30px;
        opacity: 0;
    }
}

.scroll-arrow {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
}

/* Achievements Section - Solid Color Inter-section */
.achievements-section {
    background: rgba(10, 10, 10, 0.95);
    ;
    padding: 50px 0;
}

.youngest-kingdom-badge {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.youngest-kingdom-badge h2 {
    font-size: 2.2rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    text-shadow: 0 0 30px var(--primary-glow);
}

.achievements-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ff8c00;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.achievement-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 1.5rem;
    min-height: 150px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.achievement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    transition: width 0.4s ease;
}

.achievement-item:hover::before {
    width: 100%;
}

/* Individual stat colors */
.achievement-item.stat-kp h3 {
    color: #ff69b4;
}

.achievement-item.stat-kp::before {
    background: linear-gradient(90deg, transparent, #ff69b4, transparent);
}

.achievement-item.stat-kp:hover {
    border-color: #ff69b4;
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.3);
}

.achievement-item.stat-t4 h3 {
    color: #9370db;
}

.achievement-item.stat-t4::before {
    background: linear-gradient(90deg, transparent, #9370db, transparent);
}

.achievement-item.stat-t4:hover {
    border-color: #9370db;
    box-shadow: 0 20px 40px rgba(147, 112, 219, 0.3);
}

.achievement-item.stat-t5 h3 {
    color: #ffd700;
}

.achievement-item.stat-t5::before {
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
}

.achievement-item.stat-t5:hover {
    border-color: #ffd700;
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
}

.achievement-item.stat-deads h3 {
    color: #ff4444;
}

.achievement-item.stat-deads::before {
    background: linear-gradient(90deg, transparent, #ff4444, transparent);
}

.achievement-item.stat-deads:hover {
    border-color: #ff4444;
    box-shadow: 0 20px 40px rgba(255, 68, 68, 0.3);
}

.achievement-item:hover {
    transform: translateY(-10px);
}

.achievement-item h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.achievement-item p {
    color: var(--text-dim);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* KvK Ranking Image */
@keyframes rankingGlowPulse {
    0%   { box-shadow: 0 0 12px rgba(255, 215, 0, 0.15), 0 0 0px rgba(255, 215, 0, 0); border-color: rgba(255, 215, 0, 0.15); }
    50%  { box-shadow: 0 0 32px rgba(255, 215, 0, 0.45), 0 0 60px rgba(255, 215, 0, 0.15); border-color: rgba(255, 215, 0, 0.55); }
    100% { box-shadow: 0 0 12px rgba(255, 215, 0, 0.15), 0 0 0px rgba(255, 215, 0, 0); border-color: rgba(255, 215, 0, 0.15); }
}

.kvk-ranking-img-link {
    display: block;
    max-width: 900px;
    margin: 2rem auto 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.15);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    animation: rankingGlowPulse 3s ease-in-out infinite;
}

.kvk-ranking-img-link:hover {
    border-color: rgba(255, 215, 0, 0.7);
    box-shadow: 0 8px 40px rgba(255, 215, 0, 0.35);
    transform: translateY(-3px);
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .kvk-ranking-img-link {
        animation: none;
    }
}

.kvk-ranking-img {
    width: 100%;
    height: auto;
    display: block;
}

/* KvK Dashboard Link Card */
.kvk-dashboard {
    margin: 2.5rem auto 0;
    max-width: 540px;
}

.kvk-dashboard-link {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 215, 0, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.25);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.kvk-dashboard-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.kvk-dashboard-link:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 40px rgba(255, 215, 0, 0.25);
    transform: translateY(-3px);
    color: var(--text-light);
    text-decoration: none;
}

.kvk-dashboard-link:hover::before {
    opacity: 1;
}

.kvk-dashboard-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: background 0.3s ease;
}

.kvk-dashboard-link:hover .kvk-dashboard-icon {
    background: rgba(255, 215, 0, 0.25);
}

.kvk-dashboard-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.kvk-dashboard-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.kvk-dashboard-sub {
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 0.3px;
}

.kvk-dashboard-arrow {
    flex-shrink: 0;
    font-size: 1rem;
    color: var(--text-dim);
    transition: color 0.3s ease, transform 0.3s ease;
}

.kvk-dashboard-link:hover .kvk-dashboard-arrow {
    color: var(--primary-color);
    transform: translate(3px, -3px);
}

/* Map Container with Camp Cards */
.map-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 60px auto;
    padding: 20px;
}

.map-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.camp-card {
    position: absolute;
    border-radius: 10px;
    padding: 12px;
    min-width: 180px;
    max-width: 220px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
    background: transparent;
    z-index: 1;
}

/* Expanded state only has background */
.camp-card:not(.collapsed) {
    border: 2px solid white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    cursor: default;
    z-index: 10;
}

/* Force all SVG icons to be white */
.camp-card .camp-icon,
.camp-card .camp-icon path,
.camp-card .camp-icon circle {
    fill: white !important;
    color: white !important;
}

.camp-card.collapsed {
    min-width: 60px;
    max-width: 60px;
    padding: 10px;
    border-radius: 50%;
    background: transparent;
    border: none;
    box-shadow: none;
}

.camp-card.collapsed .camp-stats,
.camp-card.collapsed .camp-totals,
.camp-card.collapsed .camp-header h3 {
    display: none;
    opacity: 0;
}

.camp-card.collapsed .close-btn {
    display: none;
}

.camp-card .camp-stats,
.camp-card .camp-totals,
.camp-card .camp-header h3 {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Close button for expanded cards */
.close-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
    padding: 0;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg) scale(1.1);
}

.close-btn:active {
    transform: rotate(90deg) scale(0.95);
}

.camp-card.collapsed .camp-header {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    justify-content: center;
}

.camp-card.collapsed .camp-icon-wrapper {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    50% {
        transform: scale(1.15);
        box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0);
    }
}

.camp-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
}

.camp-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.camp-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.camp-card.collapsed .camp-icon-wrapper {
    width: 40px;
    height: 40px;
}

.camp-icon {
    width: 24px;
    height: 24px;
    fill: white;
}

.camp-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
    color: white;
}

.camp-stats {
    margin-bottom: 16px;
    max-height: none;
    overflow: visible;
}

.camp-stats-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 5px;
}

.camp-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
    padding: 4px 0;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.camp-stats-row:last-child {
    border-bottom: none;
}

.camp-stats-row.our-kingdom {
    background: rgba(255, 215, 0, 0.2);
    font-weight: 700;
    border-left: 3px solid #FFD700;
    padding-left: 6px;
    margin-left: -6px;
}

.stat-kd {
    font-weight: 700;
}

.stat-power,
.stat-kp {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
}

.camp-totals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 8px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 8px;
}

.total-item {
    text-align: center;
}

.total-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3px;
}

.total-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: white;
}

/* Fire Camp - Top Left */
.fire-camp {
    top: 15%;
    left: 20%;
}

.fire-camp:not(.collapsed) {
    top: 0%;
    left: 18%;
    background: rgb(156, 9, 9);
}

.fire-camp .camp-icon-wrapper {
    background: rgb(156, 9, 9);
    border: 2px solid white;
}

.fire-camp .camp-icon {
    fill: white;
}

.fire-camp:hover {
    box-shadow: 0 12px 40px rgba(220, 53, 69, 0.6);
}

/* Earth Camp - Top Right */
.earth-camp {
    top: 15%;
    right: 20%;
}

.earth-camp:not(.collapsed) {
    top: 0%;
    right: 15%;
    background: rgba(139, 90, 43, 0.95);
}

.earth-camp .camp-icon-wrapper {
    background: rgba(139, 90, 43, 0.95);
    border: 2px solid white;
}

.earth-camp .camp-icon {
    fill: white;
}

.earth-camp:hover {
    box-shadow: 0 12px 40px rgba(139, 90, 43, 0.6);
}

/* Water Camp - Bottom Left */
.water-camp {
    bottom: 25%;
    left: 20%;
}

.water-camp:not(.collapsed) {
    bottom: 10%;
    left: 18%;
    background: rgba(71, 147, 180, 0.95);
}

.water-camp .camp-icon-wrapper {
    background: rgba(71, 147, 180, 0.95);
    border: 2px solid white;
}

.water-camp .camp-icon {
    fill: white;
}

.water-camp:hover {
    box-shadow: 0 12px 40px rgba(91, 192, 235, 0.6);
}

/* Wind Camp - Bottom Right */
.wind-camp {
    bottom: 25%;
    right: 20%;
}

.wind-camp:not(.collapsed) {
    bottom: 10%;
    right: 15%;
    background: rgba(147, 112, 219, 0.95);
}

.wind-camp .camp-icon-wrapper {
    background: rgba(147, 112, 219, 0.95);
    border: 2px solid white;
}

.wind-camp .camp-icon {
    fill: white;
}

.wind-camp:hover {
    box-shadow: 0 12px 40px rgba(147, 112, 219, 0.6);
}

/* Quote Sections */
.quote-section {
    background: rgba(10, 10, 10, 0.95);
    ;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    display: none;
}

.quote-section-alt {
    background: rgba(10, 10, 10, 0.95);
    ;
}

.quote-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.3;
}

.quote-text {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.5rem;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 1rem;
    font-style: italic;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.quote-text::before,
.quote-text::after {
    display: none;
}

.quote-author {
    font-size: 1.2rem;
    color: var(--secondary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

/* Stats Divider Section */
.stats-divider {
    background: rgba(10, 10, 10, 0.95);
    ;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-divider::before {
    display: none;
}

.stats-divider-content {
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stats-divider-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
}

.stats-divider .scroll-indicator {
    position: relative;
    margin: 0rem auto 0 auto;
    bottom: auto;
    left: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: scroll-bounce-simple 2s infinite;
}

@keyframes scroll-bounce-simple {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(15px);
    }
}

.divider-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.divider-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.big-number {
    font-size: 5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--primary-color), #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    text-shadow: 0 0 40px var(--primary-glow);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-title .title-word .letter {
        font-size: 3rem;
    }

    .title-number .number-glow,
    .title-number .number-overlay {
        font-size: 5rem;
    }
}

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

    .hero-title .title-word .letter {
        font-size: 2rem;
        gap: 0.3rem;
    }

    .title-number .number-glow,
    .title-number .number-overlay {
        font-size: 4rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .btn-hero {
        padding: 1.2rem 2.5rem;
        font-size: 0.95rem;
    }

    .water-camp:not(.collapsed) {
        bottom: 5% !important;
        left: 15% !important;
    }

    .wind-camp:not(.collapsed) {
        bottom: 5% !important;
        right: 13% !important;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #ffa500);
    color: var(--bg-dark);
    box-shadow: 0 0 30px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px var(--primary-glow);
}

/* Requirements */
/* Requirements Section - Refactored */
.requirements-section {
    background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.75)),
        url('../img/join_the_elite.jpg') center center / cover no-repeat;
    position: relative;
}

.requirements-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    padding: 8px 20px;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.section-title .section-badge {
    display: block;
    width: fit-content;
    margin: 0 auto 1rem;
    font-size: 0.75rem;
    padding: 6px 16px;
}

.req-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 1;
}

.req-card {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.req-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.req-card:hover .req-glow {
    opacity: 1;
}

.req-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.req-card.new-blood {
    border-color: rgba(0, 212, 255, 0.3);
}

.req-card.new-blood:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
    transform: translateY(-10px) scale(1.02);
}

.req-card.new-blood .req-glow {
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
}

.req-card.veteran {
    border-color: rgba(255, 215, 0, 0.3);
}

.req-card.veteran:hover {
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
    transform: translateY(-10px) scale(1.02);
}

.req-card.veteran .req-glow {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
}

.req-badge {
    display: inline-block;
    background: rgba(0, 212, 255, 0.15);
    color: var(--secondary-color);
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.req-card.veteran .req-badge {
    background: rgba(255, 215, 0, 0.15);
    color: var(--primary-color);
    border-color: rgba(255, 215, 0, 0.3);
}

.req-icon-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
}

.icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-icon 3s ease-in-out infinite;
}

.req-card.veteran .icon-bg {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
}

@keyframes pulse-icon {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

.req-icon {
    position: relative;
    font-size: 3.5rem;
    color: var(--secondary-color);
    filter: drop-shadow(0 0 10px var(--secondary-glow));
}

.req-card.veteran .req-icon {
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.req-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.req-sub {
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.req-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    margin: 1.5rem auto;
}

.req-card.veteran .req-divider {
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.req-value {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.req-value-split {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.req-value-split .req-line {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

.req-card.veteran .req-value {
    color: var(--primary-color);
}

.kp-label {
    font-size: 1.5rem;
    opacity: 0.8;
}

.req-detail {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.req-footer {
    text-align: center;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.req-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 50px;
    padding: 1rem 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.req-note i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.req-note.migration-info {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    animation: migration-glow 2s ease-in-out infinite;
}

.req-card.highlight .req-icon {
    color: var(--primary-color);
}

.req-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.req-sub {
    color: var(--text-dim);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.req-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.req-card.highlight .req-value {
    color: var(--primary-color);
}

.req-value span {
    font-size: 1.2rem;
    opacity: 0.7;
}

.req-detail {
    color: var(--text-dim);
    font-size: 0.9rem;
    font-style: italic;
}

/* Features */
/* Features Section */
.features-section {
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25)),
        url('../img/what_sets_us_apart.png') center center / cover no-repeat;
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.05));
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.feature-icon-wrapper i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-item h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-item p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Team Section */
.team-section {
    position: relative;
    background: url('../img/tavern.png') no-repeat center center/cover;
    background-attachment: fixed;
    padding: 120px 0;
}

.team-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 30, 35, 0.75);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.team-section .container {
    position: relative;
    z-index: 2;
}

.team-section .section-title {
    color: #fff;
    text-shadow: 0 0 20px var(--primary-glow);
}

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

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    /* Team grid adjustments */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hero title adjustments */
    .hero-title {
        font-size: 3rem !important;
    }

    .title-line.highlight {
        font-size: 4rem !important;
    }

    /* Adjust body padding for smaller navbar */
    body {
        padding-left: 70px;
    }

    .navbar {
        width: 70px;
        padding: 1.5rem 0;
    }

    .navbar:hover {
        width: 200px;
    }

    .logo i {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 1.2rem;
    }

    .nav-links a .nav-icon,
    .language-btn .nav-icon {
        font-size: 1.1rem !important;
        min-width: 30px;
    }

    .navbar:hover .nav-links a .nav-icon,
    .navbar:hover .language-btn .nav-icon {
        font-size: 1.1rem !important;
    }

    .btn-nav {
        width: 40px;
        height: 40px;
    }

    .language-btn {
        padding: 0.4rem;
    }

    /* Hero adjustments for tablet */
    .hero {
        padding: 100px 20px 60px 20px !important;
        min-height: 100vh;
    }

    .hero-crown-container {
        top: 15% !important;
    }

    /* Keep stats grid in 3 columns on tablet */
    .stats-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem;
        max-width: 100%;
    }

    .stat-card {
        padding: 1.2rem 0.8rem !important;
    }

    .stat-icon-wrap {
        font-size: 1.8rem !important;
        margin-bottom: 0.6rem;
    }

    .stat-value {
        font-size: 1.1rem !important;
    }

    .stat-label {
        font-size: 0.7rem !important;
        letter-spacing: 1px;
    }

    /* Recruitment cards - reduce height */
    .req-card {
        padding: 2rem 1.5rem 1.5rem !important;
        min-height: auto !important;
    }

    .req-icon-container {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 1rem;
    }

    .req-icon {
        font-size: 2rem !important;
    }

    .req-card h3 {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem;
    }

    .req-sub {
        font-size: 0.85rem !important;
        margin-bottom: 1rem;
    }

    .req-value {
        font-size: 2rem !important;
        margin-bottom: 0.5rem;
    }

    .req-detail {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    /* Further reduce navbar for small phones */
    body {
        padding-left: 60px;
    }

    .navbar {
        width: 60px;
        padding: 1rem 0;
    }

    .navbar:hover {
        width: 180px;
    }

    .logo i {
        font-size: 1.3rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a .nav-icon,
    .language-btn .nav-icon {
        font-size: 1rem !important;
    }

    .navbar:hover .nav-links a .nav-icon,
    .navbar:hover .language-btn .nav-icon {
        font-size: 1rem !important;
        min-width: 25px;
    }

    .btn-nav {
        width: 35px;
        height: 35px;
    }

    .language-btn {
        padding: 0.3rem;
    }

    .language-list {
        bottom: 60px;
        min-width: 130px;
        font-size: 0.85rem;
    }

    .navbar:hover .language-list {
        bottom: 60px;
    }

    .language-list li {
        padding: 0.5rem 0.7rem;
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    .language-list .flag-icon {
        font-size: 1rem;
    }

    /* Team grid to single column */
    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Replace stat cards with the compact mobile pill strip */
    .hero-stats-wrapper {
        display: none !important;
    }

    .hero-stats-mobile {
        display: flex;
    }
}

.team-card {
    background: rgba(25, 25, 30, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    overflow: visible;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem 1.5rem;
    position: relative;
    backdrop-filter: blur(10px);
}

.team-card.king {
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(35, 35, 40, 0.95);
    box-shadow: 0 5px 25px rgba(255, 215, 0, 0.2);
}

.team-card.king::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 16px 16px 0 0;
}

.team-card.king::after {
    content: '♔';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), #ffa500);
    color: var(--bg-dark);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.4);
    border: 2px solid rgba(35, 35, 40, 0.95);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 215, 0, 0.4);
}

.profile-img-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 1.2rem;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 50%;
    clip-path: circle(50% at center);
}

.profile-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
}

.team-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
    text-align: center;
    letter-spacing: 0.5px;
}

.team-role {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.1));
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 215, 0, 0.25);
    font-weight: 600;
}

.team-stats {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.2rem;
    margin-top: auto;
}

.t-stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.6rem 0.4rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.t-stat span {
    display: block;
}

.t-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.t-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

/* CTA Section */
/* CTA Section - Refactored */
.cta-section {
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.9)),
        url('../img/ready_to_make_history.jpg') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.cta-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(255, 255, 255, 0.3), transparent);
    background-size: 200% 200%;
    animation: particles-float 20s linear infinite;
    z-index: 1;
}

@keyframes particles-float {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    position: relative;
    animation: icon-rotate 10s linear infinite;
}

.cta-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: rotate-border 3s linear infinite;
}

.cta-icon-wrapper:hover::before {
    opacity: 1;
}

@keyframes icon-rotate {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }
}

@keyframes rotate-border {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cta-icon-wrapper i {
    font-size: 3rem;
    color: var(--primary-color);
    filter: drop-shadow(0 0 20px var(--primary-glow));
}

.cta-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    line-height: 1.1;
}

.cta-line {
    display: block;
    color: #fff;
    font-weight: 400;
}

.cta-line.emphasis {
    color: #ffd700;
    font-size: 5rem;
    font-weight: 700;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
}

.cta-desc {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.cta-stats-mini {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.mini-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mini-stat i {
    font-size: 2rem;
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.mini-stat span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #5865F2, #4752c4);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(88, 101, 242, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s;
}

.discord-btn:hover .btn-shine {
    left: 100%;
}

.discord-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 20px 60px rgba(88, 101, 242, 0.6),
        0 0 40px rgba(88, 101, 242, 0.4);
}

.discord-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.discord-btn:hover .discord-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(360deg);
}

.discord-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.discord-label {
    font-size: 1.1rem;
    font-weight: 700;
}

.discord-sublabel {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 400;
}

.discord-arrow {
    font-size: 1rem;
    transition: var(--transition);
}

.discord-btn:hover .discord-arrow {
    transform: translateX(5px);
}

/* Footer */
footer {
    background: #000;
    padding: 2.5rem 0;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
    border-top: 1px solid #1a1a1a;
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-credit i {
    color: #ff4757;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1);
    }
}

.footer-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #ffa500;
    text-shadow: 0 0 10px var(--primary-glow);
}

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

/* Additional Responsive Styles */
@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }
}

@media (max-width: 1024px) {

    /* Hero adjustments for laptop/tablet */
    .hero {
        padding: 100px 20px 60px 20px !important;
        min-height: 100vh;
    }

    .hero-crown-container {
        top: 15% !important;
    }

    .hero-title .title-word .letter {
        font-size: 3rem;
    }

    .title-number .number-glow,
    .title-number .number-overlay {
        font-size: 5rem;
    }

    /* Keep stats grid in 3 columns on laptop/tablet */
    .stats-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.5rem;
    }

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

    .stat-icon-wrap {
        font-size: 2rem !important;
        margin-bottom: 0.8rem;
    }

    .stat-value {
        font-size: 1.3rem !important;
    }

    .stat-label {
        font-size: 0.75rem !important;
    }

    /* Recruitment cards - reduce height */
    .req-card {
        padding: 2rem 1.5rem 1.5rem !important;
        min-height: auto !important;
    }

    .req-icon-container {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 1rem;
    }

    .req-icon {
        font-size: 2rem !important;
    }

    .req-card h3 {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem;
    }

    .req-sub {
        font-size: 0.85rem !important;
        margin-bottom: 1rem;
    }

    .req-value {
        font-size: 2rem !important;
        margin-bottom: 0.5rem;
    }

    .req-detail {
        font-size: 0.85rem !important;
    }

    .achievement-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .divider-stats {
        gap: 3rem;
    }

    .big-number {
        font-size: 4rem;
    }

    /* Responsive Camp Cards for tablets */
    .camp-card {
        min-width: 160px;
        max-width: 180px;
        padding: 10px;
    }

    .fire-camp {
        top: 15%;
        left: 20%;
    }

    .fire-camp:not(.collapsed) {
        top: 8%;
        left: 15%;
    }

    .earth-camp {
        top: 15%;
        right: 20%;
    }

    .earth-camp:not(.collapsed) {
        top: 8%;
        right: 13%;
    }

    .water-camp {
        bottom: 25%;
        left: 20%;
    }

    .water-camp:not(.collapsed) {
        bottom: 18%;
        left: 15%;
    }

    .wind-camp {
        bottom: 25%;
        right: 20%;
    }

    .wind-camp:not(.collapsed) {
        bottom: 18%;
        right: 13%;
    }

    .camp-card.collapsed {
        min-width: 50px;
        max-width: 50px;
    }

    .camp-header h3 {
        font-size: 1.1rem;
    }

    .camp-icon-wrapper {
        width: 35px;
        height: 35px;
    }

    .camp-card.collapsed .camp-icon-wrapper {
        width: 30px;
        height: 30px;
    }

    .camp-icon {
        width: 20px;
        height: 20px;
    }

    .camp-stats-row {
        font-size: 0.75rem;
    }

    .hero-subtitle-badge {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
        margin-bottom: 3rem;
    }

    .hero-subtitle-badge .badge-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .achievement-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Features grid - 2 columns for tablets */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Migration notice responsive */
    .migration-notice {
        font-size: 0.95rem;
        padding: 0.8rem 1.5rem;
    }

    .quote-section {
        padding: 40px 20px;
    }

    .quote-text {
        font-size: 1.3rem;
        line-height: 1.5;
    }

    .quote-author {
        font-size: 1rem;
    }

    .stats-divider-content h2 {
        font-size: 1.5rem;
    }

    .divider-stats {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .big-number {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-left: 0;
        padding-bottom: 70px;
    }

    /* Make navbar horizontal on small mobile */
    .navbar {
        width: 100%;
        height: 70px;
        flex-direction: row;
        bottom: 0;
        top: auto;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0.5rem 0;
    }

    .navbar:hover {
        width: 100%;
        height: 70px;
    }

    .navbar .container {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        padding: 0;
    }

    .navbar:hover .container {
        flex-direction: row;
        align-items: center;
    }

    .logo {
        margin-bottom: 0;
        order: 3;
    }

    .logo i {
        font-size: 1.5rem;
    }

    .nav-links {
        flex-direction: row;
        gap: 0;
        width: auto;
        justify-content: space-around;
        flex: 1;
        margin-top: 0;
    }

    .navbar:hover .nav-links {
        align-items: center;
    }

    .nav-links li {
        width: auto;
    }

    .navbar:hover .nav-links li {
        justify-content: center;
    }

    .nav-links a {
        flex-direction: column;
        font-size: 0.7rem;
        padding: 0.3rem;
        justify-content: center;
    }

    .navbar:hover .nav-links a {
        justify-content: center;
        flex-direction: column;
    }

    .nav-links a .nav-icon {
        font-size: 1.3rem;
        min-width: auto;
        justify-content: center;
    }

    .navbar:hover .nav-links a .nav-icon {
        justify-content: center;
    }

    .nav-links a .nav-text {
        display: none !important;
    }

    .nav-links a::before {
        display: none;
    }

    .btn-nav {
        border: 2px solid var(--primary-color);
        padding: 0.5rem;
        margin-top: 0;
        width: 45px;
        height: 45px;
        border-radius: 50%;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .features-section {
        background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25)),
            url('../img/what_sets_us_apart_mobile.png') left center / cover no-repeat;
    }

    .cta-section {
        text-align: center;
        background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.9)),
            url('../img/ready_to_make_history_mobile.jpg') center center / cover no-repeat;
    }

    .navbar:hover .btn-nav {
        border-radius: 50%;
        width: 45px;
        height: 45px;
        padding: 0.5rem;
        align-self: center;
    }

    .btn-nav .nav-icon {
        font-size: 1.3rem;
    }

    .navbar:hover .btn-nav .nav-icon {
        font-size: 1.3rem;
    }

    .btn-nav .nav-text {
        display: none !important;
    }

    .hero {
        min-height: calc(100vh - 70px);
        padding: 20px 15px 40px 15px;
    }

    .hero-crown-container {
        top: 8%;
    }

    .hero-crown-icon {
        font-size: 2.5rem;
    }

    .title-word {
        gap: 0.2rem;
    }

    .title-word .letter {
        font-size: 1.8rem !important;
    }

    .title-number .number-glow,
    .title-number .number-overlay {
        font-size: 3.5rem !important;
    }

    .hero-subtitle-badge {
        font-size: 0.75rem;
        padding: 0.6rem 1.2rem;
        margin-bottom: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-icon-wrap {
        font-size: 2rem;
    }

    .stat-value {
        font-size: 1.4rem;
    }

    .youngest-kingdom-badge h2 {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .req-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .req-card {
        padding: 2rem 1.5rem;
    }

    .quote-section {
        padding: 30px 15px;
    }

    .quote-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .quote-text {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .quote-author {
        font-size: 0.85rem;
    }

    .stats-divider-content h2 {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .scroll-indicator {
        transform: scale(0.8);
    }

    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    /* Migration notice mobile */
    .migration-notice {
        font-size: 0.85rem;
        padding: 0.8rem 1.2rem;
        flex-wrap: wrap;
    }

    .migration-notice i {
        font-size: 1.1rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section {
        padding: 60px 15px;
    }

    .achievements-section,
    .quote-section,
    .stats-divider {
        padding: 40px 15px;
    }

    .big-number {
        font-size: 2.5rem;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .cta-line.emphasis {
        font-size: 3rem;
    }

    .cta-stats-mini {
        gap: 2rem;
    }

    .discord-btn {
        padding: 1.2rem 2rem;
        font-size: 0.9rem;
    }

    /* Responsive Camp Cards - Dropdown Style */
    .map-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin: 30px auto;
    }

    .map-image {
        order: 0;
        width: 100%;
    }

    .camp-card {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        margin: 0 !important;
        overflow: hidden;
    }

    /* Collapsed state - dropdown header only */
    .camp-card.collapsed {
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 15px;
        border-radius: 8px;
        border: 2px solid white;
        height: auto;
    }

    .camp-card.collapsed .camp-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        cursor: pointer;
    }

    .camp-card.collapsed .camp-stats,
    .camp-card.collapsed .camp-totals,
    .camp-card.collapsed .close-btn {
        display: none !important;
        opacity: 0;
        height: 0;
        overflow: hidden;
    }

    .camp-card.collapsed h3 {
        display: block !important;
        margin: 0;
        font-size: 1rem;
        opacity: 1 !important;
    }

    .camp-card.collapsed .camp-icon-wrapper {
        width: 35px;
        height: 35px;
    }

    /* Expanded state - dropdown content visible */
    .camp-card:not(.collapsed) {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px;
        height: auto;
    }

    .camp-card:not(.collapsed) .camp-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .camp-card:not(.collapsed) .camp-stats,
    .camp-card:not(.collapsed) .camp-totals {
        display: block !important;
        opacity: 1;
        height: auto;
    }

    .camp-card:not(.collapsed) .close-btn {
        display: block !important;
    }

    /* Fire camp - red background when collapsed */
    .fire-camp.collapsed {
        background: rgba(220, 38, 38, 0.3);
        border-color: rgba(220, 38, 38, 0.8);
    }

    .fire-camp {
        order: 1;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
    }

    .fire-camp:not(.collapsed) {
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
    }

    /* Earth camp - brown background when collapsed */
    .earth-camp.collapsed {
        background: rgba(120, 53, 15, 0.3);
        border-color: rgba(120, 53, 15, 0.8);
    }

    .earth-camp {
        order: 2;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
    }

    .earth-camp:not(.collapsed) {
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
    }

    /* Water camp - blue background when collapsed */
    .water-camp.collapsed {
        background: rgba(37, 99, 235, 0.3);
        border-color: rgba(37, 99, 235, 0.8);
    }

    .water-camp {
        order: 3;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
    }

    .water-camp:not(.collapsed) {
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
    }

    /* Wind camp - purple background when collapsed */
    .wind-camp.collapsed {
        background: rgba(147, 51, 234, 0.3);
        border-color: rgba(147, 51, 234, 0.8);
    }

    .wind-camp {
        order: 4;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
    }

    .wind-camp:not(.collapsed) {
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
    }

    /* Disable hover effects on mobile */
    .camp-card:hover {
        transform: none !important;
    }
}

/* ============================================
   LOADING SCREEN
   ============================================ */

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.crown-loader {
    font-size: 4rem;
    color: var(--primary-color);
    animation: crownPulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 20px var(--primary-glow));
}

@keyframes crownPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
        opacity: 0.8;
    }
}

.loader-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary-color), #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #ffa500);
    border-radius: 2px;
    animation: loadingProgress 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--primary-glow);
}

@keyframes loadingProgress {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

.loading-message {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    animation: fadeInOut 1.5s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .crown-loader {
        font-size: 3rem;
    }

    .loader-text h2 {
        font-size: 2rem;
    }

    .loading-bar {
        width: 250px;
    }
}