/* --- MASTER STYLESHEET (style.css) --- */
:root {
    --bg: #050507;
    --surface: #0e0e10;
    --surface-highlight: #1c1c1f;
    --border: rgba(255, 255, 255, 0.08);
    --text-main: #f5f5f7;
    --text-muted: #86868b;
    --accent: #ffffff;
    --font: 'Inter', sans-serif;
    --ease-apple: cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --- NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 80px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 7, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.menu {
    display: flex;
    align-items: center;
    height: 100%;
}

.menu a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: color 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.menu a:hover,
.menu a.active {
    color: var(--text-main);
}

.menu a.active::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--text-main);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    animation: dotFadeIn 0.3s ease-out forwards;
}

@keyframes dotFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 5px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.cta-button {
    background: var(--accent);
    color: var(--bg) !important;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    transition: opacity 0.3s;
    height: auto !important;
    display: inline-block !important;
}

.cta-button:hover {
    opacity: 0.9;
}

/* --- MOBILE MENU --- */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 2000;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-main);
    position: absolute;
    left: 0;
    transition: 0.3s var(--ease-apple);
    border-radius: 2px;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    bottom: 9px;
    transform: rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 7, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.mobile-menu.active .mobile-links {
    transform: translateY(0);
}

.mobile-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
}

.mobile-cta {
    background: var(--accent);
    color: var(--bg) !important;
    padding: 12px 30px;
    border-radius: 30px;
}

