/* ═══════════════════════════════════════════════════
   OrangeSMP — Stylesheet (CivicBots-Inspired Glassmorphism)
   ═══════════════════════════════════════════════════ */

/* ── Reset & Variables ── */
:root {
    --orange-50:  #fff7ed;
    --orange-100: #ffedd5;
    --orange-200: #fed7aa;
    --orange-300: #fdba74;
    --orange-400: #fb923c;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --orange-700: #c2410c;
    --orange-800: #9a3412;
    --orange-900: #7c2d12;

    --bg-color: #0b0806;
    --dark-950: #100c09;
    --dark-900: #15100c;
    --dark-800: #1d1610;
    --dark-700: #271d15;
    --dark-600: #35281c;
    --dark-500: #4b3a29;

    --white: #f0f6fc;
    --gray-100: #e6edf3;
    --gray-200: #d0d7de;
    --gray-300: #b1bac4;
    --gray-400: #8b949e;
    --gray-500: #6e7681;

    /* Glass variables */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-hover: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-border-hover: rgba(249, 115, 22, 0.4);
    --glass-shine: rgba(255, 255, 255, 0.12);

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-color);
    color: var(--gray-400);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

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

.accent {
    color: var(--orange-500);
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.4);
}

/* ── Global Background Glows ── */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.2;
}

body::before {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
    background: var(--orange-600);
}

body::after {
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -150px;
    background: var(--orange-500);
}

/* ── Cyber Grid Overlay ── */
.cyber-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(249, 115, 22, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(249, 115, 22, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: rgba(5, 5, 8, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar.scrolled {
    background: rgba(5, 5, 8, 0.85);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.4);
}

.logo-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 12px rgba(249, 115, 22, 0.6));
}

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

.nav-links a {
    text-decoration: none;
    color: var(--gray-400);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--orange-400);
    text-shadow: 0 0 8px rgba(249, 115, 22, 0.5);
}

.nav-cta {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(234, 88, 12, 0.15)) !important;
    border: 1px solid var(--orange-500) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    padding: 8px 20px !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.15);
}

.nav-cta:hover {
    background: var(--orange-500) !important;
    color: #000 !important;
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.5) !important;
    text-shadow: none !important;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--orange-400);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 6px var(--orange-500);
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.7; }
    90% { opacity: 0.2; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--orange-400);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.title-line {
    display: block;
    color: var(--gray-300);
    font-size: 0.45em;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px rgba(249, 115, 22, 0.4));
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--orange-500);
    text-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--orange-500), transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(234, 88, 12, 0.15));
    border: 1px solid var(--orange-500);
    color: var(--white);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.15);
}

.btn-primary:hover {
    background: var(--orange-500);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(249, 115, 22, 0.5);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--gray-300);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.1);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

/* ── Sections ── */
.section {
    padding: 120px 0;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--orange-400);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   GLASSMORPHISM CARDS (CivicBots Style)
   ═══════════════════════════════════════════════════ */

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

/* Glass shine sweep on hover */
.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--glass-shine), transparent);
    transition: 0.6s;
    pointer-events: none;
}

.glass-card:hover::after {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.1);
}

/* ── Card Icon Box (CivicBots style) ── */
.card-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    box-shadow: inset 0 0 12px rgba(249, 115, 22, 0.1);
    transition: var(--transition);
}

.glass-card:hover .card-icon-box {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.2), inset 0 0 12px rgba(249, 115, 22, 0.15);
    border-color: rgba(249, 115, 22, 0.4);
}

/* ── About ── */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.about-card {
    padding: 36px 28px;
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.about-card p {
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ── Features ── */
.features-showcase {
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.feature-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--glass-shine), transparent);
    transition: 0.5s;
    pointer-events: none;
}

.feature-item:hover::after {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-3px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.1);
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--orange-500);
    opacity: 0.4;
    min-width: 36px;
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.3);
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--gray-400);
}

.feature-visual {
    font-size: 1.8rem;
    opacity: 0.5;
    transition: var(--transition);
    filter: drop-shadow(0 0 0px transparent);
}

.feature-item:hover .feature-visual {
    opacity: 1;
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.3));
}

/* ── Rules ── */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.rule-card {
    padding: 28px 24px;
}

.rule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.rule-number {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--orange-500);
    text-shadow: 0 0 8px rgba(249, 115, 22, 0.3);
}

.rule-severity {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(8px);
}

