/* Core Design System */
:root {
    --primary-gradient: linear-gradient(135deg, #FF3CAC 0%, #784BA0 50%, #2B86C5 100%);
    --insta-pink: #FF3CAC;
    --insta-blue: #2B86C5;
    --insta-purple: #784BA0;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --bg-dark: #09090b;
    --bg-card: rgba(255, 255, 255, 0.03);
    --header-bg: rgba(9, 9, 11, 0.7);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 25px rgba(120, 75, 160, 0.3);
    --border-radius: 20px;
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(120, 75, 160, 0.15), transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(43, 134, 197, 0.15), transparent 40%);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* Base Layout */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Customization */
h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 0;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
    background: rgba(15, 15, 19, 0.9);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px;
    position: relative;
}

.gradient-text {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(225, 48, 108, 0.3));
}

.hero-subtitle {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.15rem;
    color: var(--text-muted);
}

/* App Card - Glassmorphism Premium */
.app-card {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 32px;
    padding: 50px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin: 0 auto;
    border: var(--border-glass);
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.app-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
}

.app-icon-css {
    width: 110px;
    height: 110px;
    background: var(--primary-gradient);
    border-radius: 28px;
    position: relative;
    box-shadow: var(--shadow-glow);
}

.app-icon-css::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 55px; height: 55px;
    border: 5px solid white;
    border-radius: 50%;
}

.app-icon-css::before {
    content: '';
    position: absolute;
    top: 25%; right: 25%;
    width: 9px; height: 9px;
    background: white;
    border-radius: 50%;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 35px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.05);
}

.info-item span:first-child { color: var(--text-muted); }
.info-item span:last-child { color: #fff; font-weight: 700; }

@media (min-width: 600px) {
    .info-grid { grid-template-columns: 1fr 1fr; }
}

/* Buttons Premium */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, #bc1888, #f09433);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(225, 48, 108, 0.6);
}

.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

/* Section Basics */
.section { padding: 90px 0; }
.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(225, 48, 108, 0.15);
    color: #ff7597;
    border: 1px solid rgba(225, 48, 108, 0.3);
    border-radius: 30px;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* TOC Section */
.toc-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 40px;
    border: var(--border-glass);
    box-shadow: var(--shadow-md);
}

.toc-card h3 { color: #fff; margin-bottom: 25px; letter-spacing: 1px; }

.toc-card ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 768px) {
    .toc-card ul { grid-template-columns: 1fr 1fr; }
}

.toc-card li a {
    display: block;
    padding: 15px 20px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.toc-card li a:hover {
    color: #fff;
    background: rgba(225, 48, 108, 0.2);
    border-color: rgba(225, 48, 108, 0.4);
    transform: translateX(5px);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: var(--border-glass);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.feature-item h4 {
    margin-bottom: 15px;
    color: #fff;
    font-size: 1.3rem;
}

.feature-item p { color: var(--text-muted); }

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: var(--border-glass);
    background: rgba(255,255,255,0.02);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 22px 25px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.4s ease;
    color: var(--insta-pink);
}

.faq-item.active { background: rgba(255,255,255,0.05); }
.faq-item.active .faq-question::after { transform: rotate(45deg); }

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0, 1, 0, 1);
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 500px;
    transition: all 0.5s ease-in-out;
}

/* Footer Styling */
footer {
    background: #08080a;
    border-top: var(--border-glass);
    color: var(--text-muted);
    padding: 40px 0;
}

