:root {
    --blue: #1688ff;
    --blue-light: #4db2ff;
    --blue-dark: #0258c7;
    --navy: #020815;
    --panel: rgba(8, 24, 52, 0.78);
    --panel-solid: #081832;
    --border: rgba(83, 170, 255, 0.23);
    --text: #f5f9ff;
    --muted: #9eb5d0;
    --danger: #ff5d75;
    --success: #32d296;
    --warning: #ffc857;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 0%, rgba(22, 136, 255, 0.18), transparent 35%),
        linear-gradient(180deg, #020713 0%, #020915 50%, #01040b 100%);
    overflow-x: hidden;
}

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

button,
input,
textarea {
    font: inherit;
}

.background-glow {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
}

.glow-one {
    top: 20%;
    left: -220px;
    background: #1688ff;
}

.glow-two {
    right: -220px;
    bottom: 5%;
    background: #004cc7;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
    min-height: 78px;
    padding: 12px clamp(20px, 5vw, 76px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    background: rgba(2, 8, 21, 0.83);
    backdrop-filter: blur(18px);
}

.brand img {
    width: 145px;
    height: 54px;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links > a:not(.nav-button) {
    color: #c9d9eb;
    font-weight: 700;
    font-size: 0.94rem;
}

.nav-links > a:hover {
    color: white;
}

.nav-button,
.primary-button,
.secondary-button,
.danger-button {
    border: 0;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    border-radius: 12px;
    padding: 0 22px;
    font-weight: 900;
    transition: 0.2s ease;
}

.nav-button,
.primary-button {
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    box-shadow: 0 10px 30px rgba(22, 136, 255, 0.25);
}

.nav-button:hover,
.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(22, 136, 255, 0.38);
}

.nav-button.outline,
.secondary-button {
    background: transparent;
    border: 1px solid var(--border);
    box-shadow: none;
}

.secondary-button:hover {
    border-color: var(--blue);
    background: rgba(22, 136, 255, 0.08);
}

.primary-button.full {
    width: 100%;
}

.primary-button.small {
    min-height: 40px;
    padding: 0 17px;
    font-size: 0.9rem;
}

.menu-button {
    display: none;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 12px;
    color: white;
    background: rgba(255, 255, 255, 0.04);
}

.page {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 48px 0 90px;
}

.hero {
    min-height: 610px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 58px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--blue-light);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    font-weight: 900;
}

.hero h1,
.page-heading h1,
.auth-card h1,
.detail-copy h1,
.profile-header h1 {
    margin: 0;
    line-height: 0.98;
    font-size: clamp(2.7rem, 7vw, 5.7rem);
    letter-spacing: -0.055em;
}

.hero h1 span {
    color: transparent;
    background: linear-gradient(135deg, white, #42a8ff);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-copy > p {
    max-width: 620px;
    margin: 26px 0 34px;
    color: var(--muted);
    font-size: 1.14rem;
    line-height: 1.75;
}

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

.hero-card {
    min-height: 455px;
    padding: 36px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(22, 136, 255, 0.12), rgba(4, 13, 30, 0.92)),
        var(--panel-solid);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.hero-card::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    top: -100px;
    right: -80px;
    background: rgba(22, 136, 255, 0.35);
    filter: blur(60px);
}

.hero-card img {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(0, 125, 255, 0.34));
    position: relative;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
    position: relative;
}

.hero-stats div {
    padding: 16px 8px;
    text-align: center;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.035);
    border-radius: 14px;
}

.hero-stats strong,
.hero-stats span {
    display: block;
}

.hero-stats strong {
    font-size: 1.18rem;
}

.hero-stats span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.72rem;
}

.section {
    padding: 80px 0 20px;
}

.section.compact {
    padding-top: 100px;
}

.section-heading {
    margin-bottom: 30px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.section-heading.centered {
    justify-content: center;
    text-align: center;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.04em;
}

.text-link {
    color: var(--blue-light);
    font-weight: 900;
}

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

.content-card,
.plan-card,
.auth-card,
.upload-card {
    border: 1px solid var(--border);
    background: var(--panel);
    backdrop-filter: blur(16px);
    border-radius: 22px;
    overflow: hidden;
}

.content-card {
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    border-color: rgba(71, 167, 255, 0.55);
}

.media-preview {
    height: 230px;
    display: block;
    background: #030914;
    position: relative;
    overflow: hidden;
}

.media-preview img,
.media-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-preview {
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 4rem;
}

.play-icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 2.2rem;
    text-shadow: 0 4px 14px black;
}

