@charset "UTF-8";

:root {
    --color-bg: #020617;
    --color-bg-elevated: #0f172a;
    --color-border: #1f2937;
    --color-border-input: #374151;
    --color-text: #e5e7eb;
    --color-text-muted: #9ca3af;
    --color-accent: #f97316;
    --color-accent-hover: #ea580c;
    --color-danger: #ef4444;
    --color-success: #22c55e;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-card: 0 18px 45px rgba(15, 23, 42, 0.7);
    --shadow-focus: 0 0 0 1px rgba(249, 115, 22, 0.3);
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
}

body {
    min-height: 100vh;
    display: block;
    background: radial-gradient(circle at top, #1f2933, var(--color-bg));
    color: var(--color-text);
}

body.auth-page,
body.with-navbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}

body.user-panel {
    background:
        radial-gradient(ellipse 90% 55% at 50% -8%, rgba(249, 115, 22, 0.14), transparent 55%),
        radial-gradient(circle at top, #1f2933, var(--color-bg));
    padding: 0;
}

body.user-panel.with-navbar {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.user-panel .main-content.user-license-main {
    flex: 1;
    align-items: flex-start;
    justify-content: center;
    padding: 28px 20px 48px;
}

body.user-panel .user-license-shell {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.page-wrapper {
    width: 100%;
    max-width: 1100px;
    padding: 24px;
}

.card {
    background: #020617;
    border-radius: 12px;
    border: 1px solid #1f2937;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
    padding: 28px 32px;
}

.card-narrow {
    max-width: 420px;
    margin: 0 auto;
}

.card-narrow.w-full {
    width: 100%;
    max-width: 480px;
}

.card-register {
    max-width: 480px;
    margin: 0 auto;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.subtitle {
    font-size: 14px;
    color: #9ca3af;
}

.nav-link {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: none;
}

.nav-link:hover {
    color: #f97316;
}

form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

label {
    font-size: 13px;
    color: #9ca3af;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="search"],
input[type="datetime-local"],
input[type="file"] {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border-input);
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 14px;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="datetime-local"]:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: var(--shadow-focus);
}

input:disabled,
textarea:disabled,
select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    color: inherit;
}

button:focus-visible,
a:focus-visible,
.btn-form:focus-visible,
.contact-action-btn:focus-visible,
.contact-submit:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.btn-form,
form button[type="submit"]:not(.license-tab-btn):not(.contact-submit):not(.contact-action-btn):not(.btn-files-generate):not(.btn-files-save):not(.asset-tool-tab):not(.badge):not(.btn-action--danger):not(.asset-tool-btn-secondary):not(.asset-tool-btn-remove) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid rgba(251, 146, 60, 0.45);
    background-color: #ea580c;
    background-image: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #c2410c 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-form:hover,
form button[type="submit"]:not(.license-tab-btn):not(.contact-submit):not(.contact-action-btn):not(.btn-files-generate):not(.btn-files-save):not(.asset-tool-btn-secondary):not(.asset-tool-btn-remove):hover {
    filter: brightness(1.06);
    box-shadow: 0 10px 28px rgba(249, 115, 22, 0.5);
    transform: translateY(-1px);
}

.btn-form:active,
form button[type="submit"]:not(.license-tab-btn):not(.contact-submit):not(.contact-action-btn):not(.btn-files-generate):not(.btn-files-save):active {
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.btn-form.w-full {
    width: 100%;
}

/* Login / Registro / Verificación */
body.with-navbar .main-content .card form {
    margin-top: 4px;
}

body.with-navbar .main-content .card .form-group {
    margin-bottom: 0;
}

body.with-navbar .main-content .card .form-group label {
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 4px;
}

body.with-navbar .main-content .card .helper-text {
    margin-top: 4px;
    font-size: 12px;
    color: #64748b;
}

body.with-navbar .main-content .btn-form {
    margin-top: 4px;
}

body.with-navbar .main-content .form-footer-link {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

body.with-navbar .main-content .form-footer-link:hover {
    color: #fb923c;
    text-decoration: underline;
}

body.with-navbar .main-content .btn-auth-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 28px;
    border-radius: 10px;
    background-color: #ea580c;
    background-image: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

body.with-navbar .main-content .btn-auth-link:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(249, 115, 22, 0.45);
}

/* Recuperar contraseña - modal login */
.auth-forgot-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: -4px;
}

.auth-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.recaptcha-wrap {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.recaptcha-wrap .g-recaptcha {
    transform-origin: center;
}

.label-required {
    color: #f97316;
    font-weight: 700;
}

.field-hint-valid {
    color: #34d399 !important;
}

.field-hint-invalid {
    color: #f87171 !important;
}

.field-hint-pending {
    color: #94a3b8 !important;
}

#register-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    filter: grayscale(0.2);
}

.auth-forgot-link {
    background: none;
    border: none;
    padding: 0;
    color: #fb923c;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.auth-forgot-link:hover {
    color: #f97316;
}

.auth-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.auth-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.auth-modal-open {
    overflow: hidden;
}

.auth-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.82);
    backdrop-filter: blur(4px);
}

.auth-modal-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    padding: 28px 26px 24px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    transform: translateY(12px) scale(0.98);
    transition: transform 0.25s ease;
}

.auth-modal-overlay.is-open .auth-modal-panel {
    transform: translateY(0) scale(1);
}

.auth-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: rgba(51, 65, 85, 0.5);
    color: #e2e8f0;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.auth-modal-close:hover {
    background: rgba(71, 85, 105, 0.85);
    color: #fff;
}

.auth-modal-title {
    margin: 0 32px 10px 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #f8fafc;
}

.auth-modal-text {
    margin: 0 0 18px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.55;
}

.auth-modal-form {
    margin-top: 4px;
}

.auth-modal-form form {
    margin-top: 0;
    gap: 12px;
}

.auth-modal-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.auth-modal-actions .btn-form {
    flex: 1 1 140px;
    width: auto;
    min-width: 140px;
}

.btn-auth-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid #475569;
    background-color: #334155;
    background-image: none;
    color: #f1f5f9;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.2s ease, background 0.2s ease;
}

.btn-auth-secondary:hover {
    background-color: #475569;
    filter: brightness(1.05);
}

.text-muted { color: #94a3b8; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.w-full { width: 100%; }
.text-center-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border);
    padding-top: 15px;
}
.form-footer-link { color: var(--color-accent); text-decoration: none; }
.form-footer-link:hover { text-decoration: underline; }
.list-disc { margin-left: 20px; margin-top: 10px; list-style-type: disc; }
.card-span-full { grid-column: 1 / -1; text-align: center; padding: 50px; }
.btn-gaming-inline { display: inline-block; }
.btn-buy.mt-sm { margin-top: 12px; }
.btn-buy.inline-block { display: inline-block; }
.service-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.service-actions.mt-14 { margin-top: 14px; }

