/* -----------------------------------------------------------
   GPT CASH MINING – FUTURISTIC DARK THEME (2025/2026)
   Applies to: header, home, footer, register, sidebar, dashboard
----------------------------------------------------------- */

/* FONT & ROOT TOKENS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-main: #020617;
    --bg-soft: #020617;
    --bg-elevated: #020617;
    --bg-card: #020617;
    --bg-card-soft: #020617;
    --bg-navbar: #020617;
    --bg-footer: #020617;

    --border-subtle: rgba(148, 163, 184, 0.25);
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.75);

    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --text-strong: #f9fafb;
    --text-danger: #fecaca;

    --accent: #facc15;
    --accent-soft: rgba(250, 204, 21, 0.08);
    --accent-alt: #22d3ee;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;

    --transition-fast: 0.18s ease-out;
}

/* BASE LAYOUT */

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body.app-body,
body {
    background: radial-gradient(circle at top left, #020617 0, #020617 55%, #000000 100%);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    line-height: 1.5;
}

/* General container spacing */
main.container,
main.container-fluid {
    padding-top: 1.25rem;
    padding-bottom: 2rem;
}

/* Links */

a {
    color: var(--accent-alt);
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover,
a:focus {
    color: var(--accent);
    text-decoration: none;
}

/* Typography */

h1, h2, h3, h4, h5 {
    color: var(--text-strong);
    font-weight: 600;
    letter-spacing: 0.01em;
}

p {
    color: var(--text-main);
    margin-bottom: 0.85rem;
}

/* Generic card helpers */

.box-style {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: radial-gradient(circle at top left, #020617 0, #020617 55%, #020617 100%);
}

.box-shadow {
    box-shadow: var(--shadow-soft);
}

/* Buttons */

.btn {
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5, #22c55e);
    border-color: #4f46e5;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #4338ca, #16a34a);
    border-color: #4338ca;
}

.btn-warning {
    background: linear-gradient(135deg, #facc15, #f97316);
    border-color: #facc15;
    color: #111827;
}

.btn-warning:hover,
.btn-warning:focus {
    background: linear-gradient(135deg, #eab308, #ea580c);
    border-color: #eab308;
    color: #020617;
}

.btn-outline-danger {
    border-radius: var(--radius-sm);
}

/* Highlight button in header */
.btn-signup {
    font-weight: 600;
    padding: 0.375rem 0.9rem;
}

/* Forms */

.form-control,
.custom-select {
    background-color: rgba(15, 23, 42, 0.85);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-control:focus,
.custom-select:focus {
    background-color: rgba(15, 23, 42, 0.95);
    border-color: var(--accent-alt);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.4);
    color: var(--text-main);
}

.form-control::placeholder {
    color: rgba(148, 163, 184, 0.75);
}

/* Validation feedback */
.form-control.is-valid {
    border-color: #22c55e;
}

.form-control.is-invalid {
    border-color: #ef4444;
}

/* Alerts */

.alert {
    border-radius: var(--radius-sm);
    border-width: 0;
}

.alert-info {
    background: rgba(14, 165, 233, 0.12);
    color: #7dd3fc;
}

.alert-danger {
    background: rgba(248, 113, 113, 0.15);
    color: #fecaca;
}

.alert-success {
    background: rgba(34, 197, 94, 0.16);
    color: #bbf7d0;
}

/* HR global */

hr.global {
    border: 0;
    height: 1px;
    margin: 10px 0 18px 0;
    background: linear-gradient(
      to right,
      rgba(148, 163, 184, 0),
      rgba(148, 163, 184, 0.8),
      rgba(148, 163, 184, 0)
    );
}

/* reCAPTCHA scale for narrow layouts */

.g-recaptcha {
    transform: scale(0.93);
    -webkit-transform: scale(0.93);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
}

/* -----------------------------------------------------------
   NAVBAR / HEADER
----------------------------------------------------------- */

.main-navbar.navbar {
    background: radial-gradient(circle at top left, #111827 0, #020617 60%, #000000 100%);
    border-bottom: 1px solid var(--border-subtle);
}

.main-navbar .navbar-brand {
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-strong);
    display: flex;
    align-items: center;
}

.main-navbar .navbar-brand i {
    margin-right: 0.35rem;
    color: var(--accent);
}

.main-navbar .navbar-brand:hover,
.main-navbar .navbar-brand:focus {
    color: #fefce8;
}

.main-navbar .navbar-nav .nav-link {
    color: var(--text-main);
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.94rem;
}

.main-navbar .navbar-nav .nav-link:hover,
.main-navbar .navbar-nav .nav-link:focus {
    background: rgba(148, 163, 184, 0.15);
    color: var(--text-strong);
}

.main-navbar .navbar-nav .dropdown-menu {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: #020617;
    box-shadow: var(--shadow-soft);
    min-width: 220px;
}

.main-navbar .dropdown-item {
    font-size: 0.92rem;
    color: var(--text-main);
}

.main-navbar .dropdown-item i {
    width: 18px;
}

.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus {
    background: rgba(148, 163, 184, 0.15);
    color: var(--accent);
}

/* Navbar toggler for mobile */
.navbar-toggler {
    border-color: rgba(148,163,184,0.6);
}
.navbar-toggler-icon {
    background-image: none;
}
.navbar-dark .navbar-toggler-icon::before {
    content: "\f0c9";
    font-family: "FontAwesome";
    color: #e5e7eb;
}

/* -----------------------------------------------------------
   HOME PAGE
----------------------------------------------------------- */

.home-main {
    padding-top: 1.75rem;
}

/* Hero */

.home-hero {
    background: radial-gradient(circle at top left, #0b1120 0, #020617 50%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
      radial-gradient(circle at 0% 0%, rgba(56,189,248,0.08), transparent 55%),
      radial-gradient(circle at 100% 0%, rgba(244,114,182,0.08), transparent 55%),
      radial-gradient(circle at 50% 120%, rgba(250,204,21,0.05), transparent 60%);
    opacity: 1;
    pointer-events: none;
}

.home-hero .content {
    position: relative;
    z-index: 2;
}

.home-pill {
    display: inline-block;
    padding: 0.15rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    background: var(--accent-soft);
    color: var(--accent);
}

.home-title {
    font-size: 1.9rem;
    line-height: 1.25;
}

@media (min-width: 992px) {
    .home-title {
        font-size: 2.3rem;
    }
}

.home-stats {
    position: relative;
    z-index: 2;
}

/* Stat cards */

.home-stat-card {
    border-radius: var(--radius-md);
    padding: 0.9rem 0.75rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.9);
}

.home-stat-card .label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.home-stat-card .value {
    display: block;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-strong);
}

/* Sections (How it works / Advertisers) */

.home-section {
    padding: 1.35rem 1.4rem 1.25rem 1.4rem;
    background: rgba(15,23,42,0.95);
}

.home-section .section-title {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.home-section p {
    font-size: 0.93rem;
    color: var(--text-main);
}

.home-list {
    padding-left: 1.1rem;
    margin-bottom: 0;
}
.home-list li {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: var(--text-main);
}

/* Payment proofs */

.home-proof {
    background: rgba(15, 23, 42, 0.95);
    padding: 1.35rem 1.4rem;
}

.home-proof .section-title {
    font-size: 1.05rem;
}

.home-proof-list {
    max-height: 260px;
    overflow-y: auto;
}

.home-proof-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 0.88rem;
    padding: 0.4rem 0;
    border-bottom: 1px dashed rgba(51,65,85,0.85);
}

.home-proof-item:last-child {
    border-bottom: 0;
}

.home-proof-item .user {
    font-weight: 500;
    color: var(--accent-alt);
}

.home-proof-item .amount {
    font-weight: 600;
}

.home-proof-item .method,
.home-proof-item .date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Skyscraper ads */

.home-skyscraper {
    position: relative;
    margin-top: 1.75rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: rgba(15, 23, 42, 0.95);
    min-height: 240px;
}

.home-footer-ad img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

/* -----------------------------------------------------------
   LOGIN MODAL
----------------------------------------------------------- */

.modal-login .modal-content {
    background: radial-gradient(circle at top left, #020617 0, #020617 55%, #000000 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    color: var(--text-main);
}

.modal-login .modal-header {
    border-bottom: 1px solid rgba(51,65,85,0.85);
}

.modal-login .modal-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.modal-login .close {
    color: var(--text-muted);
}

.modal-login .close:hover {
    color: var(--text-strong);
}

.modal-login .form-group i.fa {
    margin-right: 0.5rem;
    color: var(--accent-alt);
}

.modal-login .btn-login {
    font-weight: 600;
}

/* small "shake" animation used by JS */
.modal-login .modal-dialog.shake {
    animation: shake 0.4s linear;
}
@keyframes shake {
    10%, 90% { transform: translate3d(-1px,0,0);}
    20%, 80% { transform: translate3d(2px,0,0);}
    30%, 50%, 70% { transform: translate3d(-4px,0,0);}
    40%, 60% { transform: translate3d(4px,0,0);}
}

/* Login right-side square ad slot */

.login-ad-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    background: rgba(15,23,42,0.9);
    border: 1px dashed rgba(148,163,184,0.35);
}

/* -----------------------------------------------------------
   REGISTER PAGE
----------------------------------------------------------- */

.register-page {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
}

.register-card {
    background: radial-gradient(circle at top left, #020617 0, #020617 60%, #000000 100%);
}

.register-header h1 {
    font-size: 1.4rem;
}

.register-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Register ads */

.register-ad-slot {
    border-radius: var(--radius-md);
    border: 1px dashed rgba(148,163,184,0.4);
    padding: 0.75rem;
    background: rgba(15,23,42,0.9);
}

.register-ad-slot img {
    max-width: 100%;
    height: auto;
}

/* -----------------------------------------------------------
   SIDEBAR
----------------------------------------------------------- */

#sidebar-block.sidebar-panel {
    background: radial-gradient(circle at top left, #020617 0, #020617 60%, #000000 100%);
    padding: 0.9rem 1rem 1rem 1rem;
}

.sidebar-user {
    border-bottom: 1px solid rgba(51,65,85,0.85);
    padding-bottom: 0.6rem;
}

.sidebar-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 999px;
}

.sidebar-user-meta .sidebar-username {
    font-weight: 600;
    font-size: 0.98rem;
}

.sidebar-user-meta .sidebar-membership {
    line-height: 1.3;
}

/* Sidebar menu */

.sidebar-menu {
    margin-top: 0.9rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.38rem 0.45rem;
    font-size: 0.92rem;
    color: var(--text-main);
    border-radius: var(--radius-sm);
    margin-bottom: 0.2rem;
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.sidebar-link i {
    margin-right: 0.4rem;
    width: 18px;
    text-align: center;
}

.sidebar-link:hover,
.sidebar-link:focus {
    background: rgba(148,163,184,0.16);
    color: var(--accent);
    transform: translateX(1px);
}

/* Sidebar info & logout */

.sidebar-info {
    font-size: 0.85rem;
}

.sidebar-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
    color: var(--text-muted);
}

.sidebar-info-row .label {
    opacity: 0.9;
}

.sidebar-info-row .value {
    font-weight: 500;
}

.sidebar-logout .btn {
    font-size: 0.85rem;
    border-radius: 999px;
}

/* -----------------------------------------------------------
   DASHBOARD
----------------------------------------------------------- */

.dashboard-wrapper {
    background: radial-gradient(circle at top left, #020617 0, #020617 60%, #000000 100%);
}

/* KPI cards */

.dash-card {
    background: rgba(15,23,42,0.95);
    border-radius: var(--radius-md);
    border: 1px solid rgba(51,65,85,0.85);
    padding: 0.75rem 0.9rem;
    box-shadow: 0 10px 25px rgba(15,23,42,0.8);
}

.dash-card .label {
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.dash-card .value {
    font-size: 1.15rem;
    font-weight: 600;
}

/* Bigger cards */

.dash-card-main,
.dash-card.big {
    padding: 1.1rem 1.1rem 1rem 1.1rem;
}

/* Dashboard sections spacing */

.dashboard-kpis .dash-card {
    height: 100%;
}

/* Advertiser box (#grey-box reused) */

#grey-box {
    display: block;
    color: var(--text-main);
    border-radius: var(--radius-md);
    border: 1px solid rgba(148,163,184,0.4);
    background: radial-gradient(circle at top left, #020617 0, #020617 65%, #000000 100%);
}

#grey-box .title {
    background: rgba(15,23,42,0.95);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid rgba(51,65,85,0.85);
}

#grey-box .infobox {
    background: transparent;
    padding: 0.75rem 1rem 0.2rem 1rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

#grey-box .content {
    padding: 0.75rem 1rem 1.1rem 1rem;
}

/* -----------------------------------------------------------
   FOOTER
----------------------------------------------------------- */

.site-footer {
    background: radial-gradient(circle at top, #020617 0, #020617 55%, #000000 100%);
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.75rem;
    padding-bottom: 1.25rem;
    margin-top: 2.5rem;
    font-size: 0.9rem;
}

.footer-title {
    font-size: 0.96rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
}

.footer-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links li {
    margin-bottom: 0.25rem;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-main);
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--accent);
}

.footer-language .btn {
    font-size: 0.8rem;
    border-radius: 999px;
}

.footer-bottom {
    border-top: 1px solid rgba(30,41,59,0.9);
    margin-top: 0.8rem;
}

.footer-bottom .small {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* -----------------------------------------------------------
   MISC / LEGACY SUPPORT
   (kept so old templates still look ok)
----------------------------------------------------------- */

/* Global countdown text */
#countdown {
    font-size: 0.9rem;
    padding: 5px 5px 10px;
}

/* Generic boxes used across the script */
.info_box,
.price_block,
.box {
    background: rgba(15,23,42,0.95);
    border-radius: var(--radius-md);
    border: 1px solid rgba(51,65,85,0.85);
    padding: 0.75rem 0.85rem;
}

/* Old footer class (if used somewhere) */
.footer {
    margin-top: 60px;
}

/* Utility: small scrollbars for dark theme */
.home-proof-list::-webkit-scrollbar {
    width: 6px;
}
.home-proof-list::-webkit-scrollbar-track {
    background: rgba(15,23,42,0.9);
}
.home-proof-list::-webkit-scrollbar-thumb {
    background: rgba(75,85,99,0.9);
    border-radius: 999px;
}
/* ============================
   TASKS PAGE – PREMIUM STYLE
   Se aplică în box-style (tasks, offers, etc.)
============================ */

/* Titlul secțiunii (Tasks) */
.box-style #grey-box .title {
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}

.box-style #grey-box .title h1,
.box-style #grey-box .title .h5 {
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.box-style #grey-box .title i {
    opacity: 0.9;
    font-size: 1rem;
}

/* Card-urile de task */
.box-style .card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid rgba(15, 23, 42, 0.9);
    box-shadow: var(--shadow);
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, border-color 0.12s ease-out, background 0.12s ease-out;
}

