/* ============================================================
   ALOHAFUS — Main Stylesheet
   ============================================================ */

:root {
    --bg-nav-solid:  rgba(22, 22, 20, 0.97);
    --bg-dropdown:   #1c1c1a;
    --bg-card:       #ffffff;
    --bg-widget:     #ffffff;
    --border-subtle: rgba(255,255,255,0.08);

    --text-primary:   #1a1a18;
    --text-secondary: #555550;
    --text-muted:     #888882;
    --text-nav:       #e8e8e0;

    --accent-lime:    #8dc63f;
    --accent-green:   #6aab28;
    --accent-dark-green: #5a9020;
    --accent-purple:  #c44fe8;
    --accent-gold:    #e8b820;
    --accent-red:     #cc2222;

    --play-bg:        #b8ff00;
    --play-text:      #0d0d0d;
    --highlight-from: #b040e0;
    --highlight-to:   #7820a8;

    --nav-height: 58px;
    --page-max:   1200px;
    --radius-card: 6px;
    --radius-widget: 6px;

    --font-display: 'Rajdhani', sans-serif;
    --font-body:    'Exo 2', sans-serif;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    min-height: 100vh;
    color: var(--text-primary);
    background: #2a3020;  /* fallback if image missing */
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; color: inherit; font: inherit; }
img { display: block; max-width: 100%; }

/* ══════════════════════════════════════════════════════════
   FULL-PAGE BACKGROUND
   ══════════════════════════════════════════════════════════ */
.site-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.site-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    /* slight desaturation so content pops */
    filter: saturate(0.85) brightness(0.88);
}

/* subtle vignette overlay */
.site-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 120% 80% at 50% 0%, rgba(0,0,0,0.15) 0%, transparent 60%),
        linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.12) 100%);
}

/* ══════════════════════════════════════════════════════════
   HEADER / NAV
   ══════════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: var(--bg-nav-solid);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.main-nav {
    display: flex;
    align-items: center;
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 18px;
    gap: 2px;
    color: var(--text-nav);
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    margin-right: 14px;
    flex-shrink: 0;
    transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.75; }

/* Nav list */
.nav-list {
    display: flex;
    align-items: stretch;
    height: 100%;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 14px;
    height: var(--nav-height);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-nav);
    white-space: nowrap;
    transition: color 0.18s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 14px; right: 14px;
    height: 2px;
    background: var(--accent-lime);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}

.nav-item:hover > .nav-link { color: #fff; }
.nav-item:hover > .nav-link::after,
.nav-item.active > .nav-link::after { transform: scaleX(1); }

.nav-arrow { font-size: 7px; opacity: 0.55; transition: transform 0.2s; }
.nav-item:hover .nav-arrow { transform: rotate(180deg); }
.nav-ext    { font-size: 12px; opacity: 0.5; }

/* Dropdown */
.dropdown {
    position: absolute;
    top: calc(var(--nav-height) - 1px);
    left: 0;
    min-width: 190px;
    background: var(--bg-dropdown);
    border: 1px solid rgba(255,255,255,0.08);
    border-top: 2px solid var(--accent-lime);
    border-radius: 0 0 4px 4px;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
    box-shadow: 0 14px 36px rgba(0,0,0,0.55);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: #a8a8a0;
    letter-spacing: 0.02em;
    transition: color 0.15s, background 0.15s, padding-left 0.15s;
}
.dropdown-link:hover { color: #fff; background: rgba(255,255,255,0.05); padding-left: 26px; }
.dropdown-link.active { color: var(--accent-lime); }
.dropdown-link.active::before {
    content: '';
    display: inline-block;
    width: 5px; height: 5px;
    background: var(--accent-lime);
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    margin-bottom: 2px;
}

/* Right section */
.nav-right {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-highlight {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    background: linear-gradient(135deg, var(--highlight-from), var(--highlight-to));
    border-radius: 4px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    white-space: nowrap;
    transition: filter 0.2s, transform 0.15s;
    box-shadow: 0 2px 16px rgba(180,64,224,0.3);
}
.nav-highlight:hover { filter: brightness(1.12); transform: translateY(-1px); }
.highlight-icon { font-size: 15px; }

.nav-lang {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    color: #9a9a90;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}
.nav-lang:hover { color: #e8e8e0; background: rgba(255,255,255,0.06); }

.nav-user {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    color: #9a9a90;
    font-size: 13px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}
.nav-user:hover { color: #e8e8e0; background: rgba(255,255,255,0.06); }

.nav-play {
    padding: 8px 20px;
    background: var(--play-bg);
    color: var(--play-text);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.08em;
    border-radius: 4px;
    transition: filter 0.2s, transform 0.15s;
    box-shadow: 0 2px 14px rgba(184,255,0,0.2);
}
.nav-play:hover { filter: brightness(1.1); transform: translateY(-1px); }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.nav-hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text-nav);
    border-radius: 2px;
    transition: 0.2s;
}

/* ══════════════════════════════════════════════════════════
   MAIN LAYOUT — sits on top of fixed bg
   ══════════════════════════════════════════════════════════ */
.site-main {
    position: relative;
    z-index: 1;
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 60px;
    min-height: 100vh;
}

/* Page wrapper — centers and pads all content */
.page-wrap {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ══════════════════════════════════════════════════════════
   BREADCRUMB
   ══════════════════════════════════════════════════════════ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0 18px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--accent-lime);
}
.breadcrumb a {
    color: var(--accent-lime);
    opacity: 0.75;
    transition: opacity 0.2s;
}
.breadcrumb a:hover { opacity: 1; }
.bc-sep { opacity: 0.5; font-size: 10px; }
.bc-current { opacity: 0.55; }

/* ══════════════════════════════════════════════════════════
   CONTENT LAYOUT: 2-column
   ══════════════════════════════════════════════════════════ */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px;
    align-items: start;
}

/* ── Section header ──────────────────────────────────────── */
.section-header {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--accent-lime);
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    padding: 0;
    overflow: hidden;
    margin-bottom: 0;
}

.section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--accent-gold);
    font-size: 20px;
    flex-shrink: 0;
}

