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

:root {
    --navy-dark: #0a1628;
    --navy: #0d2137;
    --orange: #ff6b00;
    --orange-light: #ff8c00;
    --orange-glow: rgba(255, 107, 0, 0.3);
    --white: #ffffff;
    --glass-bg: rgba(10, 22, 40, 0.75);
    --glass-border: rgba(255, 255, 255, 0.12);
    --font-main: 'Montserrat', sans-serif;
    --font-mono: 'Orbitron', sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--navy-dark);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/fundo.jpg') center center / cover no-repeat;
    z-index: -2;
    filter: brightness(0.6) contrast(1.1);
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(10, 22, 40, 0.75) 0%, 
        rgba(13, 33, 55, 0.65) 100%);
    z-index: -1;
}

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.main-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.logo-container {
    margin-bottom: 24px;
    animation: fadeInDown 1s ease-out;
}

.logo {
    max-width: 380px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.4))
            brightness(1.05)
            contrast(1.1);
    opacity: 0.95;
    transition: all 0.4s ease;
}

.logo:hover {
    transform: scale(1.02);
    opacity: 1;
}

.glass-card {
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.header-section {
    text-align: center;
    margin-bottom: 40px;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: var(--white);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 20px var(--orange-glow); }
    50% { box-shadow: 0 0 35px var(--orange-glow); }
}

.main-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.main-title .highlight {
    display: block;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto;
}

.subtitle strong {
    color: var(--orange-light);
}

.section-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--orange);
    text-align: center;
    margin-bottom: 24px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    margin: 10px auto 0;
}

.countdown-section {
    margin-bottom: 36px;
}

.countdown-wrapper {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto;
}

.countdown-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.countdown-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 8;
}

.countdown-progress {
    fill: none;
    stroke: url(#countdown-gradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 565.48;
    stroke-dashoffset: 565.48;
    transition: stroke-dashoffset 1s ease;
}

.countdown-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.countdown-days {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4px;
}

.count-value {
    font-family: var(--font-mono);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.count-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--orange);
    margin-top: 4px;
}

.countdown-time {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
}

.progress-section {
    margin-bottom: 36px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.progress-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.progress-percent {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--orange);
}

.progress-bar-container {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    border-radius: 10px;
    position: relative;
    transition: width 2s ease;
    box-shadow: 0 0 15px var(--orange-glow);
}

.progress-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 2s ease-in-out infinite;
}

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

.clock-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 28px;
    margin-bottom: 36px;
}

.clock-icon {
    font-size: 2rem;
    animation: clockPulse 2s ease-in-out infinite;
}

@keyframes clockPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.clock-info {
    display: flex;
    flex-direction: column;
}

.clock-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
}

.clock-value {
    font-family: var(--font-mono);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 3px;
}

.clock-date {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

.pillars-section {
    margin-bottom: 36px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.pillar-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.4s ease;
    opacity: 0;
    animation: pillarFadeIn 0.6s ease forwards;
}

.pillar-card:nth-child(1) { animation-delay: 0.5s; }
.pillar-card:nth-child(2) { animation-delay: 0.65s; }
.pillar-card:nth-child(3) { animation-delay: 0.8s; }
.pillar-card:nth-child(4) { animation-delay: 0.95s; }
.pillar-card:nth-child(5) { animation-delay: 1.1s; }

@keyframes pillarFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pillar-card:hover {
    background: rgba(255, 107, 0, 0.1);
    border-color: var(--orange);
    transform: translateY(-6px);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    color: var(--orange);
    transition: all 0.4s ease;
}

.pillar-icon svg {
    width: 100%;
    height: 100%;
}

.pillar-card:hover .pillar-icon {
    color: var(--orange-light);
    transform: scale(1.15);
}

.pillar-name {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.location-section {
    text-align: center;
    margin-bottom: 28px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.flag-group {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}

.flag {
    font-size: 2rem;
    animation: flagWave 3s ease-in-out infinite;
}

.flag:nth-child(2) { animation-delay: 0.5s; }

@keyframes flagWave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

.location-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.contact-section {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.contact-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--orange);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--orange-light);
}

.footer {
    text-align: center;
    margin-top: 32px;
    padding: 20px;
}

.footer p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 6px;
}

.footer-tagline {
    font-style: italic;
    color: rgba(255, 107, 0, 0.5);
    font-size: 0.8rem;
}

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

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

@media (max-width: 768px) {
    .logo { max-width: 300px; }
    .main-title { font-size: 1.5rem; }
    .pillars-grid { grid-template-columns: repeat(3, 1fr); }
    .countdown-wrapper { width: 200px; height: 200px; }
    .count-value { font-size: 2.2rem; }
}

@media (max-width: 480px) {
    .glass-card { padding: 32px 20px; }
    .main-title { font-size: 1.2rem; }
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .countdown-wrapper { width: 180px; height: 180px; }
    .count-value { font-size: 1.8rem; }
}