/* THE HIDDEN CODE - PREMIUM STYLES v11.0 */

/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Colors */
    --bg-main: #050505;
    --bg-card: #111111;
    --bg-card-hover: #161616;
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;

    --accent-gold: #fdb931;
    --accent-gold-dim: #b88622;
    --accent-gold-glow: rgba(253, 185, 49, 0.3);

    --border-color: #222222;
    --border-focus: #fdb931;

    --success: #10b981;
    --error: #ef4444;

    /* Typography */
    --font-heading: 'Anton', sans-serif;
    --font-body: 'Anton', sans-serif;
    --font-accent: 'Anton', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    --header-offset: var(--header-height);
    --border-radius: 4px; /* Sharp but not raw */
    --vh: 1vh;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
}

body#inicio, body#gimnasio {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    background:
        radial-gradient(1100px 520px at 50% 12%, rgba(253,185,49,0.10), transparent 60%),
        radial-gradient(900px 420px at 18% 80%, rgba(56,189,248,0.06), transparent 65%),
        radial-gradient(900px 420px at 82% 82%, rgba(34,197,94,0.05), transparent 65%),
        #050505;
}

body#inicio p, body#gimnasio p { color: rgba(240,240,240,0.72); }

body#inicio .page-content, body#gimnasio .page-content { padding-top: var(--header-height); }

body#inicio .block-hero, body#gimnasio .block-hero {
    background: transparent;
    padding: 120px 0 64px;
}

body#inicio .block-hero h1, body#gimnasio .block-hero h1 {
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(180deg, #f7f7f7 0%, #bdbdbd 35%, #7f7f7f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 18px 60px rgba(0,0,0,0.55);
}

body#inicio .quote, body#gimnasio .quote {
    max-width: 820px;
    margin: 10px auto 0;
    color: rgba(235,235,235,0.72);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    font-style: normal;
    letter-spacing: 0.2px;
}

body#inicio .quote em, body#gimnasio .quote em { font-style: normal; }

body#inicio .thc-kicker, body#gimnasio .thc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.03);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(253,185,49,0.92);
}

body#inicio .intro-title, body#gimnasio .intro-title {
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

body#inicio .thc-surface, body#gimnasio .thc-surface {
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.10);
    background:
        radial-gradient(900px 280px at 15% 10%, rgba(253,185,49,0.10), transparent 55%),
        radial-gradient(900px 280px at 85% 10%, rgba(56,189,248,0.06), transparent 55%),
        rgba(12,12,12,0.65);
    box-shadow: 0 18px 60px rgba(0,0,0,0.55);
}

body#inicio .thc-grid2, body#gimnasio .thc-grid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

body#inicio .thc-grid3, body#gimnasio .thc-grid3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

body#inicio .thc-grid4, body#gimnasio .thc-grid4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

body#inicio .thc-chip, body#gimnasio .thc-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.18);
    color: rgba(240,240,240,0.82);
    font-size: 13px;
    letter-spacing: 0.2px;
    gap: 10px;
}

body#inicio .thc-chip-dot, body#gimnasio .thc-chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(253,185,49,0.85);
    box-shadow: 0 0 0 4px rgba(253,185,49,0.10);
}

body#inicio .thc-stat, body#gimnasio .thc-stat {
    padding: 16px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.14);
}

body#inicio .thc-stat .n, body#gimnasio .thc-stat .n {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-size: 26px;
    color: #fff;
}

body#inicio .thc-stat .t, body#gimnasio .thc-stat .t {
    font-size: 12px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: rgba(253,185,49,0.90);
    margin-top: 4px;
}

body#inicio .thc-stat .d, body#gimnasio .thc-stat .d {
    margin-top: 8px;
    color: rgba(240,240,240,0.68);
    font-size: 13px;
}

body#inicio .thc-timeline, body#gimnasio .thc-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

body#inicio .thc-step, body#gimnasio .thc-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.14);
}

body#inicio .thc-step .i, body#gimnasio .thc-step .i {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000;
    background: linear-gradient(180deg, rgba(253,185,49,1) 0%, rgba(238,193,81,1) 100%);
    box-shadow: 0 12px 28px rgba(253,185,49,0.18);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

body#inicio .thc-step h4, body#gimnasio .thc-step h4 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-size: 15px;
    margin-bottom: 4px;
}

body#inicio .thc-step p, body#gimnasio .thc-step p { margin: 0; }