.section-title {
    padding: 0 20px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ── News grid ───────────────────────────────────────────── */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #d0d0c8;
    border: 1px solid #d0d0c8;
    border-top: none;
    border-radius: 0 0 var(--radius-card) var(--radius-card);
    overflow: hidden;
}

.news-card {
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    transition: background 0.18s;
}
.news-card:hover { background: #f8f8f4; }

/* Image area */
.news-card-img-wrap {
    position: relative;
    display: block;
    background: #e0ede8;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.news-card-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.news-card:hover .news-card-img-wrap img { transform: scale(1.03); }

.img-placeholder {
    background: linear-gradient(135deg, #c8ddd0 0%, #b0c8bc 100%);
    min-height: 160px;
}

.news-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--accent-red);
    color: #fff;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 2px;
    z-index: 1;
}

/* Card body */
.news-card-body {
    padding: 14px 16px 18px;
    flex: 1;
}

.news-meta {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    margin-bottom: 6px;
}

.news-category { color: var(--accent-green); }
.news-date     { color: var(--text-muted); }

.news-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 8px;
}
.news-title a:hover { color: var(--accent-green); }

.news-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════
   SIDEBAR WIDGETS
   ══════════════════════════════════════════════════════════ */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.widget {
    background: var(--bg-widget);
    border-radius: var(--radius-widget);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

/* Widget header bar */
.widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-lime);
    padding: 10px 16px;
}

.widget-dot {
    width: 10px; height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
    flex-shrink: 0;
}

.widget-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
}

/* Filter list */
.filter-list {
    padding: 10px 0;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.filter-item:hover { background: #f4f4f0; color: var(--text-primary); }
.filter-item.active { color: var(--text-primary); font-weight: 600; }

.filter-radio {
    width: 16px; height: 16px;
    border: 2px solid #c0c0b8;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.15s;
}

.filter-item.active .filter-radio {
    border-color: var(--accent-green);
}
.filter-item.active .filter-radio::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--accent-green);
    border-radius: 50%;
}