.message-error {
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(248, 113, 113, 0.1);
    color: #fecaca;
    border: 1px solid rgba(248, 113, 113, 0.4);
    font-size: 13px;
}

.message-success {
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(22, 163, 74, 0.12);
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.4);
    font-size: 13px;
}

.grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
    gap: 20px;
    margin-top: 16px;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.download-panel {
    background: rgba(2, 6, 23, 0.9);
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-title {
    font-size: 18px;
    font-weight: 600;
}

.download-text {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.5;
}

.download-meta {
    font-size: 13px;
    color: #cbd5f5;
}

.download-meta span {
    color: #fbbf24;
    font-weight: 600;
}

.download-actions {
    margin-top: 8px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

.btn-download:hover {
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.45);
}

.download-disabled {
    color: #f87171;
    font-size: 13px;
    font-weight: 600;
}

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

.guides-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.guides-title {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.guide-card {
    background: rgba(2, 6, 23, 0.85);
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.guide-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.guide-card h3 {
    font-size: 18px;
    margin: 0;
}

.guide-excerpt {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.6;
}

.guide-detail {
    padding: 28px;
}

.guide-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.guide-detail-title {
    font-size: 26px;
    font-weight: 700;
}

.guide-detail-date {
    color: #94a3b8;
    font-size: 14px;
    margin-top: 6px;
}

.guide-detail-image img {
    max-width: 100%;
    border-radius: 10px;
    margin: 14px 0 24px;
}

.guide-video {
    display: flex;
    justify-content: center;
    margin: 20px 0 30px;
}

.guide-video iframe {
    width: 800px;
    height: 600px;
    max-width: 100%;
    border-radius: 12px;
}

.guide-detail-content {
    line-height: 1.8;
    color: #e5e7eb;
}

@media (max-width: 900px) {
    .guide-video iframe {
        width: 100%;
        height: 360px;
    }
    .guide-detail-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.section-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    font-size: 13px;
}

th,
td {
    padding: 8px 10px;
    border-bottom: 1px solid #111827;
}

th {
    text-align: left;
    font-weight: 500;
    color: #9ca3af;
    background: #020617;
}

tr:nth-child(even) td {
    background: rgba(15, 23, 42, 0.7);
}

tr:nth-child(odd) td {
    background: rgba(15, 23, 42, 0.9);
}

tr.expired td {
    background: rgba(248, 113, 113, 0.08);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
}

.badge-active {
    background: rgba(22, 163, 74, 0.15);
    color: #bbf7d0;
}

.badge-inactive {
    background: rgba(248, 113, 113, 0.15);
    color: #fecaca;
}

.badge-expired {
    background: rgba(100, 116, 139, 0.2);
    color: #94a3b8;
}

.badge-success {
    background: rgba(22, 163, 74, 0.15);
    color: #bbf7d0;
}

.badge-danger {
    background: rgba(248, 113, 113, 0.15);
    color: #fecaca;
}

button.badge {
    background-image: none !important;
    cursor: pointer;
}

.admin-dashboard button.badge.badge-success,
.admin-dashboard button.badge.badge-danger {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    border: none;
    box-shadow: none;
}

.admin-dashboard button.badge.badge-success {
    background-color: rgba(22, 163, 74, 0.35) !important;
    background-image: none !important;
    color: #bbf7d0 !important;
}

.admin-dashboard button.badge.badge-danger {
    background-color: rgba(248, 113, 113, 0.25) !important;
    background-image: none !important;
    color: #fecaca !important;
}

/* =========================================
   GAMING DROPDOWN STYLES
   ========================================= */
.gaming-dropdown-wrapper {
    position: relative;
    display: inline-block;
    z-index: 2000;
}

.gaming-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding-top: 10px; /* Space for hover */
    z-index: 1999;
}

.gaming-dropdown-wrapper:hover .gaming-dropdown-content {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Base Gaming Button */
.btn-gaming-login, .btn-gaming-register {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(20,0,0,0.95) 100%);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    transition: all 0.3s ease;
    overflow: hidden;
    min-width: 160px;
}

.btn-gaming-login {
    border-bottom: 2px solid #ff0000; /* Fallback */
}

.btn-gaming-register {
    margin-top: 5px;
    background: linear-gradient(135deg, rgba(30,0,0,0.95) 0%, rgba(60,0,0,0.95) 100%);
    border-left: 2px solid #ff0000; /* Fallback */
}

/* SVG Border Effect */
.btn-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.border-rect {
    fill: none;
    stroke: #ff0000;
    stroke-width: 2;
    stroke-dasharray: 200, 400; /* Dash pattern */
    stroke-dashoffset: 400;
    transition: stroke-dashoffset 0.6s ease;
    filter: drop-shadow(0 0 5px #ff0000);
}

.btn-gaming-login:hover .border-rect,
.btn-gaming-register:hover .border-rect {
    stroke-dashoffset: 0; /* Animate dash */
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-icon {
    width: 18px;
    height: 18px;
    filter: drop-shadow(0 0 2px #ff0000);
}

/* Hover States */
.btn-gaming-login:hover {
    background: rgba(40, 0, 0, 0.9);
    text-shadow: 0 0 10px #ff0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.3);
}

.btn-gaming-register:hover {
    background: rgba(60, 0, 0, 0.95);
    text-shadow: 0 0 10px #ff0000;
    transform: translateX(5px);
}

/* Gaming Download Button (Green Variant) */
.btn-gaming-download {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 32px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, rgba(0,20,0,0.9) 0%, rgba(0,40,0,0.95) 100%);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    transition: all 0.3s ease;
    overflow: hidden;
    width: 100%;
    margin-bottom: 30px;
    border-bottom: 2px solid #10b981; /* Emerald-500 */
    cursor: pointer;
    box-sizing: border-box;
}

.btn-gaming-download .border-rect {
    stroke: #10b981;
    filter: drop-shadow(0 0 5px #10b981);
}

.btn-gaming-download:hover {
    background: rgba(6, 78, 59, 0.95); /* Emerald-900 */
    text-shadow: 0 0 10px #10b981;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.3);
}

.btn-gaming-download .btn-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    filter: drop-shadow(0 0 2px #10b981);
}

.btn-gaming-download:hover .border-rect {
    stroke-dashoffset: 0;
}

body.with-navbar {
    min-height: 100vh;
}

body.with-navbar .main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    width: 100%;
}

/* =========================================
   LANDING PAGE STYLES
   ========================================= */

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(2, 6, 23, 0.95);
    border-bottom: 1px solid rgba(255, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    text-decoration: none;
}

.logo span {
    color: #ff0000;
}

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

.nav-item {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s, text-shadow 0.3s;
    position: relative;
}

.nav-item:hover {
    color: #ff0000;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
}

.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ff0000;
    transition: width 0.3s;
}

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

.nav-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(249, 115, 22, 0.45);
    background: rgba(15, 23, 42, 0.85);
    color: #f8fafc;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.nav-user-pill:hover {
    border-color: var(--color-accent);
    box-shadow: 0 0 16px rgba(249, 115, 22, 0.25);
    transform: translateY(-1px);
    color: #fff;
}

.nav-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
}

.nav-user-name {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-user-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(51, 65, 85, 0.8);
    background: rgba(30, 41, 59, 0.75);
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-user-logout:hover {
    background: rgba(51, 65, 85, 0.95);
    color: #fff;
}

/* Green Download Button in Navbar */
.navbar .btn-gaming-download {
    padding: 10px 24px;
    font-size: 0.9em;
    margin-bottom: 0;
    width: auto;
    background: linear-gradient(135deg, rgba(0,20,0,0.8) 0%, rgba(0,30,0,0.9) 100%);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

.navbar .btn-gaming-download:hover {
    background: rgba(6, 78, 59, 0.8);
}

.navbar .btn-gaming-download .btn-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

/* Hero Section Styles */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 40px 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}

.hero p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Gaming Buttons */
.btn-gaming {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 60px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s, filter 0.2s;
    margin: 0 15px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.btn-gaming:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

.btn-gaming-hero-primary,
.btn-gaming.btn-primary {
    background-image: url('assets/btn-gaming-red.svg');
}

.btn-gaming-hero-secondary,
.btn-gaming.btn-secondary {
    background-image: url('assets/btn-gaming-outline.svg');
    color: #ffcccc;
}

.table-action {
    font-size: 12px;
    color: #f97316;
    text-decoration: none;
}

.table-action:hover {
    text-decoration: underline;
}

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

    .card {
        padding: 20px;
    }
}

/* Responsive Navbar */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.navbar-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        position: relative;
    }

    .navbar-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: #0f172a;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid #1f2937;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        display: none;
        z-index: 1000;
        align-items: center;
    }

    .nav-links.active {
        display: flex;
    }
    
    .gaming-dropdown-content {
        position: static;
        width: 100%;
        min-width: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 10px 0 0 0;
        display: flex;
        justify-content: center;
    }

    /* Hamburger Animation */
    .navbar-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .navbar-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Ensure buttons take full width on mobile for better touch targets */
    .nav-links .btn-gaming-download,
    .nav-links .btn-gaming-login,
    .nav-links .nav-item,
    .nav-links .nav-user-pill,
    .nav-links .nav-user-logout {
        width: 100%;
        max-width: 300px;
        text-align: center;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .btn-gaming-download {
        margin-bottom: 0;
    }
}

