/* Slide-down reveal used when jumping to the registration section */
.registration-section.reveal {
    animation: slideDownReveal .5s ease-out both;
}
@keyframes slideDownReveal {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}
:root {
    /* Palette */
    --gold-1: #d9a93b;   /* closest to current yellow */
    --gold-2: #c6903a;   /* darker gold */
    --navy:   #1c3159;   /* deep navy */
    --brown:  #734731;   /* warm brown */
    --blue-1: #3090af;   /* tealish blue */
    --blue-2: #335a89;   /* muted blue */

    /* Existing theme vars mapped to palette */
    --net-yellow: var(--gold-1);
    --net-orange: var(--gold-2);
    --color_net: #0b3367;
    --color_net_light: #1976D2;
}

.hero-section {
  background: linear-gradient(135deg, rgba(28, 49, 89, 0.55) 0%, rgba(28, 49, 89, 0.55) 100%),
            url("/static/img/fds/imgs_site/hero-background.jpg") center/cover no-repeat;
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(253, 224, 71, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.event-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
}

.event-title {
    font-family: var(--font-titles);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: white;
}

.event-subtitle {
    font-family: var(--font-text);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.carousel-section {
    background: 
        linear-gradient(135deg,#d9a93b  0%, #c6903a 100%);
    padding: 2.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .carousel-section {
        padding: 3rem 0;
    }
}

@media (max-width: 640px) {
    .carousel-section {
        padding: 3.5rem 0;
    }
}

.carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* Polaroid frames */
        radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 8%),
        radial-gradient(circle at 85% 25%, rgba(255, 255, 255, 0.35) 0%, transparent 10%),
        radial-gradient(circle at 25% 70%, rgba(255, 255, 255, 0.3) 0%, transparent 9%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.38) 0%, transparent 8%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.25) 0%, transparent 12%),
        /* Camera icons (simplified circles) */
        radial-gradient(circle at 40% 20%, rgba(28, 49, 89, 0.15) 0%, transparent 4%),
        radial-gradient(circle at 65% 80%, rgba(28, 49, 89, 0.15) 0%, transparent 5%),
        /* Bokeh lights */
        radial-gradient(circle at 10% 60%, rgba(255, 255, 255, 0.5) 0%, transparent 3%),
        radial-gradient(circle at 90% 40%, rgba(255, 255, 255, 0.45) 0%, transparent 4%),
        radial-gradient(circle at 30% 85%, rgba(255, 255, 255, 0.4) 0%, transparent 3.5%),
        radial-gradient(circle at 70% 15%, rgba(255, 255, 255, 0.48) 0%, transparent 3.5%);
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
    animation: subtleFloat 20s ease-in-out infinite;
}

.carousel-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
    pointer-events: none;
    z-index: 2;
}

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

.carousel-title {
    font-family: var(--font-titles);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color_net);
    text-transform: uppercase;
    margin-bottom: 2rem;
    position: relative;
    z-index: 3;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
}

/* Photo Frame Elements in CSS */
.carousel-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.photo-frame {
    position: absolute;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    opacity: 0.7;
    animation: floatFrame 15s ease-in-out infinite;
}

.photo-frame::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 75%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    opacity: 0.3;
    border-radius: 2px;
}

.photo-frame:nth-child(1) {
    width: 80px;
    height: 100px;
    top: 10%;
    left: 8%;
    transform: rotate(-12deg);
    animation-delay: 0s;
}

.photo-frame:nth-child(2) {
    width: 90px;
    height: 90px;
    top: 15%;
    right: 12%;
    transform: rotate(8deg);
    animation-delay: -3s;
}

.photo-frame:nth-child(3) {
    width: 70px;
    height: 85px;
    bottom: 15%;
    left: 15%;
    transform: rotate(15deg);
    animation-delay: -6s;
}

.photo-frame:nth-child(4) {
    width: 85px;
    height: 95px;
    bottom: 12%;
    right: 10%;
    transform: rotate(-10deg);
    animation-delay: -9s;
}

.photo-frame:nth-child(5) {
    width: 95px;
    height: 80px;
    top: 50%;
    left: 5%;
    transform: translateY(-50%) rotate(5deg);
    animation-delay: -12s;
}

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

.photo-frame:nth-child(1) { --rotation: -12deg; }
.photo-frame:nth-child(2) { --rotation: 8deg; }
.photo-frame:nth-child(3) { --rotation: 15deg; }
.photo-frame:nth-child(4) { --rotation: -10deg; }
.photo-frame:nth-child(5) { --rotation: 5deg; }

.photo-carousel {
    width: 100%;
    height: 300px;
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-family: var(--font-text);
    color: #64748b;
    margin-bottom: 2rem;
}

