:root {
    --bg: #0b0d0f;
    --panel: #12161a;
    --panel-light: #181e23;
    --text: #f1f5f2;
    --muted: #8d9892;
    --accent: #55d66b;
    --accent-dark: #2f9e44;
    --border: #263029;
}

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

html {
    scroll-behavior: smooth;
}

@import url('https://fonts.googleapis.com/css2?family=Jura:wght@600;700&display=swap');

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(85, 214, 107, 0.08), transparent 30%),
        var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

nav {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: text-shadow 0.25s ease, transform 0.25s ease;
}

.logo img {
    width: 340px;
    height: auto;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text strong {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-text span {
    margin-top: 5px;
    color: var(--accent);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.logo:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 12px rgba(85, 214, 107, 0.45);
}


.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    position: relative;
    color: var(--muted);
    transition: color 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.2s ease;
}

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

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

.hero {
    display: flex;
    align-items: center;
    padding: 100px 0;

    background-image:
        linear-gradient(90deg,
            rgba(5, 10, 12, 0.92) 0%,
            rgba(5, 10, 12, 0.68) 38%,
            rgba(5, 10, 12, 0.18) 70%,
            rgba(5, 10, 12, 0.08) 100%),
        url("../assets/backgrounds/hero-background.png");

    background-size: cover;
    background-position: 58% center;
    background-repeat: no-repeat;
}

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

.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    margin-bottom: 24px;
    border: 1px solid rgba(85, 214, 107, 0.3);
    border-radius: 999px;
    background: rgba(85, 214, 107, 0.05);
    color: var(--muted);
    font-size: 0.9rem;
    box-shadow: 0 0 18px rgba(85, 214, 107, 0.08);
}

.status-dot {
    width: 9px;
    height: 9px;
    display: inline-block;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(85, 214, 107, 0.7);
}

@keyframes serverPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 6px rgba(85, 214, 107, 0.5);
    }

    50% {
        transform: scale(1.35);
        box-shadow: 0 0 18px rgba(85, 214, 107, 1);
    }
}

.hero h1 {
    max-width: 850px;
    font-family: "Jura", sans-serif;
    font-weight: 700;
    font-size: clamp(2.8rem, 6.5vw, 5.2rem);
    line-height: 0.92;
    margin-bottom: 26px;
    letter-spacing: -1px;
    text-shadow: 0 0 30px rgba(85, 214, 107, 0.12);
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    max-width: 620px;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 34px;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    border: 1px solid var(--border);
    background: var(--panel);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.btn-primary {
    background: var(--accent);
    color: #071009;
    border-color: var(--accent);
}

.btn-primary:hover {
    box-shadow: 0 8px 28px rgba(85, 214, 107, 0.25);
}

section {
    padding: 70px 0;
}

.section-title {
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.section-title p {
    color: var(--muted);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    padding: 24px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(85, 214, 107, 0.45);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.card h3 {
    margin-bottom: 8px;
}

.card p {
    color: var(--muted);
}

.server-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.info-box {
    padding: 22px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.info-label {
    display: block;
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.info-value {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.15rem;
    font-weight: 700;
}

.server-status-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
}


footer {
    padding: 35px 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    text-align: center;
    background: rgba(11, 13, 15, 0.35);
}

@media (max-width: 800px) {
    .nav-links {
        display: none;
    }

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

    .hero {
        min-height: 440px;
    }
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logo span {
    color: var(--accent);
    font-size: 0.58rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 72% 32%, rgba(85, 214, 107, 0.14), transparent 18%),
        radial-gradient(circle at 82% 70%, rgba(70, 120, 255, 0.10), transparent 24%),
        radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.04), transparent 22%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.35;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.8) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.45) 1px, transparent 1px);
    background-size: 90px 90px, 140px 140px;
    background-position: 10px 20px, 60px 80px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    max-width: 850px;
    font-size: clamp(3.5rem, 8vw, 7rem);
    letter-spacing: -3px;
}

.hero h1 span {
    display: block;
}


/* ===== RadioSpace Hero ===== */

.hero {}

.hero::before {
    background:
        radial-gradient(circle at 78% 38%, rgba(85, 214, 107, 0.18), transparent 15%),
        radial-gradient(circle at 82% 38%, rgba(70, 120, 255, 0.12), transparent 30%),
        radial-gradient(circle at 75% 70%, rgba(30, 80, 180, 0.08), transparent 28%);
}

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

.hero h1 {
    font-size: clamp(3.8rem, 8vw, 7rem);
    line-height: 0.9;
    letter-spacing: -4px;
    margin-bottom: 28px;
}

.hero h1 span:first-child {
    color: var(--text);
}

.hero h1 span:last-child {
    color: var(--accent);
    font-size: 0.72em;
    letter-spacing: -2px;
    margin-top: 8px;
}

.hero p {
    max-width: 570px;
    font-size: 1.05rem;
}

.hero-player-count {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 28px;
    color: var(--muted);
}

.hero-player-count strong {
    color: var(--text);
    font-size: 1.15rem;
}

.hero-player-count span {
    font-size: 0.85rem;
}