/* Promo widget */
.widget-promo {
    background: linear-gradient(160deg, #2060c8 0%, #1848a0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 20px 24px;
    text-align: center;
    gap: 10px;
}

.promo-mascot { font-size: 52px; line-height: 1; }

.promo-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.promo-text {
    font-size: 13px;
    color: rgba(255,255,255,0.82);
    line-height: 1.5;
}

.promo-btn {
    margin-top: 4px;
    padding: 9px 28px;
    background: var(--accent-gold);
    color: #1a1200;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.08em;
    border-radius: 4px;
    transition: filter 0.2s, transform 0.15s;
    box-shadow: 0 3px 12px rgba(232,184,32,0.35);
}
.promo-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.site-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 28px;
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    font-family: var(--font-body);
    letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
    .content-layout { grid-template-columns: 1fr; }
    .content-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
    .news-grid { grid-template-columns: 1fr; }
    .content-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .nav-list { display: none; }
    .nav-highlight { display: none; }
    .nav-lang span { display: none; }
    .nav-hamburger { display: flex; }

    .nav-list.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--nav-height);
        left: 0; right: 0;
        background: var(--bg-nav-solid);
        overflow-y: auto;
        padding: 8px 0 24px;
        align-items: flex-start;
        height: unset;
        max-height: calc(100vh - var(--nav-height));
    }
    .nav-item { width: 100%; flex-direction: column; align-items: flex-start; }
    .nav-link  { width: 100%; height: auto; padding: 13px 20px; }
    .nav-link::after { display: none; }
    .dropdown {
        position: static; opacity: 1; visibility: visible;
        transform: none; border-top: none;
        border-left: 2px solid var(--accent-lime);
        margin-left: 20px; box-shadow: none;
        background: transparent; display: none;
    }
    .nav-item.open .dropdown { display: block; }
}

/* ══════════════════════════════════════════════════════════
   SERVER HOMEPAGE STYLES
   ══════════════════════════════════════════════════════════ */

/* ── Hero banner ─────────────────────────────────────────── */
.server-hero {
    text-align: center;
    padding: 48px 20px 40px;
}

.server-hero-badge {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(184,255,0,0.15);
    border: 1px solid var(--accent-lime);
    border-radius: 20px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent-lime);
    margin-bottom: 16px;
}

.server-hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #fff;
    text-shadow: 0 0 40px rgba(0,0,0,0.8), 0 4px 20px rgba(0,0,0,0.6);
    line-height: 1;
    margin-bottom: 16px;
}
.server-hero-title span { color: var(--accent-lime); }

.server-hero-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    max-width: 480px;
    margin: 0 auto 28px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.server-hero-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 12px 32px;
    background: var(--accent-lime);
    color: #0d0d0d;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.06em;
    border-radius: 5px;
    transition: filter 0.2s, transform 0.15s;
    box-shadow: 0 4px 20px rgba(184,255,0,0.3);
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-2px); }

.btn-secondary {
    padding: 12px 28px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.25);
    transition: background 0.2s, transform 0.15s;
    backdrop-filter: blur(4px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

/* ── Rates banner ────────────────────────────────────────── */
.rates-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(14,14,14,0.82);
    border: 1px solid rgba(255,255,255,0.1);
    border-left: 4px solid var(--accent-lime);
    border-radius: 6px;
    padding: 16px 24px;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
    flex-wrap: wrap;
}

.rate-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.rate-val {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--accent-lime);
    line-height: 1;
}
.rate-mid .rate-val { color: var(--accent-gold); }

.rate-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
}

.rate-arrow {
    font-size: 18px;
    color: rgba(255,255,255,0.25);
}

.rates-desc {
    margin-left: auto;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    max-width: 300px;
    text-align: right;
}
.rates-desc strong { color: rgba(255,255,255,0.85); }

/* ── Frigost ─────────────────────────────────────────────── */
.frigost-wrap {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: #d8d8d0;
    border: 1px solid #d8d8d0;
    border-top: none;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
    margin-bottom: 0;
}

.frigost-chapter {
    background: #fff;
    padding: 0;
}

.frigost-chapter-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #f6f6f2;
    border-left: 4px solid #4a9fd4;
    flex-wrap: wrap;
}

.frigost-num {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.frigost-chapter-name {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.frigost-levels {
    font-size: 12px;
    color: var(--accent-green);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.frigost-access {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-muted);
}

.frigost-body {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 0;
    padding: 0;
}

.frigost-zones,
.frigost-dungeons {
    padding: 16px 18px;
}

.frigost-zones {
    border-right: 1px solid #ebebeb;
}

.frigost-col-title {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.frigost-zones ul li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 3px 0;
    padding-left: 12px;
    position: relative;
}
.frigost-zones ul li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
}

.dungeon-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0eb;
}
.dungeon-row:last-child { border-bottom: none; }