/* Arc (semi-circle) Carousel */
.arc-carousel {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto 2rem auto;
    padding: 2rem 0 0 0;
    z-index: 3;
}

.arc-track {
    position: relative;
    height: 360px; /* overall height of the arc area */
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    perspective: 800px;
}

.arc-track.dragging { cursor: grabbing; }

.arc-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 100px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
    background: #fff;
    transition: opacity .2s ease, box-shadow .2s ease, transform .08s ease-out;
    will-change: transform;
    backface-visibility: hidden;
    contain: layout paint style;
}

.arc-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.arc-item.is-front {
    box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

.arc-item:not(.is-front) { box-shadow: 0 6px 16px rgba(0,0,0,.12); }
/* Performance: skip offscreen rendering where possible */
.hero-section,
.carousel-section,
.info-section,
.activities-section,
.registration-section,
.contact-section { content-visibility: auto; contain-intrinsic-size: 1000px; }
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .carousel-section::before,
    .carousel-section::after { display: none; }
}

.arc-nav {
    position: absolute;
    bottom: 8px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.9);
    color: var(--color_net);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
    z-index: 4;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.arc-nav:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.28); }
.arc-nav:active { transform: translateY(0); }

.arc-nav.prev { left: 8px; }
.arc-nav.next { right: 8px; }

.arc-hint {
    display: block;
    font-family: var(--font-text);
    font-size: .95rem;
    color: rgba(0,0,0,.65);
    text-align: center;
    margin-top: .25rem;
}



@media (max-width: 768px) {
    .arc-track { height: 280px; }
    .arc-item { width: 170px; height: 110px; }
}

@media (max-width: 640px) {
    .arc-track { height: 260px; }
    .arc-item { width: 160px; height: 100px; }
}

.info-section {
    background: linear-gradient(135deg, rgba(28, 49, 89, 0.55) 0%, rgba(28, 49, 89, 0.55) 100%),
                url("/static/img/fds/imgs_site/info-background.jpg") center/cover no-repeat fixed;
    color: white;
    padding: 5rem 1rem;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .info-section {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .info-section {
        padding: 2.5rem 0.75rem;
    }
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.08;
    z-index: 1;
    pointer-events: none;
}

.info-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at bottom, rgba(253, 224, 71, 0.1) 0%, transparent 60%);
    z-index: 1;
}

.section-title {
    color: white;
    font-family: var(--font-titles);
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    align-items: stretch;
}

@media (max-width: 992px) {
    .info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .info-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.info-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

@media (max-width: 640px) {
    .info-card {
        padding: 1.5rem;
    }
    
    .info-card i {
        font-size: 2.5rem;
    }
    
    .info-card h3 {
        font-size: 1.5rem;
    }
    
    .info-card p {
        font-size: 1rem;
    }
}

.info-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.info-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--net-yellow);
}

.info-card h3 {
    font-family: var(--font-titles);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: white;
}

.info-card p {
    margin: 0;
    font-family: var(--font-text);
    font-size: 1.1rem;
    margin-top: auto;
    margin-bottom: auto;
}

.info-card p.date-text {
    font-size: 1.5rem;
    line-height: 1.4;
}

.info-card p span {
    display: block;
    margin-bottom: 0.5rem; 
}

.info-card p span:last-child {
    margin-bottom: 0;
}

.activities-section {
    background: linear-gradient(135deg, rgba(28, 49, 89, 0.85) 0%, rgba(28, 49, 89, 0.85) 100%),
                url("/static/img/fds/imgs_site/activities-background.jpg") center/cover no-repeat;
    padding: 5rem 1rem;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .activities-section {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .activities-section {
        padding: 2.5rem 0.75rem;
    }
}

.activities-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.08;
    z-index: 1;
    pointer-events: none;
}

.activities-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(249, 115, 22, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 40%);
    z-index: 1;
}

.activity-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 25px;
    padding: 3rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    gap: 3rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.7s ease;
}

.activity-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.activity-card:hover::before {
    left: 100%;
}

.activity-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.activity-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.activity-card:hover .activity-icon::after {
    opacity: 1;
}

.activity-icon.favela {
    background: linear-gradient(135deg, var(--blue-2), var(--blue-1));
}

.activity-icon.fuego {
    background: linear-gradient(135deg, var(--gold-2), var(--brown));
}

.activity-content {
    flex: 1;
}

.activity-content h3 {
    font-family: var(--font-titles);
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: white;
    position: relative;
}

.activity-content h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--net-yellow);
    border-radius: 2px;
}

.activity-description {
    font-family: var(--font-text);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: #e2e8f0;
}

