/**
 * CashVers Space Design System
 * Inspired by Light Protocol - Cosmic, professional, minimal
 */

/* ========================================
   DESIGN TOKENS
   ======================================== */

:root {
    /* Colors - Warm Crypto Theme */
    --primary-glow: #00B8D4;
    --primary-bright: #00E5FF;
    --secondary-glow: #7C4DFF;
    --accent-warm: #FFB74D;
    
    /* Backgrounds */
    --space-black: #000000;
    --space-dark: #0a0a0f;
    --space-card: #12121a;
    --space-elevated: #1a1a28;
    
    /* Text */
    --text-white: #FFFFFF;
    --text-gray: #B0B0C0;
    --text-dim: #70708;

    
    /* Glows */
    --glow-blue: rgba(0, 184, 212, 0.6);
    --glow-blue-soft: rgba(0, 184, 212, 0.15);
    --glow-purple: rgba(124, 77, 255, 0.4);
    --glow-warm: rgba(255, 183, 77, 0.3);
    
    /* Spacing - Generous! */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 96px;
    --space-4xl: 128px;
    
    /* Typography */
    --font-main: 'Inter', -apple-system, system-ui, sans-serif;
    --font-display: 'Inter', sans-serif;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    /* Shadows - Depth */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.7);
    --shadow-glow-blue: 0 0 40px var(--glow-blue-soft);
    --shadow-glow-purple: 0 0 40px var(--glow-purple);
}

/* ========================================
   BASE RESET
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main) !important;
    background: var(--space-black) !important;
    color: var(--text-white) !important;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Remove ALL old backgrounds and decorations */
.wrapper::before,
.landing-page::before,
body::before,
.decorative-dots,
.shape-l,
.shape-r,
.site-name,
.dark-name {
    display: none !important;
}

/* ========================================
   COSMIC BACKGROUND
   ======================================== */

.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Floating orbs/planets */
.cosmic-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.cosmic-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.cosmic-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
    bottom: 20%;
    left: 15%;
    animation-delay: 5s;
}

.cosmic-orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--accent-warm) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, -20px) scale(1.05);
    }
    50% {
        transform: translate(-15px, 15px) scale(0.95);
    }
    75% {
        transform: translate(15px, 10px) scale(1.02);
    }
}

/* Stars */
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent);
    background-size: 200% 200%;
    opacity: 0.3;
    animation: twinkle 8s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

