/* === RESET E BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores temáticas Hunt Showdown */
    --bg-dark: #0a0a0a;
    --bg-medium: #1a1410;
    --bg-light: #2d2520;
    --accent-orange: #ff6b35;
    --accent-red: #c41e3a;
    --text-light: #f5f5dc;
    --text-orange: #ffaa44;
    --text-red: #ff4444;
    --border-rust: #8b4513;
    --shadow-dark: rgba(0, 0, 0, 0.8);
    --fog-color: rgba(255, 255, 255, 0.1);
    
    /* Tipografia */
    --font-title: 'Creepster', cursive;
    --font-gothic: 'Nosifer', cursive;
    --font-old: 'Butcherman', cursive;
    --font-base: 'Georgia', serif;
}

body {
    font-family: var(--font-base);
    background: 
        radial-gradient(circle at 25% 25%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, var(--bg-dark) 0%, #0f0f0a 50%, var(--bg-dark) 100%);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* === EFEITO DE NÉVOA DESABILITADO === */
.fog-overlay {
    display: none;
}

/* === HEADER === */
.main-header {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 3rem 1rem 2rem;
    background: 
        linear-gradient(180deg, rgba(26, 20, 16, 0.9) 0%, var(--bg-dark) 100%),
        radial-gradient(ellipse at center top, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-bottom: 2px solid var(--border-rust);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-content {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 2rem;
}

.main-title {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
    text-shadow: 
        2px 2px 0px var(--accent-red),
        4px 4px 8px var(--shadow-dark),
        0 0 15px rgba(255, 107, 53, 0.3);
    margin-bottom: 0.5rem;
    position: relative;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    opacity: 0.6;
}

.hunt-text { color: var(--text-orange); }
.showdown-text { color: var(--text-red); }
.year-text { 
    color: var(--text-light); 
    font-size: 0.6em; 
    display: block; 
}

.subtitle {
    font-family: var(--font-old);
    font-size: 1.2rem;
    color: var(--text-orange);
    text-shadow: 2px 2px 4px var(--shadow-dark);
}

/* === CONTEÚDO PRINCIPAL === */
.main-content {
    position: relative;
    z-index: 10;
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 2rem;
}

.calculator-container {
    margin-bottom: 3rem;
}

.calculator-card {
    background: 
        linear-gradient(145deg, var(--bg-medium) 0%, rgba(45, 37, 32, 0.9) 100%);
    border: 3px solid;
    border-image: linear-gradient(45deg, var(--border-rust), var(--accent-orange), var(--border-rust)) 1;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 107, 53, 0.1),
        0 0 0 1px rgba(139, 69, 19, 0.3);
    position: relative;
    overflow: hidden;
    max-width: none;
    width: 100%;
}

.calculator-card::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: var(--accent-orange);
    border-radius: 50%;
    box-shadow: 
        -20px 0 0 var(--accent-red),
        -40px 0 0 var(--accent-orange);
    opacity: 0.4;
}

.calculator-card::before {
    display: none;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.card-header h2 {
    font-family: var(--font-gothic);
    font-size: 2.2rem;
    color: var(--text-light);
    text-shadow: 
        2px 2px 4px var(--shadow-dark),
        0 0 15px rgba(255, 170, 68, 0.6);
    margin-bottom: 0.5rem;
    text-align: center;
    background: rgba(45, 37, 32, 0.2);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 170, 68, 0.2);
}

.header-subtitle {
    font-family: var(--font-old);
    color: var(--text-light);
    opacity: 1;
    font-size: 1.1rem;
    margin-top: 1rem;
    font-style: italic;
    text-shadow: 1px 1px 3px var(--shadow-dark);
    background: rgba(45, 37, 32, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
}

.section-desc {
    text-align: center;
    color: var(--text-light);
    opacity: 1;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    text-shadow: 1px 1px 2px var(--shadow-dark);
    background: rgba(26, 20, 16, 0.5);
    padding: 0.7rem 1rem;
    border-radius: 6px;
    border: 1px solid rgba(139, 69, 19, 0.3);
}

.section-title h3 {
    font-family: var(--font-gothic);
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    text-shadow: 
        2px 2px 4px var(--shadow-dark),
        0 0 10px rgba(255, 170, 68, 0.5);
    background: rgba(45, 37, 32, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 170, 68, 0.3);
}

.advanced-section h3 {
    font-family: var(--font-old);
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    text-shadow: 
        2px 2px 4px var(--shadow-dark),
        0 0 10px rgba(255, 170, 68, 0.5);
    background: rgba(45, 37, 32, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 170, 68, 0.3);
}

.skull-divider {
    font-size: 1.5rem;
    color: var(--text-red);
    opacity: 0.8;
}

/* === SEÇÕES DE INPUT === */
.input-section, .advanced-section {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

.input-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.advanced-section {
    background: rgba(45, 37, 32, 0.2);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(139, 69, 19, 0.3);
}

.advanced-section h3 {
    font-family: var(--font-old);
    color: var(--text-orange);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    width: 100%;
}

/* Layout principal em duas colunas em telas grandes */
@media (min-width: 1200px) {
    .main-content {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
        align-items: start;
    }
    
    .calculator-container {
        grid-column: 1;
    }
    
    .lore-section {
        grid-column: 2;
        margin-top: 0;
    }
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-family: var(--font-old);
    color: var(--text-orange);
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 
        1px 1px 2px var(--shadow-dark),
        0 0 8px rgba(255, 170, 68, 0.4);
    margin-bottom: 0.5rem;
    display: block;
}

.input-group input {
    padding: 1rem;
    background: linear-gradient(145deg, var(--bg-dark), rgba(10, 10, 10, 0.9));
    border: 2px solid var(--border-rust);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    font-family: var(--font-base);
    transition: all 0.2s ease;
    position: relative;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 
        0 0 12px rgba(255, 107, 53, 0.4),
        inset 0 1px 3px rgba(0, 0, 0, 0.3);
    background: linear-gradient(145deg, var(--bg-medium), rgba(26, 20, 16, 0.9));
    transform: translateY(-1px);
}

.input-group input::placeholder {
    color: var(--text-light);
    opacity: 0.6;
    font-weight: normal;
}

.input-help {
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
    opacity: 0.9;
    text-shadow: 1px 1px 2px var(--shadow-dark);
    background: rgba(45, 37, 32, 0.3);
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    border-left: 2px solid var(--accent-orange);
    margin-top: 0.3rem;
}

/* === BOTÃO === */
.button-container {
    text-align: center;
    margin: 2rem 0;
}

.calculate-button {
    font-family: var(--font-old);
    font-size: 1.3rem;
    padding: 1.2rem 2.5rem;
    background: 
        linear-gradient(145deg, var(--accent-orange) 0%, var(--accent-red) 50%, #8b2635 100%);
    color: var(--text-light);
    border: 3px solid;
    border-image: linear-gradient(45deg, var(--border-rust), var(--accent-orange)) 1;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-shadow: 
        1px 1px 2px var(--shadow-dark),
        0 0 8px rgba(255, 107, 53, 0.3);
    box-shadow: 
        0 6px 18px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    font-weight: bold;
    letter-spacing: 1px;
}

.calculate-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(255, 107, 53, 0.4);
    background: 
        linear-gradient(145deg, var(--accent-red) 0%, var(--accent-orange) 50%, #ff8c42 100%);
}

.calculate-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

/* === RESULTADOS === */
.results-section {
    background: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(26, 20, 16, 0.8) 100%);
    border: 2px solid;
    border-image: linear-gradient(45deg, var(--accent-red), var(--accent-orange), var(--accent-red)) 1;
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 2rem;
    animation: results-appear 0.5s ease-out;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 107, 53, 0.1);
    position: relative;
    width: 100%;
    min-height: 300px;
}

.results-section::before {
    content: '⚔️';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark);
    padding: 0 10px;
    font-size: 1.5rem;
    color: var(--accent-orange);
}

@keyframes results-appear {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.results-header {
    text-align: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-rust);
    padding-bottom: 1rem;
}

.results-header h3 {
    font-family: var(--font-gothic);
    color: var(--text-red);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.blood-stain {
    font-size: 1.2rem;
    opacity: 0.8;
}

.results-content {
    line-height: 1.6;
    font-size: 1rem;
}

.results-content .kda-display {
    font-size: 1.8rem;
    color: var(--text-orange);
    font-weight: bold;
    text-align: center;
    margin: 1rem 0;
    text-shadow: 2px 2px 4px var(--shadow-dark);
}

.results-content .stat-line {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(139, 69, 19, 0.3);
}

.results-content .stat-highlight {
    color: var(--text-orange);
    font-weight: bold;
}

/* === SEÇÃO LORE === */
.lore-section {
    margin-top: 3rem;
}

.lore-card {
    background: 
        linear-gradient(135deg, rgba(45, 37, 32, 0.9) 0%, rgba(26, 20, 16, 0.8) 100%);
    border: 2px solid;
    border-image: linear-gradient(45deg, var(--border-rust), var(--accent-orange), var(--border-rust)) 1;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 170, 68, 0.1);
    position: relative;
    height: fit-content;
    min-height: 200px;
}

.lore-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-orange), var(--accent-red), var(--accent-orange));
    border-radius: 12px;
    z-index: -1;
    opacity: 0.3;
}