.locked-overlay {
    position: absolute;
    inset: auto 10px 10px 10px;
    padding: 11px;
    border-radius: 10px;
    text-align: center;
    font-weight: 800;
    background: rgba(1, 6, 15, 0.88);
    border: 1px solid var(--border);
}

.content-info {
    padding: 22px;
}

.content-author {
    color: var(--blue-light);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.content-info h3 {
    margin: 8px 0 8px;
    font-size: 1.3rem;
}

.content-info p {
    min-height: 45px;
    color: var(--muted);
    line-height: 1.55;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.content-info a {
    color: white;
    font-weight: 900;
}

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

.plan-card {
    padding: 30px;
    position: relative;
}

.plan-card.featured {
    border-color: rgba(70, 167, 255, 0.7);
    background:
        linear-gradient(160deg, rgba(22, 136, 255, 0.18), rgba(7, 22, 47, 0.95));
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(5, 89, 185, 0.18);
}

.recommended {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 7px 10px;
    border-radius: 100px;
    font-size: 0.67rem;
    letter-spacing: 0.08em;
    font-weight: 900;
    color: white;
    background: var(--blue);
}

.plan-card h3 {
    margin: 0 0 14px;
    font-size: 1.5rem;
}

.plan-icon {
    margin-bottom: 18px;
    font-size: 2.4rem;
}

.price {
    font-size: 2.7rem;
    line-height: 1;
    font-weight: 1000;
    letter-spacing: -0.05em;
}

.plan-card > p,
.currency {
    color: var(--muted);
}

.currency {
    display: block;
    margin-top: 8px;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
}

.plan-card ul {
    list-style: none;
    padding: 0;
    margin: 26px 0;
    color: #cad9ea;
    line-height: 2;
}

.plans-page {
    padding-top: 40px;
}

.page-heading {
    max-width: 760px;
    margin: 0 auto 54px;
    text-align: center;
}

.page-heading.left {
    margin: 0 0 30px;
    text-align: left;
}

.page-heading h1 {
    font-size: clamp(2.5rem, 6vw, 4.6rem);
}

.page-heading p {
    margin-top: 20px;
    color: var(--muted);
    font-size: 1.08rem;
}

.plans-grid.large .plan-card {
    padding: 36px 30px;
}

.demo-notice {
    margin-top: 36px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 200, 87, 0.35);
    background: rgba(255, 200, 87, 0.08);
    border-radius: 14px;
    color: #ffe4a6;
    line-height: 1.6;
}

.auth-section,
.upload-section {
    min-height: 680px;
    display: grid;
    place-items: center;
    padding: 30px 0;
}

.auth-card,
.upload-card {
    width: min(520px, 100%);
    padding: clamp(28px, 5vw, 46px);
}

.upload-card {
    width: min(700px, 100%);
}

.auth-card h1 {
    font-size: 3.2rem;
}

.auth-card > p,
.upload-card p {
    color: var(--muted);
    line-height: 1.6;
}

.form {
    display: grid;
    gap: 20px;
    margin-top: 28px;
}

.form label {
    display: grid;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 800;
    color: #dceaff;
}

.form input,
.form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    padding: 14px 15px;
    color: white;
    background: rgba(1, 8, 20, 0.72);
}

.form input:focus,
.form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(22, 136, 255, 0.12);
}

.form textarea {
    resize: vertical;
}

.file-input {
    padding: 18px;
    border: 1px dashed rgba(83, 170, 255, 0.45);
    border-radius: 14px;
    background: rgba(22, 136, 255, 0.05);
}

.file-input small {
    color: var(--muted);
    font-weight: 500;
}

.auth-link {
    margin-top: 22px;
    text-align: center;
}

.auth-link a {
    color: var(--blue-light);
    font-weight: 900;
}

.flash-wrapper {
    position: fixed;
    top: 96px;
    left: 50%;
    z-index: 100;
    width: min(560px, calc(100% - 30px));
    transform: translateX(-50%);
}

.flash {
    margin-bottom: 10px;
    padding: 14px 17px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
    background: rgba(7, 22, 47, 0.94);
}