.box-style .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
    border-color: var(--accent-dark);
    background: #020617;
}

/* Header-ul task-ului */
.box-style .card-header {
    padding-top: 0.85rem;
    padding-bottom: 0.35rem;
}

.box-style .card-header h5 {
    font-weight: 600;
}

.box-style .card-header .small {
    font-size: 0.78rem;
}

/* Reward + membership */
.box-style .card-header .font-weight-bold {
    color: var(--accent);
    font-size: 0.95rem;
}

.box-style .card-header .text-secondary {
    color: var(--text-secondary) !important;
}

/* Descrierea task-ului */
.box-style .task-description {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

.box-style .task-description p {
    margin-bottom: 0.4rem;
}

/* Input + buton pentru submit */
.box-style .input-group-text {
    background: #020617;
    border-color: #1f2937;
    color: var(--text-secondary);
}

.box-style .form-control {
    background: #020617;
    border-color: #1f2937;
    color: var(--text-main);
    font-size: 0.92rem;
}

.box-style .form-control::placeholder {
    color: rgba(148, 163, 184, 0.6);
}

/* Butonul galben – mai „juicy” */
.box-style .btn.btn-warning {
    background: var(--accent);
    border-color: var(--accent);
    font-size: 0.9rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.box-style .btn.btn-warning:hover,
.box-style .btn.btn-warning:focus {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 0.15rem rgba(250, 204, 21, 0.25);
}

/* Alert-urile din pagina de task-uri (mai lizibile pe dark) */
.box-style .alert {
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font-size: 0.86rem;
    border: none;
}

.box-style .alert-info {
    background: rgba(59, 130, 246, 0.12);
    color: #bfdbfe;
}

.box-style .alert-success {
    background: rgba(34, 197, 94, 0.14);
    color: #bbf7d0;
}

.box-style .alert-danger {
    background: rgba(248, 113, 113, 0.16);
    color: #fecaca;
}

.box-style .alert-warning {
    background: rgba(250, 204, 21, 0.14);
    color: #fef9c3;
}
/* ============================
   MEMBERSHIP PAGE – CARDS
============================ */

.box-style .membership-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid rgba(15, 23, 42, 0.9);
    box-shadow: var(--shadow);
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, border-color 0.12s ease-out, background 0.12s ease-out;
    display: flex;
    flex-direction: column;
}

.box-style .membership-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
    border-color: var(--accent-dark);
    background: #020617;
}