/* =========================================
   ADMIN DASHBOARD STYLES
   ========================================= */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    align-items: stretch;
}

body.admin-dashboard {
    display: block;
    height: auto;
    background: #020617;
}

.sidebar {
    width: 260px;
    background: #0f172a;
    border-right: 1px solid #1f2937;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #1f2937;
    margin-bottom: 20px;
}

.sidebar-header .logo {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.sidebar-menu {
    list-style: none;
    padding: 0 10px;
}

.sidebar-menu > li {
    margin-bottom: 5px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    font-weight: 500;
    cursor: pointer;
    justify-content: space-between;
}

.sidebar-link:hover, .sidebar-link.active {
    background: #1e293b;
    color: #fff;
}

.sidebar-dropdown {
    list-style: none;
    padding-left: 15px;
    margin-top: 5px;
    display: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sidebar-dropdown.show {
    display: block;
}

.sidebar-dropdown a {
    display: block;
    padding: 8px 15px;
    color: #64748b;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.2s;
}

.sidebar-dropdown a:hover, .sidebar-dropdown a.active {
    color: #fff;
}

.dashboard-content {
    flex: 1;
    padding: 30px;
    background: #020617;
    overflow-y: auto;
}

/* Dashboard Modules */
.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.module-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* Dashboard Tables override */
.dashboard-content table {
    width: 100%;
    border-collapse: collapse;
    color: #e2e8f0;
}

.dashboard-content th {
    text-align: left;
    padding: 12px 16px;
    background: #1e293b;
    border-bottom: 1px solid #334155;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
}

.dashboard-content td {
    padding: 12px 16px;
    border-bottom: 1px solid #1f2937;
    font-size: 14px;
}

.license-rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.license-rank-badge-normal {
    background: #334155;
    color: #e2e8f0;
    border: 1px solid #475569;
}

.license-rank-badge-gold {
    color: #fff1b8;
    border: 1px solid #facc15;
    background: linear-gradient(135deg, rgba(146, 64, 14, 0.92), rgba(202, 138, 4, 0.88));
    box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.16), 0 8px 18px rgba(202, 138, 4, 0.18);
}

.license-row-gold td {
    background: linear-gradient(90deg, rgba(120, 53, 15, 0.14), rgba(245, 158, 11, 0.05));
}

.license-row-gold:hover td {
    background: linear-gradient(90deg, rgba(120, 53, 15, 0.22), rgba(245, 158, 11, 0.1));
}

.license-row-gold td:first-child {
    border-left: 3px solid #facc15;
}

.license-form-card-gold {
    border: 1px solid rgba(250, 204, 21, 0.45);
    box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.08), 0 18px 40px rgba(120, 53, 15, 0.2);
}

.license-form-card-gold .card-header {
    background: linear-gradient(135deg, rgba(120, 53, 15, 0.88), rgba(202, 138, 4, 0.76));
}

.license-rank-helper {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
}

.license-rank-helper-gold {
    color: #fcd34d;
}

.dashboard-content td img.thumb {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

/* =========================================
   USER DASHBOARD STYLES
   ========================================= */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.user-panel .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
    background-image: none !important;
}

.user-panel .btn-primary {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
    color: #fff;
}

.user-panel .btn-secondary:not(.btn-files-save) {
    background: #334155;
    color: #fff;
}

.user-panel .btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.user-panel .btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.license-tab-btn {
    border: 1px solid #334155;
    background: #0f172a;
    color: #cbd5e1;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    font-weight: 700;
    transition: all 0.2s ease;
    background-image: none !important;
}

.license-tab-btn.active {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
    color: #fff;
    border-color: #fb923c;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.25);
}

.license-tab-btn:hover:not(.active) {
    border-color: #475569;
    color: #f8fafc;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #cbd5e1;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    background: #0f172a;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #1e293b;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
}

.info-item span {
    font-size: 16px;
    font-weight: 600;
    color: #e2e8f0;
}

/* =========================================
   NEWS ARTICLE STYLES (Consolidated)
   ========================================= */
.news-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    padding-bottom: 60px;
}

