/**
 * Sistema de Eventos - Estilos (Tema Escuro Unificado)
 * Paleta: #0a0a0a, #111111, #A020F0, #8B00FF
 * Com animações e hover effects modernos
 */

/* Reset e fundo único */
.ead-event-page {
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: #fff;
    line-height: 1.6;
    background: #0a0a0a;
    min-height: 100vh;
}

.ead-event-page,
.ead-event-page * {
    box-sizing: border-box;
}

/* Animações */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* HERO - Full Width 1920x600 */
.ead-event-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ead-event-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 17, 23, 0.3) 0%, rgba(13, 17, 23, 0.95) 100%);
}

.ead-event-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
    max-width: 1200px;
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
}

.ead-event-badge {
    display: inline-block;
    background: linear-gradient(135deg, #A020F0, #6B21A8);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.ead-event-hero-content h1 {
    font-size: clamp(28px, 5vw, 48px);
    color: #fff;
    margin: 0 0 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.ead-event-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    color: rgba(255,255,255,0.9);
    margin: 0 0 30px;
}

.ead-event-info-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.ead-event-info-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 20px 25px;
    min-width: 180px;
    text-align: center;
}

.ead-event-info-card .icon {
    display: block;
    font-size: 28px;
    margin-bottom: 8px;
}

.ead-event-info-card .label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ead-event-info-card .value {
    display: block;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    margin-top: 5px;
}

.ead-event-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #A020F0, #8B00FF);
    color: #fff !important;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(160, 32, 240, 0.4);
}

.ead-event-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(160, 32, 240, 0.5);
    color: #fff !important;
}

/* SECTIONS - Fundo único escuro */
.ead-event-section {
    padding: 80px 20px;
    background: #0a0a0a;
    animation: fadeIn 0.6s ease-out;
}

.ead-event-section:first-of-type {
    padding-top: 100px;
}

.ead-event-container {
    max-width: 1000px;
    margin: 0 auto;
}

.ead-event-section h2 {
    font-size: 32px;
    color: #A020F0;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.ead-event-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #A020F0, #8B00FF);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ABOUT */
.ead-event-about {
    background: #0a0a0a;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.ead-event-about p {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #c0c0c0;
    line-height: 1.8;
}

/* TOPICS */
.ead-event-topics {
    background: #0a0a0a;
}

.ead-event-topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.ead-event-topic-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

.ead-event-topic-card:hover {
    border-color: #A020F0;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(160, 32, 240, 0.2);
    background: rgba(160, 32, 240, 0.08);
}

.ead-event-topic-card .topic-icon {
    font-size: 36px;
    margin-bottom: 15px;
    display: block;
    transition: transform 0.3s;
}

.ead-event-topic-card:hover .topic-icon {
    transform: scale(1.2);
}

.ead-event-topic-card h3 {
    font-size: 16px;
    color: #fff;
    margin: 0;
    font-weight: 500;
}

/* SPEAKERS */
.ead-event-speakers {
    background: #0a0a0a;
}

.ead-event-speakers h2 {
    color: #A020F0;
}

.ead-event-speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.ead-event-speaker-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.ead-event-speaker-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #A020F0, #8B00FF);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.ead-event-speaker-card:hover::before {
    transform: scaleX(1);
}

.ead-event-speaker-card:hover {
    background: rgba(160, 32, 240, 0.08);
    border-color: #A020F0;
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(160, 32, 240, 0.2);
}

.speaker-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(160, 32, 240, 0.3);
    transition: all 0.3s;
}

.ead-event-speaker-card:hover .speaker-photo {
    border-color: #A020F0;
    transform: scale(1.05);
}

.speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #A020F0, #6B21A8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    transition: transform 0.3s;
}

.ead-event-speaker-card:hover .speaker-avatar {
    transform: scale(1.05);
}

.ead-event-speaker-card h3 {
    font-size: 20px;
    margin: 0 0 5px;
    color: #fff;
}

.speaker-title {
    font-size: 13px;
    color: #A020F0;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.speaker-topic {
    font-size: 14px;
    color: #888;
    margin: 0 0 15px;
    line-height: 1.5;
}

.speaker-bio {
    font-size: 13px;
    color: #666;
    margin: 0 0 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.speaker-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

.speaker-socials a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
}

.speaker-socials a:hover {
    background: #A020F0;
    border-color: #A020F0;
    color: #fff;
    transform: translateY(-3px);
}

/* INCLUDES */
.ead-event-includes {
    background: #0a0a0a;
}

.ead-event-includes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.ead-event-include-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #0a0a0a;
    padding: 20px 25px;
    border-radius: 12px;
    border-left: 4px solid #A020F0;
    color: #fff;
}

.include-icon {
    font-size: 28px;
}

/* RULES */
.ead-event-rules {
    background: #0a0a0a;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.ead-event-rules h2 {
    color: #A020F0;
}

.ead-event-rules-box {
    background: #111111;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.rule-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #e0e0e0;
}

.rule-item:last-child {
    border-bottom: none;
}

.rule-item strong {
    color: #fff;
}

