body {
    background-color: #18181b;
    margin: 0;
    padding: 0;
}

#wica-container {
    font-family: 'Inter', sans-serif;
    background-color: #18181b;
    color: white;
}

#section-diurno,
#section-noturno {
    scroll-margin-top: 40px; /* melhor para scrollIntoView */
}

.gradient-text {
    background: linear-gradient(90deg, #f87171, #fb923c, #facc15);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.card {
    background-color: #27272a;
    border: 1px solid #3f3f46;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
}

#hero {
    background-color: #18181b;
    padding: 1rem;
}

@media (min-width: 1024px) {
    #hero {
        padding: 2rem;
    }
}

@media (max-width: 1023px) {
    #hero {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #hero .hero-content {
        padding-top: 60px;
    }
    #hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    #hero .hero-brand img {
        width: 48px;
        height: 48px;
    }
}

/* Estilos específicos para o hero em mobile */
@media (max-width: 640px) {
    #hero {
        padding: 0.5rem;
        overflow-x: hidden; /* Previne overflow horizontal */
    }

    #hero .hero-content {
        width: 100%;
        max-width: 100vw; /* Garante que não exceda a largura da tela */
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Centraliza o texto do hero em mobile */
    #hero .hero-content > div:first-of-type + div {
        flex-direction: column;
        gap: 0.5rem;
    }

    #hero .hero-content > div:first-of-type + div span {
        font-size: 1.5rem !important;
        line-height: 1.2;
    }
}

.date-time-badge {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    color: #18181b;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    display: block;
    text-align: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.time-badge {
    background: linear-gradient(90deg, #10b981, #059669);
    color: white;
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    display: inline-block;
    text-align: center;
    margin-bottom: 0.5rem;
}

.virtual-room-btn {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    color: white;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.virtual-room-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
}

.virtual-room-btn:disabled {
    background: #6b7280;
    cursor: not-allowed;
    transform: none;
}

.help-text {
    background-color: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #93c5fd;
    text-align: left;
}

.help-text strong {
    color: #60a5fa;
    font-weight: 600;
}

.event-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: space-between;
}

.card-header {
    width: 100%;
    flex-shrink: 0;
}

.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.card-footer {
    width: 100%;
    flex-shrink: 0;
    margin-top: auto;
}

.event-title {
    text-align: center;
    margin: 0.75rem 0 0.5rem 0;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-company {
    min-height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.event-mediator {
    min-height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
}

.event-description {
    text-align: center;
    line-height: 1.6;
    margin: 0.75rem 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
}

.event-tags {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    min-height: 2rem;
    align-items: flex-start;
}

.speaker-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f87171;
    margin: 0.5rem auto;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.speaker-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.linkedin-btn {
    position: absolute;
    bottom: -5px;
    right: calc(50% - 50px);
    background: linear-gradient(45deg, #0077b5, #00a0dc);
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 119, 181, 0.3);
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.linkedin-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.5);
    background: linear-gradient(45deg, #005885, #0077b5);
    color: white;
    text-decoration: none;
}

.linkedin-btn:before {
    content: "in";
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 12px;
}

.event-block {
    position: relative;
}

.event-block:not(:first-child):before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    margin: 1rem 0;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: #27272a;
    border: 1px solid #3f3f46;
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: color 0.2s;
}

.modal-close:hover {
    color: white;
}

.modal h3 {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.modal p {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.recording-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #3f3f46;
    border-radius: 8px;
    background-color: #18181b;
    color: white;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.recording-input::placeholder {
    color: #6b7280;
}

.save-recording-btn {
    background: linear-gradient(90deg, #10b981, #059669);
    color: white;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.save-recording-btn:hover {
    background: linear-gradient(90deg, #059669, #047857);
}

/* Estilos para navegação por período */
.period-toggle {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #9ca3af;
    margin: 0 2px;
}

.period-toggle:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.period-toggle.active {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    color: #18181b;
    font-weight: bold;
}

/* Indicador de scroll */
.scroll-indicator {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: bold;
    backdrop-filter: blur(10px);
    border: 1px solid #3f3f46;
    animation: bounce 2s infinite;
    z-index: 100;
}

.scroll-indicator.hidden {
    display: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Seções com scroll suave */
html {
    scroll-behavior: smooth;
}

/* Sistema de notificações rotativas */
.notification-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.5s ease-out;
    font-size: 0.9rem;
    line-height: 1.6;
}

.notification-banner.notification-1 {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.notification-banner.notification-2 {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.notification-banner strong {
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.notification-banner a {
    color: #fef3c7;
    text-decoration: underline;
    font-weight: 600;
}

.notification-banner a:hover {
    color: white;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.notification-banner.fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}

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

/* Ajuste do conteúdo para não ficar sob a notificação */
body {
    padding-top: 80px;
}

@media (max-width: 640px) {
    .notification-banner {
        font-size: 0.85rem;
        padding: 0.875rem 0.75rem;
    }
    body {
        padding-top: 100px;
    }
}