.dungeon-icon { font-size: 14px; flex-shrink: 0; }
.dungeon-name { font-size: 13px; color: var(--text-secondary); flex: 1; }
.dungeon-level {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--accent-green);
    padding: 2px 7px;
    border-radius: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

.frigost-note {
    padding: 8px 18px;
    font-size: 12px;
    color: var(--text-muted);
    background: #fafaf7;
    border-top: 1px solid #ebebeb;
}
.frigost-note strong { color: var(--accent-green); }

/* ── Features grid ───────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #d8d8d0;
    border: 1px solid #d8d8d0;
    border-top: none;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}

.feature-card {
    background: #fff;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 16px;
    transition: background 0.15s;
}
.feature-card:hover { background: #f8f8f4; }

.feature-icon {
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    margin-bottom: 4px;
}

.feature-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ── Sidebar extras ──────────────────────────────────────── */
.widget-body {
    padding: 14px 16px;
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid #f0f0eb;
    font-size: 13px;
}
.status-row:last-of-type { border-bottom: none; }

.status-label { color: var(--text-muted); font-weight: 500; }

.status-value {
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 0.02em;
}
.status-value.online { color: #22bb66; }

.widget-cta {
    display: block;
    text-align: center;
    margin-top: 14px;
    padding: 10px;
    background: var(--accent-lime);
    color: #0d0d0d;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.06em;
    border-radius: 4px;
    transition: filter 0.2s;
}
.widget-cta:hover { filter: brightness(1.08); }

/* Checklist */
.checklist { padding: 8px 0; }

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    border-bottom: 1px solid #f4f4f0;
}
.check-item:last-child { border-bottom: none; }

.check-mark {
    width: 18px; height: 18px;
    background: var(--accent-green);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px;
    font-weight: 800;
    flex-shrink: 0;
}

/* ── Responsive extras ───────────────────────────────────── */
@media (max-width: 680px) {
    .frigost-body       { grid-template-columns: 1fr; }
    .frigost-zones      { border-right: none; border-bottom: 1px solid #ebebeb; }
    .features-grid      { grid-template-columns: 1fr; }
    .rates-banner       { justify-content: center; }
    .rates-desc         { text-align: center; margin-left: 0; width: 100%; max-width: 100%; }
}

/* ══════════════════════════════════════════════════════════
   GUÍA / JUGAR PAGE
   ══════════════════════════════════════════════════════════ */

.guide-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 820px;
}

/* ── Step layout ─────────────────────────────────────────── */
.guide-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0 20px;
    position: relative;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.step-bubble {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--accent-lime);
    color: #0d0d0d;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 16px rgba(184,255,0,0.3);
    position: relative;
    z-index: 1;
}

.step-bubble-final {
    background: linear-gradient(135deg, var(--accent-gold), #f0a020);
    font-size: 20px;
    box-shadow: 0 2px 16px rgba(240,192,64,0.4);
}

.step-line {
    width: 2px;
    flex: 1;
    min-height: 32px;
    background: linear-gradient(180deg, rgba(184,255,0,0.4) 0%, rgba(184,255,0,0.1) 100%);
    margin: 6px 0;
}

.guide-step-last .step-indicator { justify-content: flex-start; }

/* ── Step content ────────────────────────────────────────── */
.step-content {
    padding-bottom: 40px;
}

.step-header {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.step-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(184, 255, 0, 0.18); 
    border: 1px solid rgba(184, 255, 0, 0.45);
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--accent-lime);
    margin-bottom: 8px;
}

.step-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.step-sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
    line-height: 1.6;
}
.step-sub strong { color: rgba(255,255,255,0.9); }

/* ── Step body card ──────────────────────────────────────── */
.step-body {
    background: rgba(255,255,255,0.97);
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Step 1: Info box ────────────────────────────────────── */
.step-info-box {
    background: #f6f8f2;
    border-left: 3px solid var(--accent-green);
    border-radius: 4px;
    padding: 14px 18px;
}

.step-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.step-list li {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Guide buttons ───────────────────────────────────────── */
.guide-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: filter 0.2s, transform 0.15s, box-shadow 0.2s;
    align-self: flex-start;
}
.guide-btn:hover { filter: brightness(1.08); transform: translateY(-2px); }

.guide-btn-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}

