/* WoW Destiny 4.3.4 - Estilo Cataclysm */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    color: #e8dcc8;
    background: #0a0806 url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a1208' fill-opacity='0.45'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 120, 20, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 100%, rgba(180, 40, 10, 0.12) 0%, transparent 45%),
        linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
    z-index: 0;
}

.page {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 32px;
    padding: 28px 16px 20px;
}

.logo-title {
    margin: 0;
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: normal;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f0c040;
    text-shadow:
        0 0 20px rgba(255, 140, 0, 0.6),
        0 2px 0 #5a2800,
        0 4px 8px rgba(0, 0, 0, 0.9);
}

.logo-sub {
    margin: 8px 0 0;
    font-size: 1.1rem;
    color: #c9a86a;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.logo-expansion {
    display: inline-block;
    margin-top: 14px;
    padding: 4px 18px;
    border: 1px solid #8b4513;
    background: linear-gradient(180deg, #3d1a08 0%, #1a0c04 100%);
    color: #ff9933;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    box-shadow: 0 0 12px rgba(255, 100, 0, 0.25), inset 0 1px 0 rgba(255,200,100,0.15);
}

/* Layout */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 800px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

/* Panels estilo UI WoW */
.panel {
    background: linear-gradient(180deg, rgba(35, 22, 12, 0.95) 0%, rgba(18, 10, 6, 0.98) 100%);
    border: 2px solid #6b4423;
    border-radius: 4px;
    box-shadow:
        0 0 0 1px #1a0e06,
        0 0 0 3px #3d2410,
        0 8px 32px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 200, 100, 0.08);
    overflow: hidden;
}

.panel-header {
    padding: 12px 18px;
    background: linear-gradient(180deg, #4a2810 0%, #2a1608 100%);
    border-bottom: 1px solid #8b5a2b;
    font-size: 1rem;
    color: #f0c040;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.panel-body {
    padding: 20px 22px 24px;
}

/* Status */
.status-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.status-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(107, 68, 35, 0.4);
    font-size: 0.95rem;
}

.status-list li:last-child {
    border-bottom: none;
}

.status-label {
    color: #b8a080;
}

.status-value {
    color: #e8dcc8;
    font-weight: bold;
}

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.status-dot.online {
    background: #44cc44;
    box-shadow: 0 0 8px #44cc44;
}

.status-dot.offline {
    background: #cc4444;
    box-shadow: 0 0 8px #cc4444;
}

.status-dot.unknown {
    background: #888;
}

/* Info blocks */
.info-block {
    margin-top: 16px;
    padding: 14px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(107, 68, 35, 0.5);
    border-radius: 3px;
}

.info-block h3 {
    margin: 0 0 8px;
    font-size: 0.9rem;
    color: #c9a86a;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.info-block p, .info-block ol {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #c8b8a0;
}

.info-block ol {
    padding-left: 20px;
}

.info-block code {
    background: rgba(0,0,0,0.4);
    padding: 1px 6px;
    border-radius: 2px;
    color: #ffcc66;
    font-family: Consolas, monospace;
    font-size: 0.85rem;
}

/* Form */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #c9a86a;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid #5a3820;
    border-radius: 3px;
    color: #f0e8d8;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    border-color: #c87820;
    box-shadow: 0 0 8px rgba(255, 140, 0, 0.25);
}

.form-hint {
    margin-top: 4px;
    font-size: 0.78rem;
    color: #887860;
}

/* Button */
.btn {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    margin-top: 4px;
    border: 2px solid #8b5a2b;
    border-radius: 4px;
    background: linear-gradient(180deg, #6b3a10 0%, #3d2008 50%, #2a1505 100%);
    color: #ffd040;
    font-family: Georgia, serif;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
    box-shadow:
        0 2px 6px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,200,100,0.2);
    transition: filter 0.2s, transform 0.1s;
}

.btn:hover {
    filter: brightness(1.15);
}

.btn:active {
    transform: translateY(1px);
}

/* Alerts */
.alert {
    padding: 12px 16px;
    margin-bottom: 18px;
    border-radius: 3px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.alert-success {
    background: rgba(20, 60, 20, 0.6);
    border: 1px solid #3a8a3a;
    color: #a8f0a8;
}

.alert-error {
    background: rgba(60, 15, 10, 0.7);
    border: 1px solid #aa3322;
    color: #ffaa99;
}

.alert-warning {
    background: rgba(60, 40, 10, 0.6);
    border: 1px solid #aa7722;
    color: #ffdd88;
}

/* Footer */
.footer {
    margin-top: 36px;
    text-align: center;
    font-size: 0.8rem;
    color: #665540;
    letter-spacing: 0.05em;
}

.footer a {
    color: #c9a86a;
    text-decoration: none;
}

.footer a:hover {
    color: #f0c040;
}
