/* ==========================================================================
   PROJETO RO - ESTILO INSPIRADO EM HOLLOW KNIGHT
   ========================================================================== */

:root {
    --bg-dark: #090b10;
    --bg-card: #121620;
    --bg-card-hover: #1a202c;
    --border-color: #2a3245;
    --accent-gold: #e6b800;
    --accent-gold-glow: rgba(230, 184, 0, 0.4);
    --accent-cyan: #00d2ff;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 50% 20%, rgba(20, 26, 38, 0.8) 0%, var(--bg-dark) 70%);
}

/* ==========================================
   NAVBAR & HEADER
   ========================================== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(9, 11, 16, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.logo span {
    color: var(--accent-gold);
    text-shadow: 0 0 12px var(--accent-gold-glow);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.8rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.btn-nav {
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--accent-gold);
    border-radius: 4px;
    color: var(--accent-gold) !important;
    transition: all 0.3s ease !important;
}

.btn-nav:hover {
    background: var(--accent-gold);
    color: var(--bg-dark) !important;
    box-shadow: 0 0 15px var(--accent-gold-glow);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    background: radial-gradient(ellipse at center, rgba(18, 22, 32, 0.4) 0%, var(--bg-dark) 90%), 
                url('/assets/images/oiaafotinha.png') center/cover no-repeat;
    border-bottom: 1px solid var(--border-color);
}

.hero-badge {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: #fff;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
    margin-bottom: 0.5rem;
}

.hero-title span {
    color: var(--accent-gold);
    text-shadow: 0 0 25px var(--accent-gold-glow);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 600px;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
}

.btn-container {
    display: flex;
    gap: 1.5rem;
}

/* ==========================================
   BOTÕES ESTILIZADOS HOLLOW KNIGHT
   ========================================== */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #1f2736 0%, #11151f 100%);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: var(--accent-gold);
    color: var(--bg-dark);
    box-shadow: 0 0 25px var(--accent-gold-glow);
}

.btn-secondary {
    background: rgba(18, 22, 32, 0.6);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.btn-full {
    width: 100%;
}

.btn-discord {
    background: #5865F2;
    color: #fff;
    border: none;
}

.btn-discord:hover {
    background: #4752C4;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* ==========================================
   SEÇÕES GERAIS
   ========================================== */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    letter-spacing: 3px;
    color: #fff;
}

.section-divider {
    width: 80px;
    height: 2px;
    background: var(--accent-gold);
    margin: 1rem auto 0;
    box-shadow: 0 0 10px var(--accent-gold-glow);
}

/* ==========================================
   CARDS DE INFORMAÇÕES DO SERVIDOR
   ========================================== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem 1.5rem;
    border-radius: 6px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
}

.info-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(230, 184, 0, 0.15);
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.card-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================
   DESTAQUES / FEATURES
   ========================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    position: relative;
    height: 250px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: flex-end;
}

.feature-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-card:hover .feature-bg {
    transform: scale(1.08);
}

.feature-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(9, 11, 16, 0.95) 0%, rgba(9, 11, 16, 0) 100%);
    width: 100%;
}

.feature-content h3 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    margin-bottom: 0.4rem;
    font-size: 1.2rem;
}

.feature-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================
   DISCORD BANNER
   ========================================== */
.community-box {
    background: linear-gradient(135deg, rgba(18, 22, 32, 0.9) 0%, rgba(10, 13, 20, 0.9) 100%);
    border: 1px solid var(--border-color);
    padding: 3.5rem 2rem;
    border-radius: 8px;
    text-align: center;
}

.community-box h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.community-box p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ==========================================
   PÁGINA DE LOGIN & REGISTRO (AUTH)
   ========================================== */
.page-container {
    min-height: 75vh;
    padding: 4rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 440px;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-badge {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--accent-gold);
    letter-spacing: 2px;
}

.auth-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    margin-top: 0.3rem;
}

.auth-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 600;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-link {
    font-size: 0.78rem;
    color: var(--accent-gold);
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.form-group input {
    background: rgba(9, 11, 16, 0.8);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1rem;
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px var(--accent-gold-glow);
}

.auth-footer {
    text-align: center;
    margin-top: 1.8rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
}

/* ==========================================
   PÁGINA DE DOWNLOAD
   ========================================== */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
    background: radial-gradient(ellipse at center, rgba(18, 22, 32, 0.4) 0%, var(--bg-dark) 90%), 
                url('/assets/images/oiaafotinha.png') center/cover no-repeat;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: #fff;
    letter-spacing: 3px;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.download-card.featured {
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(230, 184, 0, 0.1);
}

.card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--bg-dark);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 900;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    letter-spacing: 1px;
}

.download-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.download-size {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.download-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* TABELA DE REQUISITOS */
.requirements-table-container {
    overflow-x: auto;
    margin-bottom: 5rem;
}

.req-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.req-table th, .req-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.req-table th {
    background: rgba(0, 0, 0, 0.3);
    font-family: var(--font-heading);
    color: var(--accent-gold);
    letter-spacing: 1px;
}

.req-table td {
    color: var(--text-muted);
}

.req-table td strong {
    color: #fff;
}

/* PASSO A PASSO */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.8rem 1.2rem;
    border-radius: 6px;
    text-align: center;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-gold);
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.step-card h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.step-card code {
    background: rgba(0, 0, 0, 0.4);
    color: var(--accent-gold);
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
}

/* ==========================================
   FOOTER
   ========================================== */
.main-footer {
    background: #05070a;
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 0.8rem;
}

.footer-brand h2 span {
    color: var(--accent-gold);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer-links h3, .footer-social h3 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.social-icons {
    display: flex;
    gap: 0.8rem;
}

.social-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.8rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.social-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.8rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Pode ser expandido futuramente com um menu hambúrguer */
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .btn-container {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
}