/* ==========================================================================
   PROLOVER HUB - PREMIUM DESIGN SYSTEM
   ========================================================================== */

/* Variables */
:root {
    /* Color Palette */
    --bg-dark: #0a0b11;
    --card-bg: rgba(18, 20, 32, 0.65);
    --card-bg-solid: #121420;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);
    
    --primary-grad: linear-gradient(135deg, #a855f7, #6366f1);
    --secondary-grad: linear-gradient(135deg, #06b6d4, #3b82f6);
    --accent-grad: linear-gradient(135deg, #10b981, #059669);
    --text-grad: linear-gradient(135deg, #ffffff, #94a3b8);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --glow-purple: rgba(168, 85, 247, 0.15);
    --glow-blue: rgba(6, 182, 212, 0.15);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Layout & Shadow */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(168, 85, 247, 0.2);
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
}

/* Base Reset & Configuration */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Ambient Background Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.45;
    animation: orb-float 25s infinite alternate ease-in-out;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, rgba(99, 102, 241, 0) 70%);
    top: -200px;
    left: -100px;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(59, 130, 246, 0) 70%);
    bottom: 20%;
    right: -100px;
    animation-delay: -5s;
}

.glow-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, rgba(168, 85, 247, 0) 70%);
    top: 40%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes orb-float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(80px, 50px) scale(1.1);
    }
    100% {
        transform: translate(-40px, -60px) scale(0.95);
    }
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   HEADER & NAVIGATION ("BOX TYPE" HEADER)
   ========================================================================== */

.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.5rem 2rem;
    background: rgba(10, 11, 17, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Logo Design */
.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00f2fe;
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 30%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Box Navigation styling */
.box-nav-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.35rem;
    border-radius: var(--radius-md);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.box-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-box-tab {
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    border-radius: calc(var(--radius-md) - 4px);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    transition: var(--transition-smooth);
    position: relative;
    outline: none;
    text-align: left;
}

.nav-box-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.nav-box-icon svg {
    width: 18px;
    height: 18px;
}

.nav-box-info {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-box-title {
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* Hover State */
.nav-box-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.nav-box-tab:hover .nav-box-icon {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.05);
}

/* Active State */
.nav-box-tab.active {
    background: var(--card-bg-solid);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 10px 20px -8px rgba(168, 85, 247, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-box-tab.active .nav-box-icon {
    background: var(--primary-grad);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
}

.nav-box-tab.active .nav-box-title {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

/* ==========================================================================
   CONTENT LAYOUT & HERO SYSTEM
   ========================================================================== */

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem 6rem;
    position: relative;
    z-index: 10;
}

/* Section Hero Section */
.section-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3.5rem;
}

.section-tagline {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #00f2fe;
    background: var(--secondary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: var(--text-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
}

/* Section Tab View Controller */
.tab-section {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Fading Section Animation */
@keyframes section-fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.99);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.tab-section.active {
    animation: section-fade-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Glass Panels */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: var(--border-hover);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.05) 0%, rgba(0,0,0,0) 60%);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.glass-panel:hover .card-glow {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, rgba(0,0,0,0) 65%);
}

.card-inner-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.panel-subtitle {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    border-left: 3px solid #a855f7;
    padding-left: 0.75rem;
}

/* Buttons */
.submit-btn, .action-btn {
    font-family: var(--font-heading);
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.submit-btn {
    width: 100%;
    padding: 1.15rem;
    font-size: 1rem;
    background: var(--primary-grad);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -5px rgba(168, 85, 247, 0.4), 0 0 15px rgba(168, 85, 247, 0.2);
}

.submit-btn:active {
    transform: translateY(0);
}

.action-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.purple-btn {
    background: var(--primary-grad);
    color: #ffffff;
}

.purple-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -4px rgba(168, 85, 247, 0.4);
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: var(--transition-quick);
}

.submit-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   FILTER & SEARCH CONTROLS
   ========================================================================== */

.filter-bar, .market-controls, .dashboard-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.search-icon {
    position: absolute;
    left: 1.15rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    pointer-events: none;
}

.search-box input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 1.05rem 1.15rem 1.05rem 3rem;
    color: var(--text-primary);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-quick);
}

.search-box input:focus {
    outline: none;
    border-color: rgba(168, 85, 247, 0.5);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
}

.tag-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-quick);
}

.tag-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.tag-btn.active {
    background: var(--primary-grad);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(168, 85, 247, 0.25);
}

/* ==========================================================================
   CARDS & GRIDS (RESOURCES & MARKETS)
   ========================================================================== */

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Premium Card Designs */
.item-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
}

.item-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 25px 50px -20px rgba(0, 0, 0, 0.7), 0 0 15px rgba(168, 85, 247, 0.1);
}

.item-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.item-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.item-card:hover .item-category {
    border-color: rgba(255, 255, 255, 0.15);
}

.item-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: #06b6d4;
    text-transform: uppercase;
}

