/* =========================================================================
   Thunder WoW — Cookie Consent Popup
   ========================================================================= */

.sc_window {
    position: fixed;
    display: block;
    font-size: 13px;
    box-sizing: border-box;
    z-index: 9999;
    font-family: 'Cinzel', Georgia, serif;
}

/* === Box layout (bottom-left / bottom-right) === */
.sc_box {
    width: 320px;
    height: auto;
    border: 1px solid rgba(201, 162, 39, 0.45);
    border-radius: 4px;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.8),
        0 8px 32px rgba(0, 0, 0, 0.75),
        inset 0 1px 0 rgba(201, 162, 39, 0.12);
    overflow: hidden;
}

.sc_box::before {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #c9a227 40%, #e8c14a 60%, transparent 100%);
    opacity: 0.75;
}

.sc_box.sc_bottom_left  { bottom: 20px; left: 20px; }
.sc_box.sc_bottom_right { bottom: 20px; right: 20px; }

/* === Bar layout (top / bottom) === */
.sc_bar {
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, #1c1510 0%, #120e0a 100%);
    border-top: 1px solid rgba(201, 162, 39, 0.35);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

.sc_top    { top: 0; border-top: none; border-bottom: 1px solid rgba(201, 162, 39, 0.35); }
.sc_bottom { bottom: 0; }

/* === Shadow variant === */
.sc_box.sc_shadow    { box-shadow: 0 0 0 1px rgba(0,0,0,0.9), 0 16px 48px rgba(0,0,0,0.85), inset 0 1px 0 rgba(201,162,39,0.1); }
.sc_top.sc_shadow    { box-shadow: 0 4px 16px rgba(0,0,0,0.6); }
.sc_bottom.sc_shadow { box-shadow: 0 -4px 16px rgba(0,0,0,0.6); }

/* === Line variant === */
.sc_box.sc_line    { border: 1px solid rgba(201, 162, 39, 0.55); }
.sc_bottom.sc_line { border-top: 1px solid rgba(201, 162, 39, 0.55); }
.sc_top.sc_line    { border-bottom: 1px solid rgba(201, 162, 39, 0.55); }

/* === Message === */
.sc_window .sc_message {
    display: block;
    width: auto;
    padding: 16px 16px 8px 16px;
    color: #d4b896;
    line-height: 1.55;
    font-size: 12px;
    letter-spacing: 0.02em;
}

.sc_window .sc_message b {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #e8c97a;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(201, 162, 39, 0.4);
}

/* === Privacy Policy link === */
.sc_window a.sc_link_more_info {
    color: #c9a227;
    border-bottom: 1px dotted rgba(201, 162, 39, 0.5);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s, border-color 0.2s;
}

.sc_window a.sc_link_more_info:hover {
    color: #e8c14a;
    border-bottom-color: rgba(232, 193, 74, 0.7);
}

/* === Accept button === */
.sc_window a.sc_btn_accept {
    display: block;
    text-align: center;
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: #1a1208;
    padding: 9px 20px;
    margin: 10px 16px 14px 16px;
    border-radius: 3px;
    background: linear-gradient(180deg, #d4a520 0%, #a07a10 100%);
    border: 1px solid #8a6610;
    box-shadow:
        inset 0 1px 0 rgba(255, 220, 100, 0.35),
        0 2px 6px rgba(0, 0, 0, 0.5);
    transition: background 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.sc_window a.sc_btn_accept:hover {
    background: linear-gradient(180deg, #e8b828 0%, #b88a18 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 220, 100, 0.4),
        0 0 12px rgba(201, 162, 39, 0.35),
        0 2px 6px rgba(0, 0, 0, 0.5);
}

/* === Decline button === */
.sc_window a.sc_btn_decline {
    display: none;
    text-align: center;
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: #ccc;
    padding: 9px 20px;
    margin: 0 16px 14px 16px;
    border-radius: 3px;
    background: linear-gradient(180deg, #3a2a1a 0%, #251a0e 100%);
    border: 1px solid rgba(201, 162, 39, 0.2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    transition: background 0.2s, border-color 0.2s;
    cursor: pointer;
}

.sc_window a.sc_btn_decline:hover {
    background: linear-gradient(180deg, #4a3520 0%, #2e1f0f 100%);
    border-color: rgba(201, 162, 39, 0.35);
}

/* Adjust bar layout buttons to be inline */
.sc_window.sc_bar a.sc_btn_accept,
.sc_window.sc_bar a.sc_btn_decline {
    display: inline-block;
    float: right;
    margin: 12px 10px;
}

.sc_window.sc_bar .sc_message {
    display: table-cell;
    width: 80%;
    vertical-align: middle;
    padding: 12px 10px;
}

/* === Minimized === */
a.sc_minimized {
    position: fixed;
    display: none;
    padding: 6px 14px;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: #c9a227;
    background: #120e0a;
    border: 1px solid rgba(201, 162, 39, 0.4);
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    z-index: 9999;
    transition: background 0.2s, color 0.2s;
}

a.sc_minimized:hover {
    background: #1c1510;
    color: #e8c14a;
}

a.sc_minimized.sc_bottom_right { bottom: 0; right: 20px; }
a.sc_minimized.sc_bottom_left  { bottom: 0; left: 20px; }

/* === Responsive === */
@media all and (max-width: 768px) {
    .sc_window.sc_box {
        width: calc(100% - 20px);
    }

    .sc_box.sc_bottom_left,
    .sc_box.sc_bottom_right {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }

    .sc_window.sc_bar {
        text-align: center;
        padding: 0 10px;
    }

    .sc_window.sc_bar .sc_message {
        display: block;
        width: 100%;
    }

    .sc_window.sc_bar a.sc_btn_accept,
    .sc_window.sc_bar a.sc_btn_decline {
        clear: both;
        float: none;
        display: inline-block;
        margin: 8px auto;
    }
}

@media all and (max-width: 480px) {
    .sc_window.sc_box {
        width: 100%;
        border-left: none;
        border-right: none;
        border-radius: 0;
    }

    .sc_box.sc_bottom_left,
    .sc_box.sc_bottom_right {
        bottom: 0;
        left: 0;
        right: 0;
    }
}