.news-article {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.news-header {
    padding: 40px;
    background: linear-gradient(to bottom, #1e293b, #0f172a);
    border-bottom: 1px solid #1e293b;
}

.news-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.2;
}

.news-meta {
    color: #94a3b8;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-content {
    padding: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cbd5e1;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.news-content h1, .news-content h2, .news-content h3 {
    color: #fff;
    margin-top: 30px;
}

.news-content a {
    color: #3b82f6;
    text-decoration: underline;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.btn-back:hover {
    color: #fff;
}

.btn-back svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .news-header, .news-content {
        padding: 20px;
    }
    .news-title {
        font-size: 1.8rem;
    }
    .news-container {
        margin: 20px auto;
    }
}

/* =========================================
   UTILITY CLASSES & COMPONENT STYLES
   ========================================= */

/* Form Groups */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Helper Text */
.helper-text {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

/* No News Message */
.no-news-message {
    text-align: center; 
    color: #64748b; 
    padding: 40px; 
    font-size: 1.1rem; 
    background: #0f172a; 
    border-radius: 12px; 
    border: 1px dashed #334155;
}

/* Error Page (Download) */
body.error-page {
    background: #0f172a;
    color: #fff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

.error-box {
    background: #1e293b;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #ef4444;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.error-box h2 {
    color: #ef4444;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.error-box p {
    color: #94a3b8;
    margin: 10px 0;
    line-height: 1.5;
}

.btn-error-back {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
    font-weight: 500;
}

.btn-error-back:hover {
    background: #2563eb;
}

/* Disabled Input */
.disabled-input {
    background: #0f172a;
    color: #64748b;
    border-color: #1e293b;
    cursor: not-allowed;
}

.form-actions {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
}


/* =========================================
   NEWS PAGE SPECIFIC STYLES
   ========================================= */
body.news-page {
    display: block;
    background: #020617;
    color: #e2e8f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

/* =========================================
   LANDING PAGE SPECIFIC STYLES (Consolidated)
   ========================================= */
body.landing-page {
    display: block;
    background: #050505;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(255, 0, 0, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 0, 0, 0.05), transparent 25%);
    overflow-x: hidden;
}

.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
        url('https://wallpaperaccess.com/full/1131198.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: grayscale(100%) contrast(120%);
}

.features {
    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid #333;
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.feature-card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: #999;
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff0000, transparent);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.landing-footer {
    text-align: center;
    padding: 40px;
    background: #020617;
    color: #666;
    border-top: 1px solid #222;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn-gaming {
        width: 100%;
        max-width: 280px;
        margin: 10px 0;
    }
    
    .hero-content {
        padding: 20px 0;
    }
}

/* =========================================
   LANDING PAGE NEWS SECTION
   ========================================= */
.news-section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}
.news-title {
    text-align: center;
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
    position: relative;
    display: inline-block;
    width: 100%;
}

.news-grid {
    display: grid;
    gap: 25px;
}

.news-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: #dc2626;
    box-shadow: 0 10px 40px -10px rgba(220, 38, 38, 0.15);
}

.news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.news-card h3 {
    color: #f1f5f9;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
}

.news-date-badge {
    background: #1e293b;
    color: #94a3b8;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #334155;
    white-space: nowrap;
    margin-left: 15px;
}

.news-excerpt {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
    flex-grow: 1;
}

.btn-read-more {
    align-self: flex-start;
    background: transparent;
    color: #ef4444;
    border: 1px solid #ef4444;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.btn-read-more:hover {
    background: #ef4444;
    color: white;
}

.btn-read-more svg {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    transition: transform 0.2s;
}

.btn-read-more:hover svg {
    transform: translateX(3px);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}
.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    color: #cbd5e1;
    text-decoration: none;
    border: 1px solid #334155;
    border-radius: 8px;
    transition: all 0.2s;
    font-weight: 600;
}
.page-link:hover, .page-link.active {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
}
.error-msg {
    text-align: center;
    color: #ef4444;
    padding: 20px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* =========================================
   GLOBAL MOBILE RESPONSIVE UTILITIES
   ========================================= */
@media (max-width: 480px) {
    .page-wrapper {
        padding: 15px;
    }
    .card {
        padding: 20px;
    }
    .title {
        font-size: 20px;
    }
    input[type="text"], input[type="password"], input[type="number"], input[type="email"], .btn-form, form button[type="submit"] {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .dashboard-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #1f2937;
    }
    
    .dashboard-content {
        padding: 15px;
    }
    
    .module-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .user-info {
        width: 100%;
        justify-content: space-between;
    }
}

/* =========================================
   PRICING / BUY PAGE STYLES
   ========================================= */
.pricing-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: #1e293b;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    border: 1px solid #334155;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.pricing-card.featured {
    border: 2px solid #fbbf24;
    background: linear-gradient(145deg, #1e293b 0%, #292524 100%);
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.15);
}

.pricing-card.featured::before {
    content: 'DESTACADO';
    position: absolute;
    top: 20px;
    right: -35px;
    background: #fbbf24;
    color: #000;
    font-weight: bold;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.pricing-card .price-tag {
    font-size: 3.5rem;
    font-weight: 800;
    color: #f8fafc;
    margin: 20px 0;
    display: block;
}

.pricing-card .price-tag span {
    font-size: 1.5rem;
    color: #94a3b8;
    vertical-align: top;
    margin-right: 4px;
}

.pricing-card .duration {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    font-weight: 500;
}

.btn-buy {
    display: block;
    width: 100%;
    padding: 15px;
    background: #2563eb;
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s;
    margin-top: auto;
    text-align: center;
}

.btn-buy:hover {
    background: #1d4ed8;
}

.pricing-card.featured .btn-buy {
    background: #fbbf24;
    color: #000;
}

.pricing-card.featured .btn-buy:hover {
    background: #d97706;
    color: #fff;
}

.pricing-card .package-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.pricing-card.featured .package-name {
    color: #fbbf24;
}

.pricing-card.gold {
    border: 1px solid rgba(251, 191, 36, 0.45);
    background: linear-gradient(145deg, #23180a 0%, #3a2710 42%, #1e293b 100%);
    box-shadow: 0 0 35px rgba(251, 191, 36, 0.18);
}

.pricing-card.gold:hover {
    box-shadow: 0 24px 45px rgba(251, 191, 36, 0.22);
}

.pricing-card.gold .price-tag,
.pricing-card.gold .package-name {
    color: #fbbf24;
}

.pricing-card.gold .price-tag span,
.pricing-card.gold .duration,
.pricing-card.gold .package-description,
.pricing-card.gold .package-tier {
    color: #fde68a;
}

.pricing-card.gold .btn-buy {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #1f2937;
}

.pricing-card.gold .btn-buy:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    color: #fff;
}

.package-tier {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #fbbf24;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.package-description {
    min-height: 48px;
    margin: 0 0 18px;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.package-description-empty {
    visibility: hidden;
}

/* =========================================
   ADMIN DASHBOARD BUTTONS
   ========================================= */
.admin-dashboard .dashboard-content .btn,
.admin-dashboard .dashboard-content a.btn,
.admin-dashboard .module-header > .btn,
.admin-dashboard .module-header > a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    color: #fff;
    background-color: #334155;
    background-image: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-dashboard .dashboard-content .btn:hover,
.admin-dashboard .dashboard-content a.btn:hover,
.admin-dashboard .module-header > .btn:hover,
.admin-dashboard .module-header > a.btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.admin-dashboard .btn-primary,
.admin-dashboard a.btn-primary,
.admin-dashboard button.btn-primary {
    background-color: #ea580c;
    background-image: linear-gradient(135deg, #f97316, #ea580c) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.admin-dashboard .btn-secondary,
.admin-dashboard a.btn-secondary,
.admin-dashboard button.btn-secondary {
    background-color: #334155 !important;
    background-image: none !important;
    color: #fff !important;
}

.admin-dashboard .btn-success,
.admin-dashboard a.btn-success,
.admin-dashboard button.btn-success {
    background-color: #059669 !important;
    background-image: linear-gradient(135deg, #10b981, #059669) !important;
    color: #fff !important;
}

.admin-dashboard .btn-danger,
.admin-dashboard a.btn-danger,
.admin-dashboard button.btn-danger,
.admin-dashboard button.btn-sm.btn-danger,
.admin-dashboard a.btn-sm.btn-danger {
    background-color: #dc2626 !important;
    background-image: linear-gradient(135deg, #ef4444, #dc2626) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

.admin-dashboard .btn-sm,
.admin-dashboard a.btn-sm,
.admin-dashboard button.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    color: #fff;
    background-color: #2563eb;
    background-image: none !important;
}

.admin-dashboard a.btn-sm.btn-primary,
.admin-dashboard button.btn-sm.btn-primary {
    background-color: #ea580c !important;
    background-image: linear-gradient(135deg, #f97316, #ea580c) !important;
    color: #fff !important;
}

.admin-dashboard .dashboard-content button[type="submit"]:not(.badge):not(.asset-tool-tab):not(.btn-link-danger):not(.btn-action--danger):not(.asset-tool-btn-secondary):not(.asset-tool-btn-remove),
.admin-dashboard .dashboard-content input[type="submit"]:not(.badge) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: none;
    background-color: #ea580c !important;
    background-image: linear-gradient(135deg, #f97316, #ea580c) !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
    transition: transform 0.1s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.admin-dashboard .dashboard-content button[type="submit"]:not(.badge):not(.asset-tool-tab):not(.btn-link-danger):not(.asset-tool-btn-secondary):not(.asset-tool-btn-remove):hover,
.admin-dashboard .dashboard-content input[type="submit"]:hover {
    filter: brightness(1.06);
    box-shadow: 0 8px 22px rgba(249, 115, 22, 0.4);
    transform: translateY(-1px);
}

.admin-dashboard .dashboard-content button[type="button"]:not(.asset-tool-tab):not(.asset-tool-btn-secondary):not(.asset-tool-btn-remove) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
}

.admin-dashboard .message-error.mb-20,
.admin-dashboard .message-success.mb-20 {
    margin-bottom: 20px;
}

textarea,
select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #374151;
    background: #020617;
    color: #e5e7eb;
    font-size: 14px;
}

textarea:focus,
select:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.3);
}

.landing-content-layout {
    max-width: 1320px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}

.landing-main-content {
    min-width: 0;
}

.services-sidebar {
    background: rgba(8, 13, 25, 0.9);
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 18px;
    position: sticky;
    top: 100px;
}

.services-sidebar h3 {
    color: #f8fafc;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.services-sidebar ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.services-sidebar a {
    color: #cbd5e1;
    text-decoration: none;
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    background: #0f172a;
    border: 1px solid #1e293b;
    transition: all 0.2s ease;
}

.services-sidebar a:hover {
    border-color: #dc2626;
    color: #ffffff;
    transform: translateY(-1px);
}

.services-page-wrapper {
    max-width: 1320px;
    margin: 120px auto 40px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}

.service-main-card {
    background: rgba(8, 13, 25, 0.9);
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 24px;
}

.service-main-card h1 {
    color: #f8fafc;
    margin-bottom: 8px;
}

.service-price {
    color: #fbbf24;
    margin-bottom: 18px;
}

.service-files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.service-file-card {
    border: 1px solid #334155;
    background: #0f172a;
    border-radius: 10px;
    padding: 16px;
}

.service-file-card h2 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.service-file-card p {
    color: #94a3b8;
    line-height: 1.55;
}

.service-warning {
    border: 1px solid #7f1d1d;
    background: rgba(127, 29, 29, 0.18);
    border-radius: 10px;
    color: #fecaca;
    padding: 12px;
    margin-bottom: 0;
    line-height: 1.5;
}

.services-main-column {
    display: grid;
    gap: 16px;
}

.service-warning-panel {
    background: rgba(8, 13, 25, 0.9);
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 16px;
}

.service-warning-panel h2 {
    color: #f8fafc;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.service-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.service-partner-card {
    border: 1px solid #334155;
    background: #0f172a;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

.service-partner-logo {
    width: 100%;
    max-width: 400px;
    max-height: 400px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 8px;
    background: #020617;
    border-radius: 8px;
    padding: 6px;
}

.service-partner-card h2 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.service-partner-card p {
    color: #94a3b8;
    line-height: 1.5;
}

.service-prefix-badge {
    margin-top: 10px;
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #fef3c7;
    border: 1px solid #b45309;
    background: rgba(180, 83, 9, 0.22);
}

.service-contact-line {
    margin-top: 8px;
    color: #cbd5e1;
    font-size: 14px;
}

.service-detail-content {
    margin-top: 14px;
    color: #cbd5e1;
    line-height: 1.7;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 1024px) {
    .landing-content-layout,
    .services-page-wrapper {
        grid-template-columns: 1fr;
    }

    .services-sidebar {
        position: static;
    }
}

/* =========================================
   SLIDESHOW (index)
   ========================================= */
.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 1024px;
    height: 720px;
    margin: 0 auto;
    overflow: hidden;
    background: #000;
    border-bottom: 2px solid #ff0000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.6;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 20px;
    z-index: 2;
}

.slide-title {
    font-size: 4rem;
    color: #fff;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
    margin-bottom: 20px;
    animation: slideUp 0.8s ease-out;
}

.slide-btn {
    display: inline-block;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.dots-container {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 3;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #ff0000;
    box-shadow: 0 0 8px #ff0000;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .slideshow-container { height: 400px; }
    .slide-title { font-size: 2.5rem; }
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-shell {
    max-width: 980px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

.contact-card {
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: linear-gradient(160deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.72));
    backdrop-filter: blur(8px);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.contact-title {
    margin: 0 0 8px;
    color: #fff;
    font-size: 52px;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 0 22px rgba(239, 68, 68, 0.4);
}

.contact-subtitle {
    margin: 0 0 22px;
    color: #cbd5e1;
    font-size: 24px;
    font-weight: 500;
}

.contact-actions-wrap {
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 20px;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.contact-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 10px;
    border: 1px solid rgba(248, 113, 113, 0.7);
    background: linear-gradient(180deg, rgba(220, 38, 38, 0.92), rgba(127, 29, 29, 0.9));
    background-image: none !important;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, border-color 0.22s ease;
}

.contact-action-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.55);
    filter: brightness(1.08);
}

.contact-action-btn.is-secondary {
    border-color: rgba(148, 163, 184, 0.6);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.92));
}

.contact-action-btn.is-secondary.active {
    border-color: rgba(59, 130, 246, 0.8);
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.45);
}

.contact-form-panel {
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 14px;
    padding: 0 18px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px);
    transition: max-height 0.45s ease, opacity 0.35s ease, transform 0.35s ease, padding-top 0.35s ease, padding-bottom 0.35s ease;
    background: rgba(2, 6, 23, 0.55);
}

.contact-form-panel.show {
    max-height: 880px;
    opacity: 1;
    transform: translateY(0);
    padding-top: 16px;
    padding-bottom: 16px;
}

.contact-form-panel label {
    display: block;
    margin-bottom: 8px;
    color: #cbd5e1;
    font-weight: 600;
    font-size: 20px;
}

.contact-form-panel input,
.contact-form-panel textarea {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.75);
    color: #f8fafc;
    font-size: 17px;
    padding: 14px 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-panel input:focus,
.contact-form-panel textarea:focus {
    border-color: rgba(59, 130, 246, 0.85);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.contact-form-panel .form-group {
    margin-bottom: 18px;
}

.contact-submit {
    border: 1px solid rgba(248, 113, 113, 0.75);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(220, 38, 38, 0.94), rgba(127, 29, 29, 0.9));
    background-image: none !important;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.3px;
    min-height: 62px;
    min-width: 280px;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit:hover {
    transform: scale(1.02);
    filter: brightness(1.06);
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.45);
}

.contact-message {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 600;
}

.contact-message.error {
    color: #fecaca;
    border: 1px solid rgba(248, 113, 113, 0.5);
    background: rgba(127, 29, 29, 0.28);
}

.contact-message.success {
    color: #bbf7d0;
    border: 1px solid rgba(74, 222, 128, 0.45);
    background: rgba(21, 128, 61, 0.25);
}

@media (max-width: 768px) {
    .contact-title { font-size: 38px; }
    .contact-subtitle { font-size: 19px; }
    .contact-action-btn { width: 100%; min-width: 0; }
    .contact-submit { width: 100%; min-width: 0; font-size: 22px; }
}

/* =========================================
   SERVICE PAGE
   ========================================= */
.service-wrap {
    max-width: 1180px;
    margin: 120px auto 70px;
    padding: 0 24px;
}

.service-hero {
    border: 1px solid rgba(220, 38, 38, 0.35);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.9));
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
    padding: 30px 34px;
    margin-bottom: 24px;
}