.severity-high {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.25);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.1);
}

.severity-medium {
    background: rgba(249, 115, 22, 0.1);
    color: var(--orange-400);
    border: 1px solid rgba(249, 115, 22, 0.25);
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.1);
}

.severity-low {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.25);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.1);
}

.rule-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.rule-card p {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ── Team ── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.team-card {
    padding: 36px 28px;
    text-align: center;
}

.team-owner {
    border-color: rgba(249, 115, 22, 0.2);
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.05);
}

.team-avatar {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--dark-600);
    object-fit: cover;
    image-rendering: pixelated;
    transition: var(--transition);
}

.team-card:hover .team-avatar img {
    border-color: var(--orange-500);
    box-shadow: 0 0 25px rgba(249, 115, 22, 0.35);
}

.team-badge-role {
    position: absolute;
    bottom: -4px;
    right: -4px;
    font-size: 1.5rem;
    background: var(--dark-800);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--dark-600);
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.team-role {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
}

.role-owner {
    background: rgba(249, 115, 22, 0.12);
    color: var(--orange-400);
    border: 1px solid rgba(249, 115, 22, 0.3);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.1);
}

.role-admin {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.role-mod {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.role-builder {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.team-bio {
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.team-socials {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.social-link:hover {
    background: rgba(249, 115, 22, 0.12);
    border-color: rgba(249, 115, 22, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.15);
}

/* ── Gallery ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.gallery-placeholder {
    background: var(--glass-bg);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.gallery-placeholder:hover {
    border-color: rgba(249, 115, 22, 0.3);
    background: rgba(249, 115, 22, 0.03);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.05);
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 0.85rem;
}

.placeholder-icon {
    font-size: 2rem;
    opacity: 0.4;
}

/* ── How to Play ── */
.howtoplay {
    position: relative;
}

.htp-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.htp-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.htp-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--glass-shine), transparent);
    transition: 0.6s;
    pointer-events: none;
}

.htp-card:hover::after {
    left: 100%;
}

.htp-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.1);
}

.htp-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.htp-icon {
    font-size: 2rem;
}

.htp-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.htp-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.htp-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.htp-step-num {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(249, 115, 22, 0.1);
    color: var(--orange-400);
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: inset 0 0 8px rgba(249, 115, 22, 0.1);
}

.htp-step-content h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.htp-step-content p {
    font-size: 0.9rem;
    color: var(--gray-400);
}

.htp-ip-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 6px;
    backdrop-filter: blur(8px);
}

.htp-ip-box:hover {
    border-color: var(--orange-500);
    background: rgba(249, 115, 22, 0.08);
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.1);
}

.htp-ip-box code {
    font-family: 'Space Grotesk', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: var(--orange-400);
    text-shadow: 0 0 6px rgba(249, 115, 22, 0.3);
}

.htp-copy-hint {
    font-size: 0.75rem;
    color: var(--gray-500);
    transition: var(--transition);
}

.htp-ip-box:hover .htp-copy-hint {
    color: var(--orange-400);
}

.htp-port-box {
    margin-left: 8px;
}

/* ── Join / CTA ── */
.join {
    padding: 120px 0 140px;
}

.ip-bedrock-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ip-port {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-family: 'Space Grotesk', monospace;
}

.ip-port strong {
    color: var(--orange-300);
    text-shadow: 0 0 6px rgba(249, 115, 22, 0.3);
}

.join-box {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid rgba(249, 115, 22, 0.15);
    border-radius: var(--radius-xl);
    padding: 80px 48px;
    text-align: center;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 12px 60px rgba(0, 0, 0, 0.5);
}

.join-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15), transparent 60%);
    pointer-events: none;
}

.join-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.join-desc {
    font-size: 1.05rem;
    color: var(--gray-400);
    margin-bottom: 40px;
    position: relative;
}

.ip-copy-box {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: var(--radius-md);
    padding: 12px 12px 12px 24px;
    margin-bottom: 20px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.ip-copy-box:hover {
    border-color: rgba(249, 115, 22, 0.4);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.08);
}

.ip-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-500);
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--dark-800);
    padding: 0 8px;
    border-radius: 4px;
}

.ip-address {
    font-family: 'Space Grotesk', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--orange-400);
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(249, 115, 22, 0.3);
}

.ip-copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(234, 88, 12, 0.2));
    border: 1px solid var(--orange-500);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    backdrop-filter: blur(8px);
}