.box-style .membership-card-current {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.3), 0 18px 40px rgba(0, 0, 0, 0.65);
}

.box-style .membership-card .card-header {
    padding-top: 0.85rem;
    padding-bottom: 0.5rem;
}

.box-style .membership-card h5 {
    font-weight: 600;
}

.box-style .membership-card .badge-success {
    background: rgba(34, 197, 94, 0.12);
    color: #bbf7d0;
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
    font-size: 0.7rem;
}

.box-style .membership-card .h4 {
    font-weight: 600;
    color: var(--accent);
}

.box-style .membership-card .membership-features {
    margin: 0;
    padding: 0;
}

.box-style .membership-card .membership-features li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.box-style .membership-card .membership-features span.text-light {
    font-size: 0.85rem;
    opacity: 0.9;
}

.box-style .membership-card .membership-features strong {
    font-size: 0.86rem;
    color: var(--text-main);
}

/* Buton "Purchase / Upgrade" */
.box-style .membership-card .btn.btn-warning {
    background: var(--accent);
    border-color: var(--accent);
    font-size: 0.9rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.box-style .membership-card .btn.btn-warning:hover,
.box-style .membership-card .btn.btn-warning:focus {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 0.15rem rgba(250, 204, 21, 0.25);
}

.box-style .membership-card .btn.btn-secondary[disabled] {
    background: #111827;
    border-color: #1f2937;
    color: var(--text-secondary);
    border-radius: 999px;
    font-size: 0.88rem;
}
/* ============================
   MEMBERSHIP UPGRADE MODAL
============================ */

#payUp .modal-content.bg-dark {
    background: #020617;
    border-radius: var(--radius);
    border: 1px solid #1f2937;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}

#payUp .price-box {
    background: transparent;
}

