/* Custom styles for the giveaway application - Plexytrade theme */

/* Nexa — locally hosted */
@font-face { font-family: 'Nexa'; src: url('/static/fonts/nexa-light.woff') format('woff'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nexa'; src: url('/static/fonts/nexa-light.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nexa'; src: url('/static/fonts/nexa-bold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nexa'; src: url('/static/fonts/nexa-bold.woff') format('woff'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nexa'; src: url('/static/fonts/nexa-bold.woff') format('woff'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nexa Heavy Custom'; src: url('/static/fonts/Nexa-Heavy.woff?v=3') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nexa Black Custom'; src: url('/static/fonts/Nexa-Black.woff?v=1') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
    --plexytrade-green: #20B381;
    --plexytrade-blue: #2B63E3;
    --plexytrade-background: #F9FBFE;
    --plexytrade-footer: #2D394B;
}

/* Container Consistency */
.container {
    max-width: 1220px !important;
}

@media (max-width: 1440px) {
    .container {
        padding-left: 2.5rem !important;
        padding-right: 2.5rem !important;
    }
}

/* Sections Spacing - Responsive */
section {
    padding-top: 150px !important;
    padding-bottom: 150px !important;
}

@media (max-width: 1024px) {
    section {
        padding-top: 100px !important;
        padding-bottom: 100px !important;
    }
}

@media (max-width: 768px) {
    section {
        padding-top: 64px !important;
        padding-bottom: 64px !important;
    }
}

/* Global styles */
body {
    font-family: 'Nexa', sans-serif !important;
    font-weight: 300;
    background: var(--plexytrade-background);
}

.default-header-surface {
    background: #ffffff;
}

.default-header-surface.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* =============================================
   ADMIN PANEL — Modern SaaS Design System
   Dark navy sidebar + light content area
   Inspired by Linear / Vercel dashboard aesthetic
   ============================================= */

/* CSS custom properties for admin color system */
.admin-body {
    --admin-sidebar-bg: #0f1c2e;
    --admin-sidebar-border: rgba(255,255,255,0.06);
    --admin-sidebar-text: #c8d8ee;
    --admin-sidebar-text-strong: #ffffff;
    --admin-sidebar-active-bg: rgba(43,99,227,0.18);
    --admin-sidebar-active-border: rgba(43,99,227,0.4);
    --admin-sidebar-active-text: #7fb3ff;
    --admin-sidebar-hover-bg: rgba(255,255,255,0.05);
    --admin-sidebar-meta-bg: rgba(255,255,255,0.04);

    --admin-workspace-bg: #f4f6fa;
    --admin-card-bg: #ffffff;
    --admin-card-border: #e8ecf2;
    --admin-card-shadow: 0 1px 3px rgba(15,23,42,0.06), 0 4px 16px rgba(15,23,42,0.04);

    --admin-text-primary: #1a2744;
    --admin-text-secondary: #5c6b82;
    --admin-text-muted: #8a97ab;
    --admin-text-label: #374659;

    --admin-blue: #2b63e3;
    --admin-blue-light: rgba(43,99,227,0.08);
    --admin-blue-border: rgba(43,99,227,0.18);
    --admin-green: #20b381;
    --admin-amber: #f59e0b;

    --admin-radius-sm: 8px;
    --admin-radius-md: 12px;
    --admin-radius-lg: 16px;
    --admin-radius-xl: 20px;

    background: var(--admin-workspace-bg);
}

/* =============================================
   SHELL & LAYOUT
   ============================================= */

.admin-app-shell {
    min-height: 100vh;
    padding: 0;
}

.admin-app-grid {
    display: flex;
    min-height: 100vh;
}

/* =============================================
   SIDEBAR — dark navy
   ============================================= */

.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 240px;
    background: #0f1c2e;
    border-right: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow-y: auto;
    z-index: 100;
}

.admin-sidebar-brand {
    padding: 1.5rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--admin-sidebar-border);
    margin-bottom: 0.5rem;
}

.admin-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: #4a9eff;
    font-family: 'Nexa', sans-serif !important;
}

.admin-sidebar-brand h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0.35rem 0 0.2rem;
    letter-spacing: -0.01em;
}

.admin-sidebar-brand p {
    font-size: 0.78rem;
    color: #a8c0d6 !important;
    margin: 0;
}

.admin-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 0.75rem;
    flex: 1;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 8px;
    color: #c8d8ee !important;
    text-decoration: none;
    border: 1px solid transparent;
    padding: 0.6rem 0.8rem;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    letter-spacing: 0;
}

.admin-nav-link:hover {
    background: rgba(255,255,255,0.06);
    color: #e2eeff !important;
}

.admin-nav-link.is-active {
    background: rgba(43,99,227,0.2);
    border-color: rgba(43,99,227,0.4);
    color: #7fb3ff !important;
    font-weight: 600;
    border-radius: 8px;
}

.admin-nav-link i {
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    opacity: 1;
    font-size: 0.85rem;
    color: inherit;
    opacity: 0.85;
}

.admin-nav-link.is-active i {
    opacity: 1;
}

.admin-nav-link span {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.admin-sidebar-meta {
    margin: 0.75rem 0.75rem 0;
    padding: 0.85rem 1rem;
    border-radius: var(--admin-radius-lg);
    background: var(--admin-sidebar-meta-bg);
    border: 1px solid var(--admin-sidebar-border);
    display: grid;
    gap: 0.7rem;
}

.admin-sidebar-meta span {
    display: block;
    color: #7a9ab8 !important;
    font-size: 0.75rem;
    margin-bottom: 0.1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.admin-sidebar-meta strong {
    color: #ffffff !important;
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
}

.admin-sidebar-logout {
    padding: 0.75rem;
    margin-top: auto;
    border-top: 1px solid var(--admin-sidebar-border);
}

/* =============================================
   WORKSPACE — light content area
   ============================================= */

.admin-workspace {
    background: #f4f6fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin-left: 240px;
    flex: 1;
    font-family: 'Nexa', sans-serif !important;
    font-weight: 400;
    border: none;
    border-radius: 0;
    padding: 0;
}

.admin-topbar {
    background: #ffffff;
    border-bottom: 1px solid #e4e9f0;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 99;
    border-radius: 0;
}

.admin-section-label,
.admin-action-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: #4a5f76 !important;
    font-family: 'Nexa', sans-serif !important;
    margin-bottom: 0.25rem;
}

.admin-topbar h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a2535 !important;
    margin: 0 0 0.15rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.admin-topbar p {
    font-size: 0.875rem;
    color: #4a5f76 !important;
    margin: 0.25rem 0 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 600px;
}

.admin-topbar-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.admin-main-stage {
    font-weight: 400;
    width: 100%;
    flex: 1;
}

.admin-body section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.admin-body .container {
    max-width: 1400px !important;
}

body.admin-drawer-open {
    overflow: hidden;
}

.admin-shell {
    display: grid;
    gap: 1.25rem;
    padding: 1.75rem 2rem;
}

/* =============================================
   CARDS
   ============================================= */

.admin-hero-card,
.admin-panel-card,
.admin-action-card,
.admin-metric-card,
.admin-modal-card,
.admin-flash-card {
    border: 1px solid #e4e9f0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.admin-hero-card {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: flex-start;
    padding: 1.75rem;
    background: linear-gradient(135deg, #f8fbff 0%, #eef3fe 100%);
    border-color: #d8e4fc;
}

.admin-hero-title {
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    line-height: 1.15;
    font-family: 'Nexa', sans-serif !important;
    font-weight: 700;
    margin: 0.5rem 0 0.75rem;
    color: var(--admin-text-primary);
    letter-spacing: -0.02em;
}

.admin-hero-text,
.admin-panel-header p,
.admin-action-card p,
.admin-history-main p,
.admin-empty-state p,
.admin-side-empty {
    color: #374659 !important;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
    font-family: 'Nexa', sans-serif !important;
    font-weight: 400 !important;
}

.admin-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.admin-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(36, 52, 73, 0.06);
    color: var(--admin-text-label);
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid rgba(36,52,73,0.1);
}

.admin-chip-live {
    background: rgba(32, 179, 129, 0.1);
    color: #137358;
    border-color: rgba(32,179,129,0.2);
}

.admin-chip-live i {
    font-size: 0.5rem;
}

.admin-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-width: 200px;
}

/* =============================================
   BUTTON SYSTEM
   ============================================= */

.admin-refresh-btn,
.admin-logout-btn,
.admin-primary-btn,
.admin-action-button,
.admin-outline-btn,
.admin-row-action,
.admin-clear-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--admin-radius-md) !important;
    font-size: 0.855rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    padding: 0.55rem 1rem !important;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
}

.admin-primary-btn,
.admin-action-button {
    background: var(--admin-blue) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(43,99,227,0.3), 0 4px 12px rgba(43,99,227,0.15);
}

.admin-primary-btn:hover,
.admin-action-button:hover {
    background: #2455cc !important;
    box-shadow: 0 2px 6px rgba(43,99,227,0.35), 0 6px 18px rgba(43,99,227,0.2);
    transform: translateY(-1px);
    color: #ffffff !important;
}

.admin-outline-btn,
.admin-refresh-btn,
.admin-clear-filter-btn {
    background: #ffffff !important;
    border: 1px solid #d4dae5 !important;
    color: var(--admin-text-label) !important;
}

.admin-outline-btn:hover,
.admin-refresh-btn:hover,
.admin-clear-filter-btn:hover {
    background: #f7f9fc !important;
    border-color: #b8c2d4 !important;
    color: var(--admin-text-primary) !important;
    transform: translateY(-1px);
}

.admin-row-action {
    background: #f4f6fa !important;
    border: 1px solid #e2e8f2 !important;
    color: var(--admin-text-label) !important;
    padding: 0.4rem 0.8rem !important;
    font-size: 0.8rem !important;
    border-radius: var(--admin-radius-sm) !important;
}

.admin-row-action:hover {
    background: #eaeff8 !important;
    border-color: var(--admin-blue-border) !important;
    color: var(--admin-blue) !important;
}

.admin-logout-btn {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: var(--admin-sidebar-text) !important;
    width: 100%;
    justify-content: center;
}

.admin-logout-btn:hover {
    background: rgba(255,255,255,0.06) !important;
    border-color: rgba(255,255,255,0.2) !important;
    color: var(--admin-sidebar-text-strong) !important;
}

.admin-action-secondary {
    background: #1a2744 !important;
    border: none !important;
    color: #ffffff !important;
}

.admin-action-outline-btn {
    background: rgba(32, 179, 129, 0.08) !important;
    color: #137358 !important;
    border: 1px solid rgba(32, 179, 129, 0.2) !important;
}

/* Danger/destructive variant */
.admin-danger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff1f2 !important;
    border: 1px solid #fecdd3 !important;
    color: #be123c !important;
    border-radius: var(--admin-radius-md) !important;
    font-size: 0.855rem !important;
    font-weight: 600 !important;
    padding: 0.55rem 1rem !important;
    transition: all 0.15s ease;
}

.admin-danger-btn:hover {
    background: #ffe4e6 !important;
    border-color: #fda4af !important;
    transform: translateY(-1px);
}

/* =============================================
   FLASH ALERTS
   ============================================= */

.admin-flash-stack,
.admin-metric-grid,
.admin-action-grid,
.admin-login-flashes {
    display: grid;
    gap: 0.75rem;
}

.admin-flash-stack {
    padding: 0 1.75rem;
    padding-top: 1rem;
}

.admin-flash-card {
    padding: 0.85rem 1rem;
    border-radius: var(--admin-radius-md) !important;
}

.admin-flash-content {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding-right: 1.5rem;
}

.admin-flash-content i {
    margin-top: 0.15rem;
    font-size: 0.9rem;
}

/* =============================================
   METRIC CARDS
   ============================================= */

.admin-metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.admin-metric-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    align-items: center;
    border-radius: 16px !important;
}

.admin-metric-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.1rem;
}