@media (max-width: 980px) {
    body#inicio .thc-grid2, body#gimnasio .thc-grid2 { grid-template-columns: 1fr; }
    body#inicio .thc-grid3, body#gimnasio .thc-grid3 { grid-template-columns: 1fr; }
    body#inicio .thc-grid4, body#gimnasio .thc-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    body#inicio .btn-primary:hover, body#gimnasio .btn-primary:hover { transform: none; }
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-synthesis: none;
    min-height: 100%;
    min-height: -webkit-fill-available;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    min-height: 100dvh;
    min-height: -webkit-fill-available;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

button,
[type="button"],
[type="submit"],
[role="button"],
a,
label,
summary {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

ul {
    list-style: none;
}

/* =========================================
   2. TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 400; /* Anton is bold by default */
    letter-spacing: 2px;
    line-height: 1.1;
    color: var(--text-primary);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }

/* =========================================
   3. LAYOUT & UTILITIES
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: #3b3b3b transparent;
}
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #2a2a2a, #3b3b3b);
    border: 1px solid #444;
    border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4a4a4a;
}

.page-content {
    padding-top: var(--header-offset, var(--header-height));
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    min-height: 100dvh;
}

/* =========================================
   4. COMPONENTS
   ========================================= */

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background-color: var(--accent-gold);
    color: #000;
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-primary:hover {
    background-color: #eec151;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(253, 185, 49, 0.15);
}

.btn-block {
    width: 100%;
    display: flex;
}

/* Footer Action Center */
.action-footer {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    width: 100%;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #222;
    color: #fff;
    margin-bottom: 8px;
}

/* Alerts */
.alert-banner {
    padding: 12px;
    margin-bottom: 20px;
    background: rgba(253, 185, 49, 0.12);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-size: 0.9rem;
    display: none;
    text-align: center;
}
.alert-banner.show { display: block; }
.alert-banner.success {
    background: rgba(253, 185, 49, 0.12);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}
.alert-banner.error {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--error);
    color: var(--error);
}

/* =========================================
   5. HEADER & NAV
   ========================================= */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

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

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

.thc-moreinfo-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.03);
    color: var(--text-primary);
    font-family: var(--font-accent);
    font-size: 0.88rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.thc-moreinfo-toggle:hover {
    transform: translateY(-2px);
    border-color: rgba(253,185,49,0.28);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 18px 50px rgba(0,0,0,0.38);
}

.thc-moreinfo-toggle:active {
    transform: translateY(0px);
}

.thc-moreinfo-toggle .chev {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(253,185,49,0.30);
    color: var(--accent-gold);
}

.thc-moreinfo {
    overflow: hidden;
    transform-origin: top;
    transition: max-height 0.55s ease, opacity 0.35s ease, transform 0.35s ease;
}

.thc-moreinfo.is-collapsed {
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

.thc-moreinfo.is-expanded {
    max-height: 10000px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-links a.is-active {
    color: var(--text-primary);
}

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

@media (max-width: 768px) {
    .main-header { height: auto; padding-top: max(24px, calc(12px + var(--safe-top, 0px))); padding-bottom: 14px; }
    .page-content { padding-top: var(--header-offset, var(--header-height)); }
    .nav-bar { flex-direction: column; align-items: center; row-gap: 8px; }
    .logo { font-size: 1.2rem; gap: 10px; }
    .logo-icon { width: 32px; height: 32px; }
    .nav-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; width: 100%; margin-top: 12px; }
    .nav-links a { font-size: 0.9rem; letter-spacing: 0.6px; }
}

/* =========================================
   6. HERO SECTIONS
   ========================================= */
.block-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 60px;
    background: radial-gradient(circle at center, #111 0%, #050505 100%);
}

.block-hero h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.quote {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    /* Removed yellow bar as requested */
    font-style: italic;
}

/* Image Carousel in Hero */
.image-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.image-carousel img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    /* Removed grayscale filter */
    border: 1px solid #222;
    transition: all 0.5s ease;
}

.image-carousel img:hover {
    transform: scale(1.02);
    border-color: var(--accent-gold);
    z-index: 10;
}

@media (max-width: 768px) {
    .image-carousel { grid-template-columns: 1fr; }
    .image-carousel img { height: 250px; }
}

/* =========================================
   7. SECTIONS & CARDS
   ========================================= */
.block-layout-dark {
    background-color: #000;
}

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

.thc-stack {
    max-width: 920px;
    margin: 0 auto;
}