.service-title {
    margin: 0 0 12px;
    color: #f8fafc;
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.service-subtitle {
    margin: 0;
    color: #cbd5e1;
    font-size: 22px;
    line-height: 1.65;
    max-width: 980px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.service-box {
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.92), rgba(3, 7, 18, 0.9));
    padding: 20px 22px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.service-box h3 {
    margin: 0 0 12px;
    color: #f8fafc;
    font-size: 27px;
    font-weight: 700;
}

.service-box ul {
    margin: 0;
    padding-left: 20px;
    color: #cbd5e1;
    line-height: 1.75;
    font-size: 18px;
}

.service-list-card {
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.9);
    padding: 20px 22px;
    margin-bottom: 24px;
}

.service-list-card h3 {
    margin: 0 0 12px;
    color: #f8fafc;
    font-size: 28px;
    font-weight: 700;
}

.service-list-card ul {
    margin: 0;
    padding-left: 22px;
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 19px;
}

.service-cta {
    border: 1px solid rgba(220, 38, 38, 0.45);
    border-radius: 14px;
    background: linear-gradient(165deg, rgba(127, 29, 29, 0.28), rgba(15, 23, 42, 0.95));
    padding: 22px 24px;
}

.service-cta h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 29px;
    font-weight: 800;
}

.service-cta p {
    margin: 0;
    color: #e2e8f0;
    font-size: 20px;
    line-height: 1.75;
}