.metric-blue {
    background: rgba(43,99,227,0.1);
    color: var(--admin-blue);
}

.metric-green {
    background: rgba(32,179,129,0.1);
    color: var(--admin-green);
}

.metric-amber {
    background: rgba(245,158,11,0.1);
    color: var(--admin-amber);
}

.metric-slate {
    background: rgba(26,39,68,0.08);
    color: #374659;
}

.admin-metric-label,
.admin-metric-meta {
    margin: 0;
}

.admin-metric-label {
    color: #4a5f76 !important;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.admin-metric-value {
    margin: 0.2rem 0 0.2rem;
    font-size: 2rem;
    font-weight: 700;
    color: #1a2535 !important;
    line-height: 1;
    letter-spacing: -0.02em;
}

.admin-metric-meta {
    color: #6b7e95 !important;
    font-size: 0.78rem;
    margin: 0;
}

/* =============================================
   ACTION GRID
   ============================================= */

.admin-action-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-ops-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

/* =============================================
   LAYOUT GRIDS
   ============================================= */

.admin-insight-grid,
.admin-segment-grid,
.admin-stage-list,
.admin-queue-list,
.admin-activity-list {
    display: grid;
    gap: 0.75rem;
}

.admin-insight-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1rem;
}

.admin-highlight-pill,
.admin-active-filter-bar {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: var(--admin-blue-light);
    color: #1d46a8;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid var(--admin-blue-border);
}

.admin-highlight-pill.muted {
    background: rgba(36, 52, 73, 0.05);
    color: var(--admin-text-secondary);
    border-color: rgba(36,52,73,0.1);
}

.admin-stage-list {
    margin-top: 0.4rem;
}

.admin-stage-row,
.admin-segment-chip {
    width: 100%;
    border: 1px solid var(--admin-card-border);
    border-radius: var(--admin-radius-lg);
    background: #fafbfd;
    padding: 0.85rem 1rem;
    text-align: left;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.admin-stage-row:hover,
.admin-segment-chip:hover {
    border-color: var(--admin-blue-border);
    box-shadow: 0 2px 8px rgba(43,99,227,0.08);
    background: #f5f8ff;
}

.admin-stage-row-head,
.admin-stage-row-meta,
.admin-queue-item,
.admin-activity-item,
.admin-activity-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.admin-stage-row-head span,
.admin-stage-row-meta span,
.admin-queue-item span,
.admin-queue-item small,
.admin-activity-item span,
.admin-activity-meta small {
    color: var(--admin-text-secondary);
    font-size: 0.83rem;
}

.admin-stage-row .admin-funnel-bar {
    margin-top: 0.75rem;
}

.admin-segment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.admin-segment-grid.single-col,
.admin-side-column.single-stack,
.participants-page-grid,
.participants-layout-grid,
.winners-metric-grid {
    grid-template-columns: 1fr;
}

.admin-audit-item {
    align-items: flex-start;
}

.admin-audit-item .admin-activity-meta {
    min-width: 140px;
}

.static-row {
    cursor: default;
}

.static-row:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--admin-card-border);
    background: #fafbfd;
}

.admin-segment-chip strong,
.admin-activity-item strong,
.admin-queue-item strong {
    display: block;
    color: #1a2535 !important;
    font-size: 0.875rem;
    font-weight: 600;
}

.admin-segment-chip span,
.admin-activity-item span,
.admin-queue-item span,
.admin-queue-item small,
.admin-activity-meta span,
.admin-activity-meta small {
    display: block;
    color: #4a5f76 !important;
    font-size: 0.82rem;
}

.admin-active-filter-bar {
    margin-top: 0.2rem;
    width: fit-content;
    font-size: 0.78rem;
    color: #1d46a8;
}

.admin-queue-item,
.admin-activity-item {
    padding: 0.85rem 1rem;
    border-radius: var(--admin-radius-lg);
    background: #fafbfd;
    border: 1px solid var(--admin-card-border);
    transition: border-color 0.15s ease;
}

.admin-queue-item:hover,
.admin-activity-item:hover {
    border-color: #d0d9e8;
}

.admin-queue-meta,
.admin-activity-meta {
    text-align: right;
    flex-shrink: 0;
}

.admin-ops-note {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.9rem 1rem;
    border-radius: var(--admin-radius-lg);
    background: #f8faff;
    border: 1px solid #dde8fc;
    color: var(--admin-text-secondary);
}

.admin-ops-note i {
    color: var(--admin-blue);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* =============================================
   ACTION CARDS
   ============================================= */

.admin-action-card {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    gap: 1rem;
}

.admin-action-primary {
    background: linear-gradient(135deg, #f0f6ff 0%, #e8f0fe 100%);
    border-color: #c8d9fb !important;
}

.admin-action-outline {
    background: linear-gradient(135deg, #f0faf6 0%, #e6f7f0 100%);
    border-color: #b8e8d6 !important;
}

.admin-action-card h3,
.admin-panel-card h2,
.admin-history-main h3,
.admin-drawer-header h3 {
    margin: 0.2rem 0 0.4rem;
    color: #1a2535 !important;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* =============================================
   LAYOUT GRID — main + sidebar
   ============================================= */

.admin-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
    gap: 1.25rem;
    align-items: start;
}

.admin-main-column,
.admin-side-column {
    display: grid;
    gap: 1.25rem;
}

/* =============================================
   PANEL CARDS
   ============================================= */

.admin-panel-card {
    padding: 1.4rem;
}

.admin-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.1rem;
}

.admin-panel-header-stack {
    flex-direction: column;
}

.admin-panel-header.compact {
    margin-bottom: 0.9rem;
}

.admin-panel-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2535 !important;
    margin: 0.15rem 0 0.3rem;
    letter-spacing: -0.01em;
}

/* =============================================
   FILTER BAR
   ============================================= */

.admin-filter-grid {
    display: grid;
    grid-template-columns: minmax(200px, 1.6fr) repeat(2, minmax(140px, 1fr)) auto;
    gap: 0.75rem;
    width: 100%;
}

.admin-filter-field {
    display: grid;
    gap: 0.3rem;
}

.admin-filter-field span {
    color: var(--admin-text-label);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* =============================================
   TABLE
   ============================================= */

.admin-table-summary {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.admin-table-summary span:first-child {
    font-size: 1.2rem;
    color: var(--admin-text-primary);
    font-weight: 700;
}

.admin-table-summary span:last-child {
    color: var(--admin-text-secondary);
    font-size: 0.85rem;
}

.admin-table-wrap {
    border: 1px solid var(--admin-card-border);
    border-radius: var(--admin-radius-lg);
    overflow: hidden;
}

.admin-data-table thead th {
    background: #f7f9fc;
    border-bottom: 1px solid #e8ecf2;
    color: var(--admin-text-label);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.85rem 1rem;
}

.admin-data-table tbody td {
    padding: 0.9rem 1rem;
    border-color: #f0f3f8;
    vertical-align: middle;
    color: var(--admin-text-primary);
    font-size: 0.875rem;
}

.admin-data-table tbody tr {
    border-bottom: 1px solid #f0f3f8;
    transition: background-color 0.1s ease;
}

.admin-data-table tbody tr:last-child {
    border-bottom: none;
}

.admin-data-table tbody tr:hover {
    background: #f7f9ff;
}

/* =============================================
   PARTICIPANT IDENTITY BLOCK
   ============================================= */

.admin-identity-block {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.admin-identity-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(43,99,227,0.12), rgba(32,179,129,0.12));
    color: #2b4d8c;
    font-weight: 700;
    font-size: 0.85rem;
    flex: 0 0 auto;
    border: 1px solid rgba(43,99,227,0.1);
}

.admin-identity-meta,
.admin-identity-submeta {
    margin-top: 0.15rem;
}

.admin-identity-meta {
    color: var(--admin-text-secondary);
    font-size: 0.8rem;
}

.admin-identity-submeta {
    color: var(--admin-text-muted);
    font-size: 0.76rem;
}

.admin-handle-stack,
.admin-progress-block,
.admin-account-meta,
.admin-history-meta,
.admin-side-list,
.admin-detail-stack {
    display: grid;
    gap: 0.35rem;
}

.admin-handle-stack span {
    color: var(--admin-text-secondary);
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.admin-handle-stack i,
.admin-history-meta i {
    width: 14px;
    color: var(--admin-blue);
    font-size: 0.78rem;
}

.admin-progress-block {
    align-content: start;
}

.admin-stage-badge {
    width: fit-content;
    background: rgba(43,99,227,0.08);
    color: #1d46a8;
    border: 1px solid rgba(43,99,227,0.15);
    font-size: 0.73rem !important;
    font-weight: 600 !important;
    padding: 0.25em 0.6em !important;
}

.admin-progress-block small {
    color: var(--admin-text-muted);
    font-size: 0.78rem;
}

.admin-account-meta a {
    color: var(--admin-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.83rem;
}

.admin-account-meta a:hover {
    text-decoration: underline;
}

.admin-account-meta span {
    color: var(--admin-text-secondary);
    font-size: 0.83rem;
}

.admin-date-pill {
    display: inline-flex;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    background: #f2f4f8;
    color: var(--admin-text-secondary);
    font-size: 0.78rem;
    border: 1px solid #e4e9f2;
}

/* =============================================
   HISTORY LIST
   ============================================= */

.admin-history-list {
    display: grid;
    gap: 0.75rem;
}

.admin-history-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-radius: var(--admin-radius-lg);
    border: 1px solid var(--admin-card-border);
    background: #fafbfd;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.admin-history-item:hover {
    border-color: #c8d5e8;
    box-shadow: 0 2px 8px rgba(15,23,42,0.06);
}

.admin-history-title-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    margin-bottom: 0.4rem;
}

.admin-history-title-row h3 {
    font-size: 0.975rem;
    font-weight: 700;
    margin: 0;
    color: var(--admin-text-primary);
}

.admin-history-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.3rem;
    margin-top: 0.7rem;
}

.admin-history-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--admin-text-secondary);
    font-size: 0.8rem;
}

.admin-history-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 100px;
    justify-content: center;
}

/* =============================================
   SIDE HIGHLIGHT CARD
   ============================================= */

.admin-side-highlight {
    background: linear-gradient(135deg, #f8fbff 0%, #f0f6ff 100%);
    border-color: #d4e3fb !important;
}

.admin-side-list {
    border-top: 1px solid #f0f3f8;
    padding-top: 0.9rem;
    margin-top: 0.2rem;
}

.admin-side-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f4f6fa;
}

.admin-side-list div:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.admin-side-list span {
    color: var(--admin-text-secondary);
    font-size: 0.83rem;
}

.admin-side-list strong {
    color: var(--admin-text-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-align: right;
}

.admin-side-empty {
    color: var(--admin-text-muted);
    font-size: 0.875rem;
    text-align: center;
    padding: 0.75rem 0;
}

.admin-funnel-metric {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.admin-funnel-metric span {
    color: var(--admin-text-secondary);
    font-size: 0.83rem;
}

.admin-funnel-metric strong {
    color: var(--admin-text-primary);
    font-weight: 700;
}

.admin-funnel-bar {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: #eaeff8;
    overflow: hidden;
}

.admin-funnel-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--admin-green), var(--admin-blue));
}

.admin-funnel-bar.funnel-secondary span {
    background: linear-gradient(90deg, #f59e0b, #f97316);
}

/* =============================================
   WINNER CARDS
   ============================================= */

.admin-winner-list {
    display: grid;
    gap: 0.65rem;
}

.admin-winner-card {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.9rem 1rem;
    border-radius: var(--admin-radius-lg);
    background: #fafbfd;
    border: 1px solid var(--admin-card-border);
}

.admin-winner-card strong {
    color: var(--admin-text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    display: block;
}

.admin-winner-card span {
    color: var(--admin-text-secondary);
    font-size: 0.82rem;
    display: block;
}

.admin-winner-card small {
    color: var(--admin-text-muted);
    font-size: 0.76rem;
    display: block;
}

.admin-winner-rank {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
}

/* =============================================
   EMPTY STATES
   ============================================= */

.admin-empty-state,
.admin-empty-inline {
    border: 1px dashed #d4dce8;
    border-radius: var(--admin-radius-xl);
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: #fafbfe;
}

.admin-empty-state i {
    color: var(--admin-blue);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.7;
}

.admin-empty-state h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--admin-text-primary) !important;
    margin-bottom: 0.4rem;
}