.flash.success { border-color: rgba(50, 210, 150, 0.45); }
.flash.danger { border-color: rgba(255, 93, 117, 0.55); }
.flash.warning { border-color: rgba(255, 200, 87, 0.55); }

.empty-state {
    padding: 60px 24px;
    text-align: center;
    border: 1px dashed var(--border);
    border-radius: 20px;
    color: var(--muted);
}

.empty-state > div {
    font-size: 3rem;
}

.empty-state h3 {
    margin-bottom: 8px;
    color: white;
}

.profile-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--panel);
}

.profile-avatar {
    width: 94px;
    height: 94px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 2.5rem;
    font-weight: 1000;
    background: linear-gradient(135deg, var(--blue), #002e79);
    box-shadow: 0 14px 30px rgba(22, 136, 255, 0.25);
}

.profile-header h1 {
    font-size: 2.5rem;
}

.profile-header p {
    margin: 8px 0 0;
    color: var(--muted);
}

.rank-box {
    min-width: 230px;
    padding: 20px;
    border: 1px solid rgba(69, 165, 255, 0.4);
    border-radius: 16px;
    text-align: right;
    background: rgba(22, 136, 255, 0.08);
}

.rank-box span,
.rank-box strong,
.rank-box small {
    display: block;
}

.rank-box span {
    color: var(--blue-light);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    font-weight: 900;
}

.rank-box strong {
    margin: 7px 0;
    font-size: 1.5rem;
}

.rank-box small,
.rank-box a {
    color: var(--muted);
}

.profile-list {
    display: grid;
    gap: 12px;
}

.profile-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 16px;
    padding: 15px 17px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(7, 22, 47, 0.65);
}

.profile-item-icon {
    font-size: 1.6rem;
}

.profile-item-copy h3,
.profile-item-copy p {
    margin: 0;
}

.profile-item-copy p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.85rem;
}

.profile-item > a {
    color: var(--blue-light);
    font-weight: 900;
}

.danger-button {
    min-height: 36px;
    padding: 0 14px;
    color: #ffdce1;
    background: rgba(255, 93, 117, 0.1);
    border: 1px solid rgba(255, 93, 117, 0.35);
}

.detail-page {
    padding-top: 24px;
}

.back-link {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--muted);
    font-weight: 800;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
    align-items: start;
}

.detail-media,
.detail-copy {
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--panel);
    overflow: hidden;
}

.detail-media {
    min-height: 520px;
    display: grid;
    place-items: center;
    background: #010611;
}

.detail-media img,
.detail-media video {
    width: 100%;
    max-height: 720px;
    object-fit: contain;
}

.detail-file {
    font-size: 8rem;
}

.detail-copy {
    padding: 34px;
}

.detail-copy h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.detail-copy > p {
    margin: 24px 0;
    color: var(--muted);
    line-height: 1.75;
}

.file-meta {
    margin-bottom: 24px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.file-meta span,
.file-meta strong {
    display: block;
}

.file-meta span {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.75rem;
}

footer {
    padding: 50px 20px;
    text-align: center;
    color: var(--muted);
    border-top: 1px solid var(--border);
    background: rgba(1, 5, 12, 0.78);
}

footer img {
    width: 130px;
    height: 58px;
    object-fit: contain;
}

footer p {
    margin: 8px 0;
}

@media (max-width: 900px) {
    .hero,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 45px;
    }

    .content-grid,
    .plans-grid {
        grid-template-columns: 1fr 1fr;
    }

    .plan-card.featured {
        transform: none;
    }

    .profile-header {
        grid-template-columns: auto 1fr;
    }

    .rank-box {
        grid-column: 1 / -1;
        text-align: left;
    }
}

@media (max-width: 680px) {
    .navbar {
        min-height: 68px;
    }

    .brand img {
        width: 115px;
    }

    .menu-button {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 68px;
        left: 14px;
        right: 14px;
        display: none;
        padding: 18px;
        border: 1px solid var(--border);
        border-radius: 16px;
        background: rgba(3, 12, 28, 0.98);
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        text-align: center;
    }

    .page {
        width: min(100% - 24px, 1180px);
        padding-top: 28px;
    }

    .hero {
        min-height: auto;
        gap: 30px;
    }

    .hero-card {
        min-height: 350px;
        padding: 22px;
    }

    .content-grid,
    .plans-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding-top: 55px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-avatar {
        margin: 0 auto;
    }

    .rank-box {
        text-align: center;
    }

    .profile-item {
        grid-template-columns: auto 1fr;
    }

    .profile-item > a,
    .profile-item form {
        grid-column: auto;
    }

    .detail-media {
        min-height: 330px;
    }
}