.activity-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: var(--font-text);
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.registration-section {
    background: linear-gradient(135deg, rgba(11, 51, 103, 0.55) 0%, rgba(11, 51, 103, 0.55) 100%),
                url("/static/img/fds/imgs_site/registration-background.jpg") center/cover no-repeat;
    padding: 5rem 1rem;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .registration-section {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .registration-section {
        padding: 2.5rem 0.75rem;
    }
}
registration-section
.registration-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.08;
    z-index: 1;
    pointer-events: none;
}

.registration-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(253, 224, 71, 0.12) 0%, transparent 70%);
    z-index: 1;
}

.form-container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--net-yellow), var(--color_net_light));
    border-radius: 27px;
    z-index: -1;
    opacity: 0.3;
}

/* Pretix Widget Styling */
.pretix-widget table,
.pretix-widget-compat table {
    background: rgba(255,255,255,0.07) !important;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
    backdrop-filter: blur(6px) saturate(120%);
    -webkit-backdrop-filter: blur(6px) saturate(120%);
    border-collapse: separate !important;
    overflow: hidden;
}

.pretix-widget th,
.pretix-widget td,
.pretix-widget-compat th,
.pretix-widget-compat td {
    background: rgba(255,255,255,0.03) !important;
    border: none !important;
    color: #222;
    padding: 0.75em 1em;
}

.pretix-widget-compat,
.pretix-widget,
.pretix-widget .pretix-widget-wrapper,
.pretix-widget-wrapper,
.pretix-widget .pretix-widget-body,
.pretix-widget-body {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 25px !important;
    overflow: hidden !important;
}


.pretix-widget-compat iframe,
.pretix-widget iframe {
    border: none !important;
    border-radius: 25px !important;
    background: transparent !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    display: block;
    overflow: hidden !important;
}

.pretix-widget-info-message {
    background: rgba(255,255,255,0.12);
    padding: 2rem;
    border-radius: 15px;
    color: var(--color_net);
    font-family: var(--font-text);
    font-size: 1.1rem;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 0 auto;
}

.pretix-widget-info-message a {
    color: var(--color_net_light);
    font-weight: 600;
    text-decoration: none;
}

.pretix-widget-info-message a:hover {
    text-decoration: underline;
}

/* Additional centering for the widget container */
.form-container pretix-widget {
    display: block;
    width: 100%;
    margin: 0 auto;
    border-radius: 25px;
    overflow: hidden;
}

.form-title {
    font-family: var(--font-titles);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color_net);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.registration-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-family: var(--font-text);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color_net);
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-text);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color_net);
    box-shadow: 0 0 0 3px rgba(11, 51, 103, 0.1);
}

.submit-btn {
    background: var(--color_net);
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-family: var(--font-titles);
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: var(--color_net_light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.contact-section {
    background: #f8fafc;
    padding: 3rem 0;
    text-align: center;
}

.contact-info {
    color: #64748b;
}

.contact-info h4 {
    font-family: var(--font-titles);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color_net);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.contact-info p {
    font-family: var(--font-text);
    font-size: 1rem;
    margin: 0;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: var(--color_net);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--color_net_light);
}

/* Section Separators */
.section-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 0;
    position: relative;
    overflow: hidden;
}

.section-separator.gradient-blue {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-2) 100%);
    height: 2px;
    position: relative;
}

.section-separator.gradient-blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 3s infinite;
}

.section-separator.gradient-yellow {
    background: linear-gradient(90deg, transparent, var(--gold-1), transparent);
    height: 3px;
    position: relative;
}

.section-separator.with-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    background: linear-gradient(135deg, var(--color_net) 0%, var(--color_net_light) 100%);
    position: relative;
    overflow: hidden;
}

.section-separator.with-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: 1;
}

.section-separator.with-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 140%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 15px,
            rgba(255, 255, 255, 0.1) 15px,
            rgba(255, 255, 255, 0.1) 20px,
            transparent 20px,
            transparent 35px,
            rgba(255, 255, 255, 0.15) 35px,
            rgba(255, 255, 255, 0.15) 40px
        );
    z-index: 2;
    animation: diagonalSlide 4s linear infinite;
}

@keyframes diagonalSlide {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(100px); }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Inscreve-te Button Enhancement */
#inscreveBtn {
    font-family: var(--font-titles);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 1rem 3rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 100%);
    color: var(--navy);
    box-shadow: 0 8px 24px rgba(217, 169, 59, 0.4);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

#inscreveBtn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

#inscreveBtn:hover::before {
    width: 300px;
    height: 300px;
}

#inscreveBtn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(217, 169, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
}

#inscreveBtn:active {
    transform: translateY(-2px) scale(1.02);
}