.item-card.resource-card .item-tag {
    color: #a855f7;
}

.item-card.market-card .item-tag {
    color: #10b981;
}

.item-meta-info {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.item-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.item-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.item-price {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price-sub {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 2px;
}

.card-action-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition-quick);
    border: none;
    background: transparent;
    cursor: pointer;
}

.card-action-link svg {
    width: 14px;
    height: 14px;
    transition: var(--transition-quick);
}

.item-card:hover .card-action-link {
    color: #a855f7;
}

.item-card:hover .card-action-link.market-action {
    color: #10b981;
}

.item-card:hover .card-action-link svg {
    transform: translateX(3px);
}

.loading-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
}

/* ==========================================================================
   DONATIONS COMPONENT STYLING
   ========================================================================== */

.donation-container {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: start;
}

.donation-tiers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tier-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
}

.tier-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.tier-btn.active {
    background: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.15), inset 0 0 10px rgba(168, 85, 247, 0.1);
}

.tier-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.tier-btn.active .tier-label {
    color: #c084fc;
}

/* Custom Donation input box */
.custom-amount-box {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.5rem 1.25rem;
    margin-bottom: 2rem;
    transition: var(--transition-quick);
}

.custom-amount-box:focus-within {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
}

.currency-symbol {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-right: 0.75rem;
}

.custom-amount-box input {
    background: transparent;
    border: none;
    flex: 1;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    outline: none;
    width: 100%;
}

/* Hide spinner arrows for number input */
.custom-amount-box input::-webkit-outer-spin-button,
.custom-amount-box input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.currency-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Donation goal progression layout */
.donation-progress-wrapper {
    margin-bottom: 2rem;
}

.progress-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0.65rem;
}

.progress-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.progress-ratio {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
}

.progress-bar-bg {
    background: rgba(255, 255, 255, 0.05);
    height: 12px;
    border-radius: 6px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.progress-bar-fill {
    background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
    height: 100%;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

/* Checkbox and Input elements */
.donation-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.input-group input, .input-group textarea, .input-group select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.9rem 1.15rem;
    border-radius: var(--radius-md);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-quick);
}

.input-group select option {
    background: var(--card-bg-solid);
    color: #ffffff;
}

.input-group input:focus, .input-group textarea:focus, .input-group select:focus {
    outline: none;
    border-color: rgba(168, 85, 247, 0.5);
    background: rgba(255, 255, 255, 0.06);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #a855f7;
    margin: 0;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    user-select: none;
    cursor: pointer;
}

/* Impact Panel stats */
.impact-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.purple-tint {
    background: rgba(168, 85, 247, 0.1);
    color: #c084fc;
    border-color: rgba(168, 85, 247, 0.2);
}

.blue-tint {
    background: rgba(6, 182, 212, 0.1);
    color: #22d3ee;
    border-color: rgba(6, 182, 212, 0.2);
}

.stat-icon svg {
    width: 22px;
    height: 22px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Recent donation list ticker */
.recent-donations {
    padding: 1.75rem 2rem;
}

.donations-ticker {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.donation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.donation-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.donator-info {
    display: flex;
    flex-direction: column;
}

.donator-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.donator-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.donation-value {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #10b981;
}

/* ==========================================================================
   SEEKERS COMPONENT STYLING
   ========================================================================== */

.seeker-dashboard {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.seeker-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.seeker-feed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Seeker Post Card styling */
.seeker-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
}

.seeker-card:hover {
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

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

.seeker-title-area {
    display: flex;
    flex-direction: column;
}

.seeker-post-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.seeker-author {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.seeker-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: #22d3ee;
}

.seeker-body {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.seeker-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.25rem;
}

.seeker-actions {
    display: flex;
    gap: 1rem;
}

.seeker-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Seeker submission guide */
.seeker-guide {
    padding: 2.25rem;
}

.guide-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.guide-steps li {
    display: flex;
    gap: 1rem;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: #a855f7;
    flex-shrink: 0;
}

.step-content h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.step-content p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.safety-tip {
    background: rgba(239, 68, 68, 0.05);
    border: 1px dashed rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.safety-tip svg {
    width: 20px;
    height: 20px;
    color: #ef4444;
    flex-shrink: 0;
    margin-top: 2px;
}

.safety-tip p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ==========================================================================
   GUIDANCE COMPONENT STYLING
   ========================================================================== */

.guidance-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.mentors-directory {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sub-header-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.mentor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Mentor profiles card */
.mentor-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    transition: var(--transition-smooth);
}

.mentor-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-premium);
}

.mentor-avatar-container {
    position: relative;
    flex-shrink: 0;
}

.mentor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(168, 85, 247, 0.4);
    object-fit: cover;
    background: #1e1b4b;
}

.mentor-status-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid var(--bg-dark);
}

.mentor-card:hover .mentor-avatar {
    border-color: #a855f7;
    transform: scale(1.05);
    transition: var(--transition-smooth);
}