.ip-copy-btn:hover {
    background: var(--orange-500);
    color: #000;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
}

.ip-copy-btn.copied {
    background: #22c55e;
    border-color: #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

.join-info {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    position: relative;
}

.join-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 0.9rem;
}

.info-icon {
    font-size: 1.2rem;
}

.join-buttons {
    position: relative;
}

/* ── Footer ── */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
    background: rgba(5, 5, 8, 0.6);
    backdrop-filter: blur(10px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    text-decoration: none;
    color: var(--gray-500);
    font-size: 0.9rem;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--orange-400);
    padding-left: 8px;
    text-shadow: 0 0 6px rgba(249, 115, 22, 0.3);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--gray-600);
}

.footer-disclaimer {
    font-style: italic;
}

/* ── Animations ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(5, 5, 8, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid rgba(249, 115, 22, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 12px 16px;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .feature-item {
        padding: 20px 16px;
    }

    .join-box {
        padding: 48px 24px;
    }

    .ip-copy-box {
        flex-direction: column;
        gap: 12px;
        padding: 24px 20px 16px;
    }

    .ip-label {
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
    }

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

    .htp-port-box {
        margin-left: 0;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

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

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .join-info {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-600);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--orange-700);
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.3);
}

/* ── Selection ── */
::selection {
    background: rgba(249, 115, 22, 0.3);
    color: var(--white);
}

/* ═══════════════════════════════════════════════════
   Custom Icons, Banner & Hintergrund
   ═══════════════════════════════════════════════════ */

html, body { background-color: var(--bg-color); }
body {
    background-image:
        radial-gradient(900px 600px at 100% 22%, rgba(234, 88, 12, 0.10), transparent 70%),
        radial-gradient(900px 600px at 0% 42%, rgba(194, 65, 12, 0.10), transparent 70%),
        radial-gradient(900px 600px at 100% 62%, rgba(249, 115, 22, 0.08), transparent 70%),
        radial-gradient(900px 600px at 0% 84%, rgba(194, 65, 12, 0.10), transparent 70%),
        linear-gradient(90deg, rgba(11, 8, 6, 0.85) 0%, rgba(11, 8, 6, 0.35) 30%, rgba(11, 8, 6, 0.35) 70%, rgba(11, 8, 6, 0.85) 100%),
        url('assets/img/bg-blocks.png');
    background-size: auto, auto, auto, auto, auto, 256px 256px;
}

/* Sektionen leicht abgesetzt: oranger Lichtstreifen oben */
.section { position: relative; }
.section + .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(720px, 80%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.35), transparent);
    pointer-events: none;
}

/* Block-Raster im Minecraft-Stil statt feinem Grid */
.cyber-grid {
    background-image:
        linear-gradient(to right, rgba(249, 115, 22, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(249, 115, 22, 0.035) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
}

.ic {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

/* Logo */
.logo-icon { display: inline-flex; filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.45)); }
.logo-img { display: block; width: 36px; height: 36px; image-rendering: auto; }

/* Hero mit Banner */
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 8, 6, 0.55) 0%, rgba(11, 8, 6, 0.70) 55%, var(--bg-color) 100%),
        radial-gradient(ellipse at center, rgba(11, 8, 6, 0.25) 0%, rgba(11, 8, 6, 0.75) 100%),
        url('assets/img/banner.jpg') center / cover no-repeat;
    background:
        linear-gradient(180deg, rgba(11, 8, 6, 0.55) 0%, rgba(11, 8, 6, 0.70) 55%, var(--bg-color) 100%),
        radial-gradient(ellipse at center, rgba(11, 8, 6, 0.25) 0%, rgba(11, 8, 6, 0.75) 100%),
        image-set(url('assets/img/banner.webp') type('image/webp'), url('assets/img/banner.jpg') type('image/jpeg')) center / cover no-repeat;
    transform: scale(1.06);
    filter: blur(3px) saturate(1.1);
    animation: heroZoom 24s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes heroZoom {
    from { transform: scale(1.06); }
    to   { transform: scale(1.14) translateY(-1%); }
}

.hero-title, .hero-subtitle { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65); }
.hero-subtitle { color: var(--gray-200); }

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: livePulse 2s ease-out infinite;
}

@keyframes livePulse {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
    100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
}

