/* Modern Ascensão Online Design - VERSÃO ÉPICA */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Ajuste para páginas com navbar fixa */
.main-content {
    margin-top: 80px;
    position: relative;
    z-index: 5;
}

.container {
    position: relative;
    z-index: 5;
}

/* Particle Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: 
        radial-gradient(ellipse at center, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 25%, #0a1a0a 50%, #0a0a1a 75%, #1a1a1a 100%);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 140px 20px 60px 20px; /* extra top space so scroll indicator not overlaps */
    background: 
        linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse at center, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
}

.hero-content {
    max-width: 800px;
    width: 100%;
    padding: 0 20px;
    animation: heroFadeIn 1.5s ease-out;
    margin-top: 20px;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #ffd700;
    margin-bottom: 15px;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffd700, #ffed4e, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 50px rgba(255, 215, 0, 0.5);
    animation: titlePulse 4s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { 
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.8));
        transform: scale(1.02);
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 15px;
    opacity: 0.9;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.server-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 25px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: 0 auto;
    max-width: 400px;
    flex-wrap: wrap;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00ff88;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.player-count {
    color: #ffd700;
    font-weight: 600;
}

.scroll-indicator {
    position: relative;
    margin: 60px auto 0 auto;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffd700;
    cursor: pointer;
    animation: bounce 2s infinite;
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 50%;
    background: rgba(255,215,0,0.05);
    transition: background .3s, transform .3s;
}
.scroll-indicator:hover { background: rgba(255,215,0,0.15); transform: translateY(-4px); }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}


/* Main Container */
.main-container {
    padding-top: 0; /* Remove o padding daqui pois o hero já tem */
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #ffd700;
    font-family: 'Orbitron', monospace;
}

