:root {
    --gold-start: #f19a5c;
    --gold-end: #f9db6f;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --light-gray: #333333;
}

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

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.agenda-table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(241, 154, 92, 0.3);
}

.agenda-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.agenda-table thead tr {
    background: linear-gradient(90deg, var(--gold-start), var(--gold-end));
}

.agenda-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 700;
    color: #000;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.agenda-table tbody tr {
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(241, 154, 92, 0.15);
    transition: all 0.3s ease;
}

.agenda-table tbody tr:hover {
    background: rgba(241, 154, 92, 0.1);
}

.agenda-table tbody tr.highlight-row {
    background: linear-gradient(90deg, rgba(241, 154, 92, 0.15), rgba(249, 219, 111, 0.1));
}

.agenda-table tbody tr.highlight-row td {
    font-weight: 600;
}

.agenda-table td {
    padding: 1rem 1.25rem;
    color: #fff;
    border-bottom: 1px solid rgba(241, 154, 92, 0.1);
}

.agenda-table td:first-child,
.agenda-table td:nth-child(2) {
    font-weight: 600;
    background: linear-gradient(90deg, var(--gold-start), var(--gold-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.agenda-table td:last-child {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .agenda-table {
        font-size: 0.85rem;
    }
    
    .agenda-table th,
    .agenda-table td {
        padding: 0.75rem 0.75rem;
    }
    
    .agenda-table th {
        font-size: 0.8rem;
    }
}

.font-display {
    font-family: 'Garet', sans-serif;
}

.flag img {
    display: inline-flex;
    margin: 0 20px 0 0;
    width: 38px;
}

.text-gold {
    background: linear-gradient(90deg, var(--gold-start), var(--gold-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.speaker-placeholder img {
    border-radius: 100px;
    padding: 1px;
}

#speakers-uy .section-title img {
    display: inline-flex;
    margin-left: 20px;
}
#speakers .section-title img {
    display: inline-flex;
    margin-left: 20px;
}

.bg-dark-gray {
    background-color: var(--dark-gray);
}

.border-gold\/20 {
    border-color: rgba(241, 154, 92, 0.2);
}

.border-gold\/30 {
    border-color: rgba(241, 154, 92, 0.3);
}

.hero-section {
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    padding-top: 80px;
}

.chess-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/3.jpg'),
        linear-gradient(45deg, #1a1a1a 25%, transparent 25%),
        linear-gradient(-45deg, #1a1a1a 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #1a1a1a 75%),
        linear-gradient(-45deg, transparent 75%, #1a1a1a 75%);
    background-size: cover;
    opacity: 0.15;
    z-index: 1;
}

.chess-pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, #0a0a0a 25%, transparent 25%),
        linear-gradient(-45deg, #0a0a0a 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #0a0a0a 75%),
        linear-gradient(-45deg, transparent 75%, #0a0a0a 75%);
    background-size: 80px 80px;
    background-position: 0 0, 0 40px, 40px -40px, -40px 0px;
    opacity: 0.1;
}

.chess-piece img {
    filter: drop-shadow(0 10px 30px rgba(241, 154, 92, 0.4)) drop-shadow(0 10px 30px rgba(249, 219, 111, 0.3));
    animation: float 6s ease-in-out infinite;
}

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

.section-title {
    font-family: 'Garet', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--gold-start), var(--gold-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-start), var(--gold-end), transparent);
}

.event-badge {
    background: linear-gradient(90deg, rgba(241, 154, 92, 0.15), rgba(249, 219, 111, 0.15));
    border: 1px solid rgba(241, 154, 92, 0.3);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}

.event-card {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border: 1px solid rgba(241, 154, 92, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(241, 154, 92, 0.2), rgba(249, 219, 111, 0.2), transparent);
    transition: left 0.5s ease;
}

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

.event-card:hover {
    transform: translateY(-10px);
    border: 2px solid var(--gold-start);
    box-shadow: 
        0 0 0 1px var(--gold-end),
        0 20px 40px rgba(241, 154, 92, 0.3), 
        0 20px 40px rgba(249, 219, 111, 0.2),
        inset 0 0 30px rgba(241, 154, 92, 0.1);
}

.event-card-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(241, 154, 92, 0.2);
    margin-bottom: 1.5rem;
}

.cta-button {
    background: linear-gradient(90deg, var(--gold-start), var(--gold-end));
    color: #000;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(241, 154, 92, 0.5), 0 10px 30px rgba(249, 219, 111, 0.3);
}

.concept-quote {
    background: linear-gradient(90deg, rgba(241, 154, 92, 0.08), rgba(249, 219, 111, 0.05));
    border-left: 4px solid var(--gold-start);
    padding: 2rem;
    border-radius: 8px;
}

.concept-box {
    background: linear-gradient(145deg, #0a0a0a, #1a1a1a);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(241, 154, 92, 0.2);
}

.storyline-box {
    background: url('img/bg-chess.png') no-repeat center center;
    background-size: cover;
    border: 2px solid rgba(241, 154, 92, 0.4);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold-start), var(--gold-end), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(90deg, rgba(241, 154, 92, 0.05), rgba(249, 219, 111, 0.03));
    border-radius: 12px;
    border: 1px solid rgba(241, 154, 92, 0.2);
    transition: all 0.3s ease;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -48px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(241, 154, 92, 0.6), 0 0 10px rgba(249, 219, 111, 0.4);
}

.timeline-item.highlight {
    background: linear-gradient(90deg, rgba(241, 154, 92, 0.12), rgba(249, 219, 111, 0.08));
    border-color: var(--gold-start);
}

.timeline-item:hover {
    background: linear-gradient(90deg, rgba(241, 154, 92, 0.12), rgba(249, 219, 111, 0.08));
    transform: translateX(10px);
}

.timeline-time {
    font-weight: 700;
    background: linear-gradient(90deg, var(--gold-start), var(--gold-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.speaker-card {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border-radius: 12px;
    border: 1px solid rgba(241, 154, 92, 0.2);
    transition: all 0.3s ease;
}

.speaker-card:hover {
    border: 2px solid var(--gold-start);
    transform: translateY(-5px);
    box-shadow: 
        0 0 0 1px var(--gold-end),
        0 10px 30px rgba(241, 154, 92, 0.3),
        0 10px 30px rgba(249, 219, 111, 0.2),
        inset 0 0 20px rgba(241, 154, 92, 0.08);
}

.speaker-placeholder {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(241, 154, 92, 0.15), rgba(249, 219, 111, 0.1));
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(241, 154, 92, 0.4);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    box-shadow: 0 0 20px rgba(241, 154, 92, 0.3), 0 0 10px rgba(249, 219, 111, 0.2);
}

.whatsapp-button {
    background: #25D366;
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    background: #20BA5A;
    transform: scale(1.05);
}

#mobile-menu a {
    border-bottom: 1px solid rgba(241, 154, 92, 0.1);
}

.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-track-container {
    overflow: hidden;
    flex: 1;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    flex: 0 0 calc(25% - 1.125rem);
    margin-right: 1.5rem;
    display: block;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-slide:last-child {
    margin-right: 0;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(241, 154, 92, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.carousel-slide:hover::before {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.carousel-slide:hover img {
    transform: scale(1.05);
}

.carousel-btn {
    background: linear-gradient(135deg, rgba(241, 154, 92, 0.9), rgba(249, 219, 111, 0.9));
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #000;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(241, 154, 92, 0.4);
    flex-shrink: 0;
    z-index: 10;
}

.carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(241, 154, 92, 0.6), 0 6px 25px rgba(249, 219, 111, 0.4);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(241, 154, 92, 0.3);
    border: 2px solid rgba(241, 154, 92, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: rgba(241, 154, 92, 0.6);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
    border-color: var(--gold-end);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(241, 154, 92, 0.6);
}

@media (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 100%;
        margin-right: 0;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-wrapper {
        gap: 0.5rem;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline-item::before {
        left: -38px;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