/* Buttons */
.btn-icon { display: inline-flex; width: 22px; height: 22px; flex-shrink: 0; }
.btn-large .btn-icon { width: 26px; height: 26px; }

/* About-Karten: Icon ist selbst eine Kachel → Box ohne Rahmen */
.card-icon-box {
    width: 56px;
    height: 56px;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 14px;
}
.glass-card:hover .card-icon-box {
    box-shadow: 0 0 22px rgba(249, 115, 22, 0.25);
    transform: translateY(-2px);
}

/* Features */
.feature-visual { width: 46px; height: 46px; flex-shrink: 0; opacity: 0.75; }

/* Team */
.team-badge-role {
    width: 34px;
    height: 34px;
    background: none;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.social-link {
    width: 34px;
    height: 34px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 10px;
}

/* Galerie */
.placeholder-icon { width: 44px; height: 44px; opacity: 0.55; }
.gallery-image { margin: 0; border: 1px solid rgba(249, 115, 22, 0.2); }
.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.gallery-image:hover img { transform: scale(1.05); }
.gallery-image figcaption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    background: rgba(11, 8, 6, 0.7);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 100px;
    backdrop-filter: blur(6px);
}

/* How to Play */
.htp-icon { display: inline-flex; width: 40px; height: 40px; flex-shrink: 0; }
.htp-copy-hint { display: inline-flex; align-items: center; gap: 6px; }
.htp-copy-hint .ic { width: 16px; height: 16px; }
.htp-step-content p > .ic {
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: -4px;
    margin-left: 2px;
}

/* Join */
.join-box { isolation: isolate; }
.join-box::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(11, 8, 6, 0.80), rgba(11, 8, 6, 0.92)),
        url('assets/img/banner.jpg') center / cover no-repeat;
    opacity: 0.9;
    filter: blur(2px);
}
.copy-icon { display: inline-flex; width: 18px; height: 18px; }
.info-icon { display: inline-flex; width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
    .hero-bg, .live-dot { animation: none; }
}

/* ── Team: 3D-Skins ── */
.team-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
    justify-content: center;
}
.team-card { text-align: center; }
.team-skin {
    position: relative;
    height: 220px;
    margin: 0 auto 20px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.team-skin::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 150px;
    height: 150px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.28), transparent 70%);
    filter: blur(6px);
    transition: var(--transition);
}
.team-skin::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 110px;
    height: 14px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    filter: blur(4px);
}
.team-skin img {
    position: relative;
    z-index: 1;
    height: 210px;
    width: auto;
    border: none;
    border-radius: 0;
    image-rendering: auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.team-card:hover .team-skin img { transform: translateY(-6px) rotate(-2deg); }
.team-card:hover .team-skin::before { background: radial-gradient(circle, rgba(249, 115, 22, 0.45), transparent 70%); }

.role-coowner {
    background: rgba(234, 179, 8, 0.1);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.3);
}
.role-dev {
    background: rgba(168, 85, 247, 0.1);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.team-namemc {
    display: inline-block;
    margin-top: 4px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-300);
    text-decoration: none;
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    transition: var(--transition);
}
.team-namemc:hover {
    color: var(--orange-400);
    border-color: rgba(249, 115, 22, 0.4);
    background: rgba(249, 115, 22, 0.08);
}

/* ── Galerie-Lightbox ── */
.gallery-image[data-full] { cursor: zoom-in; }
.gallery-image:focus-visible { outline: 2px solid var(--orange-500); outline-offset: 3px; }
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(5, 3, 2, 0.92);
    backdrop-filter: blur(6px);
    cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img {
    max-width: min(1400px, 100%);
    max-height: 90vh;
    border-radius: var(--radius-md);
    border: 1px solid rgba(249, 115, 22, 0.3);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.7);
    cursor: default;
}
.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 2rem;
    line-height: 1;
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    cursor: pointer;
}
.lightbox-close:hover { border-color: var(--orange-500); color: var(--orange-400); }