.rule-icon {
    font-size: 24px;
}

/* INVESTMENT / PÚBLICO ALVO */
.ead-event-investment {
    background: #0a0a0a;
}

.ead-event-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.ead-event-col h2 {
    color: #A020F0;
    font-size: 24px;
    margin-bottom: 20px;
}

.ead-event-col p {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.8;
}

.ead-event-price-box {
    background: #111111;
    border: 2px solid #A020F0;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
}

.ead-event-price {
    margin: 20px 0;
}

.ead-event-price .price-currency {
    font-size: 24px;
    color: #A020F0;
    vertical-align: top;
}

.ead-event-price .price-value {
    font-size: 56px;
    font-weight: 700;
    color: #fff;
}

.ead-event-price .price-value.free {
    font-size: 36px;
    color: #10B981;
}

.price-note {
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
}

.ead-event-cta-btn-small {
    display: inline-block;
    background: linear-gradient(135deg, #A020F0, #8B00FF);
    color: #fff !important;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.ead-event-cta-btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(160, 32, 240, 0.4);
    color: #fff !important;
}

@media (max-width: 768px) {
    .ead-event-two-cols {
        grid-template-columns: 1fr;
    }
}

/* REGISTRATION FORM */
.ead-event-registration {
    background: linear-gradient(135deg, #0a0a0a, #111111);
    color: #fff;
}

.ead-event-registration h2 {
    color: #fff;
}

.ead-event-spots {
    text-align: center;
    font-size: 18px;
    color: #F59E0B;
    margin-bottom: 30px;
}

.ead-event-form {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}

.ead-event-form .form-group {
    margin-bottom: 20px;
}

.ead-event-form label {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
}

.ead-event-form input[type="text"],
.ead-event-form input[type="email"],
.ead-event-form input[type="tel"] {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.ead-event-form input:focus {
    outline: none;
    border-color: #A020F0;
    background: rgba(160, 32, 240, 0.1);
}

.ead-event-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #A020F0;
}

.ead-event-submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #A020F0, #8B00FF);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ead-event-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(160, 32, 240, 0.4);
}

.ead-event-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.ead-event-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.ead-event-form-message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #EF4444;
    color: #FCA5A5;
}

.ead-event-form-message.success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10B981;
    color: #6EE7B7;
}

/* MODAL DE TERMOS */
.ead-terms-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ead-terms-modal-content {
    background: #111111;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    animation: fadeInUp 0.3s ease-out;
}

.terms-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: #0a0a0a;
}

.terms-modal-header h3 {
    color: #A020F0;
    margin: 0;
    font-size: 20px;
}

.terms-modal-close {
    background: none;
    border: none;
    color: #888;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.terms-modal-close:hover { color: #fff; }

.terms-modal-body {
    padding: 25px;
    max-height: 50vh;
    overflow-y: auto;
    color: #c0c0c0;
    line-height: 1.7;
}

.terms-modal-body ul { padding-left: 20px; margin: 15px 0; }
.terms-modal-body li { margin-bottom: 10px; }

.terms-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.btn-accept-terms {
    background: linear-gradient(135deg, #A020F0, #8B00FF);
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-accept-terms:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(160,32,240,0.4);
}

.terms-link {
    color: #A020F0 !important;
    text-decoration: underline;
    font-weight: 600;
}

.terms-link:hover { color: #8B00FF !important; }

/* CARDS DE EVENTOS (estilo Netflix) */
.ead-events-grid-container {
    background: #0a0a0a;
    padding: 40px 20px;
}

.ead-events-grid-title {
    color: #A020F0;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.ead-events-netflix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.ead-event-netflix-card {
    background: #111111;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.ead-event-netflix-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(160, 32, 240, 0.3);
    border-color: #A020F0;
}

.ead-event-netflix-image {
    position: relative;
    height: 180px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.ead-event-netflix-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(13, 17, 23, 0.9) 100%);
}

.ead-event-netflix-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #A020F0, #8B00FF);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 1;
}

.ead-event-netflix-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(160, 32, 240, 0.3);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.ead-event-netflix-card:hover .ead-event-netflix-play { opacity: 1; }

.ead-event-netflix-play span {
    width: 60px;
    height: 60px;
    background: #A020F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.ead-event-netflix-content { padding: 20px; }

.ead-event-netflix-content h3 {
    color: #fff;
    font-size: 18px;
    margin: 0 0 10px;
    line-height: 1.3;
}

.ead-event-netflix-date {
    color: #A020F0;
    font-size: 14px;
    margin-bottom: 8px;
}

.ead-event-netflix-price {
    color: #10B981;
    font-size: 16px;
    font-weight: 700;
}

.ead-event-netflix-meta {
    display: flex;
    gap: 15px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #666;
    font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .ead-event-hero {
        min-height: 100vh;
    }
    
    .ead-event-info-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .ead-event-info-card {
        width: 100%;
        max-width: 300px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .ead-event-form {
        padding: 25px;
    }
    
    .ead-event-section {
        padding: 40px 15px;
    }
    
    .ead-events-netflix-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}
