﻿/* Walter Suite – Bible Trivia
   File: wwwroot/css/ws-bibletrivia.css
*/

body {
    background: radial-gradient(circle at top, #020617 0, #020617 60%, #020617 100%);
}

/* PAGE WRAPPER */
.ws-bt-page {
    width: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #0f172a 0, #020617 55%, #020617 100%);
    color: #e5e7eb;
}

/* ============= HERO STRIP ============= */

.ws-bt-hero {
    position: relative;
    padding: 1.75rem 0 1.5rem;
    overflow: hidden;
}

.ws-bt-orbit {
    position: absolute;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.ws-bt-orbit-1 {
    width: 260px;
    height: 260px;
    top: -80px;
    right: 5%;
    background: conic-gradient(from 140deg, #38bdf8, #a855f7, #22c55e);
}

.ws-bt-orbit-2 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: 6%;
    background: conic-gradient(from 40deg, #f97316, #ec4899, #3b82f6);
}

.ws-bt-hero-inner {
    position: relative;
    z-index: 1;
}

.ws-bt-hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    color: #9ca3af;
    margin-bottom: 0.3rem;
}

.ws-bt-hero-title {
    font-size: clamp(2rem, 4vw, 2.7rem);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0;
    background: linear-gradient(120deg, #22d3ee, #a855f7, #facc15);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ws-bt-hero-subtitle {
    font-size: 0.9rem;
    color: #d1d5db;
    margin-top: 0.3rem;
    max-width: 32rem;
}

/* ============= MAIN CONTENT AREA ============= */

.ws-bt-content {
    padding: 1.75rem 0 2.5rem;
    background: radial-gradient(circle at top, #020617 0, #020617 60%, #020617 100%);
}

/* Card shell for the game */
.ws-bt-card {
    border-radius: 1.2rem;
    padding: 1.4rem 1.6rem;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.96) 55%);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.85), 0 22px 50px rgba(0, 0, 0, 0.85);
    color: #e5e7eb;
}

/* Header row in card */
.ws-bt-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.ws-bt-card-title {
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e5e7eb;
}

.ws-bt-card-subtitle {
    font-size: 0.82rem;
    color: #9ca3af;
}

/* Timer pill */
.timer-box {
    background: #0ea5e9;
    color: #f9fafb;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

    .timer-box::before {
        content: "⏱";
        font-size: 0.9rem;
    }

/* Question text */
.ws-bt-question-text {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* ============= DIFFICULTY SCREEN ============= */

#difficulty-screen {
    text-align: center;
    padding: 1.2rem 0 0.5rem;
}

.ws-bt-diff-label {
    font-size: 0.85rem;
    color: #cbd5f5;
    margin-bottom: 0.4rem;
}

.ws-bt-diff-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.ws-bt-diff-btn {
    border-radius: 999px;
    padding-inline: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-width: 1px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.6);
}

.ws-bt-diff-btn-easy {
    background: #22c55e;
    border-color: #15803d;
}

.ws-bt-diff-btn-medium {
    background: #f97316;
    border-color: #c2410c;
}

.ws-bt-diff-btn-hard {
    background: #ef4444;
    border-color: #b91c1c;
}

.ws-bt-diff-btn:hover {
    filter: brightness(1.05);
}

/* ============= ANSWER BUTTONS ============= */

/* keep the .answer-btn class for JS to hook into */
.answer-btn.ws-bt-answer-btn {
    width: 100%;
    margin-bottom: 0.6rem;
    padding: 0.85rem 0.95rem;
    font-size: 0.94rem;
    border-radius: 0.9rem;
    text-align: left;
    color: #e5e7eb;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
    transition: background 0.16s ease, border-color 0.16s ease, transform 0.1s ease, box-shadow 0.16s ease;
}

    .answer-btn.ws-bt-answer-btn:hover {
        background: rgba(15, 23, 42, 1);
        border-color: #38bdf8;
        box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.45);
        transform: translateY(-1px);
        color: #f9fafb !important;
    }

    /* Override Bootstrap mobile active/focus states */
    .answer-btn.ws-bt-answer-btn:active,
    .answer-btn.ws-bt-answer-btn:focus,
    .answer-btn.ws-bt-answer-btn:visited,
    .answer-btn.ws-bt-answer-btn:focus-visible {
        color: #f9fafb !important;
        background-color: rgba(15, 23, 42, 1) !important;
        outline: none !important;
        box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.45) !important;
        border-color: #0ea5e9 !important;
    }

/* ============= RESULTS ============= */

#results-screen {
    color: #e5e7eb;
}

.ws-bt-results-card {
    border-radius: 1rem;
    padding: 1.5rem;
    background: radial-gradient(circle at top right, rgba(129, 140, 248, 0.25), rgba(15, 23, 42, 0.95) 55%);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.8), 0 20px 45px rgba(0, 0, 0, 0.85);
}

.ws-bt-results-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.ws-bt-results-score {
    font-size: 0.98rem;
    color: #c7d2fe;
}

.ws-bt-play-again {
    border-radius: 999px;
    padding-inline: 1.6rem;
    margin-top: 0.9rem;
}

/* ============= RESPONSIVE ============= */

@media (max-width: 767.98px) {
    .ws-bt-card {
        padding: 1.1rem 1.1rem;
    }

    .ws-bt-content {
        padding-top: 1.3rem;
    }
}


/* Tetris hero – title + Walter alignment */
.ws-bt-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Walter next to Tetris title */
.ws-bt-walter-inline {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    padding: 3px;
    background-color: #fff !important;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.85);
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .ws-bt-walter-inline {
        width: 40px;
        height: 40px;
    }
}