@media (max-width: 640px) {
    #inscreveBtn {
        font-size: 1.1rem;
        padding: 0.9rem 2rem;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    #inscreveBtn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

/* Image Placeholder Styles */
.image-placeholder {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border: 2px dashed #cbd5e1;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    color: #64748b;
    font-family: var(--font-text);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    min-height: 200px;
}

.image-placeholder i {
    font-size: 3rem;
    opacity: 0.5;
}

/* Glassmorphism Effects */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Parallax Effect Helper */
.parallax-layer {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 1rem;
        min-height: 60vh;
    }

    .event-title {
        font-size: 2rem;
    }
    
    .event-subtitle {
        font-size: 1rem;
    }
    
    .activity-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 2rem;
    }

    .activity-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .activity-content h3 {
        font-size: 1.8rem;
    }

    .activity-features {
        justify-content: center;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .section-title {
        font-size: 2rem;
        padding: 0 1rem;
    }

    /* Disable parallax on mobile for better performance */
    .info-section,
    .activities-section,
    .registration-section,
    .parallax-layer {
        background-attachment: scroll;
    }
    
    .carousel-title {
        font-size: 2rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2.5rem 0.75rem;
    }
    
    .hero-content > div {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .event-logo, .event-badge {
        width: 110px !important;
        height: 110px !important;
    }
    
    .event-title {
        font-size: 1.75rem;
    }
    
    .event-subtitle {
        font-size: 0.95rem;
    }

    .activity-card {
        padding: 1.5rem;
    }

    .feature-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .form-container {
        padding: 1.5rem 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .carousel-title {
        font-size: 1.75rem;
    }
}

/* --- Moved from inline styles in template --- */
.hero-top-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.event-badge {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--color_net);
    font-size: 0.9rem;
    font-family: var(--font-titles);
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    padding: 3px;             /* yellow rim */
    overflow: hidden;         /* clip to circle */
    box-sizing: border-box;   /* include padding in size */
}

@media (max-width: 640px) {
    .event-badge {
        width: 130px;
        height: 130px;
    }
}

.event-badge img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;        /* enche o círculo, cortando se necessário */
    object-position: 49% center; /* desloca a imagem para a direita */
    display: block;
}

.extras-btn {
    background: linear-gradient(135deg, #00aaff, #0057d9);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 0.8rem;
    font-family: inherit;
    font-size: 0.95rem;
}

.extras-btn:hover {
    background: linear-gradient(135deg, #33bbff, #0077ff);
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(0, 123, 255, 0.4);
}

@media (max-width: 640px) {
    .extras-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Additional Activities (extras) */
.extras-section {
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    justify-items: center;
}

@media (max-width: 992px) {
    .extras-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .extras-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.extras-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    max-width: 300px;
    margin: 0 auto;
    width: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (min-width: 641px) {
    .extras-card {
        width: 300px;
        height: 200px;
    }
}

@media (max-width: 640px) {
    .extras-card {
        padding: 1.5rem;
        max-width: 100%;
        min-height: 160px;
    }
    
    .extras-emoji {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .extras-card-title {
        font-size: 1.1rem;
    }
    
    .extras-card-text {
        font-size: 0.85rem;
    }
}

@media (min-width: 641px) and (max-width: 992px) {
    .extras-card:last-child {
        grid-column: span 2; /* Faz com que o último ocupe as duas colunas em tablets */
        max-width: 300px;
        justify-self: center;
    }
}

@media (min-width: 993px) {
    .extras-card:nth-last-child(1):nth-child(3n+1) {
        grid-column: 2; /* Faz com que o último ocupe a coluna do meio quando for sozinho */
    }
}

.extras-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.extras-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.extras-card-title {
    color: white;
    font-family: var(--font-titles);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.extras-card-text {
    color: #e2e8f0;
    font-family: var(--font-text);
    margin: 0;
    font-size: 0.9rem;
}

/* Carousel spacing tweaks */
.carousel-title { margin-bottom: 0; }
.arc-carousel { padding-top: 0; margin-top: -28px; margin-bottom: -30px}

@media (max-width: 768px) {
    .carousel-title { 
        margin-bottom: 1.5rem;
    }
    .arc-carousel { 
        padding-top: 1rem;
        margin-top: 0;
        margin-bottom: 0;
    }
}

@media (max-width: 640px) {
    .carousel-title { 
        margin-bottom: 2rem;
    }
}
/* Mini info card (white on black text) */
.mini-info-card {
    display: block;            /* allow auto margins to center */
    margin: 0 auto;            /* center horizontally */
    text-align: center;        /* center the text */
    background: #ffffff;
    color: #111827; /* near-black for good contrast */
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-family: var(--font-text);
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
    border: 1px solid rgba(0,0,0,.06);
}