#payUp h4.great {
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

#payUp .help-text {
    opacity: 0.8;
}

#payUp .result.lead {
    font-weight: 600;
    color: var(--accent);
}

#payUp .result.small {
    color: var(--text-secondary);
}

#payUp hr.style {
    border: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    margin: 0.75rem 0 1rem 0;
}

/* Buton "Confirm purchase" */
#payUp .btn.btn-success {
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
}

#payUp .btn.btn-success:hover,
#payUp .btn.btn-success:focus {
    box-shadow: 0 0 0 0.15rem rgba(34, 197, 94, 0.25);
}
/* ============================
   MEMBERSHIP DURATION SLIDER
============================ */

#timeSlide {
    margin-top: 0.8rem;
    margin-bottom: 0.5rem;
}

/* Baza slider-ului */
#timeSlide.ui-slider,
#timeSlide .ui-slider {
    position: relative;
    height: 6px;
    background: #020617;
    border-radius: 999px;
    border: 1px solid #1f2937;
}

/* Barea "plină" (range) */
#timeSlide .ui-slider-range {
    background: linear-gradient(90deg, var(--accent-dark), var(--accent));
    border-radius: 999px;
}

/* Handle-ul (bulă cu număr + săgeți) */
#timeSlide .ui-slider-handle {
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--accent);
    border: 2px solid #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    outline: none;
    box-shadow: 0 8px 18px rgba(250, 204, 21, 0.45);
}