.admin-empty-state p {
    color: var(--admin-text-secondary) !important;
    font-size: 0.875rem;
    max-width: 320px;
    margin: 0 auto;
}

.admin-empty-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    text-align: left;
    padding: 1.1rem;
    border-radius: var(--admin-radius-lg);
}

.admin-empty-inline i {
    color: var(--admin-blue);
    font-size: 1rem;
    opacity: 0.7;
}

.admin-empty-inline span {
    color: var(--admin-text-secondary) !important;
    font-size: 0.875rem;
}

/* =============================================
   WARNING / INFO BOX
   ============================================= */

.admin-warning-box {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    padding: 0.9rem 1rem;
    border-radius: var(--admin-radius-md);
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #78350f;
    font-size: 0.85rem;
}

.admin-warning-box i {
    color: #d97706;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* =============================================
   DRAWER (slide-in panel)
   ============================================= */

.admin-drawer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1055;
}

.admin-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.admin-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(540px, 100%);
    background: #ffffff;
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.12);
    transform: translateX(100%);
    transition: transform 0.22s ease;
    padding: 1.5rem;
    overflow-y: auto;
}

.admin-drawer.is-open {
    pointer-events: auto;
}

.admin-drawer.is-open .admin-drawer-backdrop {
    opacity: 1;
}

.admin-drawer.is-open .admin-drawer-panel {
    transform: translateX(0);
}

.admin-drawer-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f3f8;
}

/* =============================================
   DETAIL CARDS
   ============================================= */

.admin-detail-card {
    padding: 1rem 1.1rem;
    border-radius: var(--admin-radius-lg);
    border: 1px solid var(--admin-card-border);
    background: #fafbfd;
}

.admin-detail-card h4 {
    margin-bottom: 0.75rem;
    color: var(--admin-text-label);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-detail-row {
    padding: 0.55rem 0;
    border-bottom: 1px solid #f0f3f8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.admin-detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.admin-detail-row span {
    color: var(--admin-text-secondary);
    font-size: 0.83rem;
}

.admin-detail-row strong {
    color: var(--admin-text-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-align: right;
}

.admin-modal-card {
    border: none !important;
    border-radius: var(--admin-radius-xl) !important;
}

/* =============================================
   ADMIN LOGIN PAGE  (alp-* namespace)
   Full-viewport centered card on dark gradient
   ============================================= */

.admin-app-shell:has(.alp-root),
.admin-body:has(.alp-root) {
    background:
        radial-gradient(ellipse at 20% 20%, rgba(43, 99, 227, 0.35) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(32, 179, 129, 0.25) 0%, transparent 50%),
        linear-gradient(135deg, #0d1b2e 0%, #132034 40%, #0f2847 100%) !important;
    padding: 0 !important;
}

.alp-root {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    overflow: hidden;
}

.alp-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.alp-bg-orb--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(43, 99, 227, 0.22) 0%, transparent 70%);
    top: -120px;
    left: -100px;
}

.alp-bg-orb--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(32, 179, 129, 0.18) 0%, transparent 70%);
    bottom: -80px;
    right: -80px;
}

.alp-bg-orb--3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(43, 99, 227, 0.12) 0%, transparent 70%);
    top: 50%;
    right: 15%;
    transform: translateY(-50%);
}

.alp-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    background: rgba(15, 30, 55, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 2.5rem 2.25rem 2rem;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(43, 99, 227, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    display: grid;
    gap: 1.5rem;
}

.alp-card-header {
    text-align: center;
    display: grid;
    gap: 0.35rem;
}

.alp-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #2b63e3 0%, #20b381 100%);
    box-shadow: 0 8px 24px rgba(43, 99, 227, 0.4);
    margin: 0 auto 0.6rem;
    font-size: 1.3rem;
    color: #fff;
}

.alp-eyebrow {
    display: block;
    font-family: 'Nexa', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7eb3ff !important;
    margin-bottom: 0.15rem;
}

.alp-title {
    font-family: 'Nexa', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0;
    line-height: 1.1;
}

.alp-subtitle {
    font-size: 0.88rem;
    color: #b8cce8 !important;
    margin: 0;
    line-height: 1.5;
}

.alp-flashes {
    display: grid;
    gap: 0.6rem;
}

.alp-flash {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.86rem;
    line-height: 1.4;
}

.alp-flash i {
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.alp-flash--error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.alp-flash--success {
    background: rgba(32, 179, 129, 0.15);
    border: 1px solid rgba(32, 179, 129, 0.3);
    color: #6ee7b7;
}

.alp-form {
    display: grid;
    gap: 1rem;
}

.alp-field {
    display: grid;
    gap: 0.45rem;
}

.alp-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Nexa', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #d0e4ff !important;
}

.alp-label i {
    font-size: 0.72rem;
    color: #7eb3ff !important;
}

.alp-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 12px !important;
    padding: 0.8rem 1rem !important;
    font-size: 0.95rem !important;
    color: #ffffff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
    outline: none;
}

.alp-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.alp-input:focus {
    border-color: rgba(43, 99, 227, 0.7) !important;
    box-shadow: 0 0 0 3px rgba(43, 99, 227, 0.2) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    transform: none !important;
}

.alp-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.9rem 1.25rem;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #2b63e3 0%, #20b381 100%);
    color: #fff;
    font-family: 'Nexa', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(43, 99, 227, 0.45);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.alp-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 38px rgba(43, 99, 227, 0.55);
    opacity: 0.95;
}

.alp-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(43, 99, 227, 0.35);
}

.alp-submit-btn i {
    font-size: 0.9rem;
}

.alp-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.alp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #a8c4e0 !important;
    text-decoration: none;
    transition: color 0.18s ease;
}

.alp-back-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.alp-back-link i {
    font-size: 0.75rem;
}

.alp-security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #4ee8b0 !important;
}

.alp-security-badge i {
    font-size: 0.72rem;
}

@media (max-width: 480px) {
    .alp-card {
        padding: 2rem 1.5rem 1.75rem;
        border-radius: 20px;
    }

    .alp-title {
        font-size: 1.55rem;
    }

    .alp-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
}

/* =============================================
   ADMIN — GLOBAL BOOTSTRAP OVERRIDES
   Scoped under .admin-body
   ============================================= */

.admin-body h1,
.admin-body h2,
.admin-body h3,
.admin-body h4,
.admin-body h5,
.admin-body h6 {
    color: #1a2535;
    font-weight: 700;
}

.admin-body p,
.admin-body span,
.admin-body label {
    color: inherit;
    font-weight: 400;
}

.admin-body a {
    color: inherit;
}

.admin-body .btn {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.admin-body .form-control,
.admin-body .form-select {
    border: 1px solid #d4dae5 !important;
    border-radius: var(--admin-radius-md, 12px) !important;
    background: #ffffff !important;
    box-shadow: none !important;
    color: #1a2744 !important;
    font-size: 0.875rem !important;
    padding: 0.55rem 0.85rem !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.admin-body .form-control:focus,
.admin-body .form-select:focus {
    border-color: var(--plexytrade-blue) !important;
    box-shadow: 0 0 0 3px rgba(43, 99, 227, 0.1) !important;
    outline: none !important;
    transform: none !important;
}

.admin-body .form-control::placeholder {
    color: #9bafc7 !important;
    font-weight: 300;
}

.admin-body .form-label,
.admin-body label.form-label {
    color: #374659 !important;
    font-weight: 600 !important;
    font-size: 0.84rem !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    margin-bottom: 0.35rem !important;
}

.admin-body .text-dark {
    color: #1a2744 !important;
}

.admin-body .badge {
    font-weight: 600;
    font-size: 0.73rem;
    padding: 0.3em 0.65em;
    border-radius: 6px;
}

.admin-body .admin-refresh-btn,
.admin-body .admin-logout-btn,
.admin-body .admin-primary-btn,
.admin-body .admin-action-button,
.admin-body .admin-outline-btn,
.admin-body .admin-row-action,
.admin-body .admin-clear-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1rem !important;
    font-size: 0.855rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    border-radius: 12px !important;
    white-space: nowrap;
    text-decoration: none;
}

.admin-body .admin-row-action {
    padding: 0.38rem 0.75rem !important;
    font-size: 0.8rem !important;
    border-radius: 8px !important;
}

.admin-body .modal-title {
    color: #1a2744;
    font-weight: 700;
    font-size: 1.05rem;
}

.admin-body .modal-body label.form-label,
.admin-body .modal-body .form-label {
    color: #374659 !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 0.84rem !important;
}

.admin-body .admin-flash-content span {
    color: inherit;
    font-size: 0.875rem;
}

/* =============================================
   ADMIN RESPONSIVE
   ============================================= */

@media (max-width: 1200px) {
    .admin-sidebar {
        width: 220px;
    }

    .admin-workspace {
        margin-left: 220px;
    }

    .admin-layout-grid {
        grid-template-columns: 1fr;
    }

    .admin-side-column {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-insight-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .admin-sidebar {
        position: static;
        height: auto;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        padding: 0.75rem;
    }

    .admin-workspace {
        margin-left: 0;
    }

    .admin-app-grid {
        flex-direction: column;
    }

    .admin-sidebar-brand {
        flex: 1;
        border-bottom: none;
        padding: 0.5rem 0.75rem;
        margin-bottom: 0;
    }

    .admin-sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0;
        gap: 4px;
        width: 100%;
    }

    .admin-sidebar-meta {
        width: 100%;
        margin: 0.5rem 0 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-sidebar-logout {
        padding: 0.5rem 0;
        border-top: none;
        margin-top: 0;
    }

    .admin-topbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.25rem;
    }

    .admin-topbar-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .admin-shell {
        padding: 1rem 1.25rem;
    }

    .admin-hero-card,
    .admin-history-item {
        flex-direction: column;
    }

    .admin-hero-actions,
    .admin-history-actions {
        width: 100%;
        min-width: 0;
    }

    .admin-metric-grid,
    .admin-action-grid,
    .admin-side-column,
    .admin-ops-strip,
    .admin-segment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-insight-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-metric-grid,
    .admin-action-grid,
    .admin-side-column,
    .admin-filter-grid,
    .admin-history-meta,
    .admin-ops-strip,
    .admin-segment-grid {
        grid-template-columns: 1fr;
    }

    .admin-panel-card,
    .admin-action-card,
    .admin-hero-card {
        padding: 1rem 1.1rem;
        border-radius: 16px;
    }

    .admin-shell {
        padding: 0.75rem 1rem;
        gap: 1rem;
    }

    .admin-flash-stack {
        padding: 0.75rem 1rem 0;
    }

    .admin-data-table thead {
        display: none;
    }

    .admin-data-table,
    .admin-data-table tbody,
    .admin-data-table tr,
    .admin-data-table td {
        display: block;
        width: 100%;
    }

    .admin-data-table tr {
        padding: 0.5rem 0;
        border-bottom: 1px solid #f0f3f8;
    }

    .admin-data-table tbody td {
        padding: 0.4rem 0;
        border: none;
    }

    .admin-data-table tbody td.text-end {
        text-align: left !important;
    }
}

/* Font weight definitions */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Nexa', sans-serif !important;
    font-weight: 700;
    color: #1A1A1A;
}

p, span, label, a, li, td, th {
    font-family: 'Nexa', sans-serif !important;
    font-weight: 300;
    color: #1A1A1A;
}

div {
    font-family: 'Nexa', sans-serif;
    font-weight: 300;
}

