/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors - These stay the same */
    --orange: #FF6B35;
    --red: #F71735;
    --purple: #8B4C9F;
    --blue: #2E86AB;
    --dark-purple: #4A148C;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --text-dark: #333333;
    
    /* Light Mode (Default) */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F5F5;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.2);
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: #404040;
    --shadow-color: rgba(0, 0, 0, 0.5);
    --shadow-hover: rgba(0, 0, 0, 0.7);
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 100%;
    max-width: 100%;
    position: relative;
}

[data-theme="dark"] body {
    color: var(--text-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
}

/* Header */
.header {
    background: var(--bg-primary);
    padding: 0.6rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-color);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    transform: translateY(0);
}

.header.hidden {
    transform: translateY(-100%);
}

@media (max-width: 768px) {
    .header {
        padding: 0.5rem 0;
    }
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: transparent;
    border: 2px solid var(--purple);
    border-radius: 50px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--purple);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 0;
}

.theme-toggle:hover {
    background: var(--purple);
    color: var(--bg-primary);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(139, 76, 159, 0.3);
}

[data-theme="dark"] .theme-toggle {
    border-color: var(--orange);
    color: var(--orange);
}

[data-theme="dark"] .theme-toggle:hover {
    background: var(--orange);
    color: var(--bg-primary);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Logo wrapper com círculos do tema para contraste no modo claro */
.logo-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.logo-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Círculo roxo – atrás, maior (modo claro: denso para legibilidade) */
.logo-circle--purple {
    width: 100%;
    height: 100%;
    min-width: 110%;
    min-height: 110%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at 50% 50%, rgba(139, 76, 159, 0.55) 0%, rgba(139, 76, 159, 0.28) 40%, rgba(139, 76, 159, 0.12) 65%, transparent 82%);
}

/* Círculo laranja – deslocado canto superior direito */
.logo-circle--orange {
    width: 72%;
    height: 72%;
    left: 50%;
    top: 50%;
    transform: translate(15%, -45%);
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.58) 0%, rgba(255, 107, 53, 0.22) 50%, rgba(255, 107, 53, 0.08) 70%, transparent 85%);
}

/* Círculo azul – deslocado canto inferior esquerdo */
.logo-circle--blue {
    width: 58%;
    height: 58%;
    left: 50%;
    top: 50%;
    transform: translate(-45%, 25%);
    background: radial-gradient(circle at 50% 50%, rgba(46, 134, 171, 0.52) 0%, rgba(46, 134, 171, 0.2) 48%, rgba(46, 134, 171, 0.07) 68%, transparent 84%);
}

[data-theme="dark"] .logo-circle--purple {
    background: radial-gradient(circle at 50% 50%, rgba(139, 76, 159, 0.25) 0%, rgba(139, 76, 159, 0.08) 55%, transparent 72%);
}

[data-theme="dark"] .logo-circle--orange {
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.22) 0%, rgba(255, 107, 53, 0.06) 65%, transparent 78%);
}

[data-theme="dark"] .logo-circle--blue {
    background: radial-gradient(circle at 50% 50%, rgba(46, 134, 171, 0.2) 0%, rgba(46, 134, 171, 0.05) 60%, transparent 75%);
}

.logo-wrap:hover .logo-circle {
    opacity: 1;
}

.logo {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-dark);
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.logo-image {
    height: 95px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo-image {
        height: 82px;
    }
    .logo-wrap {
        padding: 0.2rem 0.35rem;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 78px;
    }
    .logo-wrap {
        padding: 0.15rem 0.3rem;
    }
}

[data-theme="dark"] .logo {
    color: var(--text-primary);
}

[data-theme="dark"] .logo-image {
    filter: brightness(1.1);
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 968px) {
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        max-width: 80%;
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile */
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        z-index: 1002;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .nav-link {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        font-size: 1.1rem;
        display: block;
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    .nav-link.active {
        color: var(--purple);
        font-weight: 600;
    }
    
    .nav-link:first-child {
        margin-top: 0;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

[data-theme="dark"] .nav-link {
    color: var(--text-primary);
}

.nav-link:hover,
.nav-link.active {
    color: var(--purple);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--purple);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: color 0.3s ease;
    padding: 0.5rem;
    z-index: 1003;
    position: relative;
}

[data-theme="dark"] .mobile-menu-toggle {
    color: var(--text-primary);
}

.mobile-menu-toggle:hover {
    color: var(--purple);
}

[data-theme="dark"] .mobile-menu-toggle:hover {
    color: var(--orange);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: all;
}

/* Blur effect on body content when menu is active */
body.menu-open {
    overflow: hidden;
}

@media (max-width: 968px) {
    body.menu-open .hero,
    body.menu-open .event-info,
    body.menu-open .calendar-section,
    body.menu-open .cta-section,
    body.menu-open .registration-section,
    body.menu-open footer {
        filter: blur(4px);
        transition: filter 0.3s ease;
        pointer-events: none;
    }
    
    body.menu-open .header {
        filter: none;
        pointer-events: auto;
    }
    
    body.menu-open .floating-register-btn {
        filter: blur(4px);
        pointer-events: none;
    }
}

@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: block;
    }
}

/* Hero Section */
.hero {
    background: var(--bg-primary);
    padding: 4rem 0;
    padding-top: calc(4rem + 110px); /* Espaço para o header fixo não tapar o texto */
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

/* Promoção — taxa de inscrição (alinhada à paleta do site) */
.promo-ribbon {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(120deg, var(--orange), var(--red), var(--purple), var(--blue), var(--orange));
    background-size: 220% 220%;
    animation: promoRibbonShift 8s ease infinite;
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.22);
    overflow: hidden;
}

@keyframes promoRibbonShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.promo-ribbon__glow {
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 30% 40%, rgba(255, 107, 53, 0.25) 0%, transparent 55%),
                radial-gradient(circle at 70% 60%, rgba(46, 134, 171, 0.2) 0%, transparent 50%);
    pointer-events: none;
    animation: promoGlowPulse 5s ease-in-out infinite;
}

@keyframes promoGlowPulse {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.03); }
}

.promo-ribbon__inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    background: var(--bg-primary);
    z-index: 1;
}

[data-theme="dark"] .promo-ribbon__inner {
    background: linear-gradient(145deg, rgba(45, 45, 45, 0.98) 0%, rgba(26, 26, 26, 0.99) 100%);
}

.promo-ribbon__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 4px 14px rgba(247, 23, 53, 0.35);
    flex-shrink: 0;
}

.promo-ribbon__text {
    flex: 1 1 200px;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.45;
    color: var(--text-primary);
}

.promo-ribbon__text strong {
    color: var(--orange);
    font-weight: 800;
}

.promo-ribbon__was {
    display: inline-block;
    margin-left: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: line-through;
    text-decoration-color: rgba(247, 23, 53, 0.55);
}

.promo-ribbon__deadline {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: 0.01em;
}

.promo-ribbon__deadline strong {
    color: var(--purple);
    font-weight: 800;
}

[data-theme="dark"] .promo-ribbon__deadline {
    color: #7ec8e8;
}

[data-theme="dark"] .promo-ribbon__deadline strong {
    color: #d4b3e0;
}

.promo-ribbon__cta {
    flex-shrink: 0;
    padding: 0.55rem 1.15rem;
    font-size: 0.95rem;
}

@media (max-width: 640px) {
    .promo-ribbon__inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .promo-ribbon__badge {
        align-self: center;
    }
    .promo-ribbon__was {
        display: block;
        margin-left: 0;
        margin-top: 0.25rem;
    }
    .promo-ribbon__deadline {
        margin-top: 0.5rem;
    }
    .promo-ribbon__cta {
        width: 100%;
    }
}