#timeSlide .ui-slider-handle:active {
    cursor: grabbing;
}

/* Label-ul din handle (săgeți + cifră) */
#timeSlide .ui-slider-handle label {
    margin: 0;
    padding: 0;
    font-size: 0.65rem;
    font-weight: 600;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

#timeSlide .ui-slider-handle i {
    font-size: 0.55rem;
}

/* Ca să nu se rupă layout-ul pe mobile */
@media (max-width: 576px) {
    #timeSlide .ui-slider-handle {
        width: 28px;
        height: 28px;
    }

    #timeSlide .ui-slider-handle label {
        font-size: 0.6rem;
    }
}
/* ======================================
   LOTTERY PAGE – DARK PREMIUM THEME
   Match cu tasks + membership
====================================== */

/* ---------- HERO SECTION ---------- */

.lottery-hero {
    background: radial-gradient(circle at top left, rgba(250, 204, 21, 0.12), transparent 55%),
                radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.10), transparent 55%),
                #020617;
    border-radius: var(--radius);
    border: 1px solid #1f2937;
    padding: 1.5rem 1.6rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.lottery-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(15, 23, 42, 0.85), transparent 60%);
    opacity: 0.7;
    pointer-events: none;
}

.lottery-hero-main,
.lottery-hero-countdown {
    position: relative;
    z-index: 1;
}