@media (max-width: 768px) {
    .service-wrap { margin-top: 104px; padding: 0 14px; }
    .service-title { font-size: 33px; }
    .service-subtitle { font-size: 19px; }
    .service-box h3, .service-list-card h3 { font-size: 24px; }
    .service-box ul, .service-list-card ul { font-size: 17px; }
    .service-cta h3 { font-size: 24px; }
    .service-cta p { font-size: 18px; }
}

/* =========================================
   TERMS / COMPRAR
   ========================================= */
.terms-container {
    max-width: 1000px;
    margin: 40px auto 60px;
    padding: 30px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid #334155;
    border-radius: var(--radius-md);
    color: #cbd5e1;
}

.terms-title {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #334155;
    padding-bottom: 10px;
}

.terms-content {
    line-height: 1.6;
    font-size: 0.95rem;
}

.warning-box {
    margin-top: 20px;
    padding: 15px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: var(--radius-sm);
    color: #fca5a5;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.warning-icon {
    font-size: 1.5rem;
}

/* =========================================
   USER LICENSE PANEL
   ========================================= */
.user-license-card {
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.98) 0%, rgba(2, 6, 23, 0.98) 100%);
    box-shadow:
        0 24px 60px rgba(2, 6, 23, 0.75),
        0 0 0 1px rgba(15, 23, 42, 0.6) inset;
    backdrop-filter: blur(12px);
}

.user-license-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    padding: 28px 32px 22px;
    border-bottom: 1px solid rgba(51, 65, 85, 0.55);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.35), transparent);
}

.user-license-heading .title {
    font-size: 28px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 4px;
}

.user-license-heading .subtitle {
    font-size: 14px;
    color: #94a3b8;
    max-width: 420px;
    line-height: 1.5;
}

.user-license-welcome {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(51, 65, 85, 0.7);
    background: rgba(15, 23, 42, 0.65);
}

.user-license-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
    flex-shrink: 0;
}