.thc-kicker {
    display: inline-block;
    font-family: var(--font-heading);
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-size: 12px;
    margin-bottom: 10px;
}

.thc-lead {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0 auto;
    max-width: 860px;
}

.thc-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.thc-hero-band {
    margin: 22px auto 0;
    max-width: 980px;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.10);
    background:
        radial-gradient(800px 220px at 20% 0%, rgba(253,185,49,0.10), transparent 58%),
        radial-gradient(800px 220px at 80% 100%, rgba(56,189,248,0.06), transparent 58%),
        rgba(10,10,10,0.62);
    box-shadow: 0 16px 50px rgba(0,0,0,0.5);
}

.thc-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 16px;
    align-items: stretch;
}

.thc-panel {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.18);
}

.thc-panel h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.thc-panel p {
    margin: 0;
    color: rgba(240,240,240,0.68);
    font-size: 14px;
    line-height: 1.65;
}

.thc-panel-copy {
    display: grid;
    gap: 16px;
}

.thc-panel-copy .thc-kicker {
    margin-bottom: 0;
}

.thc-panel-copy h3,
.thc-panel-copy p {
    margin: 0;
}

.thc-mini-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.thc-mini-item {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: start;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
}

.thc-mini-item .n {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(253,185,49,1) 0%, rgba(238,193,81,1) 100%);
    color: #000;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.thc-mini-item strong {
    display: block;
    color: #fff;
    margin-bottom: 2px;
    font-size: 14px;
}

.thc-mini-item span {
    color: rgba(240,240,240,0.66);
    font-size: 13px;
    line-height: 1.55;
}

.thc-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.thc-marquee-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: thcMarquee 26s linear infinite;
}

.thc-marquee:hover .thc-marquee-track {
    animation-play-state: paused;
}

@keyframes thcMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.thc-spotlight {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.10);
    background:
        radial-gradient(680px 220px at 10% 0%, rgba(253,185,49,0.14), transparent 60%),
        radial-gradient(560px 200px at 100% 100%, rgba(56,189,248,0.08), transparent 62%),
        rgba(9,9,9,0.72);
    box-shadow: 0 24px 80px rgba(0,0,0,0.52);
}

.thc-spotlight::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 23px;
    border: 1px solid rgba(255,255,255,0.04);
    pointer-events: none;
}

.thc-spotlight-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
    align-items: stretch;
}

.thc-spotlight-stack {
    display: grid;
    gap: 14px;
}

.thc-spotlight-user .thc-spotlight-grid {
    align-items: center;
}

.thc-spotlight-user .thc-section-copy {
    margin-bottom: 14px;
}

.thc-spotlight-user .intro-title {
    max-width: 12ch;
}

.thc-spotlight-user .thc-lead {
    max-width: 62ch;
}

.thc-section-copy {
    display: grid;
    gap: 18px;
    margin-bottom: 18px;
}

.thc-section-copy .thc-kicker,
.thc-section-copy .intro-title,
.thc-section-copy .thc-lead {
    margin: 0;
}

.thc-hero-copy-stack {
    display: grid;
    gap: 0;
}

.thc-hero-subtitle {
    margin-top: 36px;
}

.thc-hero-chip-row {
    margin-top: 56px;
}

body#gimnasio .thc-hero-copy-stack .thc-hero-chip-row {
    margin-top: 68px;
}

body#gimnasio .thc-hero-copy-stack + .thc-hero-band {
    margin-top: 88px !important;
}

.thc-orbit-shell {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.08);
    background:
        radial-gradient(circle at center, rgba(253,185,49,0.16), transparent 26%),
        radial-gradient(circle at center, rgba(56,189,248,0.10), transparent 52%),
        rgba(255,255,255,0.02);
}

.thc-orbit-shell::before,
.thc-orbit-shell::after {
    content: '';
    position: absolute;
    inset: 26px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.06);
}

.thc-orbit-shell::after {
    inset: 72px;
    border-color: rgba(253,185,49,0.12);
}

.thc-orbit-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 122px;
    height: 122px;
    transform: translate(-50%, -50%);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(253,185,49,0.96), rgba(238,193,81,0.78));
    color: #111;
    display: grid;
    place-items: center;
    text-align: center;
    font-family: var(--font-heading);
    letter-spacing: 1.2px;
    box-shadow: 0 20px 60px rgba(253,185,49,0.22);
}

.thc-orbit-core span {
    display: block;
    font-size: 12px;
    letter-spacing: 1.4px;
}