.lottery-badge-hot {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.65rem;
    border-radius: 999px;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.6);
}

.lottery-badge-hot span {
    font-size: 0.74rem;
    font-weight: 600;
    color: #fecaca;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.lottery-hero-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #e5e7eb;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.lottery-hero-subtitle {
    font-size: 0.94rem;
    color: var(--text-secondary);
    max-width: 460px;
}

.lottery-hero-cta .btn.btn-warning {
    border-radius: 999px;
    padding: 0.5rem 1.2rem;
    font-size: 0.88rem;
}

/* ---------- COUNTDOWN ---------- */

.lottery-hero-countdown {
    min-width: 220px;
    background: rgba(15, 23, 42, 0.85);
    border-radius: var(--radius);
    border: 1px solid #1f2937;
    padding: 0.9rem 1rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.lottery-countdown-label {
    letter-spacing: 0.08em;
}

.lottery-countdown-timer {
    display: flex;
    justify-content: space-between;
    margin-top: 0.4rem;
    gap: 0.4rem;
}

.lottery-countdown-timer .timer-wrapper {
    flex: 1;
    text-align: center;
    background: #020617;
    border-radius: 0.75rem;
    padding: 0.3rem 0.25rem;
    border: 1px solid #1f2937;
}

.lottery-countdown-timer .time {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
}

.lottery-countdown-timer .text {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
}

/* ---------- STATS PILLS ---------- */

.lottery-stat-pill {
    background: #020617;
    border-radius: var(--radius);
    border: 1px solid #1f2937;
    padding: 0.75rem 0.9rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.lottery-stat-pill .label {
    letter-spacing: 0.07em;
}

.lottery-stat-pill .value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
}

.lottery-stat-pill .extra {
    margin-top: 0.1rem;
}

/* ---------- GENERAL LOTTERY CARDS ---------- */

.lottery-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid rgba(15, 23, 42, 0.9);
    box-shadow: var(--shadow);
    transition:
        transform 0.12s ease-out,
        box-shadow 0.12s ease-out,
        border-color 0.12s ease-out,
        background 0.12s ease-out;
}