h2 {
    font-size: clamp(22px, 3.5vw, 32px);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

h3 {
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

h4 {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

p {
    color: var(--text-gray);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.text-gradient-blue {
    background: linear-gradient(135deg, var(--primary-bright) 0%, var(--primary-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   LAYOUT & CONTAINERS
   ======================================== */

/* Main wrapper - offset for sidebar on desktop */
.wrapper {
    margin-left: 280px;
    min-height: 100vh;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.container-space {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-space {
    padding: var(--space-xl) 0;
    position: relative;
}

.section-header-space {
    text-align: center;
    margin-bottom: var(--space-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-top: var(--space-sm);
    line-height: 1.6;
}

/* ========================================
   FLOATING CARDS (Like Light Protocol)
   ======================================== */

.card-float {
    background: rgba(18, 18, 26, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.card-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(0, 184, 212, 0.2) 0%, 
        rgba(124, 77, 255, 0.2) 100%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card-float:hover::before {
    opacity: 1;
}

.card-float:hover {
    transform: translateY(-8px);
    box-shadow: 
        var(--shadow-xl),
        var(--shadow-glow-blue);
    border-color: rgba(0, 184, 212, 0.3);
}

/* ========================================
   BUTTONS (Clean & Modern)
   ======================================== */

.btn-space-primary {
    background: var(--primary-glow);
    color: var(--space-black);
    border: none;
    padding: 16px 40px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 30px rgba(0, 184, 212, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-space-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-space-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-space-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(0, 184, 212, 0.5);
}

/* Small button variant */
.btn-sm-space {
    padding: 4px 6px;
    font-size: 9px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.btn-space-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 14px 36px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-space-secondary:hover {
    border-color: var(--primary-glow);
    color: var(--primary-glow);
    box-shadow: 0 0 20px rgba(0, 184, 212, 0.2);
}

/* ========================================
   FLOATING GEOMETRIC SHAPES
   ======================================== */

.floating-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
}

.shape-cube {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-glow) 0%, var(--secondary-glow) 100%);
    border-radius: var(--radius-sm);
    opacity: 0.15;
    animation: floatRotate 25s ease-in-out infinite;
}

.shape-ring {
    width: 120px;
    height: 120px;
    border: 3px solid var(--primary-glow);
    border-radius: 50%;
    opacity: 0.2;
    animation: floatSlow 30s ease-in-out infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid var(--secondary-glow);
    opacity: 0.15;
    animation: floatRotate 20s ease-in-out infinite reverse;
}

@keyframes floatRotate {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
    }
    50% {
        transform: translateY(0) rotate(180deg);
    }
    75% {
        transform: translateY(30px) rotate(270deg);
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(30px, -30px);
    }
    66% {
        transform: translate(-20px, 20px);
    }
}

/* ========================================
   GLOWING ORBS (Like Light Protocol Planets)
   ======================================== */

.glow-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.glow-orb-blue {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(100px);
    opacity: 0.2;
    animation: pulse 8s ease-in-out infinite;
}

.glow-orb-purple {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
    filter: blur(100px);
    opacity: 0.15;
    animation: pulse 10s ease-in-out infinite reverse;
}

.glow-orb-warm {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-warm) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.12;
    animation: pulse 12s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.15;
        transform: scale(1);
    }
    50% {
        opacity: 0.25;
        transform: scale(1.1);
    }
}

/* ========================================
   GRID SYSTEMS
   ======================================== */

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   TYPOGRAPHY STYLES
   ======================================== */

.heading-hero {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: var(--space-md);
}

.heading-section {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-sm);
}

.text-body-lg {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-gray);
}

.text-body {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-gray);
}

.text-sm {
    font-size: 14px;
    color: var(--text-dim);
}

/* ========================================
   STAT CARDS (Floating)
   ======================================== */

.stat-card-space {
    background: rgba(18, 18, 26, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card-space::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--primary-glow) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card-space:hover::after {
    opacity: 0.6;
}

.stat-card-space:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 184, 212, 0.2);
    box-shadow: 
        var(--shadow-lg),
        0 0 40px rgba(0, 184, 212, 0.15);
}

.stat-value-space {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-bright) 0%, var(--primary-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-label-space {
    font-size: 15px;
    color: var(--text-gray);
    font-weight: 500;
    line-height: 1.5;
}

/* ========================================
   OFFER CARDS (Professional)
   ======================================== */

.offer-card-space {
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.95) 0%, rgba(22, 22, 32, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    max-width: 200px;
    min-width: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

.offer-card-space::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00B8D4 0%, #00E5FF 50%, #00B8D4 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.offer-card-space:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(0, 184, 212, 0.5);
    box-shadow: 0 12px 40px rgba(0, 184, 212, 0.3), 0 4px 20px rgba(0, 0, 0, 0.3);
}

.offer-card-space:hover::before {
    opacity: 1;
}

.offer-card-space .offer-image-space {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    background: var(--space-card);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    height: auto;
    display: block;
}

/* ========================================
   NETWORK CARDS (Offer & Survey Partners)
   ======================================== */

/* Offers grid - Properly sized cards */
.offers-grid-space {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    justify-items: stretch;
}

@media (min-width: 1400px) {
    .offers-grid-space {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .offers-grid-space {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .offers-grid-space {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .offers-grid-space {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.networks-grid-space {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.network-card-space {
    background: rgba(10, 10, 15, 0.95) !important; /* Same as sidebar */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.network-card-space:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 184, 212, 0.4);
    box-shadow: 0 8px 30px rgba(0, 184, 212, 0.15);
}

.network-image-container {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.network-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.network-card-space h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: var(--space-sm);
}

.network-card-space p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.offer-content-space {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: transparent;
    gap: 6px;
    min-width: 0;
}

.offer-title-space {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 4px;
    line-height: 1.4;
    letter-spacing: -0.01em;
    word-wrap: break-word;
    word-break: break-word;
}

.offer-desc-space {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin-bottom: 6px;
    flex: 1;
    word-wrap: break-word;
    word-break: break-word;
}

.offer-footer-space {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 8px;
    flex-wrap: nowrap;
    min-width: 0;
}

.offer-reward-space {
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #00B8D4 0%, #00E5FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    white-space: nowrap;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

/* ========================================
   NAVIGATION (Minimal)
   ======================================== */

.nav-space {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-md) 0;
}

.nav-space-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-space-brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: -0.02em;
}

img.site-logo-img {
    line-height: 39.4px;
}

.nav-space-links {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.nav-space-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-space-link:hover {
    color: var(--primary-bright);
}

/* ========================================
   FORMS (Clean & Minimal)
   ======================================== */

.input-space {
    background: rgba(18, 18, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: 15px;
    width: 100%;
    transition: all 0.3s ease;
}

.input-space:focus {
    outline: none;
    border-color: var(--primary-glow);
    box-shadow: 0 0 0 4px rgba(0, 184, 212, 0.1);
}

.input-space::placeholder {
    color: var(--text-dim);
}

/* ========================================
   BADGES
   ======================================== */

.badge-space {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-primary {
    background: rgba(0, 184, 212, 0.15);
    color: var(--primary-bright);
}

.badge-success {
    background: rgba(0, 200, 83, 0.15);
    color: #00C853;
}

.badge-warning {
    background: rgba(255, 183, 77, 0.15);
    color: var(--accent-warm);
}

/* ========================================
   UTILITIES
   ======================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-auto { margin-top: auto; }
.mb-auto { margin-bottom: auto; }

.relative { position: relative; }
.absolute { position: absolute; }

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

@media (max-width: 768px) {
    .section-space {
        padding: var(--space-lg) 0;
    }
    
    .container-space {
        padding: 0 var(--space-md);
    }
    
    .section-header-space {
        margin-bottom: var(--space-md);
    }
}

/* ========================================
   MOBILE FIXES - CRITICAL
   ======================================== */

@media (max-width: 1199px) {
    /* Remove sidebar spacing on mobile */
    .wrapper {
        margin-left: 0 !important;
    }
    
    body {
        overflow-x: hidden !important;
    }
    
    /* Full width cards on mobile */
    .card-space {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Stack offers vertically on mobile */
    .offers-grid-space {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    
    /* Smaller spacing on mobile */
    .section-space {
        padding: var(--space-md) var(--space-sm);
    }
    
    /* Responsive text */
    .title-xl {
        font-size: 32px !important;
    }
    
    .title-lg {
        font-size: 24px !important;
    }
    
    .title-md {
        font-size: 20px !important;
    }
}

@media (max-width: 768px) {
    /* Even smaller for phones */
    .title-xl {
        font-size: 28px !important;
    }
    
    .title-lg {
        font-size: 20px !important;
    }
    
    /* Cards take full width with less padding */
    .card-space {
        padding: var(--space-md) !important;
        border-radius: var(--radius-md) !important;
    }
    
    /* Button groups stack */
    .btn-group-space {
        flex-direction: column;
    }
    
    .btn-group-space .btn-space {
        width: 100%;
    }
    
    /* Smaller View Details button on mobile */
    .btn-sm-space {
        padding: 6px 14px !important;
        font-size: 12px !important;
    }
    
    /* Remove extra mobile padding */
    .container-space {
        padding: 0 var(--space-sm) !important;
    }
    
    .offer-content-space {
        padding: var(--space-md) !important;
    }
    
    /* Smaller profile stats on mobile */
    .stat-value {
        font-size: 24px !important;
    }
    
    .stat-value-space {
        font-size: 32px !important;
    }
}


/* ========================================
   FOOTER - FIX SIDEBAR OVERLAP
   ======================================== */
footer,
.footer,
.site-footer {
    margin-left: 280px;
    padding: 48px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 10, 15, 0.8);
}

@media (max-width: 1199px) {
    footer,
    .footer,
    .site-footer {
        margin-left: 0;
    }
}