.thc-orbit-core strong {
    display: block;
    font-size: 20px;
}

.thc-orbit-card {
    position: absolute;
    width: min(200px, calc(100% - 32px));
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(8,8,8,0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 16px 50px rgba(0,0,0,0.36);
    animation: thcFloat 6s ease-in-out infinite;
}

.thc-orbit-card strong {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 4px;
}

.thc-orbit-card span {
    display: block;
    color: rgba(240,240,240,0.68);
    font-size: 13px;
    line-height: 1.55;
}

.thc-orbit-card.a { top: 30px; left: 28px; }
.thc-orbit-card.b { right: 28px; top: 56px; animation-delay: -1.8s; }
.thc-orbit-card.c { left: 56px; bottom: 34px; animation-delay: -3.1s; }
.thc-orbit-card.d { right: 24px; bottom: 46px; animation-delay: -4.4s; }

.thc-orbit-shell-spacious {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
        "a b"
        "core core"
        "c d";
    gap: 18px;
    min-height: 430px;
    padding: 28px;
    align-items: stretch;
}

.thc-orbit-shell-spacious .thc-orbit-core {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    grid-area: core;
    width: min(180px, 100%);
    height: 148px;
    margin: 8px auto;
    border-radius: 34px;
}

.thc-orbit-shell-spacious .thc-orbit-card {
    position: relative;
    inset: auto;
    width: auto;
    min-height: 140px;
    padding: 18px 18px;
    animation: none;
}

.thc-orbit-shell-spacious .thc-orbit-card.a {
    grid-area: a;
}

.thc-orbit-shell-spacious .thc-orbit-card.b {
    grid-area: b;
}

.thc-orbit-shell-spacious .thc-orbit-card.c {
    grid-area: c;
}

.thc-orbit-shell-spacious .thc-orbit-card.d {
    grid-area: d;
}

.thc-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.thc-pillar {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.03);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.thc-pillar:hover {
    transform: translateY(-4px);
    border-color: rgba(253,185,49,0.24);
    background: rgba(255,255,255,0.05);
}

.thc-pillar strong {
    display: block;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(253,185,49,0.92);
    margin-bottom: 8px;
}

.thc-pillar p {
    margin: 0;
    font-size: 14px;
    color: rgba(240,240,240,0.70);
}

.thc-mosaic {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 18px;
}

.thc-mosaic-stack {
    display: grid;
    gap: 18px;
}

.thc-frame {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.10);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
        rgba(6,6,6,0.76);
    box-shadow: 0 18px 54px rgba(0,0,0,0.46);
}

.thc-frame::after {
    content: '';
    position: absolute;
    inset: auto -10% 0 auto;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(253,185,49,0.18), transparent 65%);
    pointer-events: none;
}

.thc-frame strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 15px;
}

.thc-frame p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(240,240,240,0.70);
}

.thc-frame ul {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.thc-frame li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: rgba(240,240,240,0.72);
    font-size: 13px;
    line-height: 1.55;
}

.thc-frame li .dot {
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 50%;
    background: rgba(253,185,49,0.92);
    box-shadow: 0 0 0 5px rgba(253,185,49,0.10);
    flex: 0 0 auto;
}

.thc-signal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.thc-signal {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.16);
    min-height: 126px;
}

.thc-signal strong {
    display: block;
    color: #fff;
    margin-bottom: 6px;
    font-size: 14px;
}

.thc-signal span {
    display: block;
    color: rgba(240,240,240,0.66);
    font-size: 13px;
    line-height: 1.55;
}

.thc-flow-band {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.thc-flow-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.03);
    color: rgba(240,240,240,0.82);
    font-size: 13px;
}

.thc-flow-tag .index {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(253,185,49,0.92);
    color: #000;
    font-family: var(--font-heading);
    font-size: 12px;
}

@keyframes thcFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 900px) {
    .thc-card-grid { grid-template-columns: 1fr; }
    .thc-hero-grid { grid-template-columns: 1fr; }
    .thc-spotlight-grid { grid-template-columns: 1fr; }
    .thc-mosaic { grid-template-columns: 1fr; }
    .thc-pillars { grid-template-columns: 1fr; }
    .thc-orbit-shell-spacious {
        min-height: auto;
    }

    .thc-spotlight-user {
        padding: 20px;
        border-radius: 22px;
    }

    .thc-spotlight-user .thc-spotlight-grid {
        gap: 20px;
    }

    .thc-spotlight-user .intro-title {
        max-width: none;
    }
}