.user-license-welcome-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.user-license-greeting {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.user-license-welcome-text strong {
    font-size: 15px;
    color: #e2e8f0;
    font-weight: 700;
    word-break: break-word;
}

.user-license-logout {
    margin-left: 4px;
    white-space: nowrap;
}

.user-license-body {
    padding: 26px 32px 32px;
}

.user-license-download-wrap {
    margin-bottom: 24px;
}

.user-license-download.btn-gaming-download {
    width: 100%;
    max-width: none;
}

.user-license-stats .info-item {
    position: relative;
    padding: 18px 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(51, 65, 85, 0.65);
    background: rgba(15, 23, 42, 0.75);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.user-license-stats .info-item:hover {
    border-color: rgba(249, 115, 22, 0.35);
    transform: translateY(-2px);
}

.user-license-stats .info-item label {
    font-size: 11px;
    letter-spacing: 0.1em;
}

.user-license-stats .info-item span:not(.badge) {
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}

body.user-panel .license-tabs {
    padding: 4px;
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(51, 65, 85, 0.6);
    gap: 8px;
}

body.user-panel .license-tab-btn {
    flex: 1 1 220px;
    text-align: center;
    font-size: 13px;
    line-height: 1.35;
}

body.user-panel .license-tab-btn.active {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.22), rgba(234, 88, 12, 0.12));
    border-color: var(--color-accent);
    color: #fff;
    box-shadow: 0 4px 18px rgba(249, 115, 22, 0.2);
}

body.user-panel .user-license-body .form-group small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
}

body.user-panel .user-license-body input[type="text"],
body.user-panel .user-license-body input[type="password"] {
    border-radius: var(--radius-md);
    border: 1px solid rgba(51, 65, 85, 0.8);
    background: rgba(2, 6, 23, 0.6);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.user-panel .user-license-body input:focus {
    border-color: rgba(249, 115, 22, 0.75);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
    outline: none;
}

body.user-panel .form-actions {
    justify-content: stretch;
    margin-top: 24px;
}

body.user-panel .form-actions .btn-primary {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
    border-radius: var(--radius-md);
}

@media (max-width: 768px) {
    .user-license-card-top {
        flex-direction: column;
        padding: 22px 20px 18px;
    }

    .user-license-welcome {
        width: 100%;
        justify-content: space-between;
    }

    .user-license-body {
        padding: 20px;
    }

    body.user-panel .license-tab-btn {
        flex: 1 1 100%;
    }
}

.license-tabs {
    display: flex;
    gap: 12px;
    margin: 22px 0 18px;
    flex-wrap: wrap;
}

.license-tab-panel {
    display: none;
}

.license-tab-panel.active {
    display: block;
}

.files-license-box {
    margin-top: 18px;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(17, 24, 39, 0.92));
    border: 1px solid var(--color-border);
}

body.user-panel .files-license-box {
    border-color: rgba(51, 65, 85, 0.7);
    box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.08);
}

.files-license-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.files-license-title {
    font-size: 20px;
    font-weight: 800;
    color: #f8fafc;
}

.files-license-help {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid #fb923c;
    color: #fb923c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    cursor: help;
}

.files-license-note {
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 18px;
    line-height: 1.6;
}

.files-license-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.btn-files-generate {
    flex: 1 1 260px;
    min-height: 52px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    background-image: none !important;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 14px 34px rgba(34, 197, 94, 0.28);
}

.btn-files-generate:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(34, 197, 94, 0.34);
}

.btn-files-generate:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-files-save {
    min-height: 52px;
    padding: 0 26px;
    border: 1px solid #38bdf8;
    border-radius: 14px;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    background-image: none !important;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.28);
}

.btn-files-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.34);
}

.btn-files-save:active {
    transform: translateY(0);
}

.btn-files-save:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25), 0 18px 40px rgba(37, 99, 235, 0.34);
}

.files-license-expiration {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.24);
    color: #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.files-license-expiration strong {
    color: #38bdf8;
    font-weight: 800;
}

.files-license-expiration span {
    color: #f8fafc;
    font-weight: 700;
}

.mini-caption {
    margin-top: 8px;
    color: #94a3b8;
    font-size: 13px;
}

/* =========================================
   ADMIN UTILITIES
   ========================================= */
.admin-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.admin-grid-2-col-15 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.admin-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 15px;
}

.admin-grid-categories {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.admin-grid-category-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 8px;
}

