/* --- style.css --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Inter:wght@400;600&display=swap');

:root {
    --bg-dark: #0b0c10;
    --bg-card: #1f2833;
    --bg-input: #12161c;
    --accent: #d4af37; /* Dourado Albion */
    --accent-hover: #f1c40f;
    --text-main: #c5c6c7;
    --text-highlight: #ffffff;
    --danger: #e74c3c;
    --success: #45a29e;
    --border: #45a29e;
}

* { box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 20px;
    background-image: radial-gradient(circle at top, #1f2833 0%, #0b0c10 70%);
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif; /* Fonte estilo medieval */
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

h1 { text-align: center; font-size: 2.5rem; text-shadow: 0 0 10px rgba(212, 175, 55, 0.3); }

.container { max-width: 1200px; margin: 0 auto; }

/* --- CAIXA DE INFORMAÇÕES --- */
.info-box {
    background: rgba(31, 40, 51, 0.8);
    border: 1px solid var(--accent);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.info-grid h3 { border-bottom: 1px solid #444; padding-bottom: 10px; font-size: 1.2rem; }
.weapon-list { color: #888; font-style: italic; font-size: 0.9em; line-height: 1.6; }

/* --- FORMULÁRIO --- */
.signup-form {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto 50px auto;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.signup-form::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text-highlight); }

input, select {
    width: 100%;
    padding: 14px;
    background: var(--bg-input);
    border: 1px solid #444;
    color: white;
    border-radius: 6px;
    font-size: 1rem;
    transition: 0.3s;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.2);
}

button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #b8860b, #d4af37);
    color: #000;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1em;
    font-family: 'Cinzel', serif;
    transition: 0.3s;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* --- CARDS DOS HORÁRIOS --- */
.raids-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.raid-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #333;
    transition: 0.3s;
}

.raid-card:hover { border-color: #555; transform: translateY(-5px); }

.raid-card h2 {
    text-align: center;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 15px;
    margin-top: 0;
}

.slot-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #2a3b4c;
    font-size: 0.95em;
}

.slot-row:last-child { border-bottom: none; }

.slot-role { color: #888; font-weight: 500; }
.slot-player { color: var(--success); font-weight: 700; text-shadow: 0 0 5px rgba(69, 162, 158, 0.3); }
.slot-wait { color: var(--danger); font-size: 0.85em; font-weight: bold; }
.slot-empty { color: #444; font-style: italic; font-size: 0.9em; }

/* --- CORINGAS --- */
.coringa-section {
    margin-top: 20px;
    background: rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 6px;
    border: 1px dashed #444;
}

/* --- MODAL E ALERTS --- */
.modal {
    display: none; /* Controlado via PHP/JS */
    position: fixed; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.9);
    justify-content: center; align-items: center;
    z-index: 999;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--accent);
    max-width: 450px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.discord-btn {
    display: inline-block;
    background: #5865F2;
    color: white;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 20px;
    font-weight: bold;
    transition: 0.3s;
}
.discord-btn:hover { background: #4752c4; transform: scale(1.05); }

.alert {
    padding: 15px;
    background: rgba(212, 175, 55, 0.1);
    border-left: 5px solid var(--accent);
    color: var(--text-highlight);
    margin-bottom: 25px;
    text-align: center;
    border-radius: 4px;
}

/* --- TABLE DO ADMIN --- */
.admin-table-container { overflow-x: auto; background: var(--bg-card); border-radius: 8px; padding: 10px; }
table { width: 100%; border-collapse: collapse; min-width: 600px; }
th, td { padding: 15px; text-align: left; border-bottom: 1px solid #333; }
th { background: #12161c; color: var(--accent); font-family: 'Cinzel', serif; }
tr:hover { background: rgba(255,255,255,0.02); }
.status-tag { padding: 4px 8px; border-radius: 4px; font-size: 0.8em; font-weight: bold; }
.status-ok { background: rgba(69, 162, 158, 0.2); color: var(--success); }
.status-wait { background: rgba(231, 76, 60, 0.2); color: var(--danger); }
.btn-del { background: #c0392b; color: white; padding: 6px 12px; border-radius: 4px; text-decoration: none; font-size: 0.85em; transition: 0.2s; }
.btn-del:hover { background: #e74c3c; }
.btn-reset { background: #8b0000; color: #fff; width: 100%; margin-top: 20px; }

/* --- */
/* --- style.css (Adicione isso ao final) --- */

.lang-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: rgba(0,0,0,0.5);
    border: 1px solid #444;
    color: #888;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.8em;
    font-weight: bold;
    transition: 0.3s;
}

.lang-btn:hover, .lang-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(212, 175, 55, 0.1);
}

@media (max-width: 600px) {
    .lang-switch {
        position: relative;
        top: 0; right: 0;
        justify-content: center;
        margin-bottom: 20px;
    }
}
    
/* ---01/02/26 12H57 */
/* --- style.css (Adicione ao final) --- */
.discord-widget-box {
    margin-bottom: 40px;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    background: var(--bg-card);
}