:root {
    --primary-color: #0066cc;
    --primary-dark: #004499;
    --primary-light: #4d99e6;
    --secondary-color: #00d2ff;
    --accent-color: #ffaa00;
    --dark-bg: #0a192f;
    --dark-surface: #112240;
    --text-main: #ccd6f6;
    --text-muted: #8892b0;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --text-dark: #2d3748;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.btn-outline {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

/* Typography styles */
.highlight {
    color: var(--secondary-color);
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

.highlight-text {
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 25, 47, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.05em;
}

.logo-dot {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link,
.dropbtn {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.nav-link:hover,
.dropbtn:hover {
    color: var(--secondary-color);
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    padding: 10px 0;
    z-index: 1001;
    transition: var(--transition);
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 20px;
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
}

.dropdown-content a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding-left: 25px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.85), rgba(0, 31, 63, 0.9)), url('../img/fundo.jpg') center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 210, 255, 0.15), transparent 40%),
        radial-gradient(circle at bottom left, rgba(0, 102, 204, 0.2), transparent 40%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--white);
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 90px;
}

.wave-divider .shape-fill {
    fill: var(--light-bg);
}

/* Sections */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-bg);
}

.view-all {
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-all:hover {
    color: var(--secondary-color);
    gap: 12px;
}

/* News Section */
.news-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.news-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.news-image {
    background-color: var(--primary-light);
    background-image: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    height: 300px;
    width: 100%;
    position: relative;
}

.highlight-card .news-image {
    height: 350px;
}

.news-card.compact {
    flex-direction: row;
    height: 140px;
}

.news-card.compact .news-image {
    height: 100%;
    width: 140px;
    flex-shrink: 0;
}

.news-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card.compact .news-content {
    padding: 16px;
    justify-content: center;
}

.category {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.news-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--dark-bg);
}

.news-card.compact h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark-bg);
    line-height: 1.4;
}

.news-content p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.date {
    font-size: 0.85rem;
    color: #a0aec0;
    font-weight: 500;
    margin-top: auto;
}

.side-news {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Info Section */
.info-section {
    padding: 60px 0 100px;
    background: var(--light-bg);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.ranking-panel,
.next-stage-panel {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.panel-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf2f7;
}

.panel-header h3 {
    font-size: 1.5rem;
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.panel-header h3 i {
    color: var(--accent-color);
}

.ranking-list {
    flex-grow: 1;
    margin-bottom: 24px;
}

.ranking-list li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.ranking-list li:last-child {
    border-bottom: none;
}

.rank {
    width: 30px;
    height: 30px;
    background: var(--light-bg);
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-right: 16px;
}

.ranking-list li:nth-child(1) .rank {
    background: #ffd700;
    color: #000;
}

.ranking-list li:nth-child(2) .rank {
    background: #e0e0e0;
    color: #000;
}

.ranking-list li:nth-child(3) .rank {
    background: #cd7f32;
    color: #fff;
}

.name {
    font-weight: 600;
    flex-grow: 1;
}

.points {
    font-weight: 700;
    color: var(--primary-color);
}

.panel-btn {
    display: block;
    text-align: center;
    padding: 14px;
    background: var(--light-bg);
    color: var(--dark-bg);
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.panel-btn:hover {
    background: #e2e8f0;
}

.panel-btn.primary {
    background: var(--primary-color);
    color: var(--white);
}

.panel-btn.primary:hover {
    background: var(--primary-dark);
}

.stage-info {
    flex-grow: 1;
    margin-bottom: 24px;
}

.stage-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.stage-info h4 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--dark-bg);
}

.stage-info p {
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.countdown {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.time-box {
    background: var(--dark-bg);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.time-box span {
    display: block;
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 4px;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-main);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 20px 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .highlight-card .news-image {
        height: 250px;
    }
}

@media (max-width: 768px) {

    .nav-actions .btn {
        display: none;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(10, 25, 47, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links > a, 
    .nav-links .dropbtn {
        padding: 1rem 2rem;
        width: 100%;
        text-align: left;
    }

    .nav-links .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: rgba(255,255,255,0.05);
        display: none;
        min-width: 100%;
    }

    .nav-links .dropdown:hover .dropdown-content {
        display: flex;
        flex-direction: column;
    }

    .nav-links .dropdown-content a {
        color: var(--white);
        padding: 1rem 3rem;
    }

    .nav-links .dropdown-content a:hover {
        background-color: rgba(255,255,255,0.1);
        color: var(--secondary-color);
        padding-left: 3.5rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .news-card.compact {
        flex-direction: column;
        height: auto;
    }

    .news-card.compact .news-image {
        width: 100%;
        height: 180px;
    }
}