.payment-page {
    padding-top: 24px;
}

.payment-page .page-heading strong {
    color: var(--blue-light);
}

.payment-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 26px;
    align-items: start;
}

.payment-methods {
    display: grid;
    gap: 22px;
}

.payment-box,
.receipt-box,
.admin-payment-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--panel);
    backdrop-filter: blur(16px);
}

.receipt-box {
    position: sticky;
    top: 100px;
}

.payment-title {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.payment-title h2,
.receipt-box h2 {
    margin: 0 0 6px;
    font-size: 1.65rem;
}

.payment-title p,
.receipt-box > p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

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

.payment-field {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 14px;
    align-items: center;
    margin-top: 12px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: rgba(255,255,255,.03);
}

.payment-field span {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.copy-button {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    cursor: pointer;
    color: white;
    font-weight: 800;
    background: rgba(22,136,255,.1);
}

.crypto-list {
    display: grid;
    gap: 14px;
}

.crypto-card {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(2, 10, 25, .7);
}

.crypto-header {
    display: flex;
    gap: 12px;
    align-items: center;
}

.crypto-header strong,
.crypto-header small {
    display: block;
}

.crypto-header small {
    margin-top: 3px;
    color: var(--muted);
}

.crypto-symbol {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.35rem;
    background: rgba(22,136,255,.13);
}

.crypto-amount {
    margin: 18px 0 10px;
    color: var(--blue-light);
    font-size: 1.28rem;
    font-weight: 1000;
}

.address-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

.address-row code {
    min-width: 0;
    padding: 10px;
    border-radius: 9px;
    overflow-wrap: anywhere;
    color: #dceaff;
    background: rgba(255,255,255,.035);
}

.quote-warning,
.receipt-note {
    margin-top: 18px;
    padding: 14px;
    border-radius: 12px;
    color: #ffe4a6;
    line-height: 1.55;
    border: 1px solid rgba(255, 200, 87, .35);
    background: rgba(255, 200, 87, .08);
}

.form select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    padding: 14px 15px;
    color: white;
    background: #06142b;
}

.admin-payments {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.admin-payment-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.admin-payment-head h3 {
    margin: 12px 0 4px;
    font-size: 1.35rem;
}

.admin-payment-head p {
    margin: 0;
    color: var(--muted);
}

.admin-price {
    text-align: right;
}

.admin-price span,
.admin-price strong {
    display: block;
}

.admin-price span {
    color: var(--blue-light);
    font-size: .75rem;
    font-weight: 900;
}

.admin-price strong {
    margin-top: 5px;
    font-size: 1.5rem;
}

.admin-payment-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 22px 0;
}

.admin-payment-info div {
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: rgba(255,255,255,.025);
}

.admin-payment-info span,
.admin-payment-info strong {
    display: block;
}

.admin-payment-info span {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: .72rem;
}

.admin-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.danger-button.full {
    width: 100%;
    min-height: 46px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 0 11px;
    border-radius: 100px;
    font-size: .68rem;
    letter-spacing: .08em;
    font-weight: 1000;
}

.status-pendiente {
    color: #ffe4a6;
    background: rgba(255, 200, 87, .1);
    border: 1px solid rgba(255, 200, 87, .35);
}

.status-aprobado {
    color: #bff8df;
    background: rgba(50, 210, 150, .1);
    border: 1px solid rgba(50, 210, 150, .35);
}

.status-rechazado {
    color: #ffd2d9;
    background: rgba(255, 93, 117, .1);
    border: 1px solid rgba(255, 93, 117, .35);
}

@media (max-width: 900px) {
    .payment-layout {
        grid-template-columns: 1fr;
    }

    .receipt-box {
        position: static;
    }

    .admin-payments {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .address-row,
    .admin-payment-info,
    .admin-actions {
        grid-template-columns: 1fr;
    }

    .admin-payment-head {
        flex-direction: column;
    }

    .admin-price {
        text-align: left;
    }
}


.crypto-rate {
    display: block;
    margin: -4px 0 12px;
    color: var(--muted);
}

.quote-update {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.quote-error {
    padding: 18px;
    border: 1px solid rgba(255, 93, 117, .45);
    border-radius: 13px;
    color: #ffd2d9;
    background: rgba(255, 93, 117, .08);
}

@media (max-width: 560px) {
    .quote-update {
        align-items: stretch;
        flex-direction: column;
    }
}


/* Portada sin la tarjeta lateral */
.hero {
    min-height: 560px;
    grid-template-columns: 1fr;
    max-width: 850px;
}

.hero-copy {
    width: 100%;
}

.access-selector {
    margin: 0;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(22, 136, 255, 0.045);
}

.access-selector legend {
    padding: 0 8px;
    color: #dceaff;
    font-weight: 900;
}

.access-selector > p {
    margin: 4px 0 16px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 500;
}

.access-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
}

.access-option {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 12px !important;
    min-height: 74px;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    background: rgba(1, 8, 20, 0.62);
    transition: 0.2s ease;
}

.access-option:hover {
    border-color: var(--blue);
    background: rgba(22, 136, 255, 0.08);
}

.access-option input {
    width: 19px !important;
    height: 19px;
    flex: 0 0 auto;
    accent-color: var(--blue);
    box-shadow: none !important;
}

.access-option span,
.access-option strong,
.access-option small {
    display: block;
}

.access-option small {
    margin-top: 4px;
    color: var(--muted);
    font-weight: 500;
    line-height: 1.35;
}

.access-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 9px 0 3px;
}

.access-tags span {
    display: inline-flex;
    min-height: 23px;
    align-items: center;
    padding: 0 8px;
    border: 1px solid rgba(77, 178, 255, 0.35);
    border-radius: 100px;
    color: #b8ddff;
    background: rgba(22, 136, 255, 0.09);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.compact-tags {
    margin-top: 8px;
}

.detail-tags {
    margin: 0 0 14px;
}

@media (max-width: 620px) {
    .access-options {
        grid-template-columns: 1fr;
    }
}


.footer-telegram {
    margin: 0 auto 34px;
    text-align: center;
}

.footer-telegram p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 0.95rem;
}

.telegram-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 28px;
    border: 1px solid rgba(70, 190, 255, 0.45);
    border-radius: 14px;
    color: #ffffff;
    font-weight: 900;
    font-size: 1rem;
    background: linear-gradient(135deg, #2aabee, #0088cc);
    box-shadow: 0 14px 34px rgba(42, 171, 238, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.telegram-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(42, 171, 238, 0.44);
}

.telegram-icon {
    display: inline-grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.9rem;
}

@media (max-width: 560px) {
    .telegram-button {
        width: min(100%, 320px);
        padding: 0 20px;
    }
}

.media-count{position:absolute;top:12px;right:12px;padding:7px 10px;border:1px solid var(--border);border-radius:100px;background:rgba(1,8,20,.88);font-size:.72rem;font-weight:900}.detail-gallery{display:grid;gap:18px}.gallery-item{padding:14px;border:1px solid var(--border);border-radius:18px;background:var(--panel)}.gallery-media{min-height:360px;margin-bottom:12px;display:grid;place-items:center;overflow:hidden;border-radius:13px;background:#010611}.gallery-media img,.gallery-media video{width:100%;max-height:720px;object-fit:contain}@media(max-width:680px){.gallery-media{min-height:240px}}


.selected-files-summary {
    margin-top: 12px;
    color: var(--muted);
    font-weight: 600;
}

.upload-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.upload-preview-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(1, 8, 20, 0.75);
}

.upload-preview-card img,
.upload-preview-card video {
    width: 100%;
    height: 145px;
    display: block;
    object-fit: cover;
    background: #010611;
}

.upload-preview-caption {
    padding: 10px;
    overflow-wrap: anywhere;
}

.upload-preview-caption strong,
.upload-preview-caption small {
    display: block;
}

.upload-preview-caption small {
    margin-top: 4px;
    color: var(--muted);
}

.protected-media {
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.protected-media img,
.protected-media video {
    user-select: none;
    -webkit-user-drag: none;
}

.media-watermark {
    position: absolute;
    z-index: 4;
    top: 14px;
    left: 14px;
    max-width: calc(100% - 28px);
    padding: 7px 10px;
    border-radius: 8px;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.72rem;
    font-weight: 900;
    background: rgba(0, 0, 0, 0.38);
    text-shadow: 0 1px 4px black;
}

.capture-shield {
    position: absolute;
    inset: 0;
    z-index: 8;
    display: grid;
    place-items: center;
    pointer-events: none;
    opacity: 0;
    color: white;
    font-weight: 900;
    background: #000;
    transition: opacity 0.12s ease;
}

.content-hidden .protected-media .capture-shield,
.window-unfocused .protected-media .capture-shield,
.capture-blocked .protected-media .capture-shield {
    opacity: 1;
}

.content-hidden .protected-media img,
.content-hidden .protected-media video,
.window-unfocused .protected-media img,
.window-unfocused .protected-media video,
.capture-blocked .protected-media img,
.capture-blocked .protected-media video {
    visibility: hidden;
}

.admin-users-list {
    display: grid;
    gap: 16px;
}

.admin-user-card {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(420px, 1.3fr);
    gap: 24px;
    align-items: center;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--panel);
}

.admin-user-identity {
    display: flex;
    gap: 16px;
    align-items: center;
}

.admin-user-identity h3,
.admin-user-identity p {
    margin: 0;
}

.admin-user-identity p {
    margin-top: 5px;
    color: var(--muted);
}

.small-avatar {
    width: 62px;
    height: 62px;
    font-size: 1.5rem;
}

.permission-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

.permission-form label {
    display: grid;
    gap: 7px;
    color: #dceaff;
    font-size: 0.82rem;
    font-weight: 800;
}

.permission-form select {
    min-height: 44px;
    border: 1px solid var(--border);
    border-radius: 11px;
    padding: 0 12px;
    color: white;
    background: #06142b;
}

@media (max-width: 900px) {
    .upload-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-user-card,
    .permission-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .upload-preview-grid {
        grid-template-columns: 1fr;
    }
}


.creator-input-wrap,
.creator-search-input {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(1, 8, 20, 0.72);
}

.creator-input-wrap span,
.creator-search-input span {
    padding-left: 14px;
    color: var(--blue-light);
    font-weight: 1000;
}

.creator-input-wrap input,
.creator-search-input input {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.creator-search {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    gap: 10px;
    margin: -8px 0 26px;
}

.creator-search-input input {
    min-height: 46px;
    width: 100%;
    padding: 0 14px 0 8px;
    color: white;
    outline: none;
}

.search-result-label {
    margin: -12px 0 24px;
    color: var(--muted);
}

.search-result-label strong,
.creator-handle {
    color: var(--blue-light);
}

.creator-handle {
    display: block;
    margin-bottom: 5px;
    font-size: 0.78rem;
    font-weight: 1000;
    letter-spacing: 0.04em;
}

.large-handle {
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.admin-user-controls {
    display: grid;
    gap: 14px;
}

.subscription-admin-box {
    display: grid;
    gap: 12px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(22, 136, 255, 0.045);
}

.subscription-current span,
.subscription-current strong,
.subscription-current small {
    display: block;
}

.subscription-current span {
    color: var(--blue-light);
    font-size: 0.68rem;
    font-weight: 1000;
    letter-spacing: 0.12em;
}

.subscription-current strong {
    margin: 5px 0 3px;
}

.subscription-current small {
    color: var(--muted);
}

.subscription-action-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    align-items: end;
}

.subscription-action-form label {
    display: grid;
    gap: 6px;
    color: #dceaff;
    font-size: 0.78rem;
    font-weight: 800;
}

.subscription-action-form input,
.subscription-action-form select {
    min-height: 42px;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0 11px;
    color: white;
    background: #06142b;
}

@media (max-width: 760px) {
    .creator-search,
    .subscription-action-form {
        grid-template-columns: 1fr;
    }
}


.creator-edit-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: end;
    margin: 20px 0;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(22, 136, 255, 0.05);
}

.creator-edit-form label {
    display: grid;
    gap: 7px;
    color: #dceaff;
    font-size: 0.82rem;
    font-weight: 800;
}

@media (max-width: 620px) {
    .creator-edit-form {
        grid-template-columns: 1fr;
    }
}