.calendar-promo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin: 0 0 1.25rem;
    padding: 0.65rem 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(139, 76, 159, 0.18) 100%);
    border: 1px solid rgba(255, 107, 53, 0.45);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.calendar-promo__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(0, 0, 0, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.calendar-promo__price {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #fff 0%, var(--orange) 45%, #ffe0d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

@supports not (background-clip: text) {
    .calendar-promo__price {
        color: var(--orange);
        -webkit-text-fill-color: unset;
    }
}

.calendar-promo__hint {
    font-size: 0.85rem;
    opacity: 0.88;
    color: rgba(255, 255, 255, 0.92);
}

.promo-cta-card {
    position: relative;
    max-width: 420px;
    margin: 0 auto 2rem;
    padding: 1.35rem 1.5rem 1.5rem;
    border-radius: 18px;
    text-align: center;
    overflow: hidden;
    border: 2px solid transparent;
    background: linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
                linear-gradient(135deg, var(--orange), var(--red), var(--purple), var(--blue)) border-box;
    box-shadow: 0 14px 40px rgba(46, 134, 171, 0.12), 0 8px 28px rgba(255, 107, 53, 0.12);
}

[data-theme="dark"] .promo-cta-card {
    background: linear-gradient(rgba(35, 35, 35, 0.95), rgba(26, 26, 26, 0.98)) padding-box,
                linear-gradient(135deg, var(--orange), var(--red), var(--purple), var(--blue)) border-box;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.promo-cta-card__accent {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(255, 107, 53, 0.18) 0%, transparent 65%);
    pointer-events: none;
}

.promo-cta-card__eyebrow {
    position: relative;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--purple);
    margin: 0 0 0.35rem;
}

[data-theme="dark"] .promo-cta-card__eyebrow {
    color: #c9a0d8;
}

.promo-cta-card__price {
    position: relative;
    margin: 0;
    line-height: 1.1;
}

.promo-cta-card__amount {
    font-size: 2.75rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--orange) 0%, var(--red) 40%, var(--purple) 75%, var(--blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

@supports not (background-clip: text) {
    .promo-cta-card__amount {
        color: var(--orange);
        -webkit-text-fill-color: unset;
    }
}

.promo-cta-card__currency {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-secondary);
    vertical-align: super;
    margin-left: 0.15rem;
}

[data-theme="dark"] .promo-cta-card__currency {
    color: rgba(255, 255, 255, 0.75);
}

.promo-cta-card__sub {
    position: relative;
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.promo-cta-card__strike {
    text-decoration: line-through;
    text-decoration-color: rgba(247, 23, 53, 0.5);
    opacity: 0.85;
}

.promo-cta-card__deadline {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin: 0.7rem 0 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--blue);
}

.promo-cta-card__deadline strong {
    color: var(--purple);
    font-weight: 800;
}

.promo-cta-card__deadline i {
    color: var(--orange);
    font-size: 0.95rem;
}

[data-theme="dark"] .promo-cta-card__deadline {
    color: #7ec8e8;
}

[data-theme="dark"] .promo-cta-card__deadline strong {
    color: #d4b3e0;
}

.payment-promo {
    margin-top: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(46, 134, 171, 0.08) 100%);
    border: 1px dashed rgba(255, 107, 53, 0.45);
}

.payment-promo__badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    padding: 0.3rem 0.55rem;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--orange), var(--red));
    margin-bottom: 0.5rem;
}

.payment-promo__line {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    line-height: 1.5;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 0.75rem;
}

.payment-promo__label {
    font-weight: 700;
    color: var(--text-dark);
}

[data-theme="dark"] .payment-promo__label {
    color: var(--white);
}

.payment-promo__old {
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.payment-promo__new {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--orange);
}

[data-theme="dark"] .payment-promo__new {
    color: #ff9a6e;
}

.payment-promo__deadline {
    margin: 0.2rem 0 0.4rem;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--blue);
}

.payment-promo__deadline strong {
    color: var(--purple);
}

[data-theme="dark"] .payment-promo__deadline {
    color: #7ec8e8;
}

[data-theme="dark"] .payment-promo__deadline strong {
    color: #d4b3e0;
}

.payment-promo__note {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--text-secondary);
    opacity: 0.95;
}

[data-theme="dark"] .payment-promo__note {
    color: rgba(255, 255, 255, 0.82);
}

@media (prefers-reduced-motion: reduce) {
    .promo-ribbon {
        animation: none;
        background-size: 100% 100%;
    }
    .promo-ribbon__glow {
        animation: none;
    }
}

.prizes-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    padding: 5rem 0;
}

[data-theme="dark"] .prizes-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0) 100%);
}

.prizes-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2.5rem;
}

.prizes-title {
    margin-bottom: 0.75rem;
}

.prizes-subtitle {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.prizes-section .prizes-title,
.prizes-section .section-title {
    color: #ffffff;
}

.prizes-section .prizes-subtitle,
.prizes-section .section-text {
    color: rgba(255, 255, 255, 0.9);
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

@supports not (display: grid) {
    .prizes-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .prize-card {
        flex: 1 1 280px;
        max-width: 360px;
    }
}

.prize-card {
    position: relative;
    border-radius: 18px;
    padding: 1.75rem 1.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    min-height: 200px;
    box-sizing: border-box;
}

@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
    .prize-card {
        background: rgba(255, 255, 255, 0.08);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
}

.prize-card::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 107, 53, 0.35) 0%, rgba(255, 107, 53, 0) 65%);
    pointer-events: none;
}

.prize-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    margin-bottom: 0.9rem;
}