/* Comparison Table */
.comparison-wrapper {
    overflow-x: auto;
    margin: 50px 0;
    border-radius: 20px;
    background: var(--bg-card);
    border: var(--border-glass);
    backdrop-filter: blur(10px);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th, .comparison-table td {
    padding: 22px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.comparison-table th {
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.comparison-table td:first-child {
    font-weight: 600;
    color: #fff;
    width: 35%;
}

.check-icon { color: #00e676; text-shadow: 0 0 10px rgba(0,230,118,0.4); }
.cross-icon { color: #ff1744; text-shadow: 0 0 10px rgba(255,23,68,0.4); }

/* Posts Grid */
.posts-section { padding: 100px 0; }

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.post-card {
    background: var(--bg-card);
    border: var(--border-glass);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(225, 48, 108, 0.3);
}

.post-image {
    width: 100%;
    height: 220px;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border-bottom: var(--border-glass);
}

.post-content {
    padding: 30px;
    flex-grow: 1;
}

.post-date {
    font-size: 0.85rem;
    color: var(--insta-pink);
    margin-bottom: 12px;
    display: block;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.post-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.4;
}

.post-excerpt {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.read-more {
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 20px;
    transition: var(--transition);
}

.read-more:hover {
    background: var(--primary-gradient);
    box-shadow: var(--shadow-glow);
}

/* Typography Enhancements */
.long-content p {
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.long-content h3 {
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #fff;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.1), rgba(64, 93, 230, 0.1));
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(225, 48, 108, 0.2);
    margin: 50px 0;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.2);
}

.highlight-box h3 { color: #fff; margin-bottom: 20px; margin-top: 0; }
.highlight-box ul { list-style: none; }
.highlight-box li { 
    margin-bottom: 15px; 
    padding-left: 30px; 
    position: relative; 
    color: var(--text-muted);
}
.highlight-box li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--insta-pink);
    font-weight: bold;
}
.highlight-box li strong { color: #fff; }

.disclaimer-box {
    background: rgba(255,255,255,0.03);
    border: 1px dashed rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 16px;
    margin: 40px auto 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.troubleshoot-list { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.troubleshoot-item {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border-left: 4px solid var(--insta-pink);
    border-top: var(--border-glass);
    border-right: var(--border-glass);
    border-bottom: var(--border-glass);
}
.troubleshoot-item h4 { color: #fff; margin-bottom: 12px; font-size: 1.2rem; }
.troubleshoot-item p { margin-bottom: 0; }

/* Download funnel styles */
.download-step-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px 30px;
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: 0 auto;
    border: var(--border-glass);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.step-indicator {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}
.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}
.step-dot.active {
    background: var(--insta-pink);
    box-shadow: 0 0 10px var(--insta-pink);
}

/* Light Mode Overrides */
body.light-mode {
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-dark: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.7);
    --header-bg: rgba(248, 250, 252, 0.8);
    --border-glass: 1px solid rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 10px 25px rgba(120, 75, 160, 0.2);
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(120, 75, 160, 0.08), transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(43, 134, 197, 0.08), transparent 40%);
}

body.light-mode header.scrolled {
    background: rgba(255, 255, 255, 0.95);
}

body.light-mode .nav-links a {
    color: #444;
}

body.light-mode .nav-links a:hover {
    color: var(--insta-pink);
    text-shadow: none;
}

body.light-mode .app-card, 
body.light-mode .feature-item, 
body.light-mode .toc-card,
body.light-mode .post-card,
body.light-mode .troubleshoot-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

body.light-mode .info-item,
body.light-mode .toc-card li a,
body.light-mode .faq-item {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0,0,0,0.05);
}

body.light-mode .info-item span:last-child,
body.light-mode .faq-question,
body.light-mode .post-title,
body.light-mode .troubleshoot-item h4,
body.light-mode .toc-card h3,
body.light-mode .highlight-box h3 {
    color: #1a1a1a;
}

body.light-mode .comparison-table th {
    background: rgba(0,0,0,0.05);
    color: var(--insta-pink);
}

body.light-mode .comparison-table td:first-child {
    color: #333;
}

body.light-mode .read-more {
    background: rgba(0,0,0,0.05);
    color: #333;
}

body.light-mode .read-more:hover {
    background: var(--primary-gradient);
    color: #fff;
}

body.light-mode footer {
    background: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.1);
    color: #666;
}

.theme-btn {
    background: rgba(255, 255, 255, 0.1);
    border: var(--border-glass);
    color: var(--text-main);
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    transition: var(--transition);
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

body.light-mode .theme-btn {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
    border: 1px solid rgba(0,0,0,0.1);
}

body.light-mode .theme-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* More Apps Grid */
.more-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.mini-app-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: var(--border-glass);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.mini-app-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.08);
    box-shadow: var(--shadow-md);
    border-color: rgba(255,255,255,0.2);
}

.mini-app-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.mini-app-card h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
}

.mini-app-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

body.light-mode .mini-app-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-mode .mini-app-card h3 {
    color: #1a1a1a;
}

/* =========================================
   DASHBOARD & LOGIN STYLES
   ========================================= */

/* Header additions */
.user-stats {
    display: flex;
    align-items: center;
    gap: 15px;
}
.coin-balance {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    color: #FFD700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logout-btn {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}
.logout-btn:hover {
    color: var(--insta-pink);
}

/* Dashboard Layout */
.dashboard-main {
    margin-top: 100px;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Navigation Tabs */
.dash-nav {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}
.dash-nav::-webkit-scrollbar {
    height: 4px;
}
.dash-nav::-webkit-scrollbar-thumb {
    background: var(--insta-pink);
    border-radius: 4px;
}
.dash-tab {
    background: var(--bg-card);
    border: var(--border-glass);
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    font-size: 1rem;
    white-space: nowrap;
    transition: var(--transition);
}
.dash-tab:hover {
    background: rgba(255, 255, 255, 0.1);
}
.dash-tab.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

/* Sections */
.dash-section {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}
.dash-section.active {
    display: block;
}
.section-header {
    margin-bottom: 30px;
}
.section-header p {
    color: var(--text-muted);
}

/* Task Grid */
.task-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.task-card {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    transition: var(--transition);
}
.task-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 255, 255, 0.2);
}
.task-user {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}
.task-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.task-action {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.task-btn {
    width: 100%;
}

/* Request Section */
.request-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
@media (max-width: 768px) {
    .request-container {
        grid-template-columns: 1fr;
    }
}
.request-card {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: var(--border-radius);
    padding: 30px;
}
.custom-select, input[type="range"] {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-main);
    font-family: inherit;
    outline: none;
    margin-top: 8px;
}
.cost-preview {
    margin-top: 20px;
    background: rgba(225, 48, 108, 0.1);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px dashed var(--insta-pink);
}
.active-requests .request-item {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.req-progress {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    margin: 10px 0;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background: var(--primary-gradient);
}
.status.active-status {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Referral Section */
.referral-card {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
}
.ref-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}
.stat-box {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 40px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.copy-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    max-width: 500px;
    margin-inline: auto;
}
.ref-code {
    margin-top: 30px;
    font-size: 1.2rem;
    color: var(--text-muted);
}
.ref-code strong {
    color: white;
    letter-spacing: 2px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 8px;
}

/* Wallet Section */
.wallet-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    margin-bottom: 30px;
}
@media (max-width: 768px) {
    .wallet-grid { grid-template-columns: 1fr; }
}
.wallet-card {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: var(--border-radius);
    padding: 30px;
}
.primary-card {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.1) 0%, rgba(64, 93, 230, 0.1) 100%);
    border-color: rgba(225, 48, 108, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}
.buy-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}
.buy-pack {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}
.badge {
    background: #ff3b30;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: super;
}
.transaction-history {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: var(--border-radius);
    padding: 30px;
}
.history-list {
    list-style: none;
    margin-top: 20px;
}
.history-list li {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.history-list li:last-child {
    border-bottom: none;
}
.tx-amt.plus { color: #28a745; font-weight: bold; }
.tx-amt.minus { color: #dc3545; font-weight: bold; }

/* Light Mode Overrides for Dashboard */
body.light-mode .coin-balance {
    background: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.5);
    color: #d39e00;
}
body.light-mode .dash-tab {
    background: rgba(255, 255, 255, 0.8);
    color: #666;
    border: 1px solid rgba(0,0,0,0.1);
}
body.light-mode .dash-tab:hover {
    background: rgba(0,0,0,0.05);
}
body.light-mode .dash-tab.active {
    background: var(--primary-gradient);
    color: white;
}
body.light-mode .task-card, 
body.light-mode .request-card,
body.light-mode .active-requests .request-item,
body.light-mode .referral-card,
body.light-mode .wallet-card,
body.light-mode .transaction-history {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
body.light-mode .stat-box,
body.light-mode .buy-pack {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.05);
}
body.light-mode .ref-code strong {
    background: rgba(0, 0, 0, 0.05);
    color: #1a1a1a;
}
body.light-mode .custom-select, 
body.light-mode input[type="range"],
body.light-mode .form-group input {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
}
body.light-mode .history-list li {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* =========================================
   STRUCTURAL OVERHAUL STYLES
   ========================================= */

/* Background Blobs */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}
.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--insta-pink);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}
.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--insta-blue);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}
.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--insta-purple);
    top: 40%;
    left: 30%;
    animation-delay: -10s;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(9, 9, 11, 0.7);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 10px 20px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-logo-img { width: 36px; height: 36px; }