/* Admin body font baseline */
.admin-body div,
.admin-body p,
.admin-body span,
.admin-body label,
.admin-body li,
.admin-body td,
.admin-body th {
    font-family: 'Nexa', sans-serif !important;
    font-weight: 400;
}

input, textarea, select, button {
    font-family: 'Nexa', sans-serif !important;
    font-weight: 400;
}

.btn {
    font-family: 'Nexa', sans-serif !important;
    font-weight: 700;
    line-height: 1 !important;
    padding-top: 16px !important;
    padding-bottom: 12px !important;
}

.form-control, .form-select, .form-label {
    font-family: 'Nexa', sans-serif !important;
}

.card, .alert, .badge, .nav-link {
    font-family: 'Nexa', sans-serif !important;
}

/* Hero Slider Styles */
#heroSlider {
    margin-top: 86px;
    margin-bottom: 0;
    padding-top: 0;
}

/* Hero Slider Arrow Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 75px;
    height: 75px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
}

.slider-content {
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.slider-title {
    font-size: 3rem;
}

.slider-text {
    font-size: 1.1rem !important;
}

.slider-icon {
    font-size: 200px !important;
}

.slider-btn {
    padding: 0.6rem 1.5rem !important;
    font-size: 1rem !important;
}

@media (min-width: 768px) {
    .slider-content {
        padding: 60px 0;
    }
}

@media (min-width: 1024px) {
    .slider-content {
        padding: 80px 0;
    }
}

.slider-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.slider-content .container {
    position: relative;
    z-index: 1;
}

.carousel-indicators button {
    width: 30px !important;
    height: 6px !important;
    border-radius: 4px !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    border: none !important;
    margin: 0 4px !important;
}

.carousel-indicators button.active {
    background-color: #FFBE3B !important;
    width: 40px !important;
    border-radius: 5px !important;
}

/* Slider Arrow Icon Styling */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background: #79B7A7;
    background-image: none !important;
    border-radius: 50%;
    opacity: 0.4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.carousel-control-prev-icon i,
.carousel-control-next-icon i {
    font-size: 20px;
    color: white;
    line-height: 1;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev-icon i,
    .carousel-control-next-icon i {
        font-size: 16px;
    }
}

/* New Hero Section - 1920x1125 design ratio */
.hero-section-new {
    background: #ffffff;
    padding: 0 !important;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.hero-section-new > .container {
    flex: 1;
    display: flex;
    align-items: center;
    width: min(1380px, calc(100vw - 64px));
    max-width: 1380px;
    margin: 0 auto;
    padding-top: 40px;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    z-index: 2;
}

.hero-row {
    width: 100%;
    margin: 0 !important;
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(240px, 1fr) minmax(280px, 340px);
    gap: clamp(28px, 5vw, 92px);
    align-items: center !important;
    position: relative;
}

.giveaway-status-badge {
    position: absolute;
    top: -36px;
    left: 0;
    background: rgba(207, 236, 245, 0.92);
    color: #1a3a4a;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid #a8d5e8;
    backdrop-filter: blur(4px);
    z-index: 10;
    white-space: nowrap;
    pointer-events: none;
}

.hero-row > [class*='col-'] {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.hero-left {
    padding: 2rem 0;
    align-self: flex-start;
    margin-top: -250px;
}

.hero-main-title {
    font-family: 'Nexa', sans-serif !important;
    font-size: 4.3rem;
    font-weight: 700;
    font-style: normal;
    font-synthesis: none;
    color: #2D394B;
    line-height: 1;
    letter-spacing: -0.016em;
    max-width: 340px;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-family: 'Nexa', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #2D394B;
    line-height: 1.45;
    max-width: 320px;
    margin-bottom: 0;
}

.hero-description .hero-prize-amounts {
    font-family: 'Noto Sans', sans-serif !important;
    font-weight: 400;
}

.hero-center {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    align-self: start;
    padding-top: clamp(8px, 2vw, 28px);
}

.hero-rocket-cloud-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    pointer-events: none;
    font-size: 0;
    line-height: 0;
}

.hero-rocket-cloud-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center bottom;
}

.hero-right {
    padding: 2rem 0;
    align-self: flex-start;
    justify-self: start;
    width: min(100%, 340px);
    margin-top: -250px;
}

.hero-entry-title {
    font-family: 'Nexa', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2D394B;
    margin-bottom: 0.25rem;
}

.hero-entry-subtitle {
    font-family: 'Nexa', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: #6B7280;
    margin-bottom: 1.5rem;
}

.hero-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 1.5rem;
}

.countdown-group {
    display: inline-flex;
    gap: 3px;
}

.countdown-digit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 42px;
    background: #F0F1F3;
    border: 1px solid #E0E2E6;
    border-radius: 8px;
    font-family: 'Noto Sans', sans-serif !important;
    font-size: 1.3rem;
    font-weight: 400;
    color: #2D394B;
}

.countdown-colon {
    display: inline-flex;
    align-items: center;
    font-family: 'Noto Sans', sans-serif !important;
    font-size: 1.3rem;
    font-weight: 400;
    color: #2D394B;
    margin: 0 2px;
}

.hero-enter-btn {
    background: #1A7BFE;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 16px 50px 12px;
    font-family: 'Nexa', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    transition: background 0.3s ease;
    display: inline-block !important;
    margin-bottom: 1rem;
}

.hero-enter-btn:hover {
    background: #1565D8;
    color: white;
}

.hero-tcs {
    font-family: 'Nexa', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    color: #6B7280;
    text-decoration: underline;
}

/* Hero Responsive */
@media (max-width: 992px) {
    .hero-section-new {
        aspect-ratio: auto;
        max-height: none;
    }

    .hero-row {
        display: flex;
        gap: 0;
        min-height: auto;
    }

    .hero-row > [class*='col-'] {
        width: 100% !important;
    }

    .hero-left {
        text-align: center;
        padding: 2rem 0 1rem;
    }

    .hero-main-title {
        font-size: 2.5rem;
    }

    .hero-rocket-img {
        width: 160px;
    }

    .hero-right {
        padding: 1rem 0 2rem;
        width: 100%;
        max-width: none;
        justify-self: stretch;
    }

    .hero-center {
        padding-top: 0;
    }

    .hero-description {
        max-width: none;
    }

}

@media (max-width: 576px) {
    .hero-main-title {
        font-size: 2rem;
    }

    .countdown-digit {
        width: 34px;
        height: 44px;
        font-size: 1.3rem;
    }

    .countdown-colon {
        font-size: 1.3rem;
        margin: 0 3px;
    }

    .hero-rocket-img {
        width: 120px;
    }
}

/* How to Participate Section */
.how-to-participate-section {
    background-color: #e1a209;
    padding: clamp(60px, 6vw, 92px) 0 clamp(40px, 4vw, 56px) !important;
    margin-top: 0;
    min-height: clamp(620px, 46vw, 775px);
    display: flex;
    align-items: center;
}

.how-to-participate-section > .container {
    width: min(1260px, calc(100vw - 64px));
    max-width: 1260px;
}

.participate-title {
    font-family: 'Nexa', sans-serif !important;
    font-size: 3rem;
    font-weight: 700;
    color: white !important;
    margin-bottom: 0.5rem;
    text-align: center;
}

.participate-subtitle {
    font-family: 'Nexa', sans-serif !important;
    font-size: 1rem;
    font-weight: 300;
    color: white !important;
    opacity: 0.9;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.participate-card {
    border: 2px solid white;
    border-radius: 16px;
    padding: 2.9rem 2rem 2.15rem;
    text-align: center;
    width: min(100%, 322px);
    max-width: 322px;
    height: auto;
    min-height: clamp(360px, 28vw, 390px);
    display: grid;
    grid-template-rows: auto auto auto;
    row-gap: 22px;
    justify-items: center;
    align-content: start;
    align-items: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
}

.how-to-participate-section .row.justify-content-center {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 322px));
    justify-content: center !important;
    gap: clamp(32px, 4vw, 94.5px) !important;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.how-to-participate-section .row.justify-content-center > .col-md-3 {
    display: flex;
    justify-content: center;
    flex: none;
    width: 100%;
    max-width: 322px;
    padding-left: 0;
    padding-right: 0;
}

.participate-card:hover {
    transform: translateY(-8px);
}

.participate-number {
    font-family: 'Noto Sans', sans-serif !important;
    font-size: 4rem;
    font-weight: 700;
    color: white !important;
    line-height: 1;
    margin: 0;
}

.participate-card-title {
    font-family: 'Nexa', sans-serif !important;
    font-size: 1.3rem;
    font-weight: 700;
    color: white !important;
    line-height: 1.2;
    margin: 0;
    width: 252px;
    max-width: 252px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.participate-card-text {
    font-family: 'Nexa', sans-serif !important;
    font-size: 1.05rem;
    font-weight: 300;
    color: white !important;
    opacity: 0.9;
    margin: 0;
    line-height: 2;
    max-width: 224px;
    width: 224px;
    text-align: center;
}

.participate-disclaimer {
    font-family: 'Nexa', sans-serif !important;
    font-size: 0.85rem;
    font-weight: 300;
    color: white !important;
    margin-top: 2rem;
    opacity: 0.8;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.how-to-participate-section * {
    color: white !important;
}

.participate-tcs-link {
    color: white;
    text-decoration: underline;
}

.participate-tcs-link:hover {
    color: white;
    opacity: 1;
}

@media (max-width: 768px) {
    .how-to-participate-section {
        padding: 40px 0 !important;
    }

    .how-to-participate-section .row.justify-content-center {
        grid-template-columns: 1fr;
        gap: 24px !important;
    }

    .participate-title {
        font-size: 2rem;
    }

    .participate-card {
        padding: 2rem 1rem;
    }
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 107px;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.main-header .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 30px;
    margin-top: 20px;
}

.header-logo {
    margin-left: 0;
}

.header-logo img {
    height: 28px;
    width: auto;
}

.trading-schedule {
    margin-right: 10px;
    padding: 6px 12px;
    background-color: #E6F2FF;
    border: 1px solid #2B63E7;
    border-radius: 4px;
    font-size: 12px;
    color: #2B63E7 !important;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 7px;
    margin-left: 10px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #1F2937;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #2B63E3;
    text-decoration: none;
}

.nav-link i {
    font-size: 10px;
    color: #2B63E3;
    margin-left: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: auto;
    margin-right: 10px;
    margin-top: -20px;
}

.btn-register {
    width: 128px;
    height: 29.20px;
    background: #ffffff;
    border: 1px solid #2B63E3;
    color: #2B63E3;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.btn-register:hover {
    background-color: #F0F7FF;
    border-color: #1D4ED8;
}

.btn-signin {
    width: 53.90px;
    height: 40px;
    background: transparent;
    border: none;
    color: #000000;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.btn-signin:hover {
    color: #2B63E3;
}

.language-dropdown {
    width: 76px;
    height: 40px;
    background: transparent;
    border: none;
    color: #000000;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.language-dropdown:hover {
    color: #2B63E3;
}

.flag-icon {
    font-size: 16px;
}

.language-dropdown i.fa-chevron-down {
    color: #9CA3AF;
    font-size: 10px;
}

.lang-text {
    font-size: 14px;
    font-weight: 500;
}

.hero-logo {
    filter: drop-shadow(0 4px 16px rgba(32, 179, 129, 0.3));
}

.hero-stat {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    height: 100%;
}

.hero-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 1);
    border-color: var(--plexytrade-green);
}

.hero-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #2D394B;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 8px 32px rgba(45, 57, 75, 0.3);
}

.hero-stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1A1A1A;
}

.hero-stat-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1A1A1A;
}

/* Stage Slider System - Professional Plexytrade theme */
.stage-navigation {
    position: relative;
    margin-bottom: 3rem;
}