/* Features Section */
.features-section {
    padding: 80px 0 100px 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, transparent 100%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.6s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.feature-card p {
    color: #94a3b8;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 215, 0, 0.2);
}

.stat-card.online {
    border-color: rgba(0, 255, 136, 0.3);
}

.stat-card.online::before {
    background: linear-gradient(90deg, #00ff88, #00cc66);
}

.stat-card.server {
    border-color: rgba(59, 130, 246, 0.3);
}

.stat-card.server::before {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.stat-icon {
    font-size: 2.5rem;
    color: #ffd700;
    min-width: 60px;
}

.stat-card.online .stat-icon {
    color: #00ff88;
}

.stat-card.server .stat-icon {
    color: #3b82f6;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
    font-family: 'Orbitron', monospace;
}

.stat-label {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Rankings Section (Novo Layout) */
.rankings-section { padding: 100px 0; }

.ranking-wrapper { 
    /* Layout empilhado: pódio full width acima e tabela abaixo */
    display:flex; 
    flex-direction:column; 
    gap:60px; 
}
/* Mantém espaçamento menor em telas menores */
@media (max-width:1100px){
    .ranking-wrapper{gap:48px;}
}

/* Podium */
.ranking-podium { 
    display:flex; 
    justify-content:space-between; 
    align-items:flex-end; 
    gap:40px; 
    position:relative; 
    padding:10px 10px 40px; 
    width:100%;
}
.ranking-podium:before { content:''; position:absolute; inset:0; background:radial-gradient(circle at 50% 20%, rgba(255,215,0,.15), transparent 70%); opacity:.6; pointer-events:none; }
.podium-slot { flex:1 1 0; max-width:none; background:linear-gradient(165deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)); border:1px solid rgba(255,255,255,0.12); border-radius:30px; padding:28px 22px 22px; display:flex; flex-direction:column; align-items:center; gap:14px; position:relative; backdrop-filter:blur(12px); box-shadow:0 14px 32px -8px rgba(0,0,0,0.55); }
.podium-slot.first { transform:translateY(-35px); border-color:rgba(255,215,0,0.4); box-shadow:0 24px 55px -6px rgba(255,215,0,0.18); }
.podium-slot.second { transform:translateY(-10px); }
.podium-slot.third { transform:translateY(0); }
.podium-slot .place { font-family:'Orbitron', monospace; font-weight:800; font-size:1.4rem; background:linear-gradient(135deg,#ffd700,#ffed4e); -webkit-background-clip:text; background-clip:text; color:transparent; letter-spacing:1px; }
.podium-slot.first .place { font-size:1.6rem; }
.podium-slot .avatar { width:220px; height:220px; border-radius:38px; background:linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.05)); border:3px solid rgba(255,215,0,0.45); box-shadow:0 8px 28px -6px rgba(255,215,0,0.35); position:relative; overflow:hidden; transition:transform .3s; }
.podium-slot.first .avatar { width:260px; height:260px; border-width:4px; }
.podium-slot .avatar:hover { transform:translateY(-4px) scale(1.015); }
.podium-slot .avatar.placeholder:after { content:'?'; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-family:'Orbitron', monospace; font-size:2.2rem; color:#ffd700; opacity:.6; }
.podium-slot .name { font-weight:700; font-size:1.05rem; letter-spacing:.5px; }
.podium-slot.first .name { font-size:1.2rem; }
.podium-slot .stats { font-size:.8rem; opacity:.7; font-weight:600; }
.podium-slot.first .stats { font-size:.85rem; }
.podium-slot .crown {
    position:absolute;
    top:-35px;
    width:54px;
    height:54px;
    border-radius:50%;
    border:3px solid rgba(255,215,0,0.7);
    box-shadow:0 0 25px rgba(255,215,0,0.45), 0 6px 18px -4px rgba(2, 217, 255, 0.849);
    animation:crownPulse 3s ease-in-out infinite;
    will-change:transform, box-shadow;
}
.podium-slot .crown:before,
.podium-slot .crown:after { content:''; position:absolute; }
.podium-slot .crown:before {
    inset:6px;
    border-radius:50%;
    box-shadow:inset 0 0 10px rgba(255,255,255,0);
}
.podium-slot .crown:after {
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:28px;
    height:28px;
    background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" fill="%23ffef9a"><path d="M8 50h48L54 22l-10 8-12-18-12 18-10-8z"/></svg>') center/contain no-repeat;
    filter:drop-shadow(0 0 4px rgba(255,215,0,.8));
    opacity:.95;
}
@keyframes crownPulse {
    0%,100% {
        transform:scale(1);
        box-shadow:0 0 25px rgba(255,215,0,0.45), 0 6px 18px -4px rgba(0, 255, 221, 0.6);
        border-color:rgba(255,215,0,0.7);
    }
    50% {
        transform:scale(1.15);
        box-shadow:0 0 38px rgba(255,215,0,0.75), 0 10px 26px -4px rgba(0, 238, 255, 0.75);
        border-color:rgba(255,215,0,0.95);
    }
}

/* Ranking Table */
.ranking-table { background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:24px; backdrop-filter:blur(14px); overflow:hidden; position:relative; display:flex; flex-direction:column; }
.ranking-header, .rank-row { display:grid; grid-template-columns:70px 1fr 140px 200px; align-items:center; }
.ranking-header { padding:16px 20px; font-size:.75rem; text-transform:uppercase; letter-spacing:1.5px; font-weight:700; background:linear-gradient(90deg,rgba(255,215,0,0.15),rgba(255,215,0,0.05)); border-bottom:1px solid rgba(255,215,0,0.25); font-family:'Orbitron', monospace; }
.rank-row { padding:14px 20px; gap:10px; position:relative; font-size:.95rem; }
.rank-row:nth-child(odd){ background:rgba(255,255,255,0.03); }
.rank-row:nth-child(even){ background:rgba(255,255,255,0.015); }
.rank-row[data-rank="4"] { border-top:2px solid rgba(255,215,0,0.25); }
.rank-row .col-rank { font-family:'Orbitron', monospace; font-weight:800; font-size:1rem; }
.rank-row .col-name { font-weight:600; letter-spacing:.4px; }
.rank-row .col-level { font-family:'Orbitron', monospace; font-size:.85rem; opacity:.85; }
/* Poder column removed */
.ranking-body { max-height:400px; overflow-y:auto; }
.ranking-body::-webkit-scrollbar { width:6px; }
.ranking-body::-webkit-scrollbar-track { background:transparent; }
.ranking-body::-webkit-scrollbar-thumb { background:linear-gradient(135deg,#ffd700,#ffed4e); border-radius:3px; }
.rank-row:hover { background:rgba(255,215,0,0.08); }
.rank-row:active { background:rgba(255,215,0,0.12); }
.rank-row:not(.interactive) { pointer-events:none; }
/* Ícone de classe dentro do ranking */
.rank-row .class-icon { width:50px; height:50px; border-radius:10px; object-fit:cover; margin-right:10px; vertical-align:middle; box-shadow:0 0 8px -2px rgba(255,215,0,0.4); border:1px solid rgba(255,215,0,0.35); background:rgba(255,255,255,0.05); }
/* Ajuste para telas menores */
@media (max-width: 640px){
    .rank-row .class-icon { width:30px; height:30px; margin-right:6px; }
}

/* Redução extra somente celulares pequenos */
@media (max-width: 480px){
    .ranking-wrapper{gap:30px;}
    .ranking-podium{gap:10px; padding:8px 0 20px; justify-content:center;}
    .podium-slot{padding:14px 10px 12px; border-radius:20px; gap:8px; flex:0 0 30%; max-width:95px;}
    .podium-slot.first{transform:translateY(-12px); flex:0 0 34%; max-width:110px;}
    .podium-slot .avatar{width:70px; height:70px; border-radius:18px;}
    .podium-slot.first .avatar{width:54px; height:54px;}
    .podium-slot .place{font-size:1rem;}
    .podium-slot.first .place{font-size:1.15rem;}
    .podium-slot .name{font-size:.82rem; text-align:center;}
    .podium-slot.first .name{font-size:.9rem;}
    .podium-slot .stats{font-size:.63rem;}
    .podium-slot.first .stats{font-size:.68rem;}
    .podium-slot .crown{top:-24px; width:40px; height:40px;}
    .rank-row{padding:10px 14px; font-size:.85rem;}
    .rank-row .class-icon{width:26px; height:26px; margin-right:4px;}
    .ranking-header{padding:12px 14px; font-size:.65rem;}
    .ranking-header, .rank-row{grid-template-columns:40px 1fr 100px;}
    .ranking-body{max-height:320px;}
    .load-more{padding:12px 22px; font-size:.75rem;}
}

/* Adaptações responsivas */
@media (max-width: 900px){
    .ranking-header, .rank-row { grid-template-columns:60px 1fr 110px 140px; }
    .ranking-header .col-class, .rank-row .col-class { font-size:.65rem; }
}
@media (max-width: 640px){
    .ranking-header, .rank-row { grid-template-columns:50px 1fr 120px; }
    .ranking-header .col-class, .rank-row .col-class { display:none !important; }
    .ranking-header .col-level { justify-self:end; }
    .rank-row .col-level { justify-self:end; }
    .ranking-podium { gap:18px; padding-bottom:30px; }
    .podium-slot { padding:20px 14px 16px; }
    .podium-slot.first { transform:translateY(-18px); }
    .podium-slot .avatar { width:96px; height:96px; }
    .podium-slot.first .avatar { width:118px; height:118px; }
}

.ranking-footer { padding:14px 18px 18px; text-align:center; background:linear-gradient(180deg, rgba(255,215,0,0.08), transparent); border-top:1px solid rgba(255,215,0,0.25); }
.load-more { background:linear-gradient(135deg,#ffd700,#ffed4e); color:#000; font-weight:700; font-size:.85rem; letter-spacing:.5px; border:none; padding:14px 26px; border-radius:60px; cursor:pointer; box-shadow:0 4px 18px -4px rgba(255,215,0,0.4); transition:.25s; }
.load-more:hover { transform:translateY(-3px); box-shadow:0 6px 26px -4px rgba(255,215,0,0.55); }
.load-more:active { transform:translateY(-1px); }

/* Activity Section */
.activity-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.2);
}

.activity-panel {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.player-list {
    max-height: 400px;
    overflow-y: auto;
}

.player-item {
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.player-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #ffd700;
    transform: translateX(5px);
}
/* Ícone de classe na lista de jogadores recentes */
.player-item .class-icon { width:36px; height:36px; border-radius:12px; object-fit:cover; margin-right:8px; box-shadow:0 0 6px -1px rgba(255,215,0,0.4); border:1px solid rgba(255,215,0,0.3); background:rgba(255,255,255,0.04); }
@media (max-width: 640px){
    .player-item .class-icon { width:32px; height:32px; }
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffd700;
    font-family: 'Orbitron', monospace;
}

.cta-content p {
    font-size: 1.3rem;
    color: #94a3b8;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
    justify-content: center;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(20, 20, 20, 0.95));
    border-radius: 20px;
    padding: 0;
    border: 1px solid rgba(255, 215, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #ccc;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.modal-close:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    transform: scale(1.1);
}

/* Form Styles */
.form-container {
    padding: 40px;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #ffd700;
    font-size: 2rem;
    font-family: 'Orbitron', monospace;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ffd700;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.form-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-footer a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
    color: #ffed4e;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Botão de Submit dos Formulários - DESIGN ÉPICO */
.form-submit-btn, 
.form-container button[type="submit"], 
.form-container .btn-primary {
    width: 100%;
    padding: 18px 25px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffc107 100%);
    border: none;
    border-radius: 15px;
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-submit-btn::before,
.form-container button[type="submit"]::before,
.form-container .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.form-submit-btn:hover::before,
.form-container button[type="submit"]:hover::before,
.form-container .btn-primary:hover::before {
    left: 100%;
}

.form-submit-btn:hover,
.form-container button[type="submit"]:hover,
.form-container .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(255, 215, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    filter: brightness(1.1) saturate(1.2);
}

.form-submit-btn:active,
.form-container button[type="submit"]:active,
.form-container .btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 
        0 5px 15px rgba(255, 215, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Footer */
/* Footer CSS removido (agora inline em _footer.html) para reduzir payload crítico */

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    border-top-color: #ffd700;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Alert Messages */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    text-align: center;
}

.alert-success {
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid #2ecc71;
    color: #2ecc71;
}

.alert-error {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid #e74c3c;
    color: #e74c3c;
}

/* Responsive Design */

/* Específico para resoluções como 1360x768 */
@media (max-width: 1366px) and (max-height: 800px) {
    .hero {
        min-height: 100vh;
        padding: 80px 20px 40px 20px;
    }
    
    .hero-content {
        margin-top: 50px;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4.5rem);
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .hero-btn {
        padding: 14px 28px;
        font-size: 1rem;
        min-width: 180px;
    }
    
    .features-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 100px;
    }
    
    .feature-card {
        padding: 30px 25px;
    }
    
    .scroll-indicator {
        bottom: 30px;
    }
}

/* Para tablets e monitores de tamanho médio */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .hero-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu {
        gap: 8px;
    }
    
    .nav-link {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        min-width: 250px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.95);
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid rgba(255, 215, 0, 0.2);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rankings-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-btn, .cta-btn {
        min-width: 200px;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-icon {
        min-width: auto;
    }
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ffed4e, #ffd700);
}