.guide-btn span:last-child {
    display: flex;
    flex-direction: column;
}
.guide-btn strong {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
}
.guide-btn small {
    font-size: 11px;
    opacity: 0.7;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.guide-btn-primary {
    background: var(--accent-lime);
    color: #0d0d0d;
    box-shadow: 0 3px 16px rgba(184,255,0,0.25);
}

.guide-btn-download {
    background: linear-gradient(135deg, #2a7de1, #1a5db8);
    color: #fff;
    box-shadow: 0 3px 16px rgba(42,125,225,0.3);
}

.guide-btn-mediafire {
    background: linear-gradient(135deg, #e14b2a, #b83518);
    color: #fff;
    box-shadow: 0 3px 16px rgba(225,75,42,0.3);
}

.guide-btn-discord {
    background: linear-gradient(135deg, #5865f2, #404eed);
    color: #fff;
    box-shadow: 0 3px 16px rgba(88,101,242,0.35);
}

.guide-btn-ghost {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
}
.guide-btn-ghost:hover { background: rgba(255,255,255,0.18); }

/* ── Download cards ──────────────────────────────────────── */
.download-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.download-card {
    border: 2px solid #e8e8e0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    position: relative;
    transition: border-color 0.2s;
}
.download-card:hover { border-color: var(--accent-green); }

.download-card.recommended {
    border-color: var(--accent-green);
    background: #f6fbf0;
}

.download-card-badge {
    position: absolute;
    top: -10px; right: 14px;
    background: var(--accent-green);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 2px 10px;
    border-radius: 10px;
}

.download-card-icon { font-size: 32px; line-height: 1; }

.download-card-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.download-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    flex: 1;
}

.download-card-size {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* ── Install tabs ────────────────────────────────────────── */
.install-tab-btns {
    display: flex;
    gap: 2px;
    margin-bottom: 0;
}

.tab-btn {
    padding: 10px 20px;
    background: #ebebeb;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    border: none;
}
.tab-btn:hover { background: #e0e0d8; color: var(--text-primary); }
.tab-btn.active {
    background: #fff;
    color: var(--text-primary);
    box-shadow: 0 -2px 0 var(--accent-green) inset;
}

.tab-panel {
    display: none;
    background: #fff;
    border: 1px solid #e8e8e0;
    border-radius: 0 6px 6px 6px;
    padding: 22px;
}
.tab-panel.active { display: block; }

/* ── Install steps ol ────────────────────────────────────── */
.install-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.install-steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.install-steps strong { color: var(--text-primary); }

.install-num {
    width: 26px; height: 26px;
    background: var(--accent-green);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

code {
    background: #f0f0ea;
    color: #c0392b;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 13px;
    font-family: 'Courier New', monospace;
}

.exe-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.exe-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: #f6f6f2;
    border-radius: 4px;
    font-size: 13px;
    color: var(--text-secondary);
    border-left: 3px solid #c8c8c0;
}

.exe-opt-sound {
    background: #f0f8f0;
    border-left-color: var(--accent-green);
}
.exe-opt-sound span strong { color: var(--accent-dark-green); }

.install-tip {
    background: #fffbea;
    border-left: 3px solid var(--accent-gold);
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 13px;
    color: #7a6010;
    line-height: 1.5;
}

/* ── Discord box ─────────────────────────────────────────── */
.discord-box {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.discord-icon { font-size: 36px; flex-shrink: 0; }

.discord-text {
    flex: 1;
    min-width: 180px;
}
.discord-text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.discord-text p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ── Welcome banner ──────────────────────────────────────── */
.welcome-banner {
    background: linear-gradient(135deg, #1a3a10 0%, #0d2008 100%);
    border: 1px solid rgba(184,255,0,0.2);
    border-radius: 10px;
    padding: 36px 32px;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(184,255,0,0.1);
}

.welcome-stars {
    font-size: 14px;
    color: var(--accent-gold);
    letter-spacing: 0.4em;
    margin-bottom: 14px;
    opacity: 0.8;
}

.welcome-title {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.03em;
    margin-bottom: 14px;
    text-shadow: 0 0 30px rgba(184,255,0,0.2);
}

.welcome-text {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 24px;
}
.welcome-text strong { color: var(--accent-lime); }

.welcome-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
    .guide-step { grid-template-columns: 40px 1fr; gap: 0 12px; }
    .step-bubble { width: 38px; height: 38px; font-size: 18px; }
    .download-cards { grid-template-columns: 1fr; }
    .discord-box { flex-direction: column; text-align: center; }
    .install-tab-btns { flex-direction: column; }
    .tab-btn { border-radius: 4px; }
    .tab-panel { border-radius: 4px; }
}

/* ══════════════════════════════════════════════════════════
   REGISTRO PAGE
   ══════════════════════════════════════════════════════════ */

.reg-wrap {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 24px;
    align-items: start;
    max-width: 900px;
}

/* ── Alert ───────────────────────────────────────────────── */
.reg-alert {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.reg-alert-error {
    background: rgba(204, 34, 34, 0.12);
    border: 1px solid rgba(204, 34, 34, 0.4);
    color: #ff8080;
}

.reg-alert-icon { font-size: 18px; flex-shrink: 0; }

/* ── Card ────────────────────────────────────────────────── */
.reg-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0,0,0,0.22);
}

.reg-card-header {
    background: var(--accent-lime);
    padding: 18px 24px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.reg-card-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #0d0d0d;
}

.reg-card-sub {
    font-size: 13px;
    color: rgba(0,0,0,0.55);
}
.reg-card-sub a {
    color: #1a5a00;
    font-weight: 600;
    text-decoration: underline;
}

/* ── Form ────────────────────────────────────────────────── */
.reg-form {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.reg-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.reg-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.reg-field label {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    text-transform: uppercase;
}

.req { color: #cc2222; margin-left: 2px; }

.reg-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.reg-input-icon {
    position: absolute;
    left: 11px;
    font-size: 15px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.7;
}

.reg-input-wrap input,
.reg-input-wrap select {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 2px solid #e0e0d8;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-primary);
    background: #fafaf8;
    transition: border-color 0.18s, box-shadow 0.18s;
    outline: none;
    appearance: none;
}

.reg-input-wrap input:focus,
.reg-input-wrap select:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(106,171,40,0.15);
    background: #fff;
}

.reg-input-wrap input::placeholder { color: #b0b0a8; }

/* toggle password button */
.toggle-pass {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.5;
    transition: opacity 0.2s;
    padding: 0;
    line-height: 1;
}
.toggle-pass:hover { opacity: 1; }

/* select arrow */
.reg-input-wrap-select::after {
    content: '▾';
    position: absolute;
    right: 12px;
    font-size: 12px;
    color: var(--text-muted);
    pointer-events: none;
}

.reg-field small {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ── Submit ──────────────────────────────────────────────── */
.reg-submit-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 4px;
}

.reg-submit {
    width: 100%;
    padding: 14px;
    background: var(--accent-lime);
    color: #0d0d0d;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.06em;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: filter 0.2s, transform 0.15s;
    box-shadow: 0 3px 16px rgba(184,255,0,0.25);
}
.reg-submit:hover { filter: brightness(1.08); transform: translateY(-1px); }
.reg-submit:active { transform: translateY(0); }

.reg-terms {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}
.reg-terms a { color: var(--accent-green); text-decoration: underline; }

/* ── Aside ───────────────────────────────────────────────── */
.reg-aside {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reg-aside-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 14px;
}

.reg-aside-icon { font-size: 22px; flex-shrink: 0; line-height: 1; margin-top: 2px; }

.reg-aside-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.reg-aside-item p {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
}
.reg-aside-item a { color: var(--accent-lime); text-decoration: underline; }

/* ── Success state ───────────────────────────────────────── */
.reg-success {
    grid-column: 1 / -1;
    text-align: center;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(184,255,0,0.2);
    border-radius: 10px;
    padding: 48px 32px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.reg-success-icon { font-size: 56px; line-height: 1; margin-bottom: 16px; }

.reg-success-title {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    color: var(--accent-lime);
    letter-spacing: 0.03em;
    margin-bottom: 12px;
}

.reg-success-text {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 28px;
}

.reg-success-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 720px) {
    .reg-wrap  { grid-template-columns: 1fr; }
    .reg-aside { grid-row: 2; }
    .reg-row   { grid-template-columns: 1fr; }
}