/* Paleta de Cores Inspirada em Game of Thrones / A Casa do Dragão / Contos de Dunk e Egg
   - Vermelho Targaryen escuro: #8b1e24
   - Ouro antigo / Bronze medieval: #c5a880
   - Fundo escuro texturizado: #0d0f12
   - Cartões: #161b22
   - Texto principal claro: #e6edf3
   - Borda sutil: #30363d
*/

:root {
    --bg-primary: #0d0f12;
    --bg-card: #161b22;
    --bg-card-hover: #1f242d;
    --text-main: #e6edf3;
    --text-muted: #8b949e;
    --accent-red: #8b1e24;
    --accent-gold: #c5a880;
    --border-color: #30363d;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at 50% 0%, #1f1113 0%, var(--bg-primary) 70%);
}

.main-container {
    max-width: 960px;
}

/* Header Styling */
.profile-header h1 {
    color: var(--text-main);
    letter-spacing: 2px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
    font-size: clamp(2rem, 4vw, 3.2rem);
    border-bottom: 3px solid var(--accent-red);
    display: inline-block;
    padding-bottom: 12px;
}

.badge-series {
    display: inline-block;
    background: linear-gradient(135deg, #2b1d1d, #1a1617);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.image-wrapper {
    max-width: 650px;
    border: 3px solid var(--accent-gold);
    border-radius: 16px;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease;
}

.image-wrapper:hover {
    transform: scale(1.01);
}

/* Dividers & Icons */
.divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0.4;
}

.section-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent-red), #521116);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(122, 18, 28, 0.4);
}

/* Custom Cards */
.card-custom {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
    transition: border-color 0.3s ease;
}

.card-custom:hover {
    border-color: rgba(197, 168, 128, 0.4);
}

.episode-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.episode-card:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(197, 168, 128, 0.15);
}

/* Typography & Badges */
h2, h3 {
    color: var(--text-main);
    font-family: 'Georgia', serif;
    letter-spacing: 0.5px;
}

.lead-text {
    color: #c9d1d9;
    font-size: 1.05rem;
    line-height: 1.7;
}

.text-muted-custom {
    color: var(--text-muted) !important;
}

.text-secondary-custom {
    color: #9198a1 !important;
}

.text-gold {
    color: var(--accent-gold) !important;
}

.bg-gold {
    background-color: var(--accent-gold) !important;
    color: #0d0f12 !important;
    font-weight: 600;
}

.border-bottom {
    border-bottom: 1px solid var(--border-color) !important;
}

.border-top-custom {
    border-top: 1px solid var(--border-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-header h1 {
        font-size: 1.8rem;
    }
}