.admin-flex-gap {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-flex-gap-8 {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-flex-row {
    display: flex;
    gap: 10px;
}

.admin-flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-flex-1 {
    flex: 1;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-card-mb {
    margin-bottom: 30px;
}

.admin-card-mb-20 {
    margin-bottom: 20px;
}

.admin-card-mt-15 {
    margin-top: 15px;
}

.admin-field-mb {
    margin-bottom: 15px;
}

.admin-field-mb-sm {
    margin-bottom: 10px;
}

.admin-mt-15 {
    margin-top: 15px;
}

.admin-mt-10 {
    margin-top: 10px;
}

.admin-mt-8 {
    margin-top: 8px;
}

.admin-mb-14 {
    margin-bottom: 14px;
}

.admin-mb-15 {
    margin-bottom: 15px;
}

.admin-hint {
    font-size: 0.85em;
    color: #9ca3af;
}

.admin-hint-block {
    margin-bottom: 15px;
    font-size: 0.85em;
    color: #9ca3af;
}

.admin-hint-sm {
    margin-top: 12px;
    font-size: 12px;
    color: #9ca3af;
}

.admin-form-mt {
    margin-top: 15px;
}

.admin-form-inline {
    display: inline;
    margin: 0;
}

.admin-search-form {
    display: flex;
    gap: 10px;
}

.admin-search-input {
    padding: 5px;
}

.admin-table-wide {
    min-width: 1450px;
}

.admin-td-muted {
    font-size: 0.8em;
    color: #cbd5e1;
}

.admin-td-meta {
    font-size: 0.8em;
    color: #9ca3af;
}

.admin-td-strong {
    font-weight: 600;
    color: #fff;
}

.admin-text-center {
    text-align: center;
}

.admin-empty-state {
    color: #94a3b8;
    text-align: center;
    padding: 20px;
}

.admin-section-title {
    font-weight: 700;
    color: #f8fafc;
}

.admin-section-title-mb {
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 8px;
}

.admin-section-title-mb-10 {
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 10px;
}

.admin-note {
    margin-bottom: 15px;
    font-size: 0.92em;
    color: #cbd5e1;
}

.admin-note-sm {
    margin-bottom: 15px;
    font-size: 0.9em;
}

.stat-card {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 12px;
}

.stat-card-label {
    font-size: 12px;
    color: #94a3b8;
}

.stat-card-value {
    font-size: 22px;
    font-weight: 700;
    color: #f8fafc;
    margin-top: 4px;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 8px;
    background-color: #2563eb;
    background-image: none !important;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
    transition: filter 0.2s ease, transform 0.2s ease;
}

.btn-action:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.btn-action--success {
    background: #16a34a;
}

.btn-action--muted {
    background: #334155;
    padding: 10px 16px;
}

.btn-action--disabled {
    background: #475569;
    color: #cbd5e1;
    cursor: default;
}

.admin-dashboard button.btn-action--danger,
.admin-dashboard .btn-action--danger,
button.btn-action--danger {
    background-color: #dc2626 !important;
    background-image: linear-gradient(135deg, #ef4444, #dc2626) !important;
    color: #fff !important;
    border: none;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.days-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
}

.days-badge--critical {
    background: #7f1d1d;
    color: #fecaca;
}

.days-badge--warning {
    background: #854d0e;
    color: #fef08a;
}

.days-badge--ok {
    background: #14532d;
    color: #bbf7d0;
}

.row-warning td {
    background: rgba(250, 204, 21, 0.14);
}

.badge-toggle {
    border: none;
    cursor: pointer;
    background-image: none !important;
}

.label-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.label-check-wrap {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.label-check-block {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.admin-dashboard .admin-submit-mt {
    margin-top: 10px;
}

.btn-cancel-inline {
    margin-right: 8px;
    text-decoration: none;
}

.btn-float-right {
    float: right;
}

.text-gold-bold {
    color: #fbbf24;
    font-weight: bold;
}

.input-checkbox-inline {
    width: auto;
    margin: 0;
}

.input-readonly-muted {
    opacity: 0.8;
}

.preview-thumb-box {
    margin-bottom: 10px;
    padding: 10px;
    background: #0f172a;
    border-radius: 8px;
    display: inline-block;
}

.preview-thumb-img {
    max-height: 100px;
    display: block;
}

.news-cover-wrap {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.news-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-page-footer {
    text-align: center;
    padding: 40px;
    color: #64748b;
    margin-top: 40px;
}

.admin-td-desc {
    color: #94a3b8;
    max-width: 300px;
}

.btn-link-danger,
.admin-dashboard .btn-link-danger {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: none;
    background-color: #dc2626 !important;
    background-image: linear-gradient(135deg, #ef4444, #dc2626) !important;
    color: #fff !important;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.admin-dashboard .btn-link-danger:hover {
    filter: brightness(1.08);
}

.th-w-80 { width: 80px; }
.th-w-120 { width: 120px; }
.thumb-slide { width: 100px; height: 60px; }
.badge-order { background: #334155; }
.admin-empty-cell {
    text-align: center;
    padding: 30px;
    color: #94a3b8;
}
.link-accent { color: #3b82f6; }

/* =========================================
   ADMIN: ASSET TOOL
   ========================================= */
.asset-tool-grid { display: grid; gap: 16px; }
.asset-tool-card { padding: 16px; border-radius: 14px; border: 1px solid rgba(148, 163, 184, 0.15); background: rgba(15, 23, 42, 0.42); }
.asset-tool-card-compact { padding: 14px; }
.asset-tool-settings { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; }
.asset-tool-row { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(160px, 1fr) 90px 90px minmax(220px, 1.2fr) auto; gap: 12px; align-items: end; }
.asset-tool-row + .asset-tool-row { margin-top: 12px; }
.asset-tool-row-actions { display: flex; gap: 10px; justify-content: flex-end; }
.asset-tool-mini { font-size: 0.84em; color: #94a3b8; margin-top: 6px; }
.asset-tool-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 15px; }
.asset-tool-tab {
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.55);
    color: #cbd5e1;
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    background-image: none !important;
}
.asset-tool-tab.active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: rgba(96, 165, 250, 0.7);
    color: #fff;
}
.asset-tool-preview-layout { display: grid; grid-template-columns: minmax(320px, 2fr) minmax(260px, 1fr); gap: 16px; align-items: start; }
.asset-tool-stage { border-radius: 14px; border: 1px solid rgba(148, 163, 184, 0.16); padding: 14px; background: rgba(2, 6, 23, 0.5); }
.asset-tool-canvas { width: 100%; max-width: 100%; height: auto; border-radius: 12px; border: 1px solid rgba(148, 163, 184, 0.14); background-image: linear-gradient(45deg, rgba(148, 163, 184, 0.08) 25%, transparent 25%), linear-gradient(-45deg, rgba(148, 163, 184, 0.08) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(148, 163, 184, 0.08) 75%), linear-gradient(-45deg, transparent 75%, rgba(148, 163, 184, 0.08) 75%); background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0; cursor: crosshair; }
.asset-tool-sidepanel { display: grid; gap: 14px; }
.asset-tool-crop-grid { display: grid; grid-template-columns: repeat(2, minmax(90px, 1fr)); gap: 12px; }
.asset-tool-empty { padding: 18px; text-align: center; color: #94a3b8; border: 1px dashed rgba(148, 163, 184, 0.2); border-radius: 12px; }
.asset-tool-result-grid { display: grid; gap: 12px; }
.asset-tool-result-item { padding: 12px 14px; border: 1px solid rgba(148, 163, 184, 0.16); border-radius: 12px; background: rgba(15, 23, 42, 0.45); }
.admin-dashboard .asset-tool-btn-secondary,
.admin-dashboard button.asset-tool-btn-secondary {
    background-color: #334155 !important;
    background-image: none !important;
    color: #f1f5f9 !important;
    border: 1px solid #475569 !important;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.admin-dashboard .asset-tool-btn-secondary:hover,
.admin-dashboard button.asset-tool-btn-secondary:hover {
    background-color: #475569 !important;
    filter: brightness(1.05);
}

.admin-dashboard #button-asset-add-more {
    background-color: #ea580c !important;
    background-image: linear-gradient(135deg, #f97316, #ea580c) !important;
    color: #fff !important;
    border: none !important;
}

.admin-dashboard button.asset-tool-btn-remove,
.admin-dashboard .asset-tool-btn-remove,
.admin-dashboard button.asset-tool-btn-secondary[data-action="remove"] {
    background-color: #dc2626 !important;
    background-image: linear-gradient(135deg, #ef4444, #dc2626) !important;
    color: #fff !important;
    border: 1px solid #b91c1c !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
}

.admin-dashboard button.asset-tool-btn-remove:hover,
.admin-dashboard .asset-tool-btn-remove:hover,
.admin-dashboard button.asset-tool-btn-secondary[data-action="remove"]:hover {
    background-color: #b91c1c !important;
    filter: brightness(1.06);
}

@media (max-width: 980px) {
    .asset-tool-preview-layout { grid-template-columns: 1fr; }
    .asset-tool-row { grid-template-columns: 1fr; }
    .asset-tool-row-actions { justify-content: flex-start; }
}