.stage-progress {
    height: 4px;
    background: rgba(32, 179, 129, 0.2);
    border-radius: 2px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

@keyframes progress-bar-stripes {
    0% { background-position: 100% 0; }
    100% { background-position: 0 0; }
}

.stage-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--plexytrade-blue) 0%, var(--plexytrade-green) 50%, var(--plexytrade-blue) 100%);
    background-size: 200% 100%;
    animation: progress-bar-stripes 2s linear infinite;
    border-radius: 2px;
    transition: width 0.6s ease-in-out;
    width: 0%;
}

.stage-dots {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: -1rem;
}

.stage-dot {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #2B63E3;
    border: 3px solid #2B63E3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.stage-dot span {
    color: white !important;
}

.stage-dot.active {
    background: #20B381;
    border-color: #20B381;
    color: white;
    box-shadow: 0 0 20px rgba(32, 179, 129, 0.4);
}

.stage-dot.completed {
    background: #2B63E3;
    border-color: #2B63E3;
    color: white;
    box-shadow: 0 0 20px rgba(43, 99, 227, 0.4);
}

.stage-dot.locked {
    opacity: 0.5;
    pointer-events: none;
    background: #2B63E3;
    border-color: #2B63E3;
    color: white;
}

.stage-locked-overlay {
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(10px);
    border-radius: 25px;
}

.stage-slider {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: white;
    backdrop-filter: blur(20px);
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 100%;
    flex: 1;
}

.stage-slider-track {
    width: 100%;
    position: relative;
    height: 100%;
}

.stage-slide {
    width: 100%;
    flex-shrink: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    box-sizing: border-box;
    display: none;
    position: relative;
}

.stage-slide.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
    min-height: 100%;
}

.stage-card {
    padding: 1rem;
    min-height: 160px;
    width: 100%;
    box-sizing: border-box;
}

.stage-header {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.stage-icon-large {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #2D394B;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    font-size: 1.8rem;
    color: white !important;
    position: relative;
    overflow: hidden;
}

.stage-icon-large i {
    color: white !important;
}

.stage-icon-large svg {
    fill: white !important;
}

/* All stage icons use the same gradient */

.stage-icon-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
}

.stage-title {
    color: #1A1A1A;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.stage-status-badge {
    margin-top: 1rem;
}

.stage-body {
    background: white;
    border-radius: 15px;
    padding: 1rem;
    border: 2px solid #20B381;
    width: 100%;
    box-sizing: border-box;
}

.stage-description {
    margin-bottom: 1.5rem;
}

.stage-description h5 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.stage-description p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.stage-controls {
    margin-top: 2rem;
}

.stage-controls .btn {
    min-width: 150px;
    border-radius: 25px;
    padding: 12px 24px;
    font-weight: 600;
    border: 2px solid var(--plexytrade-blue);
    color: var(--plexytrade-blue);
    background: transparent;
    transition: all 0.3s ease;
}

.stage-controls .btn:hover {
    background: var(--plexytrade-blue);
    color: white;
    transform: translateY(-2px);
}

.stage-controls .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Stage form styles for slider */
.stage-form {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    box-sizing: border-box;
}

/* Form input styles */
.stage-form .form-control {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
}

.stage-form .form-control:focus {
    border-color: #20B381;
    box-shadow: 0 0 0 3px rgba(32, 179, 129, 0.1);
    outline: none;
}

.stage-form .form-control:disabled {
    background-color: #f9fafb;
    border-color: #d1d5db;
    color: #6b7280;
    cursor: not-allowed;
}

.stage-form-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2D394B;
    border: 2px solid #2D394B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(45, 57, 75, 0.3);
}

/* Badge styles for slider */
.badge.bg-primary {
    background: linear-gradient(135deg, var(--plexytrade-blue) 0%, #1e40af 100%) !important;
    border: 1px solid rgba(30, 58, 138, 0.3);
}

.badge.bg-success {
    background: linear-gradient(135deg, var(--plexytrade-green) 0%, #059669 100%) !important;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge.bg-secondary {
    background: linear-gradient(135deg, var(--plexytrade-dark-gray) 0%, #4b5563 100%) !important;
    border: 1px solid rgba(75, 85, 99, 0.3);
}

/* Task cards */
.task-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
    background: white;
}

.task-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #20B381;
}

.task-icon {
    padding: 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-block;
}

/* Form inputs - Professional Plexytrade theme */
.form-control {
    background: white;
    border: 2px solid #20B381;
    color: #1A1A1A;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(32, 179, 129, 0.2);
}

.form-control:focus {
    background: white;
    border-color: #2B63E3;
    box-shadow: 
        0 0 0 3px rgba(43, 99, 227, 0.2),
        0 8px 32px rgba(43, 99, 227, 0.1);
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: rgba(26, 26, 26, 0.7);
    font-weight: 500;
}

.form-control:hover {
    border-color: #2B63E3;
    background: white;
}

/* Select and file input specific styles */
select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
    padding-right: 40px;
}

select.form-control option {
    background: white;
    color: #1A1A1A;
    border: none;
}

input[type="file"].form-control {
    padding: 12px 16px;
    cursor: pointer;
}

input[type="file"].form-control::file-selector-button {
    background: linear-gradient(135deg, var(--plexytrade-blue) 0%, var(--plexytrade-green) 100%);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 8px 16px;
    margin-right: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="file"].form-control::file-selector-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.3);
}

/* Form labels */
.form-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Step cards - Plexytrade theme */
.step-card {
    text-align: center;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    background: white;
    border: 2px solid #20B381;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-card:hover {
    background: white;
    border-color: #2B63E3;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(43, 99, 227, 0.3);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: #2D394B;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

/* Winner Cards - Professional Plexytrade theme */
.winner-card {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 16px;
    background: white;
    backdrop-filter: blur(10px);
    border: 2px solid #20B381;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.winner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(32, 179, 129, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.winner-card:hover {
    transform: translateY(-8px);
    background: white;
    border-color: #2B63E3;
    box-shadow: 0 20px 60px rgba(43, 99, 227, 0.3);
    z-index: 10;
}

.winner-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FFBE3B;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.5rem;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
    border: 3px solid #FFBE3B;
    position: relative;
}

.winner-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: #FFBE3B;
    z-index: -1;
    animation: goldGlow 2s ease-in-out infinite alternate;
}

@keyframes goldGlow {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

.winner-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 0.3rem;
    text-shadow: none;
}

.winner-week {
    font-size: 0.85rem;
    color: white !important;
    font-weight: 800;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #2D394B;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    display: inline-block;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
    border: 2px solid #2D394B;
    box-shadow: 0 4px 15px rgba(45, 57, 75, 0.3);
}

.winner-date {
    font-size: 0.85rem;
    color: #1A1A1A;
    margin-bottom: 0;
    font-weight: 400;
}

/* Winners Section Background */
.winners-section {
    background: linear-gradient(135deg, rgba(32, 179, 129, 0.05) 0%, rgba(43, 99, 227, 0.05) 100%);
    border-top: 1px solid rgba(32, 179, 129, 0.2);
    position: relative;
    overflow-x: hidden;
}