.prize-amount {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    color: #ff6b35;
    color: var(--orange);
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
    .prize-amount {
        background: linear-gradient(135deg, var(--orange) 0%, var(--red) 35%, var(--purple) 70%, var(--blue) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

.prize-note {
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.prize-badge {
    color: rgba(255, 255, 255, 0.95);
}

.prize-icon {
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.25);
}

.prize-card--first {
    border-color: rgba(255, 107, 53, 0.45);
    box-shadow: 0 14px 45px rgba(255, 107, 53, 0.15);
    transform: translateY(-6px);
}

.prize-card--first::before {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 65%);
}

.prize-card--second .prize-icon {
    background: linear-gradient(135deg, #d6d6d6, #9e9e9e);
}

.prize-card--third .prize-icon {
    background: linear-gradient(135deg, #d07a3a, #8b4b24);
}

@media (max-width: 968px) {
    .prizes-section {
        padding: 4rem 0;
    }
    .prizes-grid {
        grid-template-columns: 1fr;
    }
    .prize-card--first {
        transform: none;
    }
    .prize-amount {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .prizes-section {
        padding: 3.25rem 0;
    }
    .prize-amount {
        font-size: 1.75rem;
    }
    .prize-icon {
        width: 48px;
        height: 48px;
        right: 1rem;
        top: 1rem;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 76, 159, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-left {
    position: relative;
}

.hero-left > *:not(.hero-graphics) {
    position: relative;
    z-index: 1;
}

.hero-right {
    position: relative;
}

.music-note-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

@media (max-width: 968px) {
    .music-note-icon {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .music-note-icon {
        font-size: 2.5rem;
    }
}

.music-note-icon.orange {
    color: var(--orange);
}

.music-note-icon.red {
    color: var(--red);
}

.hero-title {
    font-size: 2.1rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-dark);
    transition: color 0.3s ease;
}


[data-theme="dark"] .hero-title {
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

[data-theme="dark"] .hero-subtitle {
    color: var(--text-primary);
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.8;
    transition: color 0.3s ease;
}

[data-theme="dark"] .hero-text {
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    color: var(--white);
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--shadow-hover);
}

.btn-gradient-blue {
    background: linear-gradient(135deg, var(--blue), var(--purple));
}

.btn-gradient-orange {
    background: linear-gradient(135deg, var(--orange), var(--red));
}

.btn-gradient-cta {
    background: linear-gradient(135deg, var(--red), var(--purple));
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

/* Floating Registration Button */
.floating-register-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--red));
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4),
                0 4px 15px rgba(247, 23, 53, 0.3);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    padding: 0;
    margin: 0;
    pointer-events: auto;
    max-width: 60px;
    max-height: 60px;
}

.floating-register-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.5),
                0 6px 20px rgba(247, 23, 53, 0.4);
}

.floating-register-btn:active {
    transform: translateY(-2px) scale(1.05);
}

.floating-register-btn .floating-btn-text {
    position: absolute;
    right: 70px;
    white-space: nowrap;
    background: var(--purple);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0;
    transform: translateX(16px) translateY(4px);
    filter: blur(2px);
    transition: opacity 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(139, 76, 159, 0.35);
    z-index: 10000;
}

@media (max-width: 768px) {
    .floating-register-btn {
        overflow: hidden;
        max-width: 55px;
        max-height: 55px;
    }
    
    .floating-register-btn .floating-btn-text {
        display: none !important;
        visibility: hidden !important;
        position: absolute !important;
        left: -9999px !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

.floating-register-btn:hover .floating-btn-text {
    opacity: 1;
    transform: translateX(0) translateY(0);
    filter: blur(0);
}

.floating-register-btn i {
    transition: transform 0.3s ease;
}

.floating-register-btn:hover i {
    transform: rotate(360deg);
}

/* Animation for floating button */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating-register-btn {
    animation: float 3s ease-in-out infinite;
}

.floating-register-btn:hover {
    animation: none;
}

.btn-submit {
    background: linear-gradient(135deg, var(--orange), var(--red));
    width: 100%;
    padding: 1.3rem;
    font-size: 1.15rem;
    margin-top: 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Hero Graphics */
.hero-graphics {
    position: absolute;
    top: 50%;
    right: -150px;
    width: 500px;
    height: 500px;
    pointer-events: none;
    opacity: 0.4;
    transform: translateY(-50%);
    z-index: 0;
}

@media (max-width: 1200px) {
    .hero-graphics {
        right: -200px;
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 968px) {
    .hero-graphics {
        right: -150px;
        width: 300px;
        height: 300px;
        opacity: 0.3;
    }
    
    .microphone-graphic {
        font-size: 8rem;
    }
    
    .treble-clef {
        font-size: 9rem;
    }
    
    .note {
        font-size: 2.2rem;
    }
    
    .dashed-circle {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 600px) {
    .hero-graphics {
        right: -100px;
        width: 250px;
        height: 250px;
        opacity: 0.25;
    }
    
    .microphone-graphic {
        font-size: 6rem;
    }
    
    .treble-clef {
        font-size: 7rem;
    }
    
    .note {
        font-size: 1.8rem;
    }
    
    .dashed-circle {
        width: 200px;
        height: 200px;
    }
}

.microphone-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10rem;
    color: var(--border-color);
    z-index: 1;
    transition: color 0.3s ease;
}

.treble-clef {
    position: absolute;
    top: 15%;
    left: 20%;
    font-size: 12rem;
    opacity: 0.6;
    z-index: 2;
}

.treble-clef.purple {
    color: var(--purple);
}

.floating-notes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.note {
    position: absolute;
    font-size: 2.5rem;
    z-index: 2;
}

.note-red {
    color: var(--red);
    top: 8%;
    right: 15%;
    animation: float-note 4s ease-in-out infinite;
}

.note-blue {
    color: var(--blue);
    bottom: 15%;
    left: 15%;
    animation: float-note 4s ease-in-out infinite 1s;
}

.note-orange {
    color: var(--orange);
    top: 60%;
    right: 25%;
    animation: float-note 4s ease-in-out infinite 2s;
}

.note-purple {
    color: var(--purple);
    bottom: 25%;
    right: 10%;
    animation: float-note 4s ease-in-out infinite 2.5s;
}

.dashed-circle {
    position: absolute;
    width: 350px;
    height: 350px;
    border: 3px dashed var(--orange);
    border-radius: 50%;
    top: 20%;
    left: 15%;
    opacity: 0.6;
    z-index: 0;
}

@keyframes float-note {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(15deg);
    }
}

/* Scattered Notes - Notas Musicais Dispersas */
.scattered-notes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.scattered-note {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: float-scattered 6s ease-in-out infinite;
    z-index: 1;
}

.scattered-note.orange {
    color: var(--orange);
}

.scattered-note.red {
    color: var(--red);
}

.scattered-note.blue {
    color: var(--blue);
}

.scattered-note.purple {
    color: var(--purple);
}

@keyframes float-scattered {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(10deg);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-10px) translateX(-5px) rotate(-10deg);
        opacity: 0.35;
    }
    75% {
        transform: translateY(-25px) translateX(5px) rotate(5deg);
        opacity: 0.4;
    }
}

/* Event Info Section - Posicionamento das Notas */
.event-info .note-pos-1 {
    top: 15%;
    left: 5%;
    font-size: 2.5rem;
    animation-delay: 0s;
}

.event-info .note-pos-2 {
    top: 60%;
    right: 10%;
    font-size: 3rem;
    animation-delay: 1s;
}

.event-info .note-pos-3 {
    bottom: 20%;
    left: 15%;
    font-size: 2rem;
    animation-delay: 2s;
}

.event-info .note-pos-4 {
    top: 35%;
    right: 20%;
    font-size: 2.8rem;
    animation-delay: 1.5s;
}

.event-info .note-pos-4a {
    top: 5%;
    right: 5%;
    font-size: 2.2rem;
    animation-delay: 0.5s;
}

.event-info .note-pos-4b {
    top: 75%;
    left: 8%;
    font-size: 2.6rem;
    animation-delay: 2.5s;
}

.event-info .note-pos-4c {
    top: 50%;
    left: 3%;
    font-size: 2.4rem;
    animation-delay: 1.2s;
}

.event-info .note-pos-4d {
    bottom: 10%;
    right: 15%;
    font-size: 2.3rem;
    animation-delay: 2.8s;
}

/* Calendar Section - Posicionamento das Notas */
.calendar-section .note-pos-5 {
    top: 10%;
    left: 8%;
    font-size: 2.5rem;
    animation-delay: 0s;
}

.calendar-section .note-pos-6 {
    top: 25%;
    right: 12%;
    font-size: 3rem;
    animation-delay: 0.8s;
}

.calendar-section .note-pos-7 {
    bottom: 30%;
    left: 10%;
    font-size: 2.2rem;
    animation-delay: 1.6s;
}

.calendar-section .note-pos-8 {
    top: 50%;
    right: 8%;
    font-size: 2.8rem;
    animation-delay: 2.4s;
}

.calendar-section .note-pos-9 {
    bottom: 15%;
    right: 25%;
    font-size: 2.4rem;
    animation-delay: 3s;
}

/* CTA Section - Posicionamento das Notas */
.cta-section .note-pos-10 {
    top: 20%;
    left: 12%;
    font-size: 3rem;
    animation-delay: 0s;
}

.cta-section .note-pos-11 {
    top: 45%;
    right: 15%;
    font-size: 2.5rem;
    animation-delay: 1.2s;
}

.cta-section .note-pos-12 {
    bottom: 25%;
    left: 18%;
    font-size: 2.8rem;
    animation-delay: 2.4s;
}

.cta-section .note-pos-13 {
    top: 60%;
    right: 22%;
    font-size: 2.3rem;
    animation-delay: 1.8s;
}

/* Prizes Section - Posicionamento das Notas */
.prizes-section .note-pos-14 {
    top: 12%;
    left: 8%;
    font-size: 2.5rem;
    animation-delay: 0s;
}

.prizes-section .note-pos-15 {
    top: 25%;
    right: 10%;
    font-size: 2.8rem;
    animation-delay: 1s;
}

.prizes-section .note-pos-16 {
    bottom: 20%;
    left: 6%;
    font-size: 2.4rem;
    animation-delay: 1.5s;
}

.prizes-section .note-pos-17 {
    bottom: 15%;
    right: 8%;
    font-size: 2.6rem;
    animation-delay: 2s;
}

.prizes-section .scattered-note {
    opacity: 0.35;
}

/* Registration Section - Posicionamento das Notas */
.registration-section .note-pos-14 {
    top: 8%;
    left: 5%;
    font-size: 3.2rem;
    animation-delay: 0s;
}

.registration-section .note-pos-15 {
    top: 30%;
    right: 8%;
    font-size: 2.6rem;
    animation-delay: 1s;
}

.registration-section .note-pos-16 {
    bottom: 35%;
    left: 12%;
    font-size: 2.9rem;
    animation-delay: 2s;
}

.registration-section .note-pos-17 {
    top: 55%;
    right: 15%;
    font-size: 2.4rem;
    animation-delay: 1.5s;
}

.registration-section .note-pos-18 {
    bottom: 12%;
    left: 8%;
    font-size: 3rem;
    animation-delay: 2.8s;
}

/* Footer Section - Posicionamento das Notas */
.footer .note-pos-19 {
    top: 15%;
    left: 10%;
    font-size: 2.7rem;
    animation-delay: 0s;
}

.footer .note-pos-20 {
    top: 40%;
    right: 12%;
    font-size: 2.5rem;
    animation-delay: 1.3s;
}

.footer .note-pos-21 {
    bottom: 30%;
    left: 15%;
    font-size: 2.8rem;
    animation-delay: 2.6s;
}

.footer .note-pos-22 {
    top: 65%;
    right: 18%;
    font-size: 2.3rem;
    animation-delay: 1.9s;
}


/* Event Information Section */
.event-info {
    background: linear-gradient(135deg, var(--red), var(--purple));
    padding: 5rem 0;
    color: var(--white);
    position: relative;
    overflow: visible;
    box-shadow: inset 0 0 100px rgba(255, 255, 255, 0.15),
                inset 0 0 200px rgba(139, 76, 159, 0.2),
                inset 0 0 300px rgba(247, 23, 53, 0.1),
                0 -15px 30px rgba(247, 23, 53, 0.25),
                0 -10px 20px rgba(139, 76, 159, 0.2);
}

.event-info .scattered-note {
    opacity: 0.4;
}

.event-info::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.event-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.event-left {
    z-index: 2;
}

.section-title {
    font-size: 2.1rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0.95;
}

.event-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.event-buttons .btn {
    flex: 0 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.event-buttons .btn i {
    margin-right: 0.5rem;
}

.event-buttons .download-presentation {
    text-decoration: none;
}

.singer-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.image-placeholder {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    padding: 8rem 4rem;
    text-align: center;
    color: var(--white);
}

.image-placeholder i {
    font-size: 6rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

/* Jury Carousel */
.jury-carousel-wrapper {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    padding-left: 2rem;
}

.jury-carousel-container {
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    position: relative;
    border-radius: 20px 0 0 20px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4),
                0 10px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.jury-carousel-container::before {
    content: '';
    position: absolute;
    left: -100px;
    top: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 50%,
        transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.jury-carousel {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.jury-slide {
    width: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.jury-slide.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    position: relative;
    pointer-events: all;
    z-index: 2;
}

.jury-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 20px 0 0 0;
}

.jury-image .image-placeholder {
    width: 100%;
    height: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue), var(--purple));
}

.jury-image .image-placeholder i {
    font-size: 5rem;
    opacity: 0.8;
}

.jury-info {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    padding-right: 5rem;
    border-radius: 0 0 0 20px;
    color: var(--white);
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1.5rem;
}

.jury-name {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 0.4rem;
    color: var(--white);
}

.jury-role {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
    color: var(--orange);
    font-weight: 600;
}

.jury-description {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.95;
}

.jury-controls {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 10;
}

.jury-progress-indicator {
    position: relative;
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jury-progress-circle {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    transform-origin: center;
    overflow: visible;
}

.jury-progress-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 4;
}

.jury-progress-bar {
    fill: none;
    stroke: var(--orange);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 0.1s linear;
}

.jury-play-pause-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--orange);
    border: none;
    color: var(--white);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.jury-play-pause-btn:hover {
    background: var(--red);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.jury-play-pause-btn:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.jury-play-pause-btn:not(.paused) i::before {
    content: "\f04c"; /* pause icon */
}

.jury-play-pause-btn.paused i::before {
    content: "\f04b"; /* play icon */
    padding-left: 3px;
}

/* Calendar Section */
.calendar-section {
    background: var(--dark-purple);
    padding: 5rem 0;
    color: var(--white);
    position: relative;
    overflow: visible;
    box-shadow: 0 15px 30px rgba(74, 20, 140, 0.3),
                0 10px 20px rgba(74, 20, 140, 0.25);
}

.calendar-section .scattered-note {
    opacity: 0.35;
}

.calendar-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.calendar-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: bold;
    position: relative;
    z-index: 2;
    color: var(--white);
    transition: color 0.3s ease;
}

[data-theme="dark"] .calendar-title {
    color: var(--text-primary);
}

.calendar-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.calendar-cards-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
}

.calendar-cards {
    display: flex;
    gap: 2rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 100%;
}


.calendar-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex: 0 0 calc(33.333% - 1.33rem);
    min-width: 0;
    opacity: 0.6;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.calendar-card.active {
    opacity: 1;
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 107, 53, 0.6);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.3);
}