@media (max-width: 720px) {
    .thc-orbit-shell {
        min-height: 420px;
    }

    .thc-orbit-card {
        position: relative;
        inset: auto;
        width: 100%;
        animation: none;
    }

    .thc-orbit-shell::before,
    .thc-orbit-shell::after,
    .thc-orbit-core {
        display: none;
    }

    .thc-orbit-shell {
        display: grid;
        gap: 12px;
        background: rgba(255,255,255,0.02);
        padding: 16px;
    }

    .thc-orbit-shell-spacious {
        grid-template-columns: 1fr;
        grid-template-areas:
            "core"
            "a"
            "b"
            "c"
            "d";
        min-height: auto;
        padding: 18px;
    }

    .thc-orbit-shell-spacious .thc-orbit-core {
        display: grid;
        width: 100%;
        height: auto;
        min-height: 112px;
        margin: 0 0 2px;
        padding: 18px;
    }

    .thc-signal-grid {
        grid-template-columns: 1fr;
    }

    .thc-spotlight-user {
        padding: 16px;
        border-radius: 20px;
    }

    .thc-spotlight-user .thc-spotlight-grid {
        gap: 18px;
    }

    .thc-spotlight-user .thc-section-copy {
        gap: 14px;
        margin-bottom: 10px;
    }

    .thc-spotlight-user .intro-title {
        font-size: clamp(40px, 12vw, 54px);
        line-height: 0.92;
        letter-spacing: 0.6px;
    }

    .thc-spotlight-user .thc-lead {
        font-size: 14px;
        line-height: 1.7;
    }

    .thc-spotlight-user .thc-pillars {
        gap: 10px;
    }

    .thc-spotlight-user .thc-pillar {
        padding: 14px;
        border-radius: 16px;
    }

    .thc-spotlight-user .thc-pillar strong {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .thc-spotlight-user .thc-pillar p {
        font-size: 13px;
        line-height: 1.55;
    }

    .thc-spotlight-user .thc-orbit-shell {
        display: flex;
        flex-direction: column;
        min-height: auto;
        padding: 14px;
        gap: 10px;
        border-radius: 18px;
        overflow: visible;
    }

    .thc-spotlight-user .thc-orbit-card {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        min-height: auto;
        padding: 13px 14px;
        border-radius: 16px;
        box-sizing: border-box;
    }

    .thc-spotlight-user .thc-orbit-card strong {
        font-size: 13px;
    }

    .thc-spotlight-user .thc-orbit-card span {
        font-size: 12px;
        line-height: 1.5;
    }

    .thc-spotlight-user .thc-orbit-shell::before,
    .thc-spotlight-user .thc-orbit-shell::after {
        display: none;
    }

    .thc-spotlight-user .thc-orbit-core {
        position: relative;
        display: grid;
        place-items: center;
        width: 100%;
        height: auto;
        min-height: 92px;
        margin: 0;
        padding: 14px;
        border-radius: 18px;
        transform: none;
        left: auto;
        top: auto;
        order: -1;
        box-sizing: border-box;
    }

    .thc-spotlight-user .thc-orbit-core span {
        font-size: 11px;
    }

    .thc-spotlight-user .thc-orbit-core strong {
        font-size: 18px;
    }
}

.thc-reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    will-change: opacity, transform;
}

.thc-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .thc-reveal { opacity: 1; transform: none; transition: none; }
}

.block-quotes {
    padding: 80px 0;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
}

/* Programs Section (Planes) */
.block-programs {
    padding: 80px 24px;
}

.program-info {
    max-width: 800px;
    margin: 0 auto 40px;
}

.program-info h2 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.program-wrapper {
    margin-bottom: 100px;
    padding-bottom: 40px;
    border-bottom: 1px solid #222;
}

