/* ═══════════════════════════════════════════════════════════════
   FONTS
   ═══════════════════════════════════════════════════════════════ */
@font-face {
    font-family: "Pricedown";
    src: url("fonts/pricedown.otf") format("opentype");
    font-display: swap;
}

/* ═══════════════════════════════════════════════════════════════
   ROOT / VARIABLES
   ═══════════════════════════════════════════════════════════════ */
:root {
    --bg-primary: #0a0d14;
    --bg-secondary: #11151f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.70);
    --text-muted: rgba(255, 255, 255, 0.35);
    --accent: #d63f49;
    --accent-light: #e85a64;
    --accent-gradient: linear-gradient(135deg, #d63f49 0%, #b01a2a 100%);
    --border-color: rgba(255, 255, 255, 0.06);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(214, 63, 73, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --color-gangwar: #d63f49;
    --color-race: #4a90d9;
    --color-derby: #e8a33d;
    --color-copchase: #3fa7d6;
    --color-deathmatch: #5fb0ff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ═══════════════════════════════════════════════════════════════
   SECTION STYLES
   ═══════════════════════════════════════════════════════════════ */
.section {
    padding: 100px 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}

.section:first-of-type::before {
    display: none;
}

.section.secondary-bg {
    background: var(--bg-secondary);
}

.section-title {
    font-family: "Pricedown", Arial, sans-serif;
    font-size: clamp(36px, 4vw, 52px);
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 0.04em;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 56px;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: var(--transition);
}

.btn:hover::after {
    background: rgba(255, 255, 255, 0.08);
}

.btn-primary {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 4px 24px rgba(214, 63, 73, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(214, 63, 73, 0.4);
}

.btn-discord {
    background: #5865F2;
    color: #ffffff;
    box-shadow: 0 4px 24px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(88, 101, 242, 0.4);
}

.btn-small {
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 8px;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(214, 63, 73, 0.1);
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 13, 20, 0.85);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 13, 20, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-primary);
}

.nav-logo-img {
    height: 70px;
    width: auto;
    transition: var(--transition);
}

.nav-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(214, 63, 73, 0.3));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.02em;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active-link::after {
    width: 100%;
}

.nav-links a.active-link {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-discord-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #5865F2;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.nav-discord-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 28px;
    cursor: pointer;
    padding: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   LANGUAGE TOGGLE
   ═══════════════════════════════════════════════════════════════ */
.lang-switcher {
    display: flex;
    align-items: center;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    padding: 4px 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 32px;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    transform: scale(1.05);
}

.lang-flag-img {
    display: block;
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.footer-lang .lang-btn {
    background: rgba(255, 255, 255, 0.02);
    padding: 2px 6px;
    min-width: 32px;
    min-height: 26px;
}

.footer-lang .lang-flag-img {
    width: 20px;
    height: 15px;
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
    background: var(--bg-primary);
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(214, 63, 73, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(88, 101, 242, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(214, 63, 73, 0.05) 0%, transparent 40%);
    z-index: 1;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: bounce 2s infinite;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

.scroll-arrow {
    font-size: 18px;
    opacity: 0.6;
}

.hero-logo-wrap {
    margin-bottom: 24px;
}

.hero-logo {
    height: 350px;
    width: auto;
    filter: drop-shadow(0 8px 40px rgba(214, 63, 73, 0.25));
    animation: float 6s ease-in-out infinite;
}

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

.hero-title {
    font-family: "Pricedown", Arial, sans-serif;
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: "Pricedown", Arial, sans-serif;
    font-size: clamp(16px, 2vw, 24px);
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 28px;
    letter-spacing: 0.06em;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: 10px 28px;
    margin-bottom: 36px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.status-dot.online {
    background: #2ecc71;
    box-shadow: 0 0 16px rgba(46, 204, 113, 0.5);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

.status-players {
    color: var(--text-muted);
}

.status-players #playerCount {
    font-weight: 700;
    color: var(--accent);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.hero-buttons .btn {
    min-width: 180px;
}

/* ═══════════════════════════════════════════════════════════════
   GLASSMORPHISM CARDS (allgemein)
   ═══════════════════════════════════════════════════════════════ */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    border-color: rgba(214, 63, 73, 0.15);
}

/* ═══════════════════════════════════════════════════════════════
   TIMELINE (Geschichte)
   ═══════════════════════════════════════════════════════════════ */
.timeline {
    position: relative;
    padding-left: 40px;
    border-left: 2px solid var(--accent);
    max-width: 780px;
    margin: 0 auto;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -47px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 3px var(--accent), var(--shadow-sm);
}

.timeline-item:last-child::before {
    background: #ffd700;
    box-shadow: 0 0 0 3px #ffd700, 0 0 30px rgba(255, 215, 0, 0.2);
}

.timeline-year {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.timeline-content {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-left: 3px solid transparent;
    border-radius: var(--radius);
    padding: 20px 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.timeline-content:hover {
    background: var(--bg-card-hover);
    transform: translateX(8px);
    border-left-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.timeline-content.highlight {
    border-color: rgba(255, 215, 0, 0.2);
    border-left-color: #ffd700;
    background: rgba(255, 215, 0, 0.04);
}

.timeline-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   HALL OF FAME
   ═══════════════════════════════════════════════════════════════ */
.hof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.hof-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.hof-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    border-color: rgba(255, 215, 0, 0.15);
}

.hof-card .hof-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    flex-shrink: 0;
    margin-bottom: 10px;
    transition: var(--transition);
}

.hof-card:hover .hof-avatar {
    border-color: rgba(255, 215, 0, 0.3);
}

.hof-card .hof-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hof-card .hof-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.hof-card .hof-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
}

.hof-card .hof-role {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hof-card .hof-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-top: 6px;
    opacity: 0.7;
    max-width: 160px;
}

.hof-card .hof-walk {
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.2;
    transition: var(--transition);
}

.hof-card:hover .hof-walk {
    opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════════
   TEAM
   ═══════════════════════════════════════════════════════════════ */
.team-grid {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.team-label {
    font-family: "Pricedown", Arial, sans-serif;
    font-size: 22px;
    color: var(--text-secondary);
    letter-spacing: 0.06em;
    margin-bottom: 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.team-grid-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.team-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
}

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

.team-card[data-team="n1ght"]::before {
    background: #1a7a3a;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    border-color: rgba(214, 63, 73, 0.15);
}

.team-card .team-avatar {
    width: 100%;
    height: 200px;
    margin-bottom: 14px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.team-card .team-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.team-card:hover .team-avatar-img {
    transform: scale(1.03);
}

.team-card .team-name {
    font-weight: 700;
    font-size: 18px;
}

.team-card .team-role {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.team-card .team-since {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════════════
   INFO / FEATURE CARDS
   ═══════════════════════════════════════════════════════════════ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    text-align: left;
    padding: 0;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    border-color: rgba(214, 63, 73, 0.12);
    background: var(--bg-card-hover);
}

.feature-card .feature-screenshot {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.feature-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(214, 63, 73, 0.08) 0%, rgba(10, 13, 20, 0.9) 100%);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-image-placeholder .placeholder-icon {
    font-size: 48px;
    opacity: 0.3;
    margin-bottom: 6px;
}

.feature-image-placeholder .placeholder-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 14px;
    border-radius: 4px;
}

.feature-card.has-screenshot .feature-image-placeholder {
    display: none;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    padding: 18px 20px 4px 20px;
    margin: 0;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    padding: 0 20px;
    margin: 4px 0 0 0;
}

.feature-list {
    list-style: none;
    padding: 8px 20px 20px 20px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
}

.feature-list li {
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li strong {
    color: var(--text-primary);
}

.feature-list li small {
    color: var(--text-muted);
    font-size: 11px;
}

/* ═══════════════════════════════════════════════════════════════
   UPDATES
   ═══════════════════════════════════════════════════════════════ */
.updates-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 8px;
}

.updates-header .section-title,
.updates-header .section-subtitle {
    text-align: left;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 36px;
}

.update-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    box-shadow: var(--shadow-sm);
    animation: slide-in-update 0.4s ease-out;
}

@keyframes slide-in-update {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.update-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    border-color: rgba(214, 63, 73, 0.12);
}

.update-card .update-date {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.update-card .update-title {
    font-size: 20px;
    margin: 6px 0 10px;
    font-weight: 700;
}

.update-card .update-preview {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.update-card .update-readmore {
    display: inline-block;
    margin-top: 14px;
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
}

.update-card .admin-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    display: none;
    gap: 8px;
}

.update-card .admin-actions button {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px 10px;
    font-size: 13px;
    transition: var(--transition);
}

.update-card .admin-actions button:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.update-card:hover .admin-actions {
    display: flex;
}

.updates-pagination {
    text-align: center;
    margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 40px 0 24px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo {
    height: 48px;
    width: auto;
}

.footer-brand-text {
    font-weight: 700;
    font-size: 18px;
}

.footer-brand-text small {
    display: block;
    font-weight: 400;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 13px;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--text-primary);
}

.footer-lang {
    margin-left: 4px;
}

.footer-copy {
    width: 100%;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   MODALS
   ═══════════════════════════════════════════════════════════════ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.open {
    display: flex;
}

.modal-content {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    padding: 0 8px;
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

.modal-body .form-group {
    margin-bottom: 18px;
}

.modal-body .form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.modal-body .form-group input,
.modal-body .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    box-sizing: border-box;
}

.modal-body .form-group input:focus,
.modal-body .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(214, 63, 73, 0.12);
}

.modal-body .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.error-msg {
    color: #d63f49;
    font-size: 14px;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   ADMIN BUTTON
   ═══════════════════════════════════════════════════════════════ */
.nav-admin-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    padding: 6px 12px;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.nav-admin-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.nav-admin-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════
   TEAM DETAIL MODAL
   ═══════════════════════════════════════════════════════════════ */
.team-detail-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.team-detail-content p {
    margin-bottom: 14px;
}

.team-detail-content strong {
    color: var(--text-primary);
}

#teamDetailAvatarImg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

#teamDetailAvatarImg:hover {
    border-color: rgba(255, 215, 0, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM SECTION
   ═══════════════════════════════════════════════════════════════ */
.premium-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    text-align: center;
}

.premium-option {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px 20px;
    transition: var(--transition);
}

.premium-option:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.premium-option.highlight {
    border-color: var(--accent);
    background: rgba(214, 63, 73, 0.04);
}

.premium-option h3 {
    font-family: "Pricedown", Arial, sans-serif;
    font-size: 22px;
    color: var(--accent);
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.premium-option p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.premium-table-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.premium-header,
.premium-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    padding: 14px 18px;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.premium-header {
    font-weight: 600;
    font-size: 13px;
    background: var(--bg-secondary);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.premium-row {
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.premium-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

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

.premium-row div:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

.premium-row .btn-small {
    font-size: 12px;
    padding: 6px 14px;
}

.premium-legal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px 20px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

.premium-legal a {
    color: var(--accent);
}

.premium-legal a:hover {
    color: var(--accent-light);
}

/* ═══════════════════════════════════════════════════════════════
   NOTICE-BOX
   ═══════════════════════════════════════════════════════════════ */
.notice-box {
    position: fixed;
    left: 16px;
    bottom: 100px;
    z-index: 999;
    width: 320px;
    padding: 14px 18px;
    background: rgba(20, 24, 36, 0.9);
    backdrop-filter: blur(12px);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    display: none;
}

.notice-box.visible {
    display: block;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        padding: 20px 24px;
        border-bottom: 1px solid var(--border-color);
        gap: 16px;
    }

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

    .mobile-menu-btn {
        display: block;
    }

    .nav-actions .lang-switcher {
        display: none;
    }

    .hero-logo {
        height: 200px;
    }

    .hero-title {
        font-size: 44px;
    }

    .timeline {
        padding-left: 28px;
    }

    .timeline-item::before {
        left: -34px;
        width: 12px;
        height: 12px;
    }

    .footer {
        padding: 28px 20px 16px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-subtitle {
        margin-bottom: 36px;
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: 80vh;
    }

    .hero-logo {
        height: 150px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-buttons .btn {
        min-width: 140px;
        padding: 12px 24px;
    }

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

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

    .hof-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 14px;
    }

    .team-grid-inner {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }

    .team-card .team-avatar {
        height: 160px;
    }

    .feature-card .feature-screenshot,
    .feature-image-placeholder {
        height: 160px;
    }

    .premium-header,
    .premium-row {
        grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr 1fr;
        font-size: 11px;
        padding: 10px 12px;
    }

    .premium-row .btn-small {
        font-size: 10px;
        padding: 4px 8px;
    }

    .modal-content {
        margin: 12px;
        max-height: 95vh;
    }

    .footer {
        padding: 20px 16px 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-logo {
        height: 120px;
    }

    .hero-buttons .btn {
        width: 100%;
        min-width: unset;
    }

    .hero-status {
        padding: 8px 16px;
        font-size: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .hof-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }

    .hof-card {
        padding: 14px 10px;
    }

    .hof-card .hof-avatar {
        width: 56px;
        height: 56px;
    }

    .hof-card .hof-name {
        font-size: 14px;
    }

    .team-grid-inner {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .team-card {
        padding: 16px 12px;
    }

    .team-card .team-avatar {
        height: 120px;
    }

    .team-card .team-name {
        font-size: 15px;
    }

    .feature-card .feature-screenshot,
    .feature-image-placeholder {
        height: 130px;
    }

    .premium-header,
    .premium-row {
        grid-template-columns: 0.8fr 1fr 1fr 1fr 1fr 1fr;
        font-size: 9px;
        padding: 6px 8px;
        gap: 2px;
    }

    .premium-row .btn-small {
        font-size: 8px;
        padding: 2px 6px;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline-item::before {
        left: -26px;
        width: 10px;
        height: 10px;
    }

    .timeline-content {
        padding: 14px 16px;
    }

    .timeline-content h3 {
        font-size: 16px;
    }

    .timeline-content p {
        font-size: 14px;
    }

    .modal-body {
        padding: 16px;
    }

    .footer-legal {
        gap: 14px;
    }

    .footer-legal a {
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .team-grid-inner {
        grid-template-columns: 1fr;
    }

    .hero-logo {
        height: 100px;
    }

    .hero-title {
        font-size: 24px;
    }
}