.calendar-card:not(.active) {
    filter: blur(1.5px);
}

.calendar-card.active .card-icon {
    transform: scale(1.1);
}

.calendar-card.active .card-title {
    color: var(--orange);
}

.calendar-card:hover:not(.active) {
    opacity: 0.8;
    transform: scale(0.95);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    margin-left: auto;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gradient-orange {
    background: linear-gradient(135deg, var(--orange), var(--red));
}

.card-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.card-period {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.card-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.card-decoration {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 120px;
    height: 80px;
}

.dashed-line {
    width: 100px;
    height: 2px;
    border-top: 2px dashed var(--orange);
    margin-bottom: 15px;
    opacity: 0.7;
}

.note-small {
    font-size: 2rem;
    color: var(--orange);
    opacity: 0.6;
}

.note-small.orange {
    color: var(--orange);
}

/* Calendar Progress Indicator */
.calendar-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.progress-indicator {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-circle {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    transform-origin: center;
    overflow: visible;
}

.progress-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 4;
}

.progress-bar {
    fill: none;
    stroke: var(--orange);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 0.1s linear;
}

.play-pause-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--orange);
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.play-pause-btn:hover {
    background: var(--red);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.play-pause-btn:active {
    transform: translate(-50%, -50%) scale(0.95);
}

/* Icon alternates between pause and play */
.play-pause-btn:not(.paused) i::before {
    content: "\f04c"; /* pause icon (default state - playing) */
}

.play-pause-btn.paused i::before {
    content: "\f04b"; /* play icon (when paused) */
    padding-left: 3px; /* Slight adjustment for play icon centering */
}

/* CTA Section */
.cta-section {
    background: var(--bg-primary);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.cta-section .scattered-note {
    opacity: 0.2;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(46, 134, 171, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-title {
    font-size: 2.1rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

/* Slogan do evento: destaque com gradiente (fallback sólido para Edge/IE) */
.cta-title.slogan {
    font-size: 2.4rem;
    color: var(--orange);
    letter-spacing: 0.02em;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
    .cta-title.slogan {
        background: linear-gradient(135deg, var(--orange) 0%, var(--red) 35%, var(--purple) 70%, var(--blue) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

[data-theme="dark"] .cta-title {
    color: var(--text-primary);
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
    [data-theme="dark"] .cta-title.slogan {
        background: linear-gradient(135deg, #ff8c5a 0%, var(--red) 30%, var(--purple) 65%, #4aa8d4 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

[data-theme="dark"] .cta-text {
    color: var(--text-secondary);
}

.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.note-floating {
    position: absolute;
    font-size: 3rem;
    opacity: 0.2;
    animation: float 3s ease-in-out infinite;
}

.note-floating.red {
    color: var(--red);
    top: 20%;
    left: 10%;
}

.note-floating.blue {
    color: var(--blue);
    bottom: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Registration Form Modal/Dropdown */
.registration-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    pointer-events: none;
}

.registration-modal.active {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .modal-overlay {
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.registration-modal.active .modal-overlay {
    opacity: 1;
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    margin: 2rem;
    z-index: 10000;
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    will-change: transform, opacity;
    padding-right: 8px;
}

/* Custom Scrollbar for Modal */
.modal-container::-webkit-scrollbar {
    width: 10px;
}

.modal-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

[data-theme="dark"] .modal-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.modal-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--purple), var(--red));
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .modal-container::-webkit-scrollbar-thumb {
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.modal-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--red), var(--orange));
}

/* Firefox Scrollbar */
.modal-container {
    scrollbar-width: thin;
    scrollbar-color: var(--purple) rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .modal-container {
    scrollbar-color: var(--purple) rgba(255, 255, 255, 0.1);
}

.registration-modal.active .modal-container {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: scale(0.8);
}

[data-theme="dark"] .modal-close {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.registration-modal.active .modal-close {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.2s;
}

.modal-close:hover {
    background: var(--white);
    transform: scale(1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .modal-close:hover {
    background: var(--bg-secondary);
    border-color: var(--purple);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

/* Registration Form Section */
.registration-section {
    background: linear-gradient(135deg, var(--red), var(--purple));
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.registration-section .scattered-note {
    opacity: 0.4;
}

.registration-section .container {
    position: relative;
    z-index: 2;
}

.form-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--white);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

/* Form Steps Tabs */
.form-steps-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.step-tab {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step-tab.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--orange);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.step-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.step-tab.active .step-number {
    background: var(--orange);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.step-label {
    font-weight: 600;
    color: var(--white);
    font-size: 1.1rem;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

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

.step-section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.step-section-title:first-child {
    margin-top: 0;
}

.step-description {
    font-size: 1rem;
    color: var(--text-secondary);
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

[data-theme="dark"] .registration-form .step-section-title {
    color: var(--white);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .registration-form .step-description {
    color: var(--white);
}

.download-regulations {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.payment-method {
    background: #ffffff;
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.payment-method:hover {
    background: #f7f7f7;
    border-color: var(--orange);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.2);
}

.payment-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--red));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.payment-info {
    flex: 1;
}

.payment-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.payment-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    opacity: 0.9;
    margin-bottom: 0.3rem;
    line-height: 1.5;
}

.payment-details {
    font-weight: 600;
    color: var(--orange);
    margin-top: 0.5rem;
}

.payment-fee {
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px dashed rgba(255, 107, 53, 0.35);
    font-weight: 600;
}

[data-theme="dark"] .registration-form .payment-fee {
    border-top-color: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .registration-form .payment-method {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .registration-form .payment-method:hover {
    background: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .registration-form .payment-info h4,
[data-theme="dark"] .registration-form .payment-info p {
    color: var(--white);
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
    margin-top: 0.5rem;
}

.file-upload-wrapper input[type="file"] {
    display: none;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    border: 2px dashed rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.file-upload-label:hover {
    border-color: var(--orange);
    background: #f5f5f5;
}

.file-upload-label i {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.file-upload-text {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.file-upload-hint {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

[data-theme="dark"] .registration-form .file-upload-label {
    border: 2px dashed rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .registration-form .file-upload-label:hover {
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .registration-form .file-upload-text,
[data-theme="dark"] .registration-form .file-upload-hint {
    color: var(--white);
}

.file-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.file-item-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.file-item-icon {
    color: var(--orange);
    font-size: 1.2rem;
}

.file-item-name {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
}

.file-item-size {
    color: var(--text-secondary);
    font-size: 0.85rem;
    opacity: 0.7;
    margin-left: 0.5rem;
}

[data-theme="dark"] .registration-form .file-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .registration-form .file-item-name,
[data-theme="dark"] .registration-form .file-item-size {
    color: var(--white);
}

.file-item-remove {
    background: transparent;
    border: none;
    color: var(--red);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.25rem 0.5rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.file-item-remove:hover {
    background: rgba(247, 23, 53, 0.2);
    transform: scale(1.1);
}

/* Form Step Navigation */
.form-step-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
}

.form-step-navigation .btn {
    flex: 0 1 auto;
}

#registrationSubmitFeedback {
    width: 100%;
    text-align: center;
    font-weight: 600;
    margin-top: 0.75rem;
}

.next-step-btn,
.prev-step-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 600px) {
    .form-step-navigation {
        flex-direction: column;
    }

    .form-step-navigation .btn {
        width: 100%;
        justify-content: center;
    }
}

.registration-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem 2.5rem 2.5rem 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.registration-form > .form-row:first-child {
    margin-top: 0;
}

[data-theme="dark"] .registration-form {
    background: rgba(45, 45, 45, 0.98);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

body.modal-open .floating-register-btn {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(0) !important;
}

.registration-modal.active ~ .floating-register-btn {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(0) !important;
}

/* Content modals (Sobre Nós, Sobre o Evento, Políticas de Privacidade) */
.content-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s;
    pointer-events: none;
}

.content-modal.active {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
}

/* Quando aberto em modo consentimento (dentro do modal de inscrição), fica por cima */
.content-modal.consent-mode.active {
    z-index: 10010;
}

.content-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.content-modal-container {
    position: relative;
    width: 90%;
    max-width: 640px;
    max-height: 85vh;
    margin: 2rem;
    padding: 2rem 2rem 2.5rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    overflow-y: auto;
    z-index: 1;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.content-modal.active .content-modal-container {
    transform: translateY(0);
}

/* Scroll personalizado do content-modal */
.content-modal-container::-webkit-scrollbar {
    width: 8px;
}

.content-modal-container::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 8px;
}

.content-modal-container::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--purple), var(--orange));
    border-radius: 8px;
}

.content-modal-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--dark-purple), var(--orange));
}

.content-modal-container {
    scrollbar-width: thin;
    scrollbar-color: var(--purple) var(--bg-secondary);
}

.content-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.2s, color 0.2s;
}

.content-modal-close:hover {
    background: var(--purple);
    color: var(--white);
}

.content-modal-title {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    padding-right: 2.5rem;
    color: var(--text-primary);
}

.content-modal-body.content-prose {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-primary);
}

.content-modal-body.content-prose p {
    margin-bottom: 1rem;
}

.content-modal-body.content-prose p:last-child {
    margin-bottom: 0;
}

.content-modal-body.content-prose strong {
    font-weight: 700;
    color: var(--text-primary);
}

.content-modal-body.content-prose .content-modal-section {
    font-weight: 700;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.content-modal-body.content-prose ul {
    margin: 0.5rem 0 1rem 1.25rem;
    padding-left: 0.5rem;
}

.content-modal-body.content-prose li {
    margin-bottom: 0.35rem;
}

/* Ações Aceitar/Negar no modal de políticas (só visíveis em modo consentimento) */
.content-modal-consent-actions {
    display: none;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.content-modal.consent-mode .content-modal-consent-actions {
    display: flex;
}

.btn-consent-deny,
.btn-consent-accept {
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, background 0.2s;
}

.btn-consent-deny {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-consent-deny:hover {
    opacity: 0.9;
    background: var(--border-color);
}

.btn-consent-accept {
    background: linear-gradient(135deg, var(--purple), var(--blue));
    border: none;
    color: var(--white);
}

.btn-consent-accept:hover {
    opacity: 0.95;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 0;
    margin-bottom: 1.25rem;
}

.registration-form > .form-row:first-child {
    margin-top: 0;
}


.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0;
    min-height: fit-content;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0;
    color: var(--text-dark);
    font-size: 1rem;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.required-asterisk {
    color: var(--red);
    font-weight: 700;
    margin-left: 0.2rem;
}

.form-hint {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-style: italic;
    transition: color 0.3s ease;
}

[data-theme="dark"] .form-hint {
    color: var(--text-secondary);
}

[data-theme="dark"] .form-group label {
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1.1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #fff;
    color: var(--text-dark);
    width: 100%;
    box-sizing: border-box;
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: var(--red);
    background-color: #fff5f5;
}

[data-theme="dark"] .form-group input.invalid,
[data-theme="dark"] .form-group select.invalid,
[data-theme="dark"] .form-group textarea.invalid {
    background-color: rgba(247, 23, 53, 0.1);
}

.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: #10b981;
}

.error-message {
    display: block;
    color: var(--red);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    min-height: 1.2rem;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

.success-message {
    display: block;
    color: #10b981;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    min-height: 1.2rem;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #ccc;
}

[data-theme="dark"] .form-group input:hover,
[data-theme="dark"] .form-group select:hover,
[data-theme="dark"] .form-group textarea:hover {
    border-color: var(--text-secondary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(139, 76, 159, 0.1);
    background-color: #fafafa;
}

.form-group input.invalid:focus,
.form-group select.invalid:focus,
.form-group textarea.invalid:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(247, 23, 53, 0.1);
}

.form-group input.valid:focus,
.form-group select.valid:focus,
.form-group textarea.valid:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    background-color: rgba(61, 61, 61, 0.7);
    box-shadow: 0 0 0 3px rgba(139, 76, 159, 0.2);
}

[data-theme="dark"] .form-group input.invalid:focus,
[data-theme="dark"] .form-group select.invalid:focus,
[data-theme="dark"] .form-group textarea.invalid:focus {
    box-shadow: 0 0 0 3px rgba(247, 23, 53, 0.2);
}

[data-theme="dark"] .form-group input.valid:focus,
[data-theme="dark"] .form-group select.valid:focus,
[data-theme="dark"] .form-group textarea.valid:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    padding-right: 3rem;
}

[data-theme="dark"] .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

/* Date Picker Custom */
.date-picker-wrapper {
    position: relative;
}

.date-input {
    position: relative;
    padding-right: 3rem !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    cursor: pointer;
}

[data-theme="dark"] .date-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
}

.custom-date-picker {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--shadow-color);
    padding: 1.5rem;
    z-index: 1000;
    display: none;
    min-width: 0;
    width: min(360px, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
    transition: all 0.3s ease;
}

.custom-date-picker.active {
    display: block;
    animation: fadeInDown 0.3s ease;
}

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

.date-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.date-picker-nav {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
}

.date-picker-nav:hover {
    background: var(--bg-secondary);
}

.date-picker-month-year-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex: 1;
    min-width: 0;
    justify-content: center;
}

.date-picker-year-wrap {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 0 0 auto;
}

.date-picker-month-select,
.date-picker-year-select {
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    padding-right: 2rem;
}

[data-theme="dark"] .date-picker-month-select,
[data-theme="dark"] .date-picker-year-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

.date-picker-month-select:hover,
.date-picker-year-select:hover {
    border-color: var(--purple);
    background-color: var(--bg-primary);
}

[data-theme="dark"] .date-picker-month-select:hover,
[data-theme="dark"] .date-picker-year-select:hover {
    background-color: rgba(61, 61, 61, 0.7);
}

.date-picker-month-select:focus,
.date-picker-year-select:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(139, 76, 159, 0.1);
}

.date-picker-month-select {
    min-width: 110px;
    max-width: 140px;
}

.date-picker-year-select {
    min-width: 108px;
    max-width: 124px;
}

.date-picker-month-year {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    text-transform: capitalize;
}

.date-picker-weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    width: 100%;
}

.date-picker-weekday {
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.5rem;
    min-width: 0;
    box-sizing: border-box;
}

.date-picker-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
}

.date-picker-day {
    text-align: center;
    padding: 0.75rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: var(--text-primary);
    font-weight: 500;
    border: 2px solid transparent;
    min-width: 0;
    box-sizing: border-box;
}

.date-picker-day:hover {
    background: var(--bg-secondary);
    border-color: var(--purple);
}

.date-picker-day.other-month {
    color: var(--text-secondary);
    opacity: 0.4;
}

.date-picker-day.today {
    background: var(--purple);
    color: var(--white);
    font-weight: 600;
}

.date-picker-day.selected {
    background: var(--orange);
    color: var(--white);
    font-weight: 600;
    border-color: var(--orange);
}

.date-picker-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 768px) {
    .custom-date-picker {
        position: absolute;
        top: calc(100% + 0.35rem);
        left: 0;
        right: auto;
        transform: none;
        width: min(340px, calc(100vw - 2rem));
        max-width: calc(100vw - 2rem);
        max-height: 60vh;
        overflow-y: auto;
        padding: 1rem;
        z-index: 10020;
    }

    .custom-date-picker.active {
        animation: none;
    }

    .date-picker-header {
        gap: 0.35rem;
    }

    .date-picker-month-year-container {
        gap: 0.35rem;
    }

    .date-picker-month-select {
        min-width: 96px;
        max-width: 120px;
    }

    .date-picker-year-select {
        min-width: 98px;
        max-width: 112px;
    }

    .date-picker-days,
    .date-picker-weekdays {
        gap: 0.35rem;
    }

    .date-picker-day {
        padding: 0.6rem 0.25rem;
        font-size: 0.92rem;
    }
}

/* Phone Group Styles */
.phone-group {
    position: relative;
}

.add-phone-btn,
.remove-phone-btn {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid var(--purple);
    border-radius: 8px;
    color: var(--purple);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.add-phone-btn:hover {
    background: var(--purple);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 76, 159, 0.3);
}

.remove-phone-btn {
    border-color: var(--red);
    color: var(--red);
}

.remove-phone-btn:hover {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(247, 23, 53, 0.3);
}

.phone-alternative-row {
    animation: slideDown 0.3s ease-out;
}

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

/* Registration Type Radio Buttons */
.registration-type-label {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.1rem;
    display: block;
    transition: color 0.3s ease;
}

[data-theme="dark"] .registration-type-label {
    color: var(--text-primary);
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 120px;
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--purple);
    margin: 0;
}

.radio-option label {
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: color 0.3s ease;
    margin: 0;
    font-size: 1rem;
}

[data-theme="dark"] .radio-option label {
    color: var(--text-primary);
}

.radio-option input[type="radio"]:checked + label {
    color: var(--purple);
    font-weight: 600;
}

[data-theme="dark"] .radio-option input[type="radio"]:checked + label {
    color: var(--orange);
}

/* Member Sections */
.member-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    animation: slideDown 0.3s ease-out;
}

[data-theme="dark"] .member-section {
    border-top: 2px solid var(--border-color);
}

.member-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

[data-theme="dark"] .member-title {
    color: var(--text-primary);
}

.member-section[data-member="1"] {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.form-checkboxes {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 2px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color 0.3s ease;
}

[data-theme="dark"] .form-checkboxes {
    border-top: 2px solid var(--border-color);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.5rem 0;
}

.checkbox-group input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-top: 3px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--purple);
}

.checkbox-group label {
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
    line-height: 1.5;
    transition: color 0.3s ease;
}

[data-theme="dark"] .checkbox-group label {
    color: var(--text-primary);
}

.form-decoration {
    position: absolute;
    bottom: 50px;
    left: 50px;
    pointer-events: none;
    width: 200px;
    height: 200px;
}

.form-decoration .dashed-line {
    position: absolute;
    width: 150px;
    height: 2px;
    border-top: 2px dashed var(--orange);
    top: 50%;
    left: 0;
    opacity: 0.5;
}

.note-form {
    font-size: 5rem;
    opacity: 0.25;
    position: absolute;
}

.note-form.red {
    color: var(--red);
    top: -80px;
    left: 80px;
    animation: float-note 5s ease-in-out infinite;
}

.note-form.blue {
    color: var(--blue);
    bottom: -80px;
    right: 100px;
    animation: float-note 5s ease-in-out infinite 2s;
}

.registration-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Footer */
.footer {
    background: var(--dark-purple);
    padding: 4rem 0 2rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer .scattered-note {
    opacity: 0.35;
}

.footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(247, 23, 53, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-form-feedback {
    width: 100%;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    min-height: 1.4em;
}

.footer-form-feedback--error {
    color: #ff6b6b;
}

[data-theme="dark"] .footer-form-feedback--error {
    color: #ff8a8a;
}

.footer-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.footer-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.footer-form input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

[data-theme="dark"] .footer-form input {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .footer-form input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

[data-theme="dark"] .footer-form input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.btn-footer {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--orange), var(--red));
    border: none;
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-footer:hover {
    transform: translateY(-2px);
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-right {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.btn-footer-signup {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--orange), var(--red));
    border: none;
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-footer-signup:hover {
    transform: translateY(-2px);
}

.hashtag {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

/* Footer Credits (apenas logos) */
.footer-credits {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    gap: 1.75rem 2.5rem;
}

.footer-credit-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem 1.75rem;
    opacity: 0.95;
}

.footer-credit-logos--organizers {
    flex: 1 1 auto;
    justify-content: flex-start;
    min-width: 0;
}

.footer-credit-logos--developers {
    flex: 0 0 auto;
    justify-content: flex-end;
}

.footer-credit-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
}

.footer-credit-link--static {
    cursor: default;
    pointer-events: none;
}

.footer-credit-link:hover:not(.footer-credit-link--static) {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.footer-credit-logo {
    display: block;
    max-height: 52px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.footer-credit-link:hover:not(.footer-credit-link--static) .footer-credit-logo {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(0deg);
    transform: scale(1.04);
}

/* Botão discreto de acesso ao login (produção) */
.footer-production-link {
    margin-top: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    position: relative;
    z-index: 2;
}

.production-login-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.production-login-link:hover {
    color: rgba(255, 255, 255, 0.6);
}

.production-login-link i {
    font-size: 0.65rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.social-icon--disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

.social-icon--disabled:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: none;
}

/* Responsive Design */
@media (max-width: 968px) {
    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .header .container {
        flex-wrap: nowrap;
        gap: 1rem;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .hero {
        padding: 3rem 0;
        padding-top: calc(3rem + 100px);
    }

    .hero-content,
    .event-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .jury-carousel-wrapper {
        position: relative;
        top: 0;
        width: 100%;
        padding-left: 0;
        align-items: center;
    }

    .jury-carousel-container {
        min-height: auto;
        max-width: 100%;
        border-radius: 20px;
    }

    .jury-carousel-container::before {
        display: none;
    }

    .jury-image {
        aspect-ratio: 4/5;
        border-radius: 20px 20px 0 0;
    }

    .jury-info {
        border-radius: 0 0 20px 20px;
        padding-right: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .jury-controls {
        position: absolute;
        bottom: 0.75rem;
        right: 0.75rem;
    }

    .jury-progress-indicator {
        width: 55px;
        height: 55px;
    }

    .jury-play-pause-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .jury-name {
        font-size: 1.5rem;
    }

    .jury-role {
        font-size: 1rem;
    }

    .jury-description {
        font-size: 0.95rem;
    }

    .event-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .event-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-title {
        font-size: 1.85rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .cta-title.slogan {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .calendar-wrapper {
        gap: 2rem;
    }

    .calendar-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .calendar-cards-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .calendar-cards {
        flex-direction: column;
        gap: 0;
        transform: none !important;
        width: 100%;
        height: 380px;
        min-height: 380px;
        max-height: 380px;
        position: relative;
    }

    /* No mobile: todos os cards no mesmo slot, altura fixa; fade por opacity */
    .calendar-card {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 100%;
        flex: none;
        width: 100%;
        max-width: 100%;
        padding: 2rem;
        min-width: 0;
        transform: scale(1) !important;
        transition: opacity 0.4s ease;
        display: flex !important;
        flex-direction: column;
        box-sizing: border-box;
        overflow-y: auto;
    }

    .calendar-card:not(.active) {
        opacity: 0;
        pointer-events: none;
        z-index: 0;
    }

    .calendar-card.active {
        opacity: 1;
        pointer-events: auto;
        z-index: 1;
    }

    .calendar-card .card-icon {
        flex-shrink: 0;
        width: 70px;
        height: 70px;
        min-width: 70px;
        min-height: 70px;
        font-size: 1.8rem;
        margin-bottom: 1.25rem;
        margin-left: auto;
        border-radius: 50%;
        align-self: flex-end;
    }

    .card-title {
        font-size: 1.75rem;
    }

    .card-period {
        font-size: 1.1rem;
    }

    .card-text {
        font-size: 0.95rem;
    }

    .progress-indicator {
        width: 70px;
        height: 70px;
    }

    .play-pause-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-steps-tabs {
        flex-direction: column;
        gap: 1rem;
    }

    .step-tab {
        padding: 0.75rem 1.5rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .step-label {
        font-size: 1rem;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .form-step-navigation {
        flex-direction: column;
    }

    .form-step-navigation .btn {
        width: 100%;
    }

    .file-upload-label {
        padding: 2rem 1.5rem;
    }

    .file-upload-label i {
        font-size: 2.5rem;
    }

    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }

    .radio-option {
        min-width: 100%;
    }

    .member-title {
        font-size: 1.2rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.95rem;
        padding: 0.85rem 1rem;
    }

    .download-regulations {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-right {
        text-align: center;
        align-items: center;
    }

    .footer-title {
        font-size: 1.3rem;
    }

    .footer-text {
        font-size: 0.95rem;
    }

    .footer-description {
        font-size: 0.85rem;
        line-height: 1.7;
    }

    .footer-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-form input {
        width: 100%;
    }

    .btn-footer {
        width: 100%;
        justify-content: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .hashtag {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    /* Scattered notes responsive */
    .scattered-note {
        font-size: 1.5rem;
        opacity: 0.25;
    }

    .event-info .note-pos-1,
    .event-info .note-pos-2,
    .event-info .note-pos-3,
    .event-info .note-pos-4,
    .event-info .note-pos-4a,
    .event-info .note-pos-4b,
    .event-info .note-pos-4c,
    .event-info .note-pos-4d {
        font-size: 1.8rem;
    }

    .calendar-section .note-pos-5,
    .calendar-section .note-pos-6,
    .calendar-section .note-pos-7,
    .calendar-section .note-pos-8,
    .calendar-section .note-pos-9 {
        font-size: 1.8rem;
    }

    .cta-section .note-pos-10,
    .cta-section .note-pos-11,
    .cta-section .note-pos-12,
    .cta-section .note-pos-13 {
        font-size: 1.8rem;
    }

    .prizes-section .note-pos-14,
    .prizes-section .note-pos-15,
    .prizes-section .note-pos-16,
    .prizes-section .note-pos-17 {
        font-size: 1.8rem;
    }

    .registration-section .note-pos-14,
    .registration-section .note-pos-15,
    .registration-section .note-pos-16,
    .registration-section .note-pos-17,
    .registration-section .note-pos-18 {
        font-size: 1.8rem;
    }

    .footer .note-pos-19,
    .footer .note-pos-20,
    .footer .note-pos-21,
    .footer .note-pos-22 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2.5rem 0;
        padding-top: calc(2.5rem + 95px);
    }

    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .cta-title.slogan {
        font-size: 1.75rem;
    }

    .event-info,
    .calendar-section,
    .cta-section {
        padding: 3rem 0;
    }

    .section-title,
    .form-title {
        font-size: 1.85rem;
    }

    .section-text {
        font-size: 1rem;
    }

    .calendar-title {
        font-size: 2.2rem;
    }

    .btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .btn-gradient-cta {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }

    .registration-form {
        padding: 2.5rem 1.5rem;
    }
    
    .registration-section {
        padding: 2.5rem 1rem;
    }

    .form-steps-tabs {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .step-tab {
        padding: 0.75rem 1.25rem;
        gap: 0.75rem;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }

    .step-label {
        font-size: 0.95rem;
    }

    .step-section-title {
        font-size: 1.5rem;
        margin-top: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .step-description {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .payment-methods {
        gap: 1.25rem;
    }

    .payment-method {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
    }

    .payment-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        margin: 0 auto 1rem;
    }

    .payment-info h4 {
        font-size: 1.1rem;
    }

    .payment-info p {
        font-size: 0.9rem;
    }

    .file-upload-label {
        padding: 2rem 1.25rem;
    }

    .file-upload-label i {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }

    .file-upload-text {
        font-size: 0.95rem;
    }

    .file-upload-hint {
        font-size: 0.8rem;
    }

    .form-step-navigation {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .modal-container {
        margin: 0.5rem;
        max-height: calc(100vh - 1rem);
        padding: 1.5rem;
    }

    .form-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .footer {
        padding: 3rem 0 2rem;
    }

    .footer-content {
        gap: 2.5rem;
    }

    .social-icons {
        gap: 1rem;
    }

    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
        line-height: 1.25;
    }

    .hero-text {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        line-height: 1.6;
    }

    .section-title,
    .form-title {
        font-size: 1.8rem;
    }

    .calendar-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .calendar-wrapper {
        gap: 1.5rem;
    }

    .calendar-card {
        padding: 1.75rem;
    }

    .calendar-card .card-icon {
        flex-shrink: 0;
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
        margin-left: auto;
        border-radius: 50%;
        align-self: flex-end;
    }

    .card-title {
        font-size: 1.5rem;
    }

    .card-period {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .card-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .progress-indicator {
        width: 60px;
        height: 60px;
    }

    .play-pause-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .registration-form {
        padding: 2rem 1.25rem;
    }
    
    .registration-section {
        padding: 2rem 0.75rem;
    }

    .modal-container {
        margin: 0.5rem;
        max-height: calc(100vh - 1rem);
        border-radius: 16px;
    }


    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.95rem 1rem;
        font-size: 0.95rem;
    }

    .btn-submit {
        padding: 1.1rem;
        font-size: 1.05rem;
    }

    /* Scattered notes smaller on mobile */
    .scattered-note {
        font-size: 1.2rem;
        opacity: 0.2;
    }

    .event-info .note-pos-1,
    .event-info .note-pos-2,
    .event-info .note-pos-3,
    .event-info .note-pos-4,
    .event-info .note-pos-4a,
    .event-info .note-pos-4b,
    .event-info .note-pos-4c,
    .event-info .note-pos-4d {
        font-size: 1.4rem;
    }

    .calendar-section .note-pos-5,
    .calendar-section .note-pos-6,
    .calendar-section .note-pos-7,
    .calendar-section .note-pos-8,
    .calendar-section .note-pos-9 {
        font-size: 1.4rem;
    }

    .cta-section .note-pos-10,
    .cta-section .note-pos-11,
    .cta-section .note-pos-12,
    .cta-section .note-pos-13 {
        font-size: 1.4rem;
    }

    .prizes-section .note-pos-14,
    .prizes-section .note-pos-15,
    .prizes-section .note-pos-16,
    .prizes-section .note-pos-17 {
        font-size: 1.4rem;
    }

    .registration-section .note-pos-14,
    .registration-section .note-pos-15,
    .registration-section .note-pos-16,
    .registration-section .note-pos-17,
    .registration-section .note-pos-18 {
        font-size: 1.4rem;
    }

    .footer .note-pos-19,
    .footer .note-pos-20,
    .footer .note-pos-21,
    .footer .note-pos-22 {
        font-size: 1.4rem;
    }

    .add-phone-btn,
    .remove-phone-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .hashtag {
        font-size: 1.2rem;
    }

    .footer-credits {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.25rem;
        margin-top: 1.5rem;
        padding-top: 1.25rem;
    }

    .footer-credit-logos {
        justify-content: center;
        gap: 1rem 1.25rem;
    }

    .footer-credit-logos--organizers,
    .footer-credit-logos--developers {
        justify-content: center;
        width: 100%;
    }

    .footer-credit-link {
        padding: 0.4rem 0.55rem;
    }

    .footer-credit-logo {
        max-height: 40px;
        max-width: 160px;
    }

    .footer-title {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .footer-text {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .footer-description {
        font-size: 0.8rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .footer-form {
        margin-bottom: 1.5rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .hashtag {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .btn-footer-signup {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.35rem;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
    }

    .cta-title.slogan {
        font-size: 1.5rem;
    }

    .hero-text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .section-title,
    .form-title {
        font-size: 1.5rem;
    }

    .calendar-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    .theme-toggle {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .mobile-menu-toggle {
        font-size: 1.3rem;
    }

    .floating-register-btn {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        bottom: 1.5rem;
        right: 1.5rem;
        z-index: 9999;
    }

    .floating-register-btn .floating-btn-text {
        display: none;
    }

    .form-steps-tabs {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .step-tab {
        padding: 0.6rem 1rem;
        gap: 0.5rem;
        flex: 1;
        justify-content: center;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .step-label {
        font-size: 0.85rem;
    }

    .step-section-title {
        font-size: 1.3rem;
        margin-top: 1.25rem;
        margin-bottom: 1rem;
    }

    .step-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .download-regulations {
        width: 100%;
        justify-content: center;
    }

    .payment-methods {
        gap: 1rem;
    }

    .payment-method {
        padding: 1rem;
    }

    .payment-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .payment-info h4 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .payment-info p {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }

    .payment-details {
        font-size: 0.85rem;
    }

    .file-upload-label {
        padding: 1.5rem 1rem;
    }

    .file-upload-label i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .file-upload-text {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .file-upload-hint {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .file-item {
        padding: 0.6rem 0.75rem;
        flex-wrap: wrap;
    }

    .file-item-name {
        font-size: 0.85rem;
        word-break: break-word;
    }

    .file-item-size {
        font-size: 0.75rem;
    }

    .form-step-navigation {
        margin-top: 1.5rem;
        padding-top: 1.25rem;
        gap: 0.75rem;
    }

    .form-step-navigation .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
}

