/*
 * ============================================================
 *  TNT | Slot Machine Saga — SPARK Edition
 *  File:    slotMachineStyles.css
 *  Coder:   KLP
 *  Created: 2026-06-14
 *
 *  Deep violet-black palette with TNT amber accents.
 *  Requires CSS custom properties from tnt-base-styles.css.
 * ============================================================
 */

/* ── Body ── */
body {
    background: #0f0a1e;
}

/* ── Hero ── */
#hero {
    min-height: 38vh;
    background-image:
        linear-gradient(rgba(10,6,26,0.72) 0%, rgba(10,6,26,0.92) 100%),
        url('../../_LegacyTNT/SlotMachineP5JSBS5-2023-10-30-S7/images/slotMachine.jpg');
    background-size: cover;
    background-position: center 40%;
    padding: 3.5rem 1rem 3rem;
    text-align: center;
}

/* ── About details ── */
#gameSection details summary {
    color: var(--tnt-amber);
    font-style: italic;
    font-weight: 600;
    cursor: pointer;
    padding: 0.4rem 0;
    list-style: none;
}

#gameSection details summary::before {
    content: "\25B6\00a0";
    font-style: normal;
    font-size: 0.75em;
}

#gameSection details[open] summary::before {
    content: "\25BC\00a0";
}

#gameSection details .about-body {
    margin-top: 0.5rem;
    padding-left: 0.75rem;
    border-left: 3px solid var(--tnt-amber);
    color: rgba(255,255,255,0.72);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ── Game section wrapper ── */
#gameSection {
    background: #0f0a1e;
    padding: 2rem 0 4rem;
}

/* ── Game card ── */
.game-card {
    background: #1a1030;
    border: 1px solid rgba(230,159,77,0.2);
    border-radius: 12px;
    padding: 1.25rem 1.25rem 1rem;
    box-shadow: 0 4px 28px rgba(0,0,0,0.65);
}

/* ── Canvas container ── */
#myCanvas {
    border-radius: 10px;
    overflow: hidden;
    display: inline-block;
}

#myCanvas canvas {
    border-radius: 10px;
    display: block;
}

/* ── Win / message display ── */
.slot-msg {
    text-align: center;
    min-height: 1.6rem;
    margin: 0.4rem 0 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.slot-msg.win      { color: var(--tnt-amber); font-size: 1.1rem; }
.slot-msg.encourage { color: #27AE60; }
.slot-msg.neutral  { color: rgba(255,255,255,0.45); font-weight: 400; font-size: 0.85rem; }


/* ── Controls heading ── */
.controls-heading {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--tnt-amber);
    margin-bottom: 0.6rem;
}

/* ── Theme buttons ── */
.theme-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.theme-btn {
    background: #2a1a40;
    border: 1px solid rgba(230,159,77,0.28);
    color: rgba(255,255,255,0.65);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.15s;
}

.theme-btn:hover:not(:disabled) {
    border-color: var(--tnt-amber);
    color: var(--tnt-amber);
}

.theme-btn.active {
    background: var(--tnt-amber);
    border-color: var(--tnt-amber);
    color: #1a1030;
    font-weight: 700;
}

.theme-btn:disabled { opacity: 0.45; cursor: default; }


/* ── Sliders ── */
.slider-group {
    margin-bottom: 0.85rem;
}

.slider-group label {
    display: block;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 3px;
    text-align: center;
}

/* ── Spin button ── */
#spinBtn {
    background: var(--tnt-red);
    border: none;
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 9px 0;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s, transform 0.1s;
}

#spinBtn:hover:not(:disabled) {
    background: var(--tnt-red-dark);
    transform: translateY(-1px);
}

#spinBtn:disabled {
    background: #555;
    cursor: default;
}

/* ── Screenshot / proof button ── */
#screenshotBtn {
    background: #059669;
    border: none;
    color: white;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 0.4rem;
    transition: background 0.2s, transform 0.1s;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#screenshotBtn:hover {
    background: #047857;
    transform: translateY(-1px);
}

/* ── Reset button ── */
#resetButton {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.5);
    border-radius: 6px;
    padding: 4px 0;
    font-size: 0.8rem;
    cursor: pointer;
    width: 100%;
    margin-top: 0.4rem;
    transition: all 0.15s;
}

#resetButton:hover {
    border-color: var(--tnt-amber);
    color: var(--tnt-amber);
}

/* ── Control divider ── */
.ctrl-hr {
    border-color: rgba(255,255,255,0.08);
    margin: 0.75rem 0;
}