/* ── Live-Stats im Hero ── */
.hero-stats { gap: 40px; flex-wrap: wrap; }
.stat { min-width: 110px; }
.stat-number { display: inline-flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; }
.stat-label { display: block; }
.stat-dot { width: 10px; height: 10px; }
.live-dot.is-offline { background: #ef4444; animation: none; box-shadow: 0 0 8px rgba(239, 68, 68, 0.6); }

.hero-online {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 0.8s ease 1s both;
}
.hero-online[hidden] { display: none; }
.hero-online-label {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray-400);
}
.hero-online-heads { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 520px; }
.hero-online-head {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(249, 115, 22, 0.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.hero-online-head img { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.hero-online-head:hover { transform: translateY(-3px) scale(1.08); border-color: var(--orange-400); }

.hero-stats-link {
    display: inline-block;
    margin-top: 22px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--orange-400);
    text-decoration: none;
    border-bottom: 1px solid rgba(249, 115, 22, 0.35);
    padding-bottom: 2px;
    animation: fadeInUp 0.8s ease 1.1s both;
    transition: var(--transition);
}
.hero-stats-link:hover { color: var(--orange-300); border-color: var(--orange-300); }

.join-live { color: var(--gray-200); font-weight: 600; }
.join-live .live-dot { flex-shrink: 0; }
.join-live.is-offline .live-dot { background: #ef4444; animation: none; }

@media (max-width: 600px) {
    .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 12px; }
    .stat { min-width: 0; }
    .stat-number { font-size: 1.6rem; }
    .stat-label { font-size: 0.7rem; }
}

/* Hero hat jetzt mehr Inhalt: Platz für Navbar oben und Scroll-Hinweis unten */
.hero { padding: 110px 0 120px; }
@media (max-width: 768px), (max-height: 760px) {
    .hero { padding: 96px 0 56px; }
    .hero-scroll { display: none; }
}

.rules-more { margin-top: 28px; text-align: center; color: var(--gray-400); font-size: 0.95rem; }
.rules-more a { color: var(--orange-400); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(249, 115, 22, 0.35); }
.rules-more a:hover { color: var(--orange-300); }
@media (min-width: 900px) { .rules-grid { grid-template-columns: repeat(3, 1fr); } }

/* ═══════════════════════════════════════════════════
   Navbar v2: Glas-Kapsel, mehr Luft, Burger ab 1024px
   ═══════════════════════════════════════════════════ */
.navbar {
    background: rgba(11, 8, 6, 0.55);
    border-bottom: 1px solid transparent;
    padding: 18px 0;
}
.navbar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.35) 30%, rgba(249, 115, 22, 0.35) 70%, transparent);
    pointer-events: none;
}
.navbar.scrolled { background: rgba(11, 8, 6, 0.88); padding: 10px 0; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45); }

.nav-logo { transition: transform 0.25s ease, text-shadow 0.25s ease; }
.nav-logo:hover { transform: translateY(-1px); text-shadow: 0 0 18px rgba(249, 115, 22, 0.6); }
.nav-logo .logo-img { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.nav-logo:hover .logo-img { transform: rotate(-8deg) scale(1.08); }

.nav-ic { width: 18px; height: 18px; flex-shrink: 0; display: block; }
.nav-links a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }

@media (min-width: 1025px) {
    .nav-container { max-width: 1320px; padding: 0 32px; }
    .nav-links {
        gap: 4px;
        padding: 5px;
        background: rgba(255, 255, 255, 0.035);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 999px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 30px rgba(0, 0, 0, 0.35);
    }
    .nav-links a {
        position: relative;
        padding: 10px 20px;
        border-radius: 999px;
        color: var(--gray-300);
        font-size: 0.92rem;
        letter-spacing: 0.2px;
    }
    .nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); text-shadow: none; }
    .nav-links a.active { color: var(--orange-300); background: rgba(249, 115, 22, 0.12); }
    .nav-links a.active::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 3px;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--orange-500);
        box-shadow: 0 0 8px var(--orange-500);
        transform: translateX(-50%);
    }
    .nav-links a.nav-cta.active::after { display: none; }

    .nav-cta {
        position: relative;
        overflow: hidden;
        margin-left: 6px;
        padding: 10px 22px !important;
        border: none !important;
        border-radius: 999px !important;
        color: #1a0d05 !important;
        font-weight: 700 !important;
        background: linear-gradient(135deg, #fdba74, #f97316 45%, #ea580c) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 22px rgba(249, 115, 22, 0.4) !important;
    }
    .nav-cta::before {
        content: '';
        position: absolute;
        top: 0;
        left: -60%;
        width: 40%;
        height: 100%;
        background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
        transform: skewX(-20deg);
        animation: ctaShine 4.5s ease-in-out infinite;
        pointer-events: none;
    }
    .nav-cta:hover {
        background: linear-gradient(135deg, #fed7aa, #fb923c 45%, #f97316) !important;
        color: #000 !important;
        transform: translateY(-1px);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 30px rgba(249, 115, 22, 0.55) !important;
    }
    .nav-cta .nav-ic { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35)); }
}