.nav-brand-text {
    font-size: 1.2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-menu {
    display: flex;
    gap: 20px;
}
.nav-menu a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 20px;
    transition: var(--transition);
}
.nav-menu a:hover, .nav-menu a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.btn-nav-download {
    background: #fff;
    color: #000;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
}
.btn-nav-download:hover {
    background: var(--primary-gradient);
    color: #fff;
}

/* Premium Hero */
.premium-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding-top: 200px;
    padding-bottom: 100px;
}
.version-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}
.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 25px;
}
.gradient-text-hero {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}
.hero-action-group {
    display: flex;
    align-items: center;
    gap: 30px;
}
.btn-glow-primary {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #000;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}
.btn-glow-primary:hover {
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}
.avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #000;
}
.glass-app-showcase {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.showcase-icon-wrapper {
    text-align: center;
    margin-bottom: 30px;
}
.hero-app-icon {
    width: 144px;
    animation: float-icon 6s infinite ease-in-out;
}
@keyframes float-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
.showcase-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Bento Grid */
.bento-section {
    padding: 100px 0;
}
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
    margin-top: 50px;
}
.bento-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}
.bento-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}
.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 3; }
.bento-medium { grid-column: span 1; grid-row: span 1; }

.bento-content h3 { font-size: 1.8rem; margin-bottom: 10px; }
.bento-content p { color: var(--text-muted); }
.bento-icon { font-size: 3rem; margin-bottom: 20px; }

/* Premium Footer */
.premium-footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 20px;
    margin-top: 100px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}
.footer-links-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.footer-links-section h4 { color: #fff; }
.footer-links-section a { color: var(--text-muted); }
.footer-links-section a:hover { color: var(--insta-pink); }

/* Responsive adjustments */
@media (max-width: 900px) {
    .premium-hero { grid-template-columns: 1fr; text-align: center; padding-top: 150px; }
    .hero-action-group { justify-content: center; flex-direction: column; }
    .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .bento-large, .bento-wide, .bento-medium { grid-column: span 1; grid-row: span 1; }
    .nav-menu { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1400px) {
    .desktop-ad-only {
        display: none !important;
    }
}

@media (min-width: 1401px) {
    .mobile-ad-only {
        display: none !important;
    }
}
