* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: #212529;
    overflow-x: hidden;
}

/* ========================================
   TEMA AZUL CLARO - TIJOLO DA FÉ
   ======================================== */

:root {
    /* Cores Principais - AZUL */
    --primary-color: #0ea5e9;
    --primary-hover: #0284c7;
    --primary-light: #38bdf8;
    --primary-dark: #0369a1;
    
    /* Cores de Texto */
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-light: #adb5bd;
    
    /* Cores de Fundo */
    --bg-main: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --bg-hover: #f1f3f5;
    --bg-dark: #0c0c0c;
    --bg-dark-secondary: #1a1a2e;
    
    /* Bordas */
    --border-color: #dee2e6;
    --border-radius: 12px;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    --shadow-primary: 0 4px 20px rgba(14, 165, 233, 0.3);
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0ea5e9;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #0ea5e9;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0ea5e9;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-login {
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.btn-login:hover {
    color: #0ea5e9;
}

.btn-register {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-register:hover {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.4);
}

/* Hero Section */
.hero-section {
    margin-top: 80px;
    padding: 4rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-banner {
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: #212529;
    text-shadow: none;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 3.5rem;
    font-weight: 900;
    color: #0ea5e9;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-cta {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: white;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(14, 165, 233, 0.4);
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

/* ========================================
   STEPS & GAMES SECTIONS - TEMA AZUL
   ======================================== */

/* Steps Section */
.steps-section {
    padding: 4rem 2rem;
    background: 
        radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(56, 189, 248, 0.03) 0%, transparent 50%),
        #ffffff;
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

/* Connecting Lines */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, 
        #0ea5e9 0%, 
        #0ea5e9 33%, 
        rgba(14, 165, 233, 0.3) 33%, 
        rgba(14, 165, 233, 0.3) 66%, 
        rgba(14, 165, 233, 0.3) 66%, 
        rgba(14, 165, 233, 0.3) 100%
    );
    z-index: 1;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateY(-8px);
}

.step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(145deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid rgba(14, 165, 233, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #6c757d;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.step-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-icon:hover::before,
.step-icon.active::before {
    opacity: 1;
}

.step-icon.active {
    border-color: #0ea5e9;
    color: #0ea5e9;
    box-shadow: 
        0 0 30px rgba(14, 165, 233, 0.3),
        0 0 60px rgba(14, 165, 233, 0.1);
    background: linear-gradient(145deg, rgba(14, 165, 233, 0.1) 0%, rgba(56, 189, 248, 0.05) 100%);
}

.step-icon:hover {
    border-color: rgba(14, 165, 233, 0.6);
    color: #0ea5e9;
    transform: scale(1.05);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.step-title.active {
    color: #0ea5e9;
}

.step-item:hover .step-title {
    color: #0ea5e9;
}

.step-description {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.step-item:hover .step-description {
    color: #495057;
}

/* Games Section */
.games-section {
    padding: 4rem 2rem;
    background: 
        radial-gradient(circle at 20% 80%, rgba(14, 165, 233, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.05) 0%, transparent 50%),
        #f8f9fa;
}

.games-container {
    max-width: 1200px;
    margin: 0 auto;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.game-category {
    background: #ffffff;
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.game-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(56, 189, 248, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.game-category:hover::before {
    opacity: 1;
}

.game-category:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 40px rgba(14, 165, 233, 0.1);
}

.game-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(56, 189, 248, 0.1) 100%);
    border: 3px solid rgba(14, 165, 233, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #0ea5e9;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.game-category:hover .game-icon {
    border-color: #0ea5e9;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2) 0%, rgba(56, 189, 248, 0.15) 100%);
    box-shadow: 
        0 0 40px rgba(14, 165, 233, 0.3),
        0 0 80px rgba(14, 165, 233, 0.1);
    transform: scale(1.05);
}

.game-title {
    font-size: 2rem;
    font-weight: 800;
    color: #212529;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.game-category:hover .game-title {
    color: #0ea5e9;
}

.game-description {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.game-category:hover .game-description {
    color: #495057;
}

.game-btn {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-btn:hover {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.4);
    color: white;
}

.game-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.game-btn:hover i {
    transform: translateX(4px);
}

/* Prize Carousel */
.prize-carousel {
    padding: 2rem 0;
    background: #f8f9fa;
    overflow: hidden;
}

.prize-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll 30s linear infinite;
    padding: 1rem 0;
}

.prize-item {
    min-width: 200px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(56, 189, 248, 0.05));
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    white-space: nowrap;
}

.prize-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    border-radius: 12px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.prize-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.5rem;
}

.prize-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0ea5e9;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Footer */
.footer {
    background: #1a1a2e;
    border-top: 1px solid rgba(14, 165, 233, 0.1);
    padding: 3rem 0 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0ea5e9;
    margin-bottom: 1rem;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section h3 {
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 2px solid #38bdf8;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #38bdf8;
}

.footer-bottom {
    border-top: 1px solid rgba(14, 165, 233, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.9rem;
}

/* Botões Gerais */
.btn,
button:not(.carousel-nav):not(.indicator):not(.filter-btn):not(.platform-tab),
.cta-button {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: white;
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover,
button:not(.carousel-nav):not(.indicator):not(.filter-btn):not(.platform-tab):hover {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Cards */
.card,
.game-card,
.raspadinha-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(14, 165, 233, 0.3);
}

/* Inputs */
input,
textarea,
select {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--border-radius);
    padding: 0.75rem;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    outline: none;
}

/* Scrollbar - AZUL */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: transparent !important;
}

::-webkit-scrollbar-thumb {
    background: #0ea5e9;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0284c7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-banner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .steps-section,
    .games-section {
        padding: 3rem 1rem;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .steps-grid::before {
        display: none;
    }
    
    .step-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .step-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .step-description {
        font-size: 0.9rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .game-category {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .game-icon {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .game-title {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }
    
    .game-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .game-btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step-icon {
        width: 90px;
        height: 90px;
        font-size: 2.2rem;
        margin-bottom: 1.25rem;
    }
    
    .step-title {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .game-category {
        padding: 2rem 1rem;
    }
    
    .game-icon {
        width: 90px;
        height: 90px;
        font-size: 2.2rem;
    }
    
    .game-title {
        font-size: 1.4rem;
    }
    
    .game-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
}

/* Animation on scroll */
.step-item,
.game-category {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.step-item.animate-fade-in-up,
.game-category.animate-fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delay */
.step-item:nth-child(1) { transition-delay: 0.1s; }
.step-item:nth-child(2) { transition-delay: 0.2s; }
.step-item:nth-child(3) { transition-delay: 0.3s; }
.step-item:nth-child(4) { transition-delay: 0.4s; }

.game-category:nth-child(1) { transition-delay: 0.1s; }
.game-category:nth-child(2) { transition-delay: 0.3s; }

/* Loading Animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-main);
    z-index: 9999;
    transition: opacity 0.5s ease;
    display: grid;
    place-items: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(14, 165, 233, 0.3);
    border-top-color: #0ea5e9;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.glow {
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}

.glow:hover {
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.5);
}