@media (min-width: 1025px) and (max-width: 1200px) {
    .nav-links a { padding: 10px 14px; font-size: 0.88rem; }
    .nav-cta { padding: 10px 18px !important; }
}

@keyframes ctaShine {
    0%, 60% { left: -60%; }
    100% { left: 130%; }
}

/* Burger-Menü schon ab 1024px statt Quetschen */
@media (max-width: 1024px) {
    .nav-toggle { display: flex; z-index: 1001; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 86vw);
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 96px 24px 32px;
        background: linear-gradient(180deg, #140e09 0%, #0e0a07 100%);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-left: 1px solid rgba(249, 115, 22, 0.18);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .nav-links.active { right: 0; }
    .nav-links a {
        width: 100%;
        padding: 14px 18px;
        font-size: 1.05rem;
        color: var(--gray-200);
        border-radius: 12px;
    }
    .nav-links a:hover, .nav-links a.active { background: rgba(249, 115, 22, 0.1); color: var(--orange-300); }
    .nav-links li:last-child { margin-top: 12px; }
    .nav-cta {
        justify-content: center;
        border: none !important;
        color: #1a0d05 !important;
        font-weight: 700 !important;
        background: linear-gradient(135deg, #fdba74, #f97316 45%, #ea580c) !important;
        border-radius: 12px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-cta::before { animation: none; display: none; }
}

/* ── Navbar v3: Dropdowns (Server / Community) ── */
.nav-group { position: relative; }
.nav-drop-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--gray-300);
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}
.nav-caret {
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.25s ease;
    opacity: 0.7;
}
.nav-group.open .nav-caret { transform: translateY(1px) rotate(-135deg); }
.nav-drop { list-style: none; }
.nav-drop a { display: flex; align-items: center; gap: 10px; }

@media (min-width: 1025px) {
    .nav-drop-btn { padding: 10px 18px; border-radius: 999px; }
    .nav-drop-btn:hover, .nav-group.open .nav-drop-btn { color: var(--white); background: rgba(255, 255, 255, 0.06); }
    .nav-drop-btn.active { color: var(--orange-300); background: rgba(249, 115, 22, 0.12); }

    .nav-drop {
        position: absolute;
        top: calc(100% + 14px);
        left: 50%;
        min-width: 210px;
        padding: 8px;
        background: linear-gradient(180deg, #19120c, #110c08);
        border: 1px solid rgba(249, 115, 22, 0.22);
        border-radius: 16px;
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
        opacity: 0;
        visibility: hidden;
        transform: translate(-50%, -6px);
        transition: none;
        z-index: 1002;
    }
    .nav-drop::before {           /* Brücke, damit Hover beim Runterfahren nicht abreißt */
        content: '';
        position: absolute;
        top: -16px;
        left: 0;
        right: 0;
        height: 16px;
    }
    .nav-group.open .nav-drop,
    .nav-group:hover .nav-drop,
    .nav-group:focus-within .nav-drop {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    .nav-group:hover .nav-caret { transform: translateY(1px) rotate(-135deg); }
    .nav-links .nav-drop a {
        width: 100%;
        padding: 10px 14px;
        border-radius: 10px;
        font-size: 0.9rem;
    }
    .nav-links .nav-drop a.active::after { display: none; }
    .nav-links .nav-drop a.active { background: rgba(249, 115, 22, 0.14); }
}

@media (max-width: 1024px) {
    .nav-links { overflow-y: auto; }
    .nav-drop-btn {
        width: 100%;
        justify-content: space-between;
        padding: 14px 18px 6px;
        font-size: 0.72rem;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: var(--gray-500);
        cursor: default;
    }
    .nav-drop-btn .nav-caret { display: none; }
    .nav-drop { display: flex; flex-direction: column; gap: 2px; }
    .nav-group + li:not(.nav-group) { margin-top: 8px; }
}

/* Sicherheitsnetz: Icon-Bilder nie in Originalgröße (96px+) aufblasen */
img.ic { max-width: 64px; max-height: 64px; }

/* Footer: Impressum-Link */
.footer-legal a { color: var(--gray-400); text-decoration: none; }
.footer-legal a:hover { color: var(--orange-400); }