/* Decorative planet */

.hero .container {
    position: relative;
}

@media (max-width: 800px) {

    .hero h1 {
        letter-spacing: -2px;
    }
}

/* Hero más compacto */
.hero {
    min-height: 500px;
    padding: 70px 0;
}

.hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    line-height: 0.95;
    letter-spacing: -2px;
    margin-bottom: 22px;
}

.hero h1 span:last-child {
    font-size: 0.62em;
    letter-spacing: -1px;
    margin-top: 6px;
}

/* Logo superior más discreto */
.logo {
    font-size: 1.05rem;
    letter-spacing: 1.2px;
}

.logo span {
    font-size: 0.5rem;
    letter-spacing: 1.6px;
}


/* Logo RadioSpace — ajuste de tamaño */
.logo {
    font-size: 1.2rem;
}

.logo span {
    font-size: 0.54rem;
}

/* ===== Botón copiar dirección ===== */

.server-address {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

.server-address small {
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--panel-light);
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.server-address:hover small {
    color: var(--text);
    border-color: var(--accent);
}

.server-address:active small {
    transform: scale(0.96);
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(11, 13, 15, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.language-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 72px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.2s ease;
}

.language-btn img {
    width: 24px;
    height: 15px;
    object-fit: cover;
    border-radius: 3px;
    display: block;
}

.language-btn:hover {
    color: var(--text);
    transform: translateY(-1px);
}

.language-btn.active {
    color: var(--text);
    border-color: var(--accent);
    background: rgba(85, 214, 107, 0.08);
    box-shadow: 0 0 18px rgba(85, 214, 107, 0.15);
}

@media (min-width: 1200px) {
    .hero {
        background-position: 58% center;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .hero {
        background-position: 62% center;
    }
}

@media (max-width: 768px) {
    .hero {
        background-position: 78% center;
        padding-bottom: 250px;
    }
}

.hero {
    overflow: hidden;
    width: 100%;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .logo img {
        width: 220px;
    }
}

@media (min-width: 769px) {
    .hero {
        min-height: 640px;
        background-size: cover;
        background-position: center 65%;
    }
}

/* ===== Header estilo RadioSpace ===== */

@media (min-width: 769px) {

    header {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;

        border-bottom: none;
        background: transparent;

        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    header nav {
        width: calc(100% - 30px);
        max-width: 1720px;

        margin: 14px auto;

        padding: 8px 18px;
    }

    .hero {
        padding-top: 140px;
    }

}

/* Separadores de la navegación */

.nav-links {
    min-height: 48px;

    padding: 0 68px;

    border-left: 1px solid rgba(160, 190, 185, 0.28);
    border-right: 1px solid rgba(160, 190, 185, 0.28);

    align-items: center;
    gap: 72px;
}

/* Navegación */

.nav-links a {
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 500;
}

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

/* Selector de idiomas */

.language-switcher {
    margin-right: 4px;

    border-color: rgba(160, 190, 185, 0.28);

    background: rgba(4, 12, 13, 0.55);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.language-btn.active {
    box-shadow:
        0 0 20px rgba(85, 214, 107, 0.18),
        inset 0 0 15px rgba(85, 214, 107, 0.04);
}

/* =========================================
   HERO STATUS BAR
   ========================================= */

.hero {
    position: relative;
}

.hero-status-bar {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);

    width: calc(100vw - 30px);
    max-width: 1180px;
    min-height: 100px;

    display: flex;
    align-items: center;

    padding: 0 28px;

    background:
        linear-gradient(90deg,
            rgba(5, 20, 18, 0.88),
            rgba(7, 25, 22, 0.78));

    border: 1px solid rgba(85, 214, 107, 0.45);
    border-radius: 26px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.45),
        0 0 25px rgba(85, 214, 107, 0.08);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    z-index: 20;
}

.status-bar-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.status-bar-icon {
    width: 52px;
    height: 52px;

    flex: 0 0 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(85, 214, 107, 0.35);
    border-radius: 50%;

    color: var(--accent);
    font-size: 22px;

    background: rgba(0, 0, 0, 0.22);
}

.status-bar-item small {
    display: block;

    margin-bottom: 5px;

    color: rgba(255, 255, 255, 0.58);

    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.status-bar-item strong {
    display: block;

    color: #fff;

    font-size: 17px;
    font-weight: 500;
}

.status-bar-divider {
    width: 1px;
    height: 52px;

    flex: 0 0 1px;

    background: rgba(160, 190, 185, 0.22);

    margin: 0 24px;
}

.status-bar-item .status-dot {
    display: inline-block;

    width: 10px;
    height: 10px;

    margin-right: 8px;

    border-radius: 50%;

    background: #555;
}

.status-bar-item .status-dot.online {
    background: var(--accent);
    box-shadow: 0 0 10px rgba(85, 214, 107, 0.7);
}

.discord-icon {
    color: #fff;
    background: rgba(88, 101, 242, 0.85);
    border-color: rgba(88, 101, 242, 0.8);
}

.discord-item {
    position: relative;
}

.status-bar-arrow {
    margin-left: auto;

    font-size: 30px;
    color: #fff;
}

/* =========================================
   RADIOSPACE — FULL WIDTH HEADER
   ========================================= */

header {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: auto;

    z-index: 1000;

    background: transparent;
    border: none;
    box-shadow: none;

    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Banda superior completa */
header::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background: linear-gradient(90deg,
            rgba(85, 214, 107, 0) 0%,
            rgba(85, 214, 107, 0.35) 10%,
            rgba(85, 214, 107, 0.95) 30%,
            rgba(85, 214, 107, 1) 50%,
            rgba(85, 214, 107, 0.95) 70%,
            rgba(85, 214, 107, 0.35) 90%,
            rgba(85, 214, 107, 0) 100%);

    box-shadow:
        0 0 8px rgba(85, 214, 107, 0.8),
        0 0 20px rgba(85, 214, 107, 0.35);
}

/* Banda inferior completa */
header::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background: linear-gradient(90deg,
            rgba(85, 214, 107, 0) 0%,
            rgba(85, 214, 107, 0.35) 10%,
            rgba(85, 214, 107, 0.95) 30%,
            rgba(85, 214, 107, 1) 50%,
            rgba(85, 214, 107, 0.95) 70%,
            rgba(85, 214, 107, 0.35) 90%,
            rgba(85, 214, 107, 0) 100%);

    box-shadow:
        0 0 8px rgba(85, 214, 107, 0.8),
        0 0 20px rgba(85, 214, 107, 0.35);
}

/* Contenedor visual de la navegación */
header nav {
    position: relative;

    width: min(1180px, 92%);
    max-width: 1180px;

    min-height: 120px;

    margin: 0 auto;

    padding: 14px 0;

    display: flex;
    align-items: center;


    gap: 55px;

    background:
        linear-gradient(180deg,
            rgba(3, 15, 14, 0.72),
            rgba(3, 15, 14, 0.48));

    border: none;
    border-radius: 0;

    box-shadow: none;

}

/* Logo */
header nav .logo {
    flex: 0 0 auto;
}

/* Navegación central */
header nav .nav-links {
    flex: 0 0 auto;

    display: flex;
    align-items: center;

    min-height: 48px;

    padding: 0 68px;

    gap: 55px;

    border-left: 1px solid rgba(160, 190, 185, 0.28);
    border-right: 1px solid rgba(160, 190, 185, 0.28);
}

/* Selector de idioma */
header nav .language-switcher {
    flex: 0 0 auto;
}

/* =========================================
   DESKTOP
   ========================================= */

@media (min-width: 769px) {

    header nav {
        margin-left: 50%;
        transform: translateX(-50%);
    }

}

/* Header completamente de borde a borde */
header nav {
    width: 100%;
    max-width: none;

    margin-left: 0;
    transform: none;

    background: transparent;
}

/* Fondo de header de borde a borde */
header nav::before {
    content: "";

    position: absolute;
    top: 0;
    left: 50%;

    width: 100vw;
    height: 100%;

    transform: translateX(-50%);

    background:
        linear-gradient(180deg,
            rgba(3, 15, 14, 0.82),
            rgba(3, 15, 14, 0.55));

    z-index: -1;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* =========================================
   MOBILE HEADER
   ========================================= */

@media (max-width: 768px) {

    header {
        position: relative;
        width: 100%;
        background: transparent;
    }

    header nav {
        width: 100%;
        max-width: none;

        min-height: 78px;

        margin: 0;

        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 12px;

        background: transparent;

        border: none;
        border-radius: 0;
        box-shadow: none;

        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    header nav .logo img {
        width: 180px;
        height: auto;
    }

    header nav .nav-links {
        display: none;
    }

    header nav .language-switcher {
        flex: 0 0 auto;
        margin-right: 0;
    }

    .language-btn {
        min-width: 52px;
        height: 34px;
        padding: 0 8px;
        font-size: 0.75rem;
    }

    .language-btn img {
        width: 20px;
        height: 13px;
    }

}

/* =========================================
   MOBILE HERO STATUS BAR
   ========================================= */

@media (max-width: 768px) {

    .hero-status-bar {
        left: 50%;
        bottom: 16px;
        transform: translateX(-50%);

        width: calc(100% - 32px);
        max-width: none;

        min-height: 0;

        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;

        padding: 16px;

        border-radius: 22px;
    }

    .status-bar-item {
        min-width: 0;
        width: 100%;

        gap: 10px;

        padding: 10px 8px;
    }

    .status-bar-icon {
        width: 40px;
        height: 40px;

        flex: 0 0 40px;

        font-size: 17px;
    }

    .status-bar-item small {
        margin-bottom: 2px;

        font-size: 8px;
        letter-spacing: 1px;
    }

    .status-bar-item strong {
        font-size: 13px;
    }

    .status-bar-divider {
        display: none;
    }

    .discord-item {
        grid-column: 1 / -1;

        border-top: 1px solid rgba(160, 190, 185, 0.18);

        margin-top: 6px;
        padding-top: 14px;
    }

    .status-bar-arrow {
        font-size: 24px;
    }

}