/* Project Pavol WoW - v4 */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #0a0a14 url("img/background_wotlk.jpg") center top / cover no-repeat fixed;
    color: #ccc;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
}

/* ===== HEADER ===== */
.header {
    text-align: center;
    padding: 50px 20px 30px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%);
}

.header h1 {
    color: #FFD700;
    font-size: 48px;
    font-weight: 900;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 0 30px rgba(255,215,0,0.3);
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.header .subtitle {
    color: #b0c4de;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 1px 6px rgba(0,0,0,0.9);
    margin-bottom: 16px;
}

.header-realmlist {
    display: inline-block;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(166,220,148,0.4);
    color: #A6DC94;
    font-size: 15px;
    font-weight: bold;
    padding: 8px 24px;
    border-radius: 4px;
    margin-bottom: 14px;
    backdrop-filter: blur(4px);
}

/* ===== WOW BUTTON ===== */
.btn-register {
    display: inline-block;
    padding: 14px 48px;
    font-size: 18px;
    font-weight: 800;
    color: #FFD700;
    text-decoration: none;
    letter-spacing: 1px;
    border: 2px solid #8B6914;
    border-radius: 5px;
    background: linear-gradient(180deg, #5a4118 0%, #3a2a0d 50%, #1f1805 100%);
    box-shadow: 0 0 15px rgba(255,215,0,0.15), inset 0 1px 0 rgba(255,215,0,0.2);
    text-shadow: 0 0 8px rgba(255,215,0,0.5), 0 1px 2px #000;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.btn-register:hover {
    color: #fff;
    border-color: #FFD700;
    background: linear-gradient(180deg, #7a6128 0%, #4a3a15 50%, #2f2510 100%);
    box-shadow: 0 0 25px rgba(255,215,0,0.35), inset 0 1px 0 rgba(255,215,0,0.3);
    text-shadow: 0 0 12px rgba(255,215,0,0.8);
}

.btn-register:active { transform: scale(0.97); }

.btn-back {
    display: inline-block;
    color: #999;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    padding: 6px 16px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-back:hover {
    color: #FFD700;
    border-color: rgba(255,215,0,0.3);
}

.reg-container {
    max-width: 500px;
    margin: 30px auto;
    padding: 0 20px;
}

/* ===== DATE HEADERS ===== */
.date-header {
    color: #69CCF0;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 10px 0 8px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-top: 1px solid rgba(105,204,240,0.15);
    text-shadow: 0 0 8px rgba(105,204,240,0.3);
}

.date-header:first-child {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

/* ===== REALMLIST BOX ===== */
.realmlist-box {
    text-align: center;
    background: rgba(20, 20, 40, 0.6);
    border: 1px solid rgba(166,220,148,0.2);
    border-radius: 5px;
    padding: 14px;
}

.realmlist-label {
    display: block;
    color: #888;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.realmlist-value {
    display: block;
    color: #A6DC94;
    font-size: 16px;
    font-weight: 800;
    word-break: break-all;
}

/* ===== THREE COLUMN LAYOUT ===== */
.three-col {
    display: grid;
    grid-template-columns: 260px 1fr 280px;
    gap: 16px;
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
    align-items: start;
}

.col-side { }
.col-center { }

/* ===== CARDS ===== */
.card {
    background: rgba(10, 10, 22, 0.85);
    border: 1px solid rgba(255, 215, 0, 0.08);
    border-radius: 8px;
    padding: 22px 20px;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
}

.card-center {
    text-align: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.card h2 {
    color: #FFD700;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,215,0,0.12);
    text-align: center;
}

/* ===== RATES (vertical) ===== */
.rate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(20, 20, 40, 0.6);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 5px;
    padding: 8px 12px;
    margin-bottom: 6px;
}

.rate:last-child { margin-bottom: 0; }

.rate-val {
    color: #69CCF0;
    font-size: 20px;
    font-weight: 800;
    min-width: 60px;
}

.rate-label {
    color: #999;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: right;
}

/* ===== CHANGELOG ENTRIES ===== */
.entry {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.entry.compact { margin-bottom: 8px; padding-bottom: 8px; }

.entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Change rows (compact changelog lines) */
.change-row {
    color: #bbb;
    font-size: 13px;
    line-height: 1.6;
    padding: 3px 0;
}

.change-row strong { color: #fff; }

/* Tags */
.tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 4px;
    vertical-align: middle;
}

.tag-new { background: rgba(26, 58, 26, 0.8); color: #A6DC94; }
.tag-fix { background: rgba(80, 40, 20, 0.8); color: #FFB366; }
.tag-perf { background: rgba(20, 40, 70, 0.8); color: #69CCF0; }
.tag-change { background: rgba(60, 50, 20, 0.8); color: #FFD700; }

/* Collapsible details */
.changelog-details {
    margin-bottom: 10px;
}

.changelog-details summary {
    color: #69CCF0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 10px;
    background: rgba(20, 30, 50, 0.5);
    border: 1px solid rgba(105,204,240,0.12);
    border-radius: 4px;
    transition: all 0.2s;
    list-style: none;
}

.changelog-details summary::before {
    content: "\25B6  ";
    font-size: 10px;
    transition: transform 0.2s;
    display: inline-block;
}

.changelog-details[open] summary::before {
    transform: rotate(90deg);
}

.changelog-details summary:hover {
    background: rgba(30, 40, 60, 0.7);
    border-color: rgba(105,204,240,0.3);
}

.details-inner {
    padding: 8px 12px 4px;
    margin-top: 6px;
    border-left: 2px solid rgba(105,204,240,0.15);
}

.badge {
    display: inline-block;
    background: rgba(26, 58, 26, 0.7);
    color: #A6DC94;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.entry h3 {
    color: #A6DC94;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.entry ul {
    padding-left: 18px;
    color: #bbb;
    font-size: 13px;
    line-height: 1.7;
}

.entry li { margin-bottom: 2px; }
.entry li strong { color: #fff; }

/* ===== DOWNLOADS (vertical) ===== */
.dl {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(20, 20, 40, 0.6);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 5px;
    padding: 12px 14px;
    margin-bottom: 8px;
}

.dl:last-child { margin-bottom: 0; }

.dl-icon {
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
}

.dl-info { font-size: 13px; }
.dl-info strong { color: #FFD700; font-size: 14px; }
.dl-info span { color: #888; font-size: 12px; }
.dl-info a { color: #69CCF0; font-weight: 600; font-size: 13px; }
.dl-info a:hover { color: #fff; }

/* ===== GM LINKS ===== */
.gm-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gm-links a {
    display: inline-block;
    background: rgba(20, 20, 40, 0.6);
    border: 1px solid rgba(255,255,255,0.06);
    color: #69CCF0;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.2s;
}

.gm-links a:hover {
    background: rgba(40, 40, 70, 0.8);
    color: #fff;
    border-color: #69CCF0;
}

/* ===== REGISTRATION FORM ===== */
.reg-form {
    text-align: left;
    max-width: 360px;
    margin: 0 auto;
}

.reg-form label {
    display: block;
    color: #999;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    margin-top: 16px;
}

.reg-form label:first-child { margin-top: 0; }

.reg-form input,
.reg-form select {
    display: block;
    width: 100%;
    padding: 10px 14px;
    background: rgba(20, 20, 40, 0.8);
    color: #ddd;
    border: 1px solid rgba(255,215,0,0.15);
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.reg-form input:focus,
.reg-form select:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 2px rgba(255,215,0,0.1);
}

.reg-form input::placeholder { color: #555; }

.reg-form .btn-register {
    display: block;
    width: 100%;
    margin-top: 24px;
    text-align: center;
}

.note {
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ===== ERRORS ===== */
.msg-error, div.errors {
    background: rgba(255, 80, 40, 0.1);
    border: 1px solid rgba(255, 80, 40, 0.3);
    color: #ff6644;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 5px;
    margin-bottom: 10px;
    text-align: center;
}

/* ===== REQUEST PAGE ===== */
.req-container {
    max-width: 600px;
    margin: 30px auto;
    padding: 0 20px;
}

.req-form textarea {
    display: block;
    width: 100%;
    min-height: 180px;
    padding: 14px;
    background: rgba(20, 20, 40, 0.8);
    color: #ddd;
    border: 1px solid rgba(255,215,0,0.15);
    border-radius: 5px;
    font-size: 15px;
    font-family: inherit;
    line-height: 1.6;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s;
    margin-bottom: 16px;
}

.req-form textarea:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 2px rgba(255,215,0,0.1);
}

.req-form textarea::placeholder { color: #555; }

.req-form .btn-register {
    display: block;
    width: 100%;
    text-align: center;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.req-success {
    color: #A6DC94;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ===== REQUEST BADGE ===== */
.header .btn-register {
    min-width: 200px;
    text-align: center;
}

.btn-requests {
    margin-left: 12px;
    position: relative;
}

.req-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    min-width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border-radius: 11px;
    padding: 0 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    max-width: 1400px;
    margin: 10px auto 30px;
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #555;
    font-size: 13px;
}

.footer a { color: #69CCF0; }

/* ===== LINKS ===== */
a { color: #69CCF0; text-decoration: none; }
a:hover { color: #FFD700; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
    .three-col {
        grid-template-columns: 1fr;
    }
    /* Changelog first on mobile */
    .col-center { order: -1; }
    .header h1 { font-size: 32px; }
}

@media (max-width: 600px) {
    .header h1 { font-size: 24px; }
    .header { padding: 30px 15px 20px; }
    .header .subtitle { font-size: 14px; }
    .btn-register { padding: 10px 20px; font-size: 14px; }
    .btn-requests { margin-left: 0; margin-top: 10px; }
    .nav a { padding: 10px 16px; font-size: 14px; }
    .card { padding: 14px 12px; }
    .card h2 { font-size: 16px; margin-bottom: 12px; padding-bottom: 8px; }
    .date-header { font-size: 12px; letter-spacing: 1px; }
    .change-row { font-size: 12px; }
    .tag { font-size: 9px; padding: 1px 5px; }
    .changelog-details summary { font-size: 12px; padding: 5px 8px; }
    .req-container { margin: 20px auto; }
    .req-form textarea { min-height: 150px; font-size: 14px; }
}