.lottery-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-dark);
    background: #020617;
}

.lottery-card.info {
    border-style: dashed;
    border-color: rgba(148, 163, 184, 0.4);
}

/* ---------- BUY CARD SUMMARY ---------- */

.lottery-buy-summary {
    background: #020617;
    border-radius: 0.9rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid #1f2937;
}

.lottery-buy-summary .h4 {
    font-weight: 600;
    color: var(--accent);
}

/* ---------- INFO LIST (STEPS) ---------- */

.lottery-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lottery-info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.65rem;
}

.lottery-info-list li:last-child {
    margin-bottom: 0;
}

.lottery-info-list .step {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.15);
    border: 1px solid rgba(250, 204, 21, 0.5);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.55rem;
    margin-top: 0.05rem;
}

/* ---------- USER TICKETS TAGS ---------- */

.lottery-user-tickets {
    background: #020617;
    border-radius: var(--radius);
    border: 1px solid #1f2937;
    padding: 0.9rem 1rem;
}

.lottery-ticket-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.lottery-ticket-tags .badge-info {
    background: rgba(56, 189, 248, 0.15);
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.55);
    color: #e0f2fe;
    font-size: 0.78rem;
}

/* ---------- LAST WINNERS ---------- */

.lottery-card.winner {
    background: radial-gradient(circle at top, rgba(250, 204, 21, 0.15), #020617 65%);
}

.lottery-winner-icon i {
    color: var(--accent);
}

.lottery-winner-name {
    font-weight: 600;
    color: #e5e7eb;
    font-size: 0.95rem;
}

.lottery-winner-amount {
    font-weight: 700;
    color: var(--accent);
}

/* ---------- FORM ELEMENTS ADAPTATE ---------- */

#lottery-buy-card .input-group-text {
    background: #020617;
    border-color: #1f2937;
    color: var(--text-secondary);
}

#lottery-buy-card .form-control {
    background: #020617;
    border-color: #1f2937;
    color: var(--text-main);
    font-size: 0.92rem;
}

#lottery-buy-card .form-control:focus {
    box-shadow: 0 0 0 0.1rem rgba(250, 204, 21, 0.25);
    border-color: var(--accent);
}

#lottery-buy-card .form-control::-webkit-outer-spin-button,
#lottery-buy-card .form-control::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#lottery-buy-card .form-control[type=number] {
    -moz-appearance: textfield;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 991.98px) {
    .lottery-hero {
        padding: 1.1rem 1.1rem;
    }

    .lottery-hero-title {
        font-size: 1.35rem;
    }

    .lottery-hero-countdown {
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    .lottery-countdown-timer {
        gap: 0.3rem;
    }

    .lottery-countdown-timer .time {
        font-size: 1rem;
    }
}
.lottery-hero-subtitle {
    font-size: 0.94rem;
    color: var(--text-secondary);
    max-width: 520px;          /* poți modifica 460 → 520 dacă vrei puțin mai lat */
    line-height: 1.6;
    overflow-wrap: break-word; /* important pt. texte foarte lungi */
    word-break: break-word;
}
/* Fix pentru badge-ul de info din titlurile box-urilor (ex: WEEKLY LOTTERY) */
.box-style #grey-box .title .badge.badge-pill.badge-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;          /* nu mai depășește containerul */
    white-space: normal;      /* permite textului să se rupă pe mai multe rânduri */
    line-height: 1.4;
    font-size: 0.78rem;
    padding: 0.25rem 0.6rem;
    text-align: left;
}

.box-style #grey-box .title .badge.badge-pill.badge-secondary i {
    flex-shrink: 0;           /* iconița nu se micșorează când textul se rupe */
}