.program-wrapper:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.program-actions {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* Quote Carousel Animation */
.quote-carousel { position: relative; height: 150px; overflow: hidden; }
.quote-item {
    position: absolute; width: 100%;
    opacity: 0; 
    /* Increased duration to 25s for 5 items (5s each) */
    animation: fadeQuote 25s infinite;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.quote-item:nth-child(1) { animation-delay: 0s; }
.quote-item:nth-child(2) { animation-delay: 5s; }
.quote-item:nth-child(3) { animation-delay: 10s; }
.quote-item:nth-child(4) { animation-delay: 15s; }
.quote-item:nth-child(5) { animation-delay: 20s; }

@keyframes fadeQuote {
    0% { opacity: 0; transform: translateY(20px); }
    4% { opacity: 1; transform: translateY(0); }   /* Fade in complete at 1s (4% of 25s) */
    16% { opacity: 1; transform: translateY(0); }  /* Stay visible until 4s (16% of 25s) */
    20% { opacity: 0; transform: translateY(-20px); } /* Fade out complete at 5s (20% of 25s) */
    100% { opacity: 0; transform: translateY(-20px); }
}

.quote-author { color: var(--accent-gold); font-family: var(--font-accent); letter-spacing: 2px; }
.quote-text { font-size: 1.5rem; font-family: var(--font-heading); text-align: center; }

/* Intro Section */
.block-intro { padding: 100px 0; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.intro-photo { width: 100%; border-radius: 4px; transition: transform 0.5s; } /* Removed grayscale */
.intro-photo:hover { transform: scale(1.02); }
.intro-title { font-size: 3rem; margin-bottom: 20px; }
.intro-subtitle { color: var(--accent-gold); font-size: 1.5rem; margin: 20px 0 10px; }

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

/* Pricing / Levels - Premium Redesign v7.0 */
.block-niveles { 
    padding: 100px 0; 
    background: radial-gradient(circle at center, #111 0%, #000 100%);
}

/* Navigation Index for Details Page */
.niveles-indice {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.niveles-indice a {
    color: var(--text-secondary);
    text-transform: uppercase;
    font-family: var(--font-accent);
    letter-spacing: 1px;
    font-size: 1rem;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.niveles-indice a:hover {
    color: var(--accent-gold);
    border-color: rgba(253, 185, 49, 0.3);
    background: rgba(253, 185, 49, 0.05);
}

.niveles-container { 
    display: flex; 
    justify-content: center; 
    gap: 40px; 
    flex-wrap: wrap; 
    align-items: stretch;
}

.nivel-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    /* Flexible width for details page */
    flex: 1 1 350px;
    max-width: 450px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Selected Plan State (Details Page) */
.nivel-card.selected {
    border: 2px solid var(--accent-gold);
    box-shadow: 0 0 30px rgba(253, 185, 49, 0.3);
    transform: scale(1.03);
    z-index: 10;
}

/* Card Link Wrapper */
.nivel-card-link,
.nivel-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 40px 30px;
    text-decoration: none;
    color: inherit;
}

/* Hover Effects */
.nivel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
}

/* COLORS: Iniciación (White), Avanzado (Blue), Maestro (Gold) */
.nivel-card.avanzado:hover { border-color: rgba(37, 99, 235, 0.8); box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2); }
.nivel-card.maestro:hover { border-color: rgba(253, 185, 49, 0.8); box-shadow: 0 20px 50px rgba(253, 185, 49, 0.2); }

/* Top Accent Line */
.nivel-accent { 
    height: 1px; 
    width: 60px; 
    margin: 0 auto 24px; /* Centered */
    transition: width 0.3s ease;
}
.nivel-accent.avanzado { background: #2563eb; box-shadow: 0 0 15px rgba(37, 99, 235, 0.5); }
.nivel-accent.maestro { background: var(--accent-gold); box-shadow: 0 0 15px rgba(253, 185, 49, 0.5); }

.nivel-card:hover .nivel-accent { width: 100%; }

/* Badges & Ribbons */
.nivel-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 8px;
    opacity: 0.8;
}

.nivel-ribbon {
    position: absolute;
    top: 30px;
    right: -45px;
    background: #2563eb; /* Blue for Avanzado Ribbon */
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    width: 180px; /* Fixed width */
    text-align: center; /* Center text */
    padding: 6px 0; /* Vertical padding only */
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    z-index: 10;
}

/* Typography */
.nivel-card h3 { 
    font-size: 2.2rem; 
    margin: 10px 0 20px; 
    line-height: 1;
    text-align: center; /* Center Title */
    background: linear-gradient(to bottom, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Gradient Titles */
.nivel-card.avanzado h3 {
    background: linear-gradient(to bottom, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nivel-card.maestro h3 {
    background: linear-gradient(to bottom, #fdb931, #b88622);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nivel-descripcion {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    min-height: 60px; /* Align lists */
}

/* Feature List */
.nivel-card ul {
    margin-bottom: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

.nivel-card ul li {
    display: flex; 
    align-items: center;
    gap: 12px; 
    margin-bottom: 16px; 
    color: #ccc;
    font-size: 0.95rem;
}

.check { 
    color: var(--accent-gold); 
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(253, 185, 49, 0.3);
}

.nivel-card.avanzado .check { color: #2563eb; text-shadow: 0 0 10px rgba(37, 99, 235, 0.3); }
.nivel-card.maestro .check { color: var(--accent-gold); text-shadow: 0 0 10px rgba(253, 185, 49, 0.3); }

/* Price / Button Area */
.nivel-precio {
    margin-top: auto;
    font-family: var(--font-accent);
    font-size: 1.25rem;
    color: var(--text-primary);
    text-align: center;
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.02);
}

.nivel-card:hover .nivel-precio {
    background: var(--text-primary);
    color: #000;
    border-color: var(--text-primary);
    font-weight: 700;
}

/* Specific Price Colors */
.nivel-card.avanzado .nivel-precio {
    border-color: #2563eb;
    color: #2563eb;
}

.nivel-card.avanzado:hover .nivel-precio {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.nivel-card.maestro .nivel-precio {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.nivel-card.maestro:hover .nivel-precio {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 20px rgba(253, 185, 49, 0.4);
}

.nivel-card, .resultado-card, .faq-item { content-visibility: auto; }

@media (max-width: 640px) {
    .main-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(5,5,5,0.95); }
    .btn-primary:hover { transform: none; box-shadow: none; }
    .nivel-card:hover { transform: none; box-shadow: none; }
    .faq-item:hover { transform: none; }
    .nivel-precio { transition: none; }
    .check { text-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}

/* Results Section */
.block-resultados { padding: 100px 0; }
.resultados-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.resultado-card { background: var(--bg-card); padding: 20px; border: 1px solid var(--border-color); }
.antes-despues { display: flex; gap: 10px; margin-bottom: 20px; }
.antes-despues img { height: 300px; object-fit: cover; width: 50%; /* Removed grayscale */ }

/* FAQ */
.block-faq { padding: 80px 0; border-top: 1px solid #111; }
.faq-title { margin-bottom: 60px; text-align: center; color: var(--accent-gold); font-size: 2.5rem; }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; }

.faq-item {
    background: var(--bg-card);
    padding: 30px;
    border: 1px solid #222;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}
.faq-item:hover {
    transform: translateY(-5px);
    border-color: #333;
    background: var(--bg-card-hover);
}

.faq-q { color: var(--accent-gold); margin-bottom: 15px; font-size: 1.25rem; }
.faq-a { color: var(--text-secondary); margin-bottom: 0; }

/* Contact */
.block-contact { padding: 80px 0; background: #080808; }
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; margin-top: 50px; }
.contact-label { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 5px; }
.contact-link { font-size: 1.2rem; display: block; margin-bottom: 20px; }
.contact-link:hover { color: var(--accent-gold); }

@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    .btn-primary { padding: 14px 28px; font-size: 0.95rem; }
    .nivel-card h3 { font-size: 2rem; }
    .nivel-precio { font-size: 1.15rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 18px; }
    .block-hero { padding: 90px 0 40px; }
    .quote { font-size: 1.05rem; max-width: 90%; }
    .niveles-container { gap: 16px; flex-direction: row; align-items: stretch; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; justify-content: flex-start; }
    .nivel-card { flex: 0 0 360px; max-width: 360px; scroll-snap-align: start; }
    .nivel-card h3 { font-size: 1.8rem; }
    .nivel-precio { font-size: 1.1rem; padding: 12px; }
    .antes-despues img { height: 240px; }
    .faq-grid { grid-template-columns: 1fr; gap: 24px; }
    .contact-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 480px) {
    html { font-size: 15px; }
    .container { padding: 0 16px; }
    .btn-primary { padding: 12px 22px; letter-spacing: 1px; font-size: 0.9rem; }
    .block-hero { padding: 80px 0 32px; }
    .image-carousel img { height: 200px; }
    .intro-title { font-size: 2.2rem; }
    .intro-subtitle { font-size: 1.25rem; }
    .niveles-container { scroll-snap-type: x mandatory; }
    .nivel-card { flex: 0 0 88%; max-width: 88%; }
    .nivel-card h3 { font-size: 1.6rem; }
    .nivel-descripcion { font-size: 0.9rem; }
    .nivel-card ul li { font-size: 0.9rem; }
    .antes-despues { flex-direction: column; }
    .antes-despues img { width: 100%; height: 220px; }
    .faq-title { font-size: 2rem; }
}

/* =========================================
   8. FORMS (Login/Signup/Contact)
   ========================================= */
.block-notifications { padding: 100px 0 80px; background: #000; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--border-color); }
.section-subtitle { color: var(--text-secondary); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-top: 8px; }
.btn-outline { background: transparent; border: 1px solid #333; color: #ddd; padding: 10px 14px; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; cursor: pointer; }
.btn-outline:hover { border-color: #555; }
.btn-outline.btn-xs { padding: 6px 10px; font-size: 11px; letter-spacing: .6px; }
.notif-feed { display: grid; gap: 12px; max-width: 860px; width: 100%; margin: 0 auto; }
.notif-card { display: grid; grid-template-columns: 42px 1fr; gap: 14px; background: linear-gradient(180deg,#141414 0%,#0f0f0f 100%); border: 1px solid #2a2a2a; border-radius: 12px; padding: 18px; box-shadow: 0 8px 28px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.02); }
.notif-card:hover { border-color: #2a2a2a; background: linear-gradient(180deg,#151515 0%,#101010 100%); }
.notif-card.unread { background: #161513; border-color: #2a2a2a; }
.notif-ico { width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(circle at 30% 20%, rgba(253,185,49,0.25), rgba(253,185,49,0.05)); display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(253,185,49,0.25); color: #fdb931; }
.notif-text { color: #eaeaea; font-weight: 600; margin-bottom: 6px; line-height: 1.35; font-family: var(--font-body); letter-spacing: 0.5px; }
.notif-meta { font-size: 11px; color: #8a8a8a; text-transform: uppercase; letter-spacing: .8px; font-family: var(--font-accent); }
.notif-empty { padding: 28px; text-align: center; color: #8a8a8a; font-size: 13px; font-style: italic; border: 1px dashed #2a2a2a; border-radius: 10px; }
.notif-action { color: #ddd; background: transparent; border: 1px solid #333; border-radius: 4px; padding: 6px 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; cursor: pointer; }
.notif-action:hover { color: #fff; border-color: #3a3a3a; }
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 100px 20px;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
}

.auth-wrapper {
    width: 100%;
    max-width: 450px;
}

.auth-card {
    background: var(--bg-card);
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}
.auth-card:hover {
    border-color: #333;
}

.auth-brand { text-align: center; margin-bottom: 30px; }
.auth-logo { width: 60px; height: 60px; margin: 0 auto 15px; }
.auth-title { font-size: 2rem; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="datetime-local"],
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    background: #050505;
    border: 1px solid #333;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: var(--border-radius);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(253, 185, 49, 0.1);
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fdb931' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
    border-radius: var(--border-radius);
}

select option {
    background: #111111;
    color: #ffffff;
    padding: 10px;
}
select option[disabled] { display: none; }

.thc-select {
    border-radius: var(--border-radius);
    background-color: #050505;
    border: 1px solid #333;
    color: var(--text-primary);
}
.thc-select:hover {
    border-color: #3a3a3a;
}
.thc-select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(253, 185, 49, 0.1);
}
.thc-select::-ms-expand { display: none; }

.password-wrapper { position: relative; }
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}
.toggle-password:hover { color: var(--text-primary); }

.auth-links { margin-top: 24px; text-align: center; font-size: 0.9rem; color: var(--text-muted); }
.auth-link-strong { color: var(--accent-gold); font-weight: 600; }
.auth-link-strong:hover { text-decoration: underline; }

.input-error { border-color: var(--error) !important; }

/* =========================================
   9. FOOTER
   ========================================= */
.footer {
    padding: 40px 0;
    text-align: center;
    background: #000;
    border-top: 1px solid #111;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   10. CROSS-BROWSER SAFETY
   ========================================= */
@supports not (clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%)) {
    .btn-primary {
        clip-path: none;
        border-radius: var(--border-radius);
    }
}

@supports (-webkit-touch-callout: none) {
    body,
    .page-wrapper {
        background-attachment: scroll !important;
    }

    .page-content,
    .page-wrapper,
    .auth-page,
    .profile-page,
    .notifications-page {
        min-height: calc(var(--vh, 1vh) * 100) !important;
        min-height: 100dvh !important;
    }

    .main-header {
        padding-top: max(0px, var(--safe-top, 0px));
    }
}
