/* ============================================
   RESET E VARIÁVEIS GLOBAIS
   ============================================ */

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

:root {
    --color-primary: #ff00ff;
    --color-secondary: #00ffff;
    --color-accent: #ffa500;
    --color-dark: #0a0a0a;
    --color-darker: #050505;
    --color-text: #ffffff;
    --color-text-secondary: #cccccc;
    --font-primary: 'Arial', sans-serif;
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

/* ============================================
   TIPOGRAFIA E ELEMENTOS BASE
   ============================================ */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, var(--color-darker) 0%, #1a0033 50%, #330033 100%);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 0, 255, 0.5);
}

h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
}

p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

/* ============================================
   LAYOUT PRINCIPAL
   ============================================ */

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

header {
    text-align: center;
    padding: 60px 20px 40px;
    border-bottom: 2px solid var(--color-primary);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
    margin-bottom: 40px;
}

header h1 {
    margin: 0;
    font-size: 3rem;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 60px;
}

footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 2px solid var(--color-secondary);
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-top: auto;
}

/* ============================================
   SEÇÕES
   ============================================ */

section {
    padding: 40px;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    transition: var(--transition);
}

.agradecimento {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1), rgba(0, 255, 255, 0.1));
    border-color: var(--color-primary);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.2);
    text-align: center;
}

.agradecimento h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.agradecimento p {
    font-size: 1.3rem;
    color: var(--color-text);
    max-width: 600px;
    margin: 0 auto;
}

.final-evento {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1), rgba(255, 0, 255, 0.1));
    border-color: var(--color-accent);
    box-shadow: 0 0 30px rgba(255, 165, 0, 0.2);
    text-align: center;
}

.final-evento h2 {
    color: var(--color-accent);
    text-shadow: 0 0 20px rgba(255, 165, 0, 0.5);
    margin-bottom: 30px;
}

.final-evento p {
    font-size: 1.2rem;
    color: var(--color-text);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

/* ============================================
   BOTÕES
   ============================================ */

.btn-ingresso {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(90deg, var(--color-accent), #ff6600);
    color: var(--color-dark);
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.4);
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.btn-ingresso:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(255, 165, 0, 0.8);
    color: var(--color-dark);
}

.btn-ingresso:active {
    transform: translateY(-1px);
}

/* ============================================
   ANIMAÇÕES
   ============================================ */

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

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

section {
    animation: slideIn 0.8s ease-out;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    header {
        padding: 40px 20px 30px;
        margin-bottom: 30px;
    }

    main {
        gap: 40px;
        margin-bottom: 40px;
    }

    section {
        padding: 30px 20px;
    }

    .agradecimento h2 {
        font-size: 2rem;
    }

    .agradecimento p,
    .final-evento p {
        font-size: 1.1rem;
    }

    .btn-ingresso {
        padding: 15px 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 12px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    header {
        padding: 30px 15px 20px;
        margin-bottom: 20px;
        border-bottom: 1px solid var(--color-primary);
    }

    main {
        gap: 30px;
        margin-bottom: 30px;
    }

    section {
        padding: 25px 15px;
        border-radius: 6px;
    }

    .agradecimento h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .agradecimento p,
    .final-evento p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .btn-ingresso {
        padding: 12px 30px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
    }

    footer {
        padding: 20px 15px;
        font-size: 0.85rem;
    }
}

/* ============================================
   ACESSIBILIDADE
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   MODO ESCURO (PADRÃO) E SUPORTE A MODO CLARO
   ============================================ */

@media (prefers-color-scheme: light) {
    :root {
        --color-dark: #f5f5f5;
        --color-darker: #ffffff;
        --color-text: #1a1a1a;
        --color-text-secondary: #555555;
    }

    body {
        background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #e8e8e8 100%);
    }

    section {
        background: rgba(255, 255, 255, 0.9) !important;
        border-color: var(--color-primary) !important;
    }
}