.lore-card h3 {
    font-family: var(--font-gothic);
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: bold;
    text-shadow: 
        2px 2px 4px var(--shadow-dark),
        0 0 10px rgba(255, 170, 68, 0.5);
}

.lore-card p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text-light);
    opacity: 1;
    font-size: 1rem;
    text-shadow: 1px 1px 2px var(--shadow-dark);
}

.lore-card strong {
    color: var(--text-orange);
    text-shadow: 
        1px 1px 2px var(--shadow-dark),
        0 0 5px rgba(255, 170, 68, 0.3);
}

/* === FOOTER === */
.main-footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2.5rem 1rem;
    margin-top: 3rem;
    border-top: 3px solid;
    border-image: linear-gradient(90deg, transparent, var(--border-rust), var(--accent-orange), var(--border-rust), transparent) 1;
    background: 
        linear-gradient(0deg, var(--bg-dark) 0%, rgba(26, 20, 16, 0.8) 50%, transparent 100%);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
}

.footer-content p {
    margin-bottom: 0.8rem;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: bold;
    text-shadow: 1px 1px 3px var(--shadow-dark);
}

.copyright {
    font-size: 1rem;
    color: var(--text-light);
    opacity: 0.8;
    text-shadow: 1px 1px 2px var(--shadow-dark);
    background: rgba(45, 37, 32, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
}

/* === RESPONSIVIDADE === */
@media (max-width: 1199px) {
    .main-content {
        display: block;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }
    
    .calculator-card {
        padding: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .card-header h2 {
        font-size: 1.5rem;
    }
    
    .header-content {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .calculator-card {
        padding: 1rem;
    }
    
    .calculate-button {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

/* === ANIMAÇÕES EXTRAS === */
.calculator-card:hover {
    box-shadow: 
        0 10px 30px var(--shadow-dark),
        0 0 15px rgba(255, 107, 53, 0.3);
    transition: all 0.2s ease;
}