:root {
    --navy: #0c1f3f;
    --navy-soft: #1a2d4d;
    --ocean: #1a5276;
    --teal: #0d9488;
    --teal-glow: #14b8a6;
    --teal-light: #ccfbf1;
    --teal-bg: #f0fdfa;
    --cyan: #06b6d4;
    --gold: #d97706;
    --gold-light: #fef3c7;
    --gold-bg: #fffbeb;
    --red: #dc2626;
    --red-light: #fee2e2;
    --slate-900: #0f172a;
    --slate-700: #334155;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.55);
    --glass-border: rgba(255, 255, 255, 0.7);
    --glass-shadow: 0 4px 30px rgba(12, 31, 63, 0.06);
    --glass-hover-shadow: 0 8px 40px rgba(12, 31, 63, 0.1);
    --radius: 20px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--slate-100);
    color: var(--slate-700);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.loading-overlay {
    position: fixed;
    inset: 0; /* top:0 right:0 bottom:0 left:0 */
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
    color: #fff;
}

.loading-content i {
    margin-bottom: 15px;
}

/* ══ BACKGROUND ══ */
.bg-atmosphere {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-atmosphere::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -15%;
    width: 60%;
    height: 55%;
    background: radial-gradient(ellipse, rgba(13, 148, 136, 0.08) 0%, transparent 65%);
    filter: blur(80px);
}

.bg-atmosphere::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(ellipse, rgba(6, 182, 212, 0.06) 0%, transparent 60%);
    filter: blur(80px);
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.bg-orb.orb1 {
    width: 350px;
    height: 350px;
    top: 25%;
    right: 10%;
    background: rgba(217, 119, 6, 0.04);
}

.bg-orb.orb2 {
    width: 300px;
    height: 300px;
    bottom: 15%;
    left: 15%;
    background: rgba(13, 148, 136, 0.05);
}

.bg-noise {
    position: absolute;
    inset: 0;
    opacity: 0.018;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 150px;
}

/* ══ PAGE LAYOUT ══ */
.page-wrap {
    position: relative;
    z-index: 1;
    max-width: 1140px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}

/* ══ BREADCRUMB ══ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--slate-400);
    margin-bottom: 32px;
    animation: fadeIn 0.5s ease both;
}

.breadcrumb a {
    color: var(--slate-500);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--teal);
}

.breadcrumb .sep {
    opacity: 0.35;
}

.breadcrumb .current {
    color: var(--slate-700);
    font-weight: 500;
}

/* ══ HERO BANNER ══ */
.hero-banner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    padding: 44px 44px 40px;
    background: linear-gradient(135deg, #0c1f3f 0%, #163d6b 50%, #0d7377 100%);
    margin-bottom: 28px;
    animation: fadeUp 0.6s ease both;
    box-shadow: 0 16px 60px rgba(12, 31, 63, 0.18), 0 2px 8px rgba(12, 31, 63, 0.08);
}

/* glass sheen */
.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 85% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 10% 90%, rgba(20, 184, 166, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* top accent line */
.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal-glow), var(--cyan), var(--teal-glow));
}

/* decorative circles */
.hero-deco {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.hero-deco.d1 {
    width: 200px;
    height: 200px;
    top: -60px;
    right: -40px;
}

.hero-deco.d2 {
    width: 120px;
    height: 120px;
    bottom: -30px;
    right: 80px;
}

.hero-deco.d3 {
    width: 80px;
    height: 80px;
    top: 30px;
    right: 120px;
    border-color: rgba(255, 255, 255, 0.04);
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.event-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.badge.status {
    background: rgba(20, 184, 166, 0.2);
    color: #5eead4;
    border: 1px solid rgba(20, 184, 166, 0.25);
}

.badge.status .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5eead4;
}

.badge.category {
    background: rgba(251, 191, 36, 0.15);
    color: #fcd34d;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.badge.free {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-date-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-shrink: 0;
}

.hero-date-chip svg {
    width: 17px;
    height: 17px;
    color: rgba(255, 255, 255, 0.5);
}

.hero-date-chip .date-text {
    font-size: 0.84rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
}

.hero-date-chip .date-text strong {
    color: #fff;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3.5vw, 2.3rem);
    line-height: 1.25;
    color: #fff;
    margin-bottom: 20px;
    max-width: 780px;
}

.hero-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

.hero-meta-item svg {
    width: 15px;
    height: 15px;
    color: rgba(94, 234, 212, 0.6);
}

.hero-meta-item strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

/* ══ MAIN GRID ══ */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 370px;
    gap: 28px;
    align-items: start;
}

/* ══ GLASS CARD ══ */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 32px;
    box-shadow: var(--glass-shadow);
    transition: box-shadow var(--transition);
    animation: fadeUp 0.5s ease both;
}

.glass-card:hover {
    box-shadow: var(--glass-hover-shadow);
}

/* ── Section Labels ── */
.section-label-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    color: var(--teal);
    margin-bottom: 24px;
}

.section-label-line::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--slate-200), transparent);
}

/* ── Speaker ── */
.speaker-section {
    animation-delay: 0.08s;
    margin-bottom: 24px;
}

