﻿/* Additional styles for Auth & Dashboard */

/* Auth Pages */
.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 72px); /* minus navbar */
    padding: 40px 20px;
}

.auth-container {
    background-color: var(--bg-alt);
    width: 100%;
    max-width: 450px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
}

.auth-header {
    margin-bottom: 30px;
}

.auth-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-header p a {
    color: var(--primary-blue);
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.form-group label span.required {
    color: #ff4757; /* red star */
}

.input-wrapper {
    position: relative;
}

.form-control {
    width: 100%;
    background-color: var(--bg-main);
    border: none;
    padding: 14px 16px;
    border-radius: 6px;
    color: white;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: box-shadow 0.3s;
}

.form-control:focus {
    box-shadow: 0 0 0 2px var(--primary-blue);
}

.input-icon-right {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    cursor: pointer;
}

.btn-full {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-top: 10px;
}

.fab-btn {
    position: absolute;
    bottom: -25px;
    right: -25px;
    width: 50px;
    height: 50px;
    background-color: #ff4757;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    cursor: pointer;
    border: none;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.fab-btn:hover {
    transform: translateY(-3px);
}

/* Dashboard Specifics */
.dash-nav {
    background-color: var(--bg-alt);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dash-nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dash-balance {
    background-color: #0b1a25; /* Very dark background pill */
    padding: 6px 12px 6px 6px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.95rem;
}

.dash-balance .ltc-icon-wrapper {
    width: 24px;
    height: 24px;
    background-color: #3498db;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 0.8rem;
}

.btn-icon {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ff4757;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.profile-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #f1c40f;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    font-size: 1.2rem;
    position: relative;
    cursor: pointer;
}

.profile-avatar::after {
    content: '\f0d7';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -14px;
    font-size: 0.8rem;
    color: white;
}

.notification-icon {
    position: relative;
    cursor: pointer;
    color: white;
    font-size: 1.2rem;
    margin-left: 10px;
}

.notification-icon .badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #2ecc71;
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-body {
    padding: 40px 20px;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 60vh;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.section-title i {
    font-size: 1.2rem;
}

.level-section {
    max-width: 550px;
    margin: 0 auto 30px auto;
}

.level-title {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.level-title strong {
    font-weight: 800;
}

.level-badge {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #e74c3c; /* Red circle */
    border-radius: 50%;
    vertical-align: middle;
    margin-left: 8px;
    box-shadow: inset 0 -2px 5px rgba(0,0,0,0.3);
}

.level-stats {
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: white;
}

.text-gold {
    color: #f1c40f;
}

.progress-container {
    width: 100%;
    height: 18px;
    background-color: #1c3341; /* Dark track */
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.progress-bar {
    height: 100%;
    background-color: #2ecc71; /* Green fill */
    border-radius: 10px;
    transition: width 0.5s ease;
}

.progress-text {
    position: absolute;
    right: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px;
}

@media (min-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 15px;
        max-width: 900px;
        padding: 0;
    }
}

.game-tile {
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    aspect-ratio: 68 / 81;
    height: auto;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    padding: 10px 10px 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.game-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.4);
}

/* --- HD 3D Asset Backgrounds with Gradients --- */
.tile-faucet   { background: url('assets/icon_faucet.png') center/cover no-repeat, linear-gradient(180deg, #51a5ff 0%, #0d6cf2 100%); }
.tile-dice     { background: url('assets/icon_dice_1786097082016.png') center/80% no-repeat, linear-gradient(180deg, #37e2c9 0%, #1595fb 100%); }
.tile-slots    { background: url('assets/icon_slots.png') center/cover no-repeat, linear-gradient(180deg, #8162d0 0%, #f6894a 100%); }
.tile-mines    { background: url('assets/icon_mines_fixed2.png') center/80% no-repeat, linear-gradient(180deg, #95a4fc 0%, #b8a4f4 100%); }
.tile-roulette { background: url('assets/icon_roulette.png') center/cover no-repeat, linear-gradient(180deg, #a7efdf 0%, #f7cce2 100%); }
.tile-limbo    { background: url('assets/icon_limbo.jpg') center/cover no-repeat; }

/* Note: The HD assets might not have text baked in, so we keep the text spans */
.game-tile span {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    font-weight: 800;
    z-index: 2;
    position: relative;
    line-height: 1.1;
    margin-top: auto;
    margin-bottom: 10px;
}

.game-tile {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    overflow: hidden;
    position: relative;
    aspect-ratio: 68 / 81;
}

.game-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.4);
}

/* Custom LTC Icon */
.ltc-icon-circle { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; background-color: #2a96ff; color: white !important; border-radius: 50%; font-size: 12px; font-weight: bold; font-family: sans-serif; vertical-align: middle; margin-right: 4px; line-height: 1; }

/* Faucet Modal */
.faucet-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 1000; display: flex; justify-content: center; align-items: flex-start; overflow-y: auto; padding-top: 5vh; padding-bottom: 5vh; }
.faucet-modal-content { background-color: #1a2a36; border-radius: 12px; width: 450px; max-width: 95%; padding: 25px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); position: relative; text-align: center; }
.faucet-modal-close { position: absolute; top: 15px; right: 15px; color: #a0a0a0; cursor: pointer; font-size: 18px; transition: color 0.3s; }
.faucet-modal-close:hover { color: white; }
.faucet-header { font-size: 16px; color: #a0a0a0; margin-bottom: 15px; }
.faucet-header strong { color: white; }
.faucet-desc { font-size: 13px; color: #a0a0a0; line-height: 1.5; margin-bottom: 20px; }
.faucet-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; margin-bottom: 20px; }
.faucet-table th { color: #a0a0a0; font-weight: normal; font-size: 14px; padding-bottom: 5px; }
.faucet-table td { background-color: #243b4e; padding: 12px 10px; font-size: 14px; color: white; font-weight: 500; }
.faucet-table tr td:first-child { border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
.faucet-table tr td:last-child { border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
.btn-claim { background-color: #34c759; color: white; border: none; border-radius: 6px; padding: 12px 20px; font-size: 14px; font-weight: bold; width: 80%; max-width: 300px; cursor: pointer; transition: opacity 0.3s; margin: 0 auto; display: block; }
.btn-claim:hover { opacity: 0.9; }
.btn-disabled { background-color: #4a5c6a !important; cursor: not-allowed; color: #a0a0a0 !important; }











/* ============================
   SHARED DESKTOP 2-COLUMN GAME LAYOUT
   Used by: Dice, Slots, Limbo, Mines
   Left: Controls | Right: Game Area
   ============================ */

.game-layout-desktop {
    display: flex;
    flex-direction: column;
    max-width: 1100px;
    margin: 0 auto 40px auto;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--bg-alt);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.game-left-panel {
    padding: 24px 20px;
    background-color: var(--bg-main);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.game-right-panel {
    padding: 24px 20px;
    background-color: #0b151c;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

/* Desktop: side-by-side */
@media (min-width: 900px) {
    .game-layout-desktop {
        flex-direction: row;
        align-items: stretch;
        min-height: 400px;
    }

    .game-left-panel {
        width: 290px;
        min-width: 260px;
        max-width: 310px;
        flex-shrink: 0;
        border-right: 1px solid rgba(255,255,255,0.06);
        justify-content: flex-start;
    }

    .game-right-panel {
        flex: 1;
        justify-content: center;
    }

    /* Push bet button to bottom on desktop */
    .game-left-panel .btn-roll,
    .game-left-panel .btn-spin,
    .game-left-panel .btn-mines-bet {
        margin-top: auto;
    }
}

/* === FIX: Auto-settings inside left panel === */
.game-left-panel .auto-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
    margin-bottom: 0;
}

.game-left-panel .auto-box {
    padding: 10px 12px;
    font-size: 0.88rem;
}

.game-left-panel .auto-box label:first-child {
    font-size: 0.82rem;
    margin-bottom: 6px;
}

.game-left-panel .auto-row {
    gap: 6px;
}

.game-left-panel .small-input input {
    width: 60px;
}

/* Fix overflow: allow left panel to scroll if needed, not clip */
.game-layout-desktop {
    overflow: visible !important;
}

.game-left-panel {
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 16px 0 0 16px;
    background-color: var(--bg-main);
}

.game-right-panel {
    border-radius: 0 16px 16px 0;
}

@media (max-width: 899px) {
    .game-left-panel {
        border-radius: 16px 16px 0 0;
    }
    .game-right-panel {
        border-radius: 0 0 16px 16px;
    }
}

/* Fix bet-input-wrapper inside left panel */
.game-left-panel .bet-input-wrapper {
    flex-wrap: nowrap;
}

.game-left-panel .bet-input-left {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.game-left-panel .bet-input-left input {
    width: 100%;
    min-width: 0;
}

/* ============================
   SHARED BET CONTROLS CSS
   ============================ */
.bet-amount-section {
    margin-bottom: 20px;
}
.bet-amount-section label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.bet-input-wrapper {
    display: flex;
    background-color: #0b1a25; /* Darker than panel */
    border-radius: 6px;
    overflow: hidden;
    height: 50px;
    border: 1px solid rgba(255,255,255,0.05);
}
.bet-input-left {
    display: flex;
    align-items: center;
    flex: 1;
    padding-left: 15px;
}
.bet-input-left input {
    background: transparent;
    border: none;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 0 10px;
    width: 100%;
    outline: none;
}
.bet-actions {
    display: flex;
    background-color: #1a2a36;
}
.bet-actions button {
    background: transparent;
    border: none;
    border-left: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-weight: 700;
    padding: 0 15px;
    cursor: pointer;
    transition: all 0.2s;
}
.bet-actions button:hover {
    background-color: rgba(255,255,255,0.05);
    color: white;
}

/* Adjust auto input sizes */
.game-left-panel .small-input input {
    width: 80px !important;
    padding-right: 20px !important;
}
.game-left-panel .auto-row {
    justify-content: space-between;
    align-items: center;
}

/* Make buttons full width in left panel */
.game-left-panel .btn-spin,
.game-left-panel .btn-mines-bet,
.game-left-panel .btn-roll {
    width: 100%;
    margin-top: auto;
}

/* ============================
   MOBILE LAYOUT REORDERING
   Game area first, controls below
   ============================ */
@media (max-width: 899px) {
    .game-layout-desktop {
        display: flex;
        flex-direction: column;
    }
    .game-right-panel {
        order: -1; /* Game area goes to top */
        border-radius: 16px 16px 0 0 !important;
    }
    .game-left-panel {
        order: 1; /* Controls go to bottom */
        border-radius: 0 0 16px 16px !important;
    }
}

/* Adjust bet input wrapper to fit better on narrow left panel */
.bet-actions button {
    padding: 0 10px !important;
    font-size: 0.85rem;
}
.bet-input-left input {
    min-width: 60px !important;
}
.bet-input-left {
    padding-left: 10px !important;
}

/* ============================
   COMPACT MOBILE LAYOUT
   ============================ */
@media (max-width: 899px) {
    .game-left-panel, .game-right-panel {
        padding: 15px !important;
    }
    
    .bet-amount-section {
        margin-bottom: 10px !important;
    }
    
    .dice-slider-container {
        margin: 15px 0 !important;
    }
    
    .dice-controls {
        gap: 10px !important;
    }
    
    .dice-controls .control-box {
        padding: 8px !important;
    }
    
    /* Make Bet button slightly shorter on mobile to save space */
    .btn-roll, .btn-spin, .btn-mines-bet {
        padding: 12px !important;
        font-size: 1.1rem !important;
        margin-top: 5px !important;
    }
    
    /* Hide some text to make inputs smaller */
    .game-tabs {
        margin-bottom: 15px !important;
    }
    
    /* Auto settings rows */
    .auto-box {
        padding: 8px !important;
    }
}

/* ============================
   GAME TABS (Manual / Auto)
   ============================ */
.game-tabs {
    display: flex;
    background-color: var(--bg-main);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.tab-btn {
    flex: 1;
    padding: 16px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background-color: #1a2a36;
    color: #3498db;
    box-shadow: inset 0 -3px 0 #3498db;
}

.tab-btn:hover:not(.active) {
    color: white;
}

/* === SUPER COMPACT MOBILE LAYOUT === */
@media (max-width: 899px) {
    /* Prevent inputs stacking on mobile */
    .dice-controls {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 5px !important;
    }
    .dice-controls .control-box {
        flex: 1;
        padding: 5px !important;
    }
    .dice-controls label {
        font-size: 0.75rem !important;
        margin-bottom: 3px !important;
    }
    .dice-controls input {
        font-size: 0.9rem !important;
        padding: 4px !important;
        height: 30px !important;
    }

    /* Shrink panels and margins */
    .game-left-panel, .game-right-panel {
        padding: 8px 10px !important;
    }
    .dashboard-body {
        padding: 10px !important;
    }
    
    /* Shrink headers/tabs */
    .game-tabs {
        margin-bottom: 8px !important;
    }
    .tab-btn {
        padding: 8px !important;
        font-size: 0.9rem !important;
    }
    
    /* Shrink Bet inputs */
    .bet-amount-section {
        margin-bottom: 8px !important;
    }
    .bet-input-wrapper {
        height: 38px !important;
    }
    .bet-input-left input {
        font-size: 0.9rem !important;
    }
    .bet-actions button {
        padding: 0 8px !important;
        font-size: 0.8rem !important;
    }
    .bet-amount-section label {
        margin-bottom: 4px !important;
        font-size: 0.8rem !important;
    }
    
    /* Hide some extra stuff on game pages to save vertical space */
    .section-title {
        display: none !important;
    }
    .level-section {
        margin-bottom: 10px !important;
        padding: 10px !important;
    }
    
    /* Shrink Roll Button */
    .btn-roll, .btn-spin, .btn-mines-bet {
        padding: 10px !important;
        font-size: 1rem !important;
        margin-top: 5px !important;
    }
    
    /* Shrink dice slider area */
    .dice-main-area {
        padding: 15px 0 !important;
    }
    .dice-slider-container {
        margin: 5px 0 !important;
    }
    #roll-value {
        font-size: 2rem !important;
        margin-bottom: 5px !important;
    }
}

/* ============================
   SHARED AUTO SETTINGS CSS
   ============================ */
.auto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}
.auto-box {
    background-color: var(--bg-main);
    padding: 15px;
    border-radius: 8px;
}
.auto-box > label {
    display: block;
    color: white;
    font-weight: 700;
    margin-bottom: 12px;
}
.auto-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
}
.input-with-icon {
    position: relative;
    background-color: #0b151c;
    border-radius: 6px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.input-with-icon input {
    background: transparent;
    border: none;
    color: white;
    padding: 12px 15px;
    font-size: 1rem;
    font-weight: 700;
    width: 100%;
    outline: none;
}
.input-with-icon .icon-right {
    padding: 0 15px;
    color: var(--text-muted);
    font-weight: 700;
    display: flex;
    align-items: center;
}
.small-input {
    width: 110px;
    height: 35px;
}
.small-input input {
    padding: 8px;
    font-size: 0.9rem;
}
.padding-left-input {
    padding-left: 10px !important;
}
.input-with-icon > .ltc-icon-circle {
    margin-left: 10px;
}

/* ============================
   FORCE DARK INPUT OVERRIDE
   ============================ */
.auto-settings input[type="number"],
.auto-settings input[type="text"],
.auto-box input[type="number"] {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    color: white !important;
    outline: none !important;
    font-weight: 700;
    width: 100%;
}

/* Force dark bg on all auto inputs wrappers */
.auto-box .input-with-icon {
    background-color: #0b151c !important;
}

/* Style radio buttons */
.auto-settings input[type="radio"] {
    accent-color: #3498db;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Override any browser default white */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    opacity: 0.3;
}

/* Override Dice and Mines tiles to use the user's exact uploaded images */
.tile-dice {
    background: url('assets/uploaded_dice_mines.png') center/cover no-repeat !important;
}
/* For mines, we'll wait for the user to upload it as uploaded_mines.png */
.tile-mines {
    background: url('assets/uploaded_mines.png') center/cover no-repeat !important;
}

/* Hide the text spans since the images already have the text "DICE" and "MINES" in them */
.tile-dice span, .tile-mines span {
    display: none !important;
}





/* =========================================
   PURE CSS HIGH-RES RECREATION OF TILES
   ========================================= */

/* DICE TILE */
.tile-dice {
    background: linear-gradient(145deg, #44fad2 0%, #1585d5 100%) !important;
    position: relative;
}
/* The Circle */
.tile-dice::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: #2671b7;
    border: 4px solid #55c8ea;
    border-radius: 50%;
    top: 15px;
    left: calc(50% - 40px);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
}
/* The Dice */
.tile-dice::after {
    content: '🎲';
    position: absolute;
    font-size: 3.5rem;
    top: 20px;
    left: calc(50% - 25px);
    filter: drop-shadow(2px 4px 4px rgba(0,0,0,0.4));
}
.tile-dice span {
    display: block !important;
}

/* MINES TILE */
.tile-mines {
    background: linear-gradient(145deg, #eb2773 0%, #839ef4 100%) !important;
    position: relative;
}
/* The Bomb */
.tile-mines::before {
    content: '💣';
    position: absolute;
    font-size: 2.8rem;
    top: 15px;
    right: 20px;
    filter: drop-shadow(2px 4px 4px rgba(0,0,0,0.4));
    z-index: 1;
}
/* The Diamond */
.tile-mines::after {
    content: '💎';
    position: absolute;
    font-size: 4.5rem;
    top: 25px;
    left: calc(50% - 35px);
    filter: drop-shadow(0px 8px 8px rgba(0,0,0,0.4));
    z-index: 2;
}
.tile-mines span {
    display: block !important;
}

/* ============================
   HIDE NUMBER INPUT ARROWS (spinners)
   ============================ */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    display: none !important;
}
input[type="number"] {
    -moz-appearance: textfield !important;
}

/* ============================
   BACK ARROW BUTTON (top-left on game pages)
   ============================ */
.back-arrow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: #aaa;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    margin-bottom: 15px;
    border: none;
    cursor: pointer;
}
.back-arrow-btn:hover {
    background-color: rgba(255,255,255,0.18);
    color: white;
}
