/* ============================================================
   Público - Dark Glassmorphism + Neon Sports
   ============================================================ */

/* ============ NAVBAR ============ */
.public-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(var(--blur-lg)) saturate(150%);
    -webkit-backdrop-filter: blur(var(--blur-lg)) saturate(150%);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.5rem 0;
}
.public-navbar .navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary) !important;
}
.public-navbar .navbar-brand i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.public-navbar .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
    padding: 0.5rem 1rem !important;
}
.public-navbar .nav-link:hover,
.public-navbar .nav-link.active {
    color: var(--primary) !important;
}
.public-navbar .navbar-toggler {
    border-color: var(--glass-border);
    padding: 0.25rem 0.5rem;
}
.public-navbar .navbar-toggler-icon {
    filter: invert(1);
}
.public-navbar.navbar-scrolled {
    background: rgba(10, 14, 26, 0.95);
}

/* ============ HERO ============ */
.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-deepest);
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--gradient-mesh);
    z-index: 0;
}
.hero-section .container {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    z-index: 1;
}
.hero-orb-1 {
    width: 500px; height: 500px;
    background: rgba(var(--primary-rgb), 0.2);
    top: -200px; right: -100px;
    animation: float 25s ease-in-out infinite;
}
.hero-orb-2 {
    width: 350px; height: 350px;
    background: rgba(var(--accent-rgb), 0.15);
    bottom: -100px; left: -50px;
    animation: float 20s ease-in-out infinite reverse;
}

/* ============ CATEGORY CARDS ============ */
.category-card {
    text-align: center;
    padding: 1.5rem 1rem;
    cursor: pointer;
}
.category-card .category-icon {
    width: 60px; height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.5rem;
    transition: all var(--transition-normal);
}
.category-card:hover .category-icon {
    transform: scale(1.1);
}
.category-card h6 {
    color: var(--text-primary);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ============ EVENT CARDS ============ */
.event-card {
    transition: all var(--transition-normal);
    cursor: pointer;
}
.event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-primary);
    border-color: rgba(var(--primary-rgb), 0.2);
}
.event-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out-cubic);
}
.event-card:hover .card-img-top {
    transform: scale(1.05);
}
.event-card .card-img-wrapper {
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.event-card .card-body {
    padding: 1.25rem;
}
.event-card .event-date {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.85rem;
}
.event-card .event-title {
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.event-card .event-location {
    color: var(--text-muted);
    font-size: 0.8rem;
}
.event-card .event-price {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}
.event-card .event-price-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============ EVENT DETAIL ============ */
.event-detail-banner {
    max-height: 350px;
    overflow: hidden;
    position: relative;
}
.event-detail-banner img {
    width: 100%;
    object-fit: cover;
    max-height: 350px;
}
.event-detail-banner::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(transparent, var(--bg-body));
}

.registration-card {
    position: sticky;
    top: 90px;
    z-index: 10;
}
.registration-card .price-big {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============ FOOTER ============ */
.public-footer {
    background: var(--bg-deepest);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0 1.5rem;
    position: relative;
    z-index: 1;
}
.public-footer h5, .public-footer h6 {
    color: var(--text-primary);
}
.public-footer p, .public-footer a {
    color: var(--text-muted);
    font-size: 0.875rem;
}
.public-footer a {
    text-decoration: none;
    transition: color var(--transition-fast);
}
.public-footer a:hover {
    color: var(--primary) !important;
}

/* ============ REGISTRATION FORM ============ */
.registration-form .step-indicator {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
}
.step-indicator .step {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
}
.step-indicator .step.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #0A0E1A;
    box-shadow: var(--primary-glow);
}
.step-indicator .step-line {
    flex: 1;
    height: 1px;
    background: var(--glass-border);
}

/* ============ PARTICIPANT AREA ============ */
.registration-item {
    transition: all var(--transition-normal);
}
.registration-item:hover {
    border-color: rgba(var(--primary-rgb), 0.2);
    background: var(--glass-bg-hover);
}

/* ============ QUILL CONTENT ============ */
.ql-editor-content {
    line-height: 1.7;
}
.ql-editor-content h1, .ql-editor-content h2, .ql-editor-content h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.ql-editor-content p { margin-bottom: 0.75rem; }
.ql-editor-content ul, .ql-editor-content ol {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}
.ql-editor-content li { margin-bottom: 0.25rem; }
.ql-editor-content a { color: var(--primary); text-decoration: underline; }
.ql-editor-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
    margin: 1rem 0;
    color: var(--text-secondary);
}
.ql-editor-content img { max-width: 100%; height: auto; border-radius: var(--radius); }

/* ============ RESPONSIVE ============ */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .event-card .card-img-top {
        height: 160px;
    }
}

/* ============ PRINT ============ */
@media print {
    .public-navbar, .public-footer, .btn, .breadcrumb { display: none !important; }
}
