* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #100d0d;
    --bg-alt: #1b1616;
    --bg-card: #261f1f;
    --accent: #e12424;
    --accent-soft: #ff4141;
    --accent-dark: #b11818;
    --text: #f5f5f5;
    --muted: #a0a0b2;
    --border: #2b2b35;
    --radius: 10px;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.7);
    --transition-fast: 150ms ease-out;
}

html,
body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: rgb(29, 29, 29);
    color: var(--text);
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

main {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 16px 40px;
}

.layout-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.shell-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 70px;
}

.nav {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(14, 10, 10, 0.94));
    backdrop-filter: blur(18px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 40;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-badge {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0, #ffffff, var(--accent-soft) 35%, var(--accent-dark) 70%, #000 100%);
    box-shadow: 0 0 18px rgba(225, 36, 36, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brand-badge img {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    object-fit: cover;
}

.hero-logo {
    margin-bottom: 18px;
    max-width: 260px;
}

.hero-logo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 0 32px rgba(225, 36, 36, 0.9);
}

@media (max-width: 700px) {
    .hero-logo {
        margin-bottom: 14px;
        max-width: 220px;
    }

    .hero-logo img {
        border-radius: 20px;
    }
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 15px;
}

.brand-tagline {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0.14em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.nav-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nav-toggle {
    display: none;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.nav-toggle-icon {
    font-size: 16px;
    margin-left: 6px;
}

.server-status {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 0.08em;
    background: radial-gradient(circle at top, rgba(225, 36, 36, 0.35), rgba(0, 0, 0, 0.85));
    box-shadow: 0 0 16px rgba(225, 36, 36, 0.35);
}

.server-status-online {
    border-color: rgba(72, 231, 132, 0.9);
    box-shadow: 0 0 18px rgba(72, 231, 132, 0.7);
}

.server-status-offline {
    border-color: rgba(231, 72, 72, 0.9);
    box-shadow: 0 0 18px rgba(231, 72, 72, 0.7);
}
.nav-link {
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--muted);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(225, 36, 36, 0.8), rgba(255, 127, 80, 0.7));
    opacity: 0;
    transform: translateX(-40%);
    transition: opacity 220ms ease-out, transform 220ms ease-out;
}

.nav-link span {
    position: relative;
    z-index: 1;
}

.nav-link:hover {
    color: #ffffff;
    border-color: rgba(225, 36, 36, 0.6);
    box-shadow: 0 0 18px rgba(225, 36, 36, 0.45);
    transform: translateY(-1px);
}

.nav-link:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.nav-link-active {
    color: #ffffff;
    border-color: rgba(225, 36, 36, 0.8);
    background: radial-gradient(circle at top, rgba(225, 36, 36, 0.3), rgba(0, 0, 0, 0.9));
    box-shadow: 0 0 24px rgba(225, 36, 36, 0.7);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 32px;
    margin-top: 32px;
}

.hero-main {
    background: linear-gradient(145deg, rgba(14, 10, 10, 0.95), rgba(31, 23, 23, 0.98));
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow-soft);
    padding: 26px 26px 24px;
    position: relative;
    overflow: hidden;
}

.hero-main::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top left, rgba(225, 36, 36, 0.16), transparent 60%);
    opacity: 0.9;
}

.hero-main-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pill-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
}

.pill-badge {
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(225, 36, 36, 0.6);
    background: radial-gradient(circle at top, rgba(225, 36, 36, 0.32), rgba(26, 20, 20, 0.95));
    color: #ffffff;
}

.hero-title {
    font-size: clamp(26px, 3vw, 32px);
    line-height: 1.1;
    font-weight: 800;
}

.hero-title span {
    color: var(--accent-soft);
}

.hero-subtitle {
    color: var(--muted);
    max-width: 540px;
    font-size: 14px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.hero-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
}

.hero-actions {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-soft), var(--accent-dark));
    color: #ffffff;
    box-shadow: 0 0 20px rgba(225, 36, 36, 0.7);
    border-color: rgba(225, 36, 36, 0.9);
}

.btn-primary:hover {
    box-shadow: 0 0 26px rgba(225, 36, 36, 0.9);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--muted);
}

.btn-ghost:hover {
    border-color: rgba(225, 36, 36, 0.7);
    color: #ffffff;
    box-shadow: 0 0 18px rgba(225, 36, 36, 0.5);
}

.btn-icon {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
    font-size: 11px;
    color: var(--muted);
}

.hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-meta-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent-soft);
    box-shadow: 0 0 8px rgba(225, 36, 36, 0.8);
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card {
    background: linear-gradient(145deg, rgba(22, 15, 15, 0.98), rgba(40, 30, 30, 0.98));
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-soft);
    padding: 18px 18px 16px;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.card-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.card-badge {
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(225, 36, 36, 0.7);
    color: var(--accent-soft);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature-icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: radial-gradient(circle at top, var(--accent-soft), var(--accent-dark));
    box-shadow: 0 0 10px rgba(225, 36, 36, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.feature-text-strong {
    color: #ffffff;
}

.section {
    margin-top: 40px;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.section-eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
}

.section-title {
    font-size: 20px;
    font-weight: 700;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.info-card-title {
    font-size: 14px;
    margin-bottom: 4px;
}

.info-card-text {
    font-size: 13px;
    color: var(--muted);
}

.badge-line {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.badge-soft {
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    background: rgba(225, 36, 36, 0.12);
    border: 1px solid rgba(225, 36, 36, 0.4);
    color: var(--text);
}

.page-header {
    margin-top: 32px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.page-title {
    font-size: 22px;
    font-weight: 800;
}

.page-subtitle {
    font-size: 13px;
    color: var(--muted);
    max-width: 560px;
}

.pill-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.pill-nav-link {
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.pill-nav-link:hover {
    border-color: rgba(225, 36, 36, 0.7);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(225, 36, 36, 0.5);
}

.pill-nav-link-active {
    background: radial-gradient(circle at top, rgba(225, 36, 36, 0.28), rgba(14, 10, 10, 0.95));
    border-color: rgba(225, 36, 36, 0.85);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(225, 36, 36, 0.75);
}

.normativa-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.norm-card-title {
    font-size: 15px;
    margin-bottom: 6px;
}

.norm-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
    font-size: 13px;
    color: var(--muted);
}

.norm-item-label {
    color: #ffffff;
}

.vip-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.8fr);
    gap: 20px;
}

.vip-pay {
    margin-top: 16px;
    padding: 14px 14px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at top, rgba(225, 36, 36, 0.22), rgba(14, 10, 10, 0.95));
}

.vip-pay-header {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
    margin-bottom: 8px;
}

.vip-pay-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.vip-pay-option {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.65);
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.vip-pay-option-amount {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

.vip-pay-option-price {
    font-size: 11px;
    color: var(--muted);
}

.vip-pay-option:hover {
    border-color: rgba(225, 36, 36, 0.7);
    box-shadow: 0 0 14px rgba(225, 36, 36, 0.6);
    transform: translateY(-1px);
}

.vip-pay-option-active {
    border-color: rgba(225, 36, 36, 0.9);
    background: radial-gradient(circle at top, rgba(225, 36, 36, 0.42), rgba(0, 0, 0, 0.95));
    color: #ffffff;
    box-shadow: 0 0 18px rgba(225, 36, 36, 0.85);
}

.vip-pay-select {
    display: none;
}

.vip-pay-submit {
    margin-top: 6px;
}

.vip-pay-helper {
    margin-top: 6px;
    font-size: 11px;
    color: var(--muted);
}

.vip-highlight {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vip-price-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-size: 13px;
    color: var(--muted);
}

.vip-price-pill {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(225, 36, 36, 0.8);
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
}

.vip-pack-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.vip-pack-name {
    font-size: 14px;
    margin-bottom: 4px;
}

.vip-pack-amount {
    font-size: 13px;
    color: var(--muted);
}

.vip-pack-tag {
    margin-top: 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.9);
}

.vip-pack-tag span {
    color: var(--accent-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
    gap: 20px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-label {
    font-size: 13px;
    color: var(--muted);
}

.form-control {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 5, 5, 0.9);
    padding: 10px 14px;
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.form-control:focus {
    border-color: rgba(225, 36, 36, 0.9);
    box-shadow: 0 0 20px rgba(225, 36, 36, 0.7);
    background: #060505;
    transform: translateY(-1px);
}

.form-control-textarea {
    border-radius: 12px;
    min-height: 140px;
    resize: vertical;
}

.form-helper {
    font-size: 11px;
    color: var(--muted);
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
}

.contact-channel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.contact-channel-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.contact-value {
    color: #ffffff;
}

.alert-success {
    color: #4ade80;
}

.alert-error {
    color: #f97373;
}

.form-row-inline {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.form-row-inline .form-control {
    flex: 1;
}

.alert-success {
    color: #4ade80;
}

.alert-error {
    color: #f97373;
}

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 14px 16px 18px;
    font-size: 11px;
    color: var(--muted);
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(14, 10, 10, 0.98));
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent-soft);
    box-shadow: 0 0 10px rgba(225, 36, 36, 0.9);
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 24px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(225, 36, 36, 0.9);
    background: radial-gradient(circle at top, var(--accent-soft), var(--accent-dark));
    box-shadow: 0 0 20px rgba(225, 36, 36, 0.8);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.back-to-top-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    box-shadow: 0 0 28px rgba(225, 36, 36, 1);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .nav-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .nav-links {
        flex-wrap: wrap;
        row-gap: 6px;
        display: none;
    }

    .nav-links.nav-links-open {
        display: flex;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-side {
        order: 1;
    }

    .vip-layout,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 700px) {
    .server-status {
        margin-top: 4px;
    }
    main {
        padding-inline: 14px;
    }

    .grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .normativa-grid,
    .vip-pack-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .shell-inner {
        margin-top: 100px;
    }

    body {
        font-size: 16px;
    }

    .hero-title {
        font-size: clamp(28px, 7vw, 34px);
    }

    .hero-subtitle,
    .info-card-text,
    .feature-list,
    .norm-list,
    .form-control,
    .contact-card {
        font-size: 15px;
    }

    .nav-links,
    .pill-row,
    .pill-nav-link,
    .badge-soft,
    .form-helper,
    .contact-label,
    .contact-value,
    .hero-meta {
        font-size: 13px;
    }
}