.speaker-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.speaker-photo-wrap {
    position: relative;
    flex-shrink: 0;
}

.speaker-photo {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--ocean), var(--teal));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 28px rgba(12, 31, 63, 0.15);
    overflow: hidden;
}

.speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-photo-ring {
    position: absolute;
    inset: -4px;
    border-radius: 24px;
    border: 1.5px solid rgba(13, 148, 136, 0.2);
    pointer-events: none;
}

.speaker-info {
    flex: 1;
    min-width: 0;
}

.speaker-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.speaker-title {
    font-size: 0.85rem;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 4px;
}

.speaker-affiliation {
    font-size: 0.82rem;
    color: var(--slate-500);
    line-height: 1.55;
}

/* ── Bio ── */
.bio-section {
    animation-delay: 0.14s;
    margin-bottom: 24px;
}

.bio-text {
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--slate-700);
}

.bio-text p {
    margin-bottom: 14px;
}

.bio-text p:last-child {
    margin-bottom: 0;
}

.bio-highlight {
    display: flex;
    gap: 14px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.highlight-stat {
    flex: 1;
    min-width: 120px;
    padding: 18px 16px;
    border-radius: 16px;
    background: var(--teal-bg);
    border: 1px solid rgba(13, 148, 136, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.08);
}

.highlight-stat .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 4px;
}

.highlight-stat .stat-label {
    font-size: 0.68rem;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ══ SIDEBAR ══ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Action Card */
.action-card {
    animation-delay: 0.1s;
    text-align: center;
}

.card-inner-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--slate-400);
    margin-bottom: 18px;
}

.btn-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-main.btn-play {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    box-shadow: 0 6px 24px rgba(220, 38, 38, 0.25);
}

.btn-main.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(220, 38, 38, 0.3);
}

.btn-main.btn-play::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.12) 100%);
    pointer-events: none;
}

.btn-main svg {
    width: 20px;
    height: 20px;
}

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 24px;
    border-radius: 14px;
    border: 1.5px solid var(--slate-200);
    background: var(--white);
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--slate-700);
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 12px;
}

.btn-secondary:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: var(--teal-bg);
}

.btn-secondary svg {
    width: 17px;
    height: 17px;
    opacity: 0.6;
}

.btn-secondary.btn-register {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.25);
    font-weight: 700;
    margin-top: 12px;
}

.btn-secondary.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(37, 99, 235, 0.35);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    color: white;
}

.btn-secondary.btn-register svg {
    opacity: 1;
    color: white;
}

/* Details Card */
.details-card {
    animation-delay: 0.16s;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--teal-bg);
    border: 1px solid rgba(13, 148, 136, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 17px;
    height: 17px;
    color: var(--teal);
}

.detail-text {
    flex: 1;
    min-width: 0;
}

.detail-label {
    font-size: 0.68rem;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.detail-value {
    font-size: 0.86rem;
    color: var(--slate-700);
    font-weight: 500;
}

/* Constancia Card */
.constancia-card {
    animation-delay: 0.22s;
    position: relative;
    overflow: hidden;
}

.constancia-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--gold), #f59e0b, transparent);
}

.constancia-card .card-inner-label {
    color: var(--gold);
}

.constancia-price {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.constancia-price span {
    font-size: 0.88rem;
    color: var(--slate-400);
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
}

.constancia-note {
    font-size: 0.78rem;
    color: var(--slate-500);
    margin-bottom: 18px;
    line-height: 1.55;
}

.constancia-note a {
    color: var(--teal);
    text-decoration: none;
    font-weight: 500;
}

.constancia-note a:hover {
    text-decoration: underline;
}

.btn-pay {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #d97706, #b45309);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px rgba(217, 119, 6, 0.2);
}

.btn-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(217, 119, 6, 0.3);
}

.btn-pay svg {
    width: 18px;
    height: 18px;
}

/* Transmision Card */
.transmision-card {
    animation-delay: 0.26s;
}

.platform-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(226, 232, 240, 0.6);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.platform-row:hover {
    border-color: var(--slate-200);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.platform-row:last-child {
    margin-bottom: 0;
}

.platform-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.platform-icon svg {
    width: 20px;
    height: 20px;
}

.platform-icon.zoom {
    background: rgba(45, 140, 255, 0.08);
    color: #2563eb;
}

.platform-icon.yt {
    background: rgba(220, 38, 38, 0.06);
    color: #dc2626;
}

.platform-info {
    flex: 1;
}

.platform-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate-700);
}

.platform-desc {
    font-size: 0.72rem;
    color: var(--slate-400);
}

/* ══ ANIMATIONS ══ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .hero-banner {
        padding: 32px 24px 28px;
    }

    .hero-title {
        font-size: 1.35rem;
    }

    .speaker-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .glass-card {
        padding: 24px;
    }

    .bio-highlight {
        flex-direction: column;
    }
}

@media (max-width: 500px) {
    .page-wrap {
        padding: 20px 14px 60px;
    }

    .hero-banner {
        padding: 24px 18px 22px;
        border-radius: 18px;
    }

    .glass-card {
        border-radius: 16px;
        padding: 20px;
    }

    .hero-top-row {
        flex-direction: column;
    }
}