@media (max-width: 1024px) {
    .desktop-menu {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

/* --- HERO & UTILS --- */
.hero-main {
    text-align: center;
    height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 60px;
}

.hero-main h1 {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(180deg, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.hero-btns {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-hero {
    text-decoration: none;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-hero.primary {
    background-color: var(--accent);
    color: var(--bg);
    border: 1px solid var(--accent);
}

.btn-hero.primary:hover {
    background-color: #d4d4d4;
    border-color: #d4d4d4;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.25);
}

.btn-hero.secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-hero.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
    animation: bobbing 2.5s infinite ease-in-out;
}

.scroll-indicator:hover {
    opacity: 1;
    color: var(--text-main);
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes bobbing {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* --- SWITCHER & CARDS --- */
.section-header {
    text-align: center;
    padding: 6rem 1rem 2rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 10px;
}

.switcher-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.switcher-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 4px;
    position: relative;
    display: flex;
    border: 1px solid var(--border);
}

.switcher-pill {
    position: absolute;
    top: 4px;
    left: 4px;
    bottom: 4px;
    width: 50%;
    background: var(--surface-highlight);
    border-radius: 25px;
    z-index: 1;
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s var(--ease-apple);
}

.switcher-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 2;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    transition: color 0.3s;
}

.switcher-btn:hover,
.switcher-btn.active {
    color: var(--text-main);
}

.pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: var(--surface-highlight);
}

.card.active {
    border-color: var(--accent);
    background: var(--surface-highlight);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

.card-summary {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-box svg {
    opacity: 0.9;
    width: 24px;
    height: 24px;
}

.icon-box.sprout {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
}

.icon-box.flame {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.icon-box.crown {
    background: rgba(255, 255, 255, 0.07);
    color: var(--accent);
}

.plan-name {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.2rem;
}

.plan-headline {
    font-size: 1.3rem;
    font-weight: 600;
}

.separator {
    color: var(--border);
    margin: 0 5px;
}

.toggle-icon {
    color: var(--text-muted);
    transition: transform 0.4s var(--ease-apple);
}

.card.active .toggle-icon {
    transform: rotate(45deg);
    color: var(--text-main);
}

.card-details {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s var(--ease-apple), opacity 0.4s ease-in-out;
}

.card.active .card-details {
    max-height: 600px;
    opacity: 1;
}

.details-content {
    padding: 0 2rem 2rem 2rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.renewal-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.renewal-icon {
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.renewal-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    font-size: 0.85rem;
}

.renewal-label {
    color: var(--text-muted);
}

.renewal-status {
    color: var(--text-main);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 2rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.spec-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.spec-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.spec-info strong {
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
}

.spec-info span {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.card-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: var(--surface-highlight);
    border: 1px solid var(--border);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: 0.3s;
}

.card-btn:hover,
.card-btn.primary {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

.plan-footer {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.plan-footer a {
    color: var(--text-main);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: 0.3s;
}

.plan-footer a:hover {
    border-color: var(--text-main);
}

.upgrade-wrapper {
    margin-top: 2rem;
    padding: 0 1rem;
}

.upgrade-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: radial-gradient(circle at center, #1a1a1c 0%, #000000 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    padding: 10px 10px 10px 24px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.upgrade-bar:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.upgrade-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.upgrade-icon {
    color: var(--bg);
    background: linear-gradient(135deg, #fff, #bbb);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

.upgrade-icon svg {
    width: 18px;
    height: 18px;
}

.upgrade-text h3 {
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.upgrade-text p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
}

.upgrade-action {
    background: var(--text-main);
    color: var(--bg);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.upgrade-bar:hover .upgrade-action {
    background: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.features-section {
    padding: 0 2rem 6rem;
    max-width: 1100px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 3rem;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    cursor: default;
    --mouse-x: 0px;
    --mouse-y: 0px;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.4), transparent 40%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.feature-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(500px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.05), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.features-grid:hover .feature-card::before,
.features-grid:hover .feature-card::after {
    opacity: 1;
}

.feature-card.wide {
    grid-column: span 2;
}

.feature-content {
    padding: 2rem;
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.f-icon {
    color: var(--text-main);
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.active-group {
    animation: fadeIn 0.5s var(--ease-apple);
}

/* --- MAP SECTION (RESIZED & CENTERED) --- */
.map-section {
    padding: 4rem 2rem 8rem;
    width: 100%;
    /* Rimuovi max-width dal genitore se vuoi che il contenitore gestisca la larghezza, 
       oppure lascialo a 1200px/1400px e usa width 100% sul figlio. 
       Qui usiamo un approccio pulito: */
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.map-container {
    position: relative;
    width: 85%;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
}

.map-visual {
    position: relative;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    border-radius: 30px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    line-height: 0;
}

/* Opzionale: Su schermi piccoli la riportiamo larga per leggibilità */
@media (max-width: 768px) {
    .map-container {
        width: 100%;
        /* Su mobile sfrutta tutto lo spazio */
        border-radius: 20px;
    }
}

.map-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.world-map-img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.3;
    filter: grayscale(100%) contrast(1.2) brightness(0.7);
    pointer-events: none;
    user-select: none;
}

#map-points-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Map Points */
.map-point {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
}

.map-point:hover {
    transform: translate(-50%, -50%) scale(1.3);
}

.point-dot {
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 15px #10b981;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.point-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 185, 129, 0.4);
    border-radius: 50%;
    animation: mapPulse 2s infinite;
    z-index: 1;
}

@keyframes mapPulse {
    0% {
        transform: scale(0.4);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* --- FIXED SERVER CARD (RESET LINE HEIGHT) --- */
.server-card {
    /* Reset line-height per evitare il collasso ereditato dal container */
    line-height: 1.5;

    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%) translateY(20px);
    width: 300px;
    height: auto;
    min-height: 180px;
    background: #131315;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 100;

    display: grid;
    grid-template-rows: max-content 1fr max-content;
    gap: 20px;
    /* Spazio sicuro tra le sezioni */
}

.server-card.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.server-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.server-flag {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: #333;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.server-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.server-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
}

.server-info h3 {
    font-size: 1.1rem;
    color: #fff;
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}

.server-info span {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1.2;
}

.close-card {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}

.close-card:hover {
    background: rgba(255, 255, 255, 0.3);
}

.server-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: center;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat .label {
    color: #888;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    line-height: 1;
}

.stat .value {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
}

.stat .value.green {
    color: #10b981;
}

.ping-animation {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.ping-bar {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #10b981, transparent);
    transform: translateX(-100%);
    animation: pingMove 1.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pingMove {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* --- FIXED MAP HUD (RESET LINE HEIGHT) --- */
.map-hud {
    /* Reset line-height fondamentale */
    line-height: 1.5;

    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 5;
}

.hud-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    /* Spazio verticale garantito */
}

.hud-label {
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    line-height: 1;
}

.hud-value {
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font);
    line-height: 1;
}

.text-green {
    color: #10b981;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.hud-divider {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* RESPONSIVE MAP */
@media (max-width: 768px) {
    .map-container {
        width: 100%;
        gap: 1.75rem;
    }

    .map-visual {
        border-radius: 20px;
    }

    .map-hud {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 1.5rem;
        background: var(--surface);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 20px;
    }

    .hud-divider {
        display: none;
    }

    .server-card {
        width: 90%;
        bottom: 10px;
        padding: 1.2rem;
    }
}

/* FOOTER */
.site-footer {
    background: #000;
    border-top: 1px solid var(--border);
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
    padding-top: 0;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: left;
}

.brand-col {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.brand-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 1rem 0 1.5rem;
}

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulse-green 2s infinite;
}

.status-text {
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-muted);
    transition: 0.3s;
    background: var(--surface);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border);
}

.social-links a:hover {
    color: var(--bg);
    background: var(--text-main);
    transform: translateY(-3px);
    border-color: var(--text-main);
}

.footer-links-wrapper {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-col h4 {
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--text-main);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* MOBILE RESPONSIVE */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 200;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-main);
    position: absolute;
    left: 0;
    transition: 0.3s var(--ease-apple);
    border-radius: 2px;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    bottom: 9px;
    transform: rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 7, 0.95);
    backdrop-filter: blur(20px);
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.mobile-menu.active .mobile-links {
    transform: translateY(0);
}

.mobile-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
}

.mobile-cta {
    background: var(--accent);
    color: var(--bg) !important;
    padding: 12px 30px;
    border-radius: 30px;
}

@media (max-width: 1024px) {
    .desktop-menu {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-main h1 {
        font-size: 2.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card.wide {
        grid-column: span 1;
    }

    .menu {
        display: none;
    }

    .hero-main {
        height: auto;
        padding: 8rem 1rem 6rem;
    }

    .scroll-indicator {
        display: none;
    }

    .upgrade-bar {
        flex-direction: column;
        border-radius: 20px;
        padding: 20px;
        text-align: center;
        gap: 15px;
    }

    .upgrade-content {
        flex-direction: column;
        gap: 10px;
    }

    .upgrade-action {
        width: 100%;
        display: block;
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-links-wrapper {
        gap: 2rem;
        justify-content: space-between;
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-col {
        min-width: 140px;
    }
}

/* --- BREADCRUMB NAVIGATION --- */
.breadcrumb {
    padding: 100px 5% 0;
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    font-size: 0.8rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.breadcrumb li::after {
    content: '/';
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
}

.breadcrumb li:last-child::after {
    display: none;
}

.breadcrumb li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb li a:hover {
    color: var(--text-main);
}

.breadcrumb li[aria-current="page"] {
    color: var(--text-main);
    font-weight: 500;
}

/* --- FAQ SECTION --- */
.faq-section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-item h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.4;
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-item a {
    color: var(--text-main);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.faq-item a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .breadcrumb {
        padding-top: 90px;
    }
}

/* Mobile: profile avatar in mobile menu */
.mobile-menu .portal-nav-user {
    margin-left: 0;
    margin-top: 1rem;
}

.mobile-pnd-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mobile-pnd-name {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font);
}

.mobile-pnd-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.mobile-pnd-links a {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.mobile-pnd-logout {
    color: #ef4444 !important;
}