.mentor-info {
    flex: 1;
}

.mentor-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.mentor-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.mentor-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fbbf24;
}

.mentor-rating svg {
    width: 14px;
    height: 14px;
}

.mentor-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.mentor-bio {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.mentor-tags {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.mentor-tag {
    font-size: 0.65rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: var(--text-secondary);
}

/* FAQ Accordion Styling */
.faq-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.accordion-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    transition: var(--transition-quick);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    padding-right: 1.5rem;
}

.faq-chevron {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 1.5rem;
}

.faq-answer {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-bottom: 1.25rem;
}

/* Expanded state logic */
.faq-item.active {
    border-color: rgba(168, 85, 247, 0.25);
    background: rgba(168, 85, 247, 0.02);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: #a855f7;
}

.faq-item.active .faq-content {
    max-height: 200px; /* Will adjust dynamically via JS if needed, fallback max-height here */
    padding: 0 1.5rem;
}

/* ==========================================================================
   INTERACTIVE MODAL CORE
   ========================================================================== */

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 11, 17, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    width: 100%;
    max-width: 500px;
    background: var(--card-bg-solid);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-card {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
}

.close-modal-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-quick);
}

.close-modal-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: var(--border-hover);
}

.close-modal-btn svg {
    width: 16px;
    height: 16px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mentor-badge-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.mentor-badge-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.mentor-badge-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
    font-size: 1rem;
}

.mentor-badge-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Product overlay description styling */
.modal-product-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-md);
    background: #111;
    border: 1px solid var(--border-color);
}

.modal-product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-product-price {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #10b981;
}

.modal-product-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.modal-product-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-product-seller {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.modal-product-seller img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.modal-product-seller-name {
    font-weight: 600;
    color: #ffffff;
}

/* ==========================================================================
   TOAST NOTIFICATION COMPONENT
   ========================================================================== */

.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    background: #121420;
    border: 1px solid #10b981;
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.8), 0 0 15px rgba(16, 185, 129, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
}

.toast.active {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    color: #10b981;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-icon svg {
    width: 20px;
    height: 20px;
}

.toast-info {
    display: flex;
    flex-direction: column;
}

.toast-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
}

.toast-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   FOOTER STYLING
   ========================================================================== */

.site-footer {
    border-top: 1px solid var(--border-color);
    background: rgba(10, 11, 17, 0.9);
    padding: 2.5rem 2rem;
    position: relative;
    z-index: 10;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-quick);
}

.footer-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1200px) {
    .header-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    
    .logo-area {
        justify-content: center;
    }
    
    .box-nav-wrapper {
        display: flex;
        justify-content: center;
        width: 100%;
        overflow-x: auto;
    }
    
    .box-nav {
        width: max-content;
    }
}

@media (max-width: 992px) {
    .donation-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .seeker-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .guidance-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 1.25rem 1rem;
    }
    
    .content-container {
        padding: 2rem 1rem 4rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .nav-box-tab {
        padding: 0.5rem 0.85rem;
    }
    
    .nav-box-icon {
        width: 28px;
        height: 28px;
    }
    
    .nav-box-icon svg {
        width: 15px;
        height: 15px;
    }
    
    .nav-box-title {
        font-size: 0.75rem;
    }
    
    .nav-box-desc {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .donation-tiers {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .mentor-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 2rem;
    }
    
    .mentor-meta {
        justify-content: center;
    }
    
    .mentor-tags {
        justify-content: center;
    }
    
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        width: 100%;
    }
}

/* ==========================================================================
   RESOURCES SUB-TABS STYLING
   ========================================================================== */

.sub-tabs-container {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.sub-tab-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
}

.sub-tab-box:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.sub-tab-box.active {
    background: var(--card-bg-solid);
    border-color: rgba(6, 182, 212, 0.4);
    color: #00f2fe;
    box-shadow: 0 5px 15px -5px rgba(6, 182, 212, 0.3);
}

.sub-tab-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.sub-tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   AFTER EFFECTS EXTENSION STYLING
   ========================================================================== */

.ae-resource-card {
    padding: 2.25rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 180px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
}

.ae-resource-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.35);
    box-shadow: 0 25px 50px -20px rgba(0, 0, 0, 0.7), 0 0 20px rgba(168, 85, 247, 0.15);
}

.ae-resource-card .card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.04) 0%, rgba(0,0,0,0) 60%);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.ae-resource-card:hover .card-glow {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, rgba(0,0,0,0) 65%);
}

.download-corner-btn {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.download-corner-btn:hover {
    background: var(--primary-grad);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
    transform: scale(1.1);
}

.download-corner-btn svg {
    transition: var(--transition-quick);
}

.download-corner-btn:hover svg {
    transform: translateY(2px);
}

@media (max-width: 768px) {
    .ae-resource-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.75rem;
    }
    
    .ae-resource-card .download-corner-btn {
        align-self: flex-end;
    }
}


