/* ============================================
   Stylesheet
   ============================================ */

/* Reset e Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores principais */
    --bg-primary: #1a1a2e;
    --bg-secondary: #16162a;
    --bg-card: #1e1e3a;
    --bg-footer: #2a2a3e;

    /* Cores de destaque */
    --accent-blue: #4a9eff;
    --accent-purple: #6b4aa3;
    --accent-cyan: #00d4ff;

    /* Cores de texto */
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;

    /* Gradientes */
    --gradient-purple: radial-gradient(ellipse at top left, rgba(107, 74, 163, 0.4) 0%, transparent 50%);

    /* Fontes */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Ubuntu', sans-serif;

    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Efeito de luz roxa */
.purple-glow {
    position: fixed;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(107, 74, 163, 0.5) 0%, rgba(107, 74, 163, 0.2) 30%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Container Principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 1;
}

/* ============================================
   Seção Hero
   ============================================ */
.hero {
    padding-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-xl);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

/* Logo */
.logo-container {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.logo {
    width: 334px;
    height: auto;
    display: block;
}

/* Placeholder para logo */
.logo-container::before {
    content: '';
}

/* Texto Hero */
.hero-text {
    flex: 1;
    min-width: 300px;
    max-width: 550px;
}

.subtitle {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.02em;
}

.title {
    font-family: var(--font-primary);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* ============================================
   Seção do Personagem
   ============================================ */
.character-section {
    display: flex;
    justify-content: center;
}

.character-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.character-image {
    position: absolute;
    top: 50px;              /* quanto entra no card */
    left: 50%;
    transform: translateX(-50%);

    width: 180px;
    height: auto;

    z-index: 10;
    pointer-events: none;

    filter: drop-shadow(0 15px 30px rgba(107, 74, 163, 0.4));
}

/* ============================================
   Seção de Progresso
   ============================================ */
.progress-section {
    position: relative;
    padding: var(--spacing-xl) 0;
}

.progress-container {
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border-radius: 20px;
    padding: var(--spacing-xl) var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
     margin-top: 90px; 
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Informações do Progresso */
.progress-info {
    flex: 1;
    min-width: 280px;
    max-width: 600px;
}

.progress-title {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.progress-bar-container {
    margin-bottom: var(--spacing-sm);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-percent {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Cards de Estatísticas */
.stats-cards {
    display: flex;
    gap: var(--spacing-sm);
}

.stat-card {
    background-color: rgba(30, 30, 58, 0.8);
    border-left: 3px solid var(--accent-blue);
    border-radius: 8px;
    padding: var(--spacing-sm) var(--spacing-md);
    min-width: 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
    text-transform: capitalize;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--bg-footer);
    margin-top: var(--spacing-xxl);
    padding: var(--spacing-xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.footer-badge {
    flex-shrink: 0;
}

.fansite-badge {
    width: 78px;
    height: auto;
    display: block;

    opacity: 0.3;
    filter: grayscale(100%);
    transform: scale(1);

    transition: 
        opacity 0.35s ease,
        filter 0.35s ease,
        transform 0.25s ease;
}
.fansite-badge:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.12); /* leve zoom */
}
.footer-content {
    flex: 1;
    min-width: 280px;
}

.disclaimer {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.credits {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.credits .highlight {
    color: var(--accent-blue);
    font-weight: 500;
}


/* ============================================
   Animações
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeIn 0.8s ease-out;
}

.character-section {
    animation: fadeIn 1s ease-out 0.2s both;
}

.progress-section {
    animation: fadeIn 1s ease-out 0.4s both;
}

.footer {
    animation: fadeIn 1s ease-out 0.6s both;
}

/* Hover effects */
.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(74, 158, 255, 0.2);
}

/* ============================================
   Placeholders para imagens
   (Remova quando adicionar as imagens reais)
   ============================================ */
.logo[src="assets/images/logo-tophabbo.png"]:not([src=""]) {
    border-radius: 0px;
}

.character-image[src="assets/images/boneco.png"]:not([src=""]) {
    /* Placeholder visual caso a imagem não carregue */
    min-height: 150px;
    border-radius: 10px;
}

.fansite-badge[src="assets/images/hfs.png"]:not([src=""]) {
    /* Placeholder visual caso a imagem não carregue */
    min-height: 78px;
    border-radius: 5px;
}