.winners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(32, 179, 129, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(43, 99, 227, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.winners-section .container {
    position: relative;
    z-index: 1;
}

/* Winners Infinite Slider */
.winners-slider-wrapper {
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    width: 100%;
    margin: 0 auto;
    max-width: 1600px;
}

.winners-slider-track {
    display: flex;
    animation: scroll 40s linear infinite;
    width: fit-content;
    gap: 0;
}

.winners-slider-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.winner-slide {
    flex: 0 0 auto;
    width: 220px;
    padding: 0 8px;
}

@media (max-width: 1200px) {
    .winner-slide {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .winner-slide {
        width: 180px;
    }
}

/* Admin panel */
.stats-card {
    background: white;
    border: 2px solid #20B381;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(32, 179, 129, 0.2);
}

/* Table styles */
.table-responsive {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #20B381;
}

.table th {
    background: #20B381;
    border-color: #20B381;
    font-weight: 700;
    color: white;
}

.table td {
    vertical-align: middle;
    border-color: rgba(32, 179, 129, 0.2);
    background: white;
    color: #1A1A1A;
}

/* Contest Information Section */
.info-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: #20B381;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2D394B;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.2rem;
}

.time-display {
    font-family: 'Noto Sans', sans-serif !important;
    font-size: 0.9rem;
    color: #20B381;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: #f0f9ff;
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid #e0f2fe;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.6s ease-out;
}

/* ===== COMPREHENSIVE RESPONSIVE DESIGN ===== */

/* Extra Small Devices (Mobile - 320px to 576px) */
@media (max-width: 576px) {
    body {
        font-size: 14px;
    }
    
    /* Hero Slider */
    #heroSlider {
        margin-top: 72px;
    }
    
    .slider-content {
        padding: 40px 15px;
    }
    
    .slider-content .container {
        padding: 0 10px;
    }
    
    .slider-content h1 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .slider-content p {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .slider-content .row {
        min-height: 280px !important;
    }
    
    .slider-content i {
        font-size: 100px !important;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 30px;
        height: 30px;
    }
    
    /* Hero Section */
    .hero-time-display {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .time-info {
        padding: 0.8rem 0.5rem;
    }
    
    .time-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .time-label {
        font-size: 0.75rem;
    }
    
    .time-value {
        font-size: 0.7rem !important;
        min-width: 150px !important;
        height: 36px !important;
        padding: 0.35rem 0.6rem !important;
    }
    
    .time-value-link .btn {
        font-size: 0.7rem !important;
        padding: 0.35rem 0.6rem !important;
        min-width: 150px !important;
        height: 36px !important;
    }
    
    /* Buttons */
    .btn-lg {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Stage Navigation */
    .stage-dots {
        gap: 0.8rem;
    }
    
    .stage-dot {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .stage-dot span {
        font-size: 0.8rem;
    }
    
    /* Stage Slider */
    .stage-card {
        padding: 0.8rem;
        min-height: 220px;
    }
    
    .stage-header {
        margin-bottom: 0.8rem;
    }
    
    .stage-title {
        font-size: 1.1rem;
    }
    
    .stage-icon-large {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .stage-body {
        padding: 0.8rem;
    }
    
    .stage-form {
        padding: 0.8rem;
    }
    
    .stage-form-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .form-control {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .form-label {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    /* Step Cards */
    .step-card {
        padding: 1.2rem 0.8rem;
        min-height: 220px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1rem;
    }
    
    /* Winner Cards */
    .winner-card {
        padding: 1.2rem 1rem;
    }
    
    .winner-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .winner-name {
        font-size: 1rem;
    }
    
    .winner-week {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
    
    .winner-date {
        font-size: 0.75rem;
    }
    
    /* Info Cards */
    .info-card {
        padding: 1.2rem;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    h4, h5 {
        font-size: 1rem;
    }
}

/* Small Devices (Tablet Portrait - 576px to 768px) */
@media (min-width: 576px) and (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    .slider-content {
        padding: 50px 20px;
    }
    
    .slider-content h1 {
        font-size: 2rem !important;
    }
    
    .slider-content p {
        font-size: 1rem !important;
    }
    
    .slider-content .row {
        min-height: 350px !important;
    }
    
    .slider-content i {
        font-size: 120px !important;
    }
    
    .hero-time-display {
        padding: 1.2rem;
    }
    
    .time-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .time-label {
        font-size: 0.85rem;
    }
    
    .time-value {
        font-size: 0.7rem;
        min-width: 170px;
    }
    
    .stage-dots {
        gap: 1.2rem;
    }
    
    .stage-dot {
        width: 50px;
        height: 50px;
        font-size: 0.95rem;
    }
    
    .stage-card {
        padding: 0.9rem;
        min-height: 240px;
    }
    
    .stage-title {
        font-size: 1.2rem;
    }
    
    .stage-icon-large {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .stage-body .row {
        flex-direction: column;
    }
    
    .stage-body .col-md-6 {
        width: 100% !important;
    }
    
    .stage-form {
        margin-top: 0.8rem;
    }
    
    .step-card {
        padding: 1.5rem 1rem;
        min-height: 240px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
}

/* Medium Devices (Tablet Landscape - 768px to 992px) */
@media (min-width: 768px) and (max-width: 992px) {
    body {
        font-size: 15px;
    }
    
    .slider-content {
        padding: 60px 30px;
    }
    
    .slider-content h1 {
        font-size: 2.2rem !important;
    }
    
    .slider-content p {
        font-size: 1.05rem !important;
    }
    
    .slider-content .row {
        min-height: 380px !important;
    }
    
    .slider-content i {
        font-size: 140px !important;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-time-display {
        padding: 1.4rem;
    }
    
    .time-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .stage-dots {
        gap: 1.5rem;
    }
    
    .stage-dot {
        width: 55px;
        height: 55px;
        font-size: 1rem;
    }
    
    .stage-card {
        padding: 1rem;
    }
    
    .stage-title {
        font-size: 1.3rem;
    }
    
    .stage-icon-large {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-card {
        padding: 1.8rem 1.2rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
}

/* Large Devices (Desktop - 992px to 1200px) */
@media (min-width: 992px) and (max-width: 1200px) {
    body {
        font-size: 16px;
    }
    
    .slider-content {
        padding: 70px 40px;
    }
    
    .slider-content h1 {
        font-size: 3rem !important;
    }
    
    .stage-dots {
        gap: 1.8rem;
    }
    
    .stage-dot {
        width: 58px;
        height: 58px;
    }
}

/* Extra Large Devices (Large Desktop - 1200px+) */
@media (min-width: 1200px) {
    body {
        font-size: 16px;
    }
    
    .slider-content {
        padding: 80px 50px;
    }
    
    .slider-content .row {
        min-height: 400px;
    }
}

/* Ultra Large Screens (1400px+) */
@media (min-width: 1400px) {
    .stage-card {
        padding: 1.2rem;
        min-height: 280px;
    }
    
    .stage-form {
        padding: 1.2rem;
    }
}

/* Landscape Mode for Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .slider-content {
        padding: 20px 15px;
        min-height: auto;
    }
    
    .slider-content .row {
        min-height: 200px !important;
    }
    
    .slider-content h1 {
        font-size: 1.4rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .slider-content p {
        font-size: 0.85rem !important;
    }
    
    .slider-content i {
        font-size: 60px !important;
    }
}

/* Additional responsive utilities */
@media (max-width: 576px) {
    .w-lg-auto {
        width: auto !important;
    }
    
    /* Form responsive */
    .form-control {
        width: 100% !important;
        font-size: 16px; /* Prevent zoom on mobile input focus */
    }
    
    .form-label {
        font-size: 0.8rem;
    }
    
    .btn-lg {
        width: 100%;
        padding: 0.75rem 1rem;
    }
    
    /* Alert responsive */
    .alert {
        font-size: 0.85rem;
        padding: 0.75rem;
    }
    
    /* Table responsive */
    .table-responsive {
        font-size: 0.85rem;
    }
}

@media (min-width: 577px) {
    .w-lg-auto {
        width: auto !important;
    }
}

/* Form input improvements */
.form-control {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="email"]:focus,
input[type="text"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    font-size: 16px; /* Prevent zoom on mobile */
}

/* Touch-friendly spacing */
@media (max-width: 768px) {
    .form-control {
        min-height: 44px; /* Touch-friendly size */
    }
    
    .btn {
        min-height: 44px; /* Touch-friendly size */
        padding: 0.6rem 1rem;
    }
    
    .form-control,
    .form-select,
    .btn {
        font-size: 16px; /* Prevent auto-zoom on iOS */
    }
}

/* Horizontal scroll prevention */
body, html {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Comprehensive sections responsive */
@media (max-width: 576px) {
    section {
        padding: 100px 1rem !important;
    }
    
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    section h2, section h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem !important;
    }
    
    /* How to Participate section - mobile optimization */
    .step-card {
        padding: 1rem 0.8rem !important;
        min-height: 160px !important;
    }
    
    .step-number {
        width: 45px !important;
        height: 45px !important;
        line-height: 45px !important;
        font-size: 1.1rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .step-card h5 {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .step-card p {
        font-size: 0.85rem !important;
        margin-bottom: 0 !important;
    }
    
    /* Slider content responsive - prevent text overlap */
    .slider-content {
        padding: 30px 0 !important;
        min-height: auto !important;
    }
    
    .slider-content .row {
        min-height: auto !important;
        flex-direction: column !important;
        display: flex !important;
    }
    
    .slider-content .col-lg-6 {
        order: 2 !important;
        text-align: center !important;
        min-height: auto !important;
    }
    
    .slider-content .col-lg-6:has(.slider-icon) {
        order: 1 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .slider-title {
        font-size: 1.5rem !important;
        margin-bottom: 0.8rem !important;
        text-align: center !important;
    }
    
    .slider-text {
        font-size: 0.95rem !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
    }
    
    .slider-icon {
        font-size: 180px !important;
        display: block !important;
        margin: 0 auto 0 auto !important;
    }
    
    .slider-btn {
        padding: 0.4rem 1rem !important;
        font-size: 0.85rem !important;
        min-height: auto !important;
        height: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        margin: 0 auto !important;
    }
    
    .slider-btn i {
        font-size: 0.8rem !important;
        width: auto !important;
        height: auto !important;
    }
    
    /* Hero time display responsive */
    .hero-time-display {
        padding: 0.6rem !important;
    }
    
    .hero-time-display .row {
        margin-left: -0.5rem !important;
        margin-right: -0.5rem !important;
    }
    
    .hero-time-display .col-sm-6 {
        padding: 0 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .time-info {
        padding: 0.4rem !important;
    }
    
    .time-icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.8rem !important;
    }
    
    .time-label {
        font-size: 0.65rem !important;
    }
    
    .time-value {
        font-size: 0.65rem !important;
        padding: 0.3rem 0.5rem !important;
        min-width: 120px !important;
        height: 32px !important;
    }
    
    .time-value-link .btn {
        font-size: 0.65rem !important;
        padding: 0.3rem 0.5rem !important;
        min-width: 120px !important;
        height: 32px !important;
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    section {
        padding: 2.5rem 1.5rem !important;
    }
}

@media (min-width: 768px) {
    section {
        padding: 3rem 2rem !important;
    }
}

/* Winners slider responsive */
@media (max-width: 576px) {
    .winners-slider-wrapper {
        padding: 20px 0;
    }
    
    .winner-slide {
        width: 200px;
        padding: 0 8px;
    }
    
    .winner-card {
        padding: 1rem 0.8rem;
    }
    
    .winner-name {
        font-size: 0.9rem;
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    .winner-slide {
        width: 240px;
    }
}

/* Stage controls responsive */
@media (max-width: 768px) {
    .stage-controls {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 12px !important;
    }
    
    .stage-controls .btn {
        width: auto !important;
        min-width: 140px !important;
        max-width: 160px !important;
        flex: 1 !important;
        padding: 10px 16px !important;
        font-size: 0.85rem !important;
        border-radius: 999px !important;
        min-height: 44px !important;
    }
    
    .stage-controls .btn i {
        font-size: 0.75rem !important;
    }
    
    .stage-controls .btn.me-3 {
        margin-right: 0 !important;
        margin-bottom: 0 !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    /* Hero time display - 2 column layout for medium screens to prevent overlap */
    .hero-time-display .col-lg-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    .hero-time-display {
        padding: 1rem !important;
    }
    
    .time-info {
        padding: 0.6rem !important;
    }
    
    .time-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
    }
    
    .time-label {
        font-size: 0.8rem !important;
    }
    
    .time-value {
        font-size: 0.85rem !important;
        padding: 0.5rem 0.8rem !important;
        max-width: 100% !important;
        width: auto !important;
    }
    
    /* System Time and Timezone - keep original widths */
    .hero-time-display .col-lg-3:nth-child(1) .time-value,
    .hero-time-display .col-lg-3:nth-child(2) .time-value {
        width: 220px !important;
    }
    
    /* Active Giveaway and Contest Rules */
    .hero-time-display .col-lg-3:nth-child(3) .time-value,
    .hero-time-display .col-lg-3:nth-child(4) .time-value {
        width: 180px !important;
    }
    
    .time-value-link .btn {
        font-size: 0.85rem !important;
        padding: 0.5rem 0.8rem !important;
    }
}

@media (max-width: 993px) {
    /* Slider mobile layout - vertical structure */
    .slider-content .row {
        min-height: auto !important;
        flex-direction: column !important;
        display: flex !important;
    }
    
    .slider-content .col-lg-6 {
        order: 2 !important;
        text-align: center !important;
        min-height: auto !important;
    }
    
    .slider-content .col-lg-6:has(.slider-icon) {
        order: 1 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .slider-title {
        text-align: center !important;
    }
    
    .slider-text {
        text-align: center !important;
    }
    
    .slider-icon {
        font-size: 180px !important;
        display: block !important;
        margin: 0 auto 0 auto !important;
    }
    
    .slider-btn {
        padding: 0.4rem 1rem !important;
        font-size: 0.9rem !important;
        min-height: auto !important;
        height: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        margin: 0 auto !important;
    }
    
    .slider-btn i {
        font-size: 0.8rem !important;
        width: auto !important;
        height: auto !important;
    }
}

@media (max-width: 992px) {
    .stage-controls {
        display: flex !important;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
}

/* Custom button styles - Plexytrade theme */
.btn-primary {
    background: #2B63E3;
    border: none;
    color: white;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: #1e40af;
    transform: translateY(-2px);
    color: white;
}

.btn-success {
    background: #20B381;
    border: none;
    color: white;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
    color: white;
}

.btn-info {
    background: #f59e0b;
    border: none;
    color: white;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-info:hover {
    background: #d97706;
    transform: translateY(-2px);
    color: white;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: 16px;
}

/* Alert styles */
.alert {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
.site-main {
    margin-top: 0;
}

.site-footer {
    background-color: #2d394b;
    color: #ffffff;
    padding: 40px 0;
}

footer {
    border-top: none;
    margin-top: 0;
}

footer .container {
    max-width: 1200px;
    padding-left: 40px;
    padding-right: 40px;
}

.footer-menu-row {
    max-width: 100%;
}

.footer-menu-column {
    min-width: 160px;
}

.footer-heading {
    font-size: 16px !important;
    margin-bottom: 1rem !important;
}

.footer-links-list,
.footer-accordion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link {
    text-decoration: none;
    font-size: 16px;
    line-height: 2;
}

.footer-accordion-item {
    border-bottom: 1px solid rgba(138, 155, 173, 0.2);
}

.footer-accordion-item:last-child {
    border-bottom: none;
}

.footer-accordion-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    cursor: pointer;
}

.footer-accordion-title {
    margin: 0 !important;
    font-size: 15px !important;
    font-family: 'Nexa', sans-serif !important;
    font-weight: 700 !important;
}

.footer-mobile-link {
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff !important;
}

.footer-accordion-list {
    padding: 0 0 10px 0;
}

.footer-disclosure-text {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-risk-text {
    margin-bottom: 0;
}

.footer-inline-link {
    text-decoration: underline;
}

.footer-divider {
    border-color: #8a9bad;
    border-width: 1px;
    margin: 2rem 0 1rem 0;
    opacity: 1;
}

.footer-copy-text,
.footer-copy-links {
    font-family: 'Nexa', sans-serif !important;
    font-size: 13px;
    color: #bfc9d8 !important;
    margin: 0;
}

.footer-copy-text-mobile {
    margin-bottom: 0.5rem;
}

.footer-policy-link {
    color: #ffffff !important;
    text-decoration: none;
}

.footer-policy-link-spaced {
    margin-left: 20px;
}

.social-icons {
    display: flex;
    align-items: center;
}

.social-icons-desktop {
    justify-content: flex-end;
    gap: 15px;
}

.social-icons-mobile {
    justify-content: center;
    gap: 18px;
}

.social-icon-link {
    font-size: 18px;
    color: #ffffff !important;
}

.desktop-footer-menu {
    display: block;
}

.mobile-footer-menu {
    display: none;
}

.desktop-copyright {
    display: flex;
}

.mobile-copyright {
    display: none;
}

footer h5 {
    font-family: 'Nexa', sans-serif !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

footer a, footer p {
    font-family: 'Nexa', sans-serif !important;
    font-weight: 400 !important;
    color: #C5D1E0 !important;
}

.desktop-footer-menu h5,
.mobile-footer-menu h5 {
    font-family: 'Nexa', sans-serif !important;
    font-weight: 700 !important;
}

.desktop-footer-menu a,
.mobile-footer-menu a,
.footer-disclosure p,
.desktop-copyright p,
.desktop-copyright a,
.mobile-copyright p,
.mobile-copyright a {
    font-family: 'Nexa', sans-serif !important;
    font-weight: 400 !important;
}

.footer-disclosure .footer-risk-text strong {
    font-family: 'Nexa', sans-serif !important;
    font-weight: 700 !important;
}

.mobile-footer-menu .accordion-chevron {
    color: #ffffff !important;
    font-size: 13px;
    transition: transform 0.3s;
}

.mobile-footer-menu .accordion-chevron.rotate-180 {
    transform: rotate(180deg);
}

.mobile-footer-separator {
    display: none;
}

footer a:hover {
    color: #ffffff !important;
}

.home-button:hover span,
.home-button:hover i {
    color: white !important;
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form validation */
.form-control.is-invalid {
    border-color: var(--bs-danger);
}

.form-control.is-valid {
    border-color: var(--bs-success);
}

/* Dark mode specific adjustments */
[data-bs-theme="dark"] .card {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .navbar-brand {
    color: var(--plexytrade-gold) !important;
}

/* Navbar customization */
.navbar-dark {
    background: linear-gradient(135deg, var(--plexytrade-blue) 0%, var(--plexytrade-dark) 100%) !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--plexytrade-gold);
}

[data-bs-theme="dark"] .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Mobile header logo visibility fix - ensure logo is always visible below 1024px */
@media (max-width: 1023px) {
    .lg\:hidden img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: 32px !important;
    }
    
    nav.hidden.lg\:block,
    nav.hidden.lg\:block * {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    
    /* Section headings responsive - gradual font size reduction */
    section h2,
    section h3 {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 991px) {
    section h2,
    section h3 {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 768px) {
    section h2,
    section h3 {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 576px) {
    section h2,
    section h3 {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .desktop-footer-menu {
        display: none;
    }

    .mobile-footer-menu {
        display: block;
    }

    .desktop-copyright {
        display: none;
    }

    .mobile-copyright {
        display: block;
    }

    .site-footer {
        padding: 24px 0;
    }

    footer .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    footer .footer-logo-row {
        margin-bottom: 1rem !important;
    }

    footer .footer-logo {
        height: 24px !important;
        margin-bottom: 1rem !important;
    }

    .footer-disclosure {
        margin-top: 12px !important;
    }

    .footer-disclosure p {
        font-size: 13px !important;
        line-height: 1.6 !important;
        color: #cdd6e3 !important;
        margin-bottom: 1rem !important;
    }

    .footer-disclosure .footer-risk-text {
        margin-bottom: 0 !important;
    }

    .footer-disclosure .footer-risk-text a {
        color: #bfc9d8 !important;
    }

    .mobile-copyright p {
        font-size: 13px !important;
        color: #bfc9d8 !important;
    }

    .mobile-copyright a {
        color: #ffffff !important;
    }

    .footer-divider {
        border-color: #405168 !important;
        margin: 1.5rem 0 1.25rem 0 !important;
    }

    .mobile-footer-separator {
        display: block;
        border-top: 1px solid #405168;
        margin: 16px 0;
    }
}

@media (max-width: 576px) {
    footer .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    footer h5 {
        font-size: 12px !important;
    }

    footer a,
    footer p {
        font-size: 12px !important;
        line-height: 1.6 !important;
    }

    .social-icons {
        justify-content: center !important;
    }
}

/* =============================================
   NEW STAGES SECTION - Redesign 2024
   ============================================= */

.stages-section {
    background: #f9fbfe;
    height: auto !important;
    min-height: clamp(900px, 58vw, 953px) !important;
    padding: clamp(72px, 7vw, 98px) 0 !important;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.stages-section > .container {
    display: flex;
    justify-content: center;
    width: min(1240px, calc(100vw - 64px)) !important;
    min-width: 0 !important;
    max-width: 1240px !important;
    flex: 0 1 1240px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

.stages-wrapper {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 1240px !important;
    flex: 1 1 auto !important;
    height: auto;
    min-height: clamp(758px, 48vw, 820px);
    margin: 0;
    background: #2d394b;
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(45, 57, 75, 0.22);
    display: grid;
    grid-template-rows: clamp(110px, 7vw, 118px) 1fr;
    overflow: hidden;
    box-sizing: border-box;
}

.steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2vw, 28px);
    padding: 0 clamp(24px, 3vw, 40px);
    border-bottom: 1px solid rgba(225, 162, 9, 0.28);
}

.step-circle {
    width: 62px;
    height: 62px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Sans', sans-serif !important;
    font-size: 1.45rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.step-active,
.step-completed {
    background: #e1a209 !important;
    border: 2px solid #e1a209 !important;
    color: #2d394b !important;
}

.step-inactive {
    background: transparent !important;
    border: 2px solid #e1a209 !important;
    color: #e1a209 !important;
}

.step-check-standalone {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.step-check-pending {
    color: #e1a209;
    opacity: 0.5;
}

.step-check-done {
    color: #e1a209;
    opacity: 1;
}

.stage-slides-container {
    min-height: 0;
    padding: 20px 0 18px;
    display: flex;
    flex-direction: column;
}

.stage-slide-new {
    display: none;
}

.stage-slide-new.slide-active {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.stage-split {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(440px, 540px);
    align-items: center;
    gap: clamp(24px, 3vw, 44px);
    padding: 0 clamp(24px, 3vw, 40px);
}

.stage-left,
.stage5-left {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 8px 20px;
}

.stage-right {
    width: 100%;
    max-width: 540px;
    padding-right: clamp(0px, 3vw, 50px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.stage-right .stage-compete-btn {
    margin-top: 25px;
}

.stage-social-logo {
    width: 59.2px;
    height: 59.2px;
    object-fit: contain;
    margin-bottom: 22px;
}

.stage-plexytrade-logo {
    width: 65.6px;
    height: 65.6px;
}

.stage-bonus-logo {
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
}

.stage-x-logo {
    border-radius: 10px;
}

.stage-social-title,
.stages-wrapper h3 {
    font-family: 'Nexa', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 800;
    line-height: 1.18;
    color: #ffffff !important;
    margin-bottom: 24px;
}

.stage-plexytrade-title {
    font-size: 1.8rem !important;
    line-height: 1.08;
    margin-bottom: 0;
}

#stageNew1 .stage-left,
#stageNew2 .stage-left,
#stageNew3 .stage-left,
#stageNew4 .stage-left {
    display: grid;
    grid-template-columns: minmax(240px, 293px);
    grid-template-rows: 66px 58px 66px auto;
    justify-content: center;
    justify-items: center;
    align-content: center;
    row-gap: 18px;
    padding: 12px 8px 24px;
}

#stageNew2 .stage-left,
#stageNew3 .stage-left {
    grid-template-columns: minmax(272px, 320px);
}

#stageNew1 .stage-social-logo,
#stageNew2 .stage-social-logo,
#stageNew3 .stage-social-logo,
#stageNew4 .stage-social-logo {
    margin-bottom: 0;
    align-self: end;
}

#stageNew1 .stage-social-title,
#stageNew2 .stage-social-title,
#stageNew3 .stage-social-title,
#stageNew4 .stage-social-title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.6rem !important;
    line-height: 1.08;
    margin-bottom: 0;
    white-space: nowrap;
}

#stageNew1 .stage-gold-btn,
#stageNew2 .stage-gold-btn,
#stageNew3 .stage-gold-btn,
#stageNew4 .stage-gold-btn {
    width: 100%;
    min-width: 0;
    max-width: 293px;
    height: 66px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.08rem;
    font-weight: 800 !important;
    line-height: 1 !important;
    margin-top: 0;
}

#stageNew1 .stage-redirect-note,
#stageNew2 .stage-redirect-note,
#stageNew3 .stage-redirect-note,
#stageNew4 .stage-redirect-note {
    width: 100%;
    min-width: 0;
    max-width: 293px;
    margin-top: 0;
    justify-self: center;
    text-align: left;
}

.stage-gold-btn {
    min-width: 182px;
    padding: 11px 22px;
    border-radius: 8px;
    background: #e1a209 !important;
    border: none !important;
    color: #2d394b !important;
    font-family: 'Nexa', sans-serif !important;
    font-size: 0.92rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.stage-gold-btn:hover {
    opacity: 0.9;
    color: #2d394b !important;
}

.stage-redirect-note {
    min-width: 182px;
    margin-top: 8px;
    margin-bottom: 0;
    font-family: 'Nexa', sans-serif !important;
    font-size: 0.65rem;
    font-weight: 400;
    color: rgba(255,255,255,0.65) !important;
    text-align: left;
}

.stage-form-card {
    width: 100%;
    max-width: 490px;
    height: 448px;
    min-height: 448px;
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 14px;
    padding: 16px 16px 16px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.08);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.stage-form-card form {
    flex: 1;
    width: 100%;
}

.stage-form-header {
    font-family: 'Nexa', sans-serif !important;
    font-size: 0.84rem;
    font-weight: 700;
    color: #1a1a1a !important;
    border-bottom: 1px solid #e5e7eb;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 10px;
    margin-bottom: 22px;
}

.stage-form-card form > .mb-3,
.stage-form-card form > .mb-2 {
    margin-bottom: 0 !important;
}

#stageForm1 {
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    gap: 24px;
    min-height: 100%;
}

#stageForm2,
#stageForm3,
#stageForm4 {
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 26px;
    min-height: 100%;
}

#stageForm2 .mb-3:last-of-type,
#stageForm3 .mb-3:last-of-type,
#stageForm4 .mb-3:last-of-type {
    align-self: stretch;
}

.stage-form-header strong {
    font-weight: 900;
    color: #1a1a1a !important;
}

.stage-field-label {
    display: block;
    margin-bottom: 10px;
    font-family: 'Nexa', sans-serif !important;
    font-size: 0.82rem;
    font-weight: 400;
    color: #1a1a1a !important;
}

.stage-input {
    width: 100%;
    padding: 8px 16px;
    border: 1px solid #dfe3ea;
    border-radius: 7px;
    background: #f2f4f8;
    color: #1a1a1a !important;
    font-family: 'Nexa', sans-serif !important;
    font-size: 0.84rem;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.stage-input:not(.stage-textarea) {
    height: 65px;
    min-height: 65px;
}

#stageNew1 .stage-input:not(.stage-textarea) {
    height: 55px;
    min-height: 55px;
}

.stage-input::placeholder {
    color: #a4acb9 !important;
}

.stage-input:focus {
    background: #ffffff;
    border-color: #20b381;
}

.stage-textarea {
    height: 72px;
    resize: none;
}

.stage-field-note {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 0.68rem;
    color: #9ca3af !important;
}

.stage-required-note {
    margin-top: 14px;
    margin-bottom: 0;
    font-family: 'Nexa', sans-serif !important;
    font-size: 0.68rem;
    font-style: italic;
    font-weight: 400;
    color: #1a1a1a !important;
}

.stage-required-note .req-star {
    color: #e53e3e !important;
    font-style: normal;
    margin-right: 1px;
}

.stage-compete-btn {
    width: 100%;
    max-width: 490px;
    height: 66px;
    min-height: 66px;
    margin-top: 0;
    padding: 0 20px;
    border-radius: 8px;
    background: #20b381 !important;
    border: none !important;
    color: #ffffff !important;
    font-family: 'Nexa', sans-serif !important;
    font-size: 1.1rem;
    font-weight: 850;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: opacity 0.2s ease;
}

.stage-compete-btn:hover {
    opacity: 0.9;
    color: #ffffff !important;
}

.stage-compete-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.stage-footer-note {
    margin-top: auto;
    padding-top: 18px;
    text-align: center;
    font-family: 'Nexa', sans-serif !important;
    font-size: 0.66rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.55) !important;
}

.stage-footer-link {
    color: rgba(255,255,255,0.86) !important;
    text-decoration: underline;
    font-weight: 800;
}

.stage-bonus-title {
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Nexa', sans-serif !important;
    font-size: 0.94rem;
    font-weight: 400;
    color: rgba(255,255,255,0.9) !important;
}

#stageNew5 form {
    display: flex;
    flex-direction: column;
    gap: 52px;
}

.stage5-row {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(440px, 540px);
    align-items: center;
    gap: clamp(24px, 3vw, 44px);
    margin-bottom: 0;
    padding: 0 clamp(24px, 3vw, 40px);
}

.stage5-right {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 540px;
    padding-right: clamp(0px, 3vw, 50px);
    box-sizing: border-box;
}

#stageNew5 .stage5-left {
    padding: 6px 8px 8px;
}

#stageNew5 .stage-bonus-logo {
    margin-bottom: 10px;
}

#stageNew5 .stage-bonus-social-title {
    font-size: 1.12rem !important;
    line-height: 1.08;
    margin-bottom: 12px;
    white-space: nowrap;
}

#stageNew5 .stage-gold-btn {
    min-width: 184px;
}

#stageNew5 .stage-redirect-note {
    margin-top: 6px;
}

#stageNew5 .stage-form-card {
    width: 100%;
    max-width: 490px;
    height: 170px;
    min-height: 170px;
    padding: 16px;
    box-sizing: border-box;
    justify-content: flex-start;
}

#stageNew5 .stage-input:not(.stage-textarea) {
    height: 55px;
    min-height: 55px;
}

#stageNew5 .stage-form-header {
    margin-bottom: 16px;
}

#stageNew5 .stage-field-label {
    margin-bottom: 10px;
}

#stageForm5 {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

#stageNew5 .stage-form-card .mb-2 {
    margin-bottom: 0 !important;
}

#stageNew5 .stage-bonus-compete {
    margin-top: 28px;
}

.stage-bonus-compete {
    display: flex;
    justify-content: center;
    margin-top: 2px;
}

#stageNew5 .stage-bonus-compete {
    margin-top: 55px;
}

.stage-compete-wide {
    width: 100%;
    min-width: 0;
    max-width: 486.5px;
}

.stage-congrats {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 28px;
}

.stage-congrats-title {
    font-family: 'Nexa', sans-serif !important;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 18px;
}

.stage-congrats-text {
    max-width: 40ch;
    font-family: 'Nexa', sans-serif !important;
    font-size: 0.96rem;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255,255,255,0.85) !important;
    margin-bottom: 10px;
}

.stage-congrats-contact {
    margin-top: 26px;
}

.stage-congrats-note {
    margin-bottom: 12px;
    font-family: 'Nexa', sans-serif !important;
    font-size: 0.84rem;
    color: rgba(255,255,255,0.68) !important;
}

.stage-contact-btn {
    min-width: 180px;
}

@media (max-width: 991px) {
    .stages-section {
        height: auto !important;
        min-height: 0 !important;
        padding: 48px 0 !important;
    }

    .stages-section > .container {
        width: 100%;
        max-width: 758px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .stages-wrapper {
        width: 100%;
        max-width: 100%;
        flex-basis: auto;
        height: auto;
        min-height: 0;
        grid-template-rows: auto auto;
    }

    .stage-slides-container {
        padding: 20px 18px 18px;
    }

    .stage-split,
    .stage5-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stage-left,
    .stage5-left,
    .stage-right,
    .stage5-right {
        width: 100%;
        max-width: 100%;
    }

    .stage-form-card,
    .stage-compete-btn,
    .stage-compete-wide {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .steps-indicator {
        gap: 12px;
        padding: 14px 12px;
        flex-wrap: wrap;
    }

    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .stage-social-title,
    .stages-wrapper h3 {
        font-size: 1.2rem !important;
    }

    #stageNew1 .stage-social-title,
    #stageNew2 .stage-social-title,
    #stageNew3 .stage-social-title,
    #stageNew4 .stage-social-title {
        font-size: 1.6rem !important;
        white-space: nowrap;
    }

    #stageNew5 .stage-bonus-social-title {
        font-size: 0.82rem !important;
        white-space: nowrap;
    }

    .stage-left,
    .stage5-left {
        padding: 8px 0 10px;
    }
}



/* =============================================
   SECTION 4: THIS DRAW'S REWARDS
   ============================================= */
.rewards-section {
    background: #e8f2ff;
    min-height: clamp(760px, 48vw, 865px) !important;
    padding-top: clamp(64px, 6vw, 96px) !important;
    padding-bottom: clamp(52px, 5vw, 72px) !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.rewards-section > .container {
    width: min(1120px, calc(100vw - 64px));
    max-width: 1120px;
}

.rewards-title {
    font-family: 'Nexa', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: #2d394b;
    text-align: center;
    line-height: 1.08;
    margin-bottom: 64px;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(222px, 246px));
    justify-content: center;
    align-items: flex-start;
    gap: clamp(48px, 5vw, 104px);
    padding-top: clamp(48px, 4vw, 68px);
}

/* Card */
.reward-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    height: clamp(391px, 26vw, 408px);
    min-height: clamp(391px, 26vw, 408px);
    display: flex;
    flex-direction: column;
    overflow: visible;
    box-sizing: border-box;
}

/* Trophy icon — overlaps the top of card */
.reward-icon-wrap {
    position: absolute;
    top: -62px;
    left: 50%;
    transform: translateX(-50%);
    width: 131px;
    height: 131px;
    border-radius: 50%;
    background: #e8f2ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reward-trophy-img {
    width: 131px;
    height: 131px;
    object-fit: contain;
}

/* Card body */
.reward-body {
    height: 100%;
    padding: clamp(92px, 6vw, 100px) 18px 26px;
    text-align: center;
    flex: 1;
    box-sizing: border-box;
}

.reward-label {
    font-family: 'Nexa', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: #2d394b;
    margin-bottom: 26px;
}

.reward-amount {
    font-family: 'Noto Sans', sans-serif !important;
    font-weight: 700;
    font-size: 3.05rem;
    line-height: 1;
    margin-bottom: 4px;
}

.reward-amount-gold  { color: #ffbe3b; }
.reward-amount-green { color: #20b381; }
.reward-amount-blue  { color: #2b63e2; }

.reward-sub {
    font-family: 'Nexa', sans-serif;
    font-weight: 300;
    font-size: 0.82rem;
    color: #2d394b;
    margin-bottom: 42px;
}

.reward-desc {
    font-family: 'Nexa', sans-serif;
    font-weight: 400;
    font-size: 0.98rem;
    color: #2d394b;
    line-height: 1.22;
    margin-bottom: 0;
}

/* Card color borders */
.reward-card-gold  { border: 2px solid #ffbe3b; }
.reward-card-green { border: 2px solid #20b381; }
.reward-card-blue  { border: 2px solid #2b63e2; }

/* Wrapper: card + boost box stacked */
.reward-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 246px);
    flex-shrink: 0;
}

/* Override: card itself is no longer the flex item in the grid */
.rewards-grid .reward-wrap .reward-card {
    width: 100%;
    flex-shrink: unset;
}

/* "Boost" button — absolutely positioned at bottom of card, straddling the border */
.reward-boost-btn-wrap {
    position: relative;
    height: 0;
    margin-top: 0;
}

.reward-boost-btn {
    font-family: 'Nexa', sans-serif;
    font-weight: 700;
    font-size: 0.84rem;
    color: #2d394b;
    background: #ffffff;
    display: inline-block;
    border-radius: 10px;
    padding: 7px 34px;
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    white-space: nowrap;
}

.reward-boost-btn-gold  { border: 2px solid #ffbe3b; }
.reward-boost-btn-green { border: 2px solid #20b381; }
.reward-boost-btn-blue  { border: 2px solid #2b63e2; }

/* Colored boost box — flush below card, narrower, taller, sharp top corners */
.reward-boost-box {
    width: clamp(166px, 14vw, 176px);
    min-width: 166px;
    max-width: 176px;
    height: 124px;
    min-height: 124px;
    border-radius: 0 0 14px 14px;
    padding: 30px 14px 14px;
    text-align: center;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.reward-boost-gold  { background: #ffbe3b; }
.reward-boost-green { background: #20b381; }
.reward-boost-blue  { background: #2b63e2; }

.reward-boost-text {
    font-family: 'Nexa', sans-serif;
    font-weight: 400;
    font-size: 0.92rem;
    color: #ffffff;
    margin-bottom: 0;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .rewards-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        align-items: start;
        padding-top: 68px;
        gap: 84px;
    }

    .reward-wrap {
        width: 222px;
    }
}

/* =============================================
   SECTION 5: HOW INSTANT MARGIN BONUS WORKS
   ============================================= */
.imb-section {
    background: #20b381;
    min-height: clamp(640px, 42vw, 694px) !important;
    padding-top: clamp(70px, 6vw, 92px) !important;
    padding-bottom: clamp(70px, 6vw, 92px) !important;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.imb-inner {
    width: min(1220px, calc(100vw - 64px));
    max-width: 1220px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    gap: clamp(36px, 5vw, 86px);
}

.imb-left {
    flex: 1.05 1 520px;
    max-width: 520px;
}

.imb-title {
    font-family: 'Nexa', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    color: #ffffff;
    line-height: 1.18;
    margin-bottom: 28px;
}

.imb-body {
    font-family: 'Nexa', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.72;
    margin-bottom: 18px;
}

.imb-footnote {
    font-family: 'Nexa', sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0;
}

.imb-right {
    flex: 1 1 540px;
    max-width: 540px;
}

.imb-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(222px, 244px));
    justify-content: space-between;
    column-gap: clamp(24px, 3vw, 58px);
    row-gap: clamp(24px, 3vw, 48px);
}

.imb-card {
    border: 1px solid rgba(255,255,255,0.88);
    border-radius: 12px;
    width: 100%;
    min-width: 222px;
    max-width: 244px;
    height: 228px;
    min-height: 228px;
    padding: 10px 18px 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.imb-card-title {
    font-family: 'Nexa', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 4px;
    line-height: 1.5;
    text-align: center;
    min-height: 72px;
    max-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imb-card-body {
    font-family: 'Nexa', sans-serif;
    font-weight: 400;
    font-size: 0.84rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
    line-height: 1.7;
    text-align: center;
    max-width: 184px;
}

@media (max-width: 900px) {
    .imb-inner {
        flex-direction: column;
        gap: 40px;
        padding: 0 24px;
    }
    .imb-left {
        flex: none;
        max-width: 100%;
    }
    .imb-cards-grid {
        grid-template-columns: 1fr;
        justify-content: center;
    }

    .imb-card {
        justify-self: center;
    }
}

/* =============================================
   SECTION 6: TERMS & CONDITIONS
   ============================================= */
.tnc-section {
    background: #2b63e2;
    min-height: 353px !important;
    padding-top: 70px !important;
    padding-bottom: 70px !important;
    padding-left: 24px;
    padding-right: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.tnc-title {
    font-family: 'Nexa', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 36px;
}

.tnc-btn {
    font-family: 'Nexa', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    background: #20b381 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px;
    padding: 16px 44px;
    transition: opacity 0.2s ease;
    min-width: 292px;
    line-height: 1;
}

.tnc-btn:hover {
    opacity: 0.88;
    color: #ffffff !important;
}

/* =============================================
   NOTO SANS — only where reference specifies
   ============================================= */
.reward-amount,
.countdown-digit,
.step-circle {
    font-family: 'Noto Sans', sans-serif !important;
}
