/* =============================================================
   AdultGuest Marketplace – theme.css
   Module 08: Premium Dark Adult Theme UI Styling
   Deep gradients · Neon glow · Hover animations · Typography
   Layered on top of style.css, grid.css, components.css
   ============================================================= */

/* ─────────────────────────────────────────────
   MODULE 08 VARIABLES (extend :root)
   ───────────────────────────────────────────── */
:root {
    /* Glow colours */
    --glow-accent:       rgba(255, 45, 117, 0.55);
    --glow-accent-soft:  rgba(255, 45, 117, 0.20);
    --glow-highlight:    rgba(139, 61, 255, 0.55);
    --glow-highlight-soft: rgba(139, 61, 255, 0.20);

    /* Gradient presets */
    --grad-accent:    linear-gradient(135deg, #ff2d75 0%, #c0155a 100%);
    --grad-highlight: linear-gradient(135deg, #8b3dff 0%, #6020c0 100%);
    --grad-dual:      linear-gradient(135deg, #ff2d75 0%, #8b3dff 100%);
    --grad-bg-hero:   linear-gradient(160deg, #0b0b0b 0%, #1a0f24 60%, #0b0b0b 100%);
    --grad-card:      linear-gradient(160deg, #120d1a 0%, #1a0f24 100%);

    /* Animation timing */
    --ease-bounce:    cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --duration-fast:  0.18s;
    --duration-base:  0.30s;
    --duration-slow:  0.55s;

    /* Glass effect */
    --glass-bg:       rgba(18, 13, 26, 0.75);
    --glass-border:   rgba(255, 255, 255, 0.07);
    --glass-blur:     18px;
}

/* ─────────────────────────────────────────────
   GLOBAL AMBIENT BACKGROUND
   ───────────────────────────────────────────── */
body.dark-theme {
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(ellipse 800px 600px at 80% -10%,  rgba(139, 61, 255, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 600px 500px at -10% 60%,  rgba(255, 45, 117, 0.05) 0%, transparent 70%),
        radial-gradient(ellipse 400px 400px at 50% 100%,  rgba(139, 61, 255, 0.04) 0%, transparent 60%);
    background-attachment: fixed;
}

/* ─────────────────────────────────────────────
   ENHANCED NAVIGATION
   ───────────────────────────────────────────── */

/* Richer sticky header blur */
#site-header {
    background: rgba(11, 11, 11, 0.88);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background var(--duration-base) ease,
                box-shadow var(--duration-base) ease;
}

#site-header.scrolled {
    background: rgba(8, 5, 14, 0.96);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 45, 117, 0.15);
}

/* Navbar brand neon gradient text */
.navbar-brand .brand-text {
    background: var(--grad-dual);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 14px rgba(255, 45, 117, 0.4));
    transition: filter var(--duration-base) ease;
}

.navbar-brand:hover .brand-text {
    filter: drop-shadow(0 0 22px rgba(255, 45, 117, 0.7));
}

/* Nav links with underline effect */
.navbar-nav a {
    position: relative;
    color: rgba(240, 240, 240, 0.65);
    font-size: 0.875rem;
    letter-spacing: 0.3px;
}

.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    right: 50%;
    height: 2px;
    background: var(--grad-dual);
    border-radius: 1px;
    transition: left var(--duration-base) var(--ease-smooth),
                right var(--duration-base) var(--ease-smooth);
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
    left: 6px;
    right: 6px;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Cart icon glow on hover */
.cart-icon:hover {
    color: var(--accent);
    filter: drop-shadow(0 0 8px var(--glow-accent));
}

.cart-count {
    background: var(--grad-accent);
    box-shadow: 0 0 10px var(--glow-accent-soft);
    animation: agm-pulse-badge 2.5s ease-in-out infinite;
}

@keyframes agm-pulse-badge {
    0%, 100% { box-shadow: 0 0 8px var(--glow-accent-soft); }
    50%       { box-shadow: 0 0 16px var(--glow-accent); }
}

/* ─────────────────────────────────────────────
   PREMIUM BUTTONS
   ───────────────────────────────────────────── */

/* Primary button – shimmer sweep */
.btn-primary {
    background: var(--grad-accent);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 45, 117, 0.35), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.22) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.6s var(--ease-smooth);
}

.btn-primary:hover::before {
    left: 125%;
}

.btn-primary:hover {
    box-shadow: 0 6px 32px rgba(255, 45, 117, 0.55), 0 1px 0 rgba(255, 255, 255, 0.12) inset;
    transform: translateY(-3px);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 14px rgba(255, 45, 117, 0.45);
}

/* Secondary button – purple shimmer */
.btn-secondary {
    background: var(--grad-highlight);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(139, 61, 255, 0.35), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.6s var(--ease-smooth);
}

.btn-secondary:hover::before { left: 125%; }

.btn-secondary:hover {
    box-shadow: 0 6px 32px rgba(139, 61, 255, 0.55);
    transform: translateY(-3px);
}

/* Outline button – neon fill */
.btn-outline {
    border: 1.5px solid var(--accent);
    color: var(--accent);
    background: transparent;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-accent);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--duration-base) ease;
}

.btn-outline:hover::before { opacity: 1; }
.btn-outline:hover {
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(255, 45, 117, 0.4);
    transform: translateY(-2px);
}

/* Ghost button */
.btn-ghost:hover {
    border-color: rgba(255, 45, 117, 0.4);
    box-shadow: 0 0 16px rgba(255, 45, 117, 0.08);
    color: var(--text-primary);
}

/* Large CTA button */
.btn-lg {
    letter-spacing: 0.5px;
    text-transform: none;
    font-weight: 700;
}

/* "Added to cart" state */
.btn.added,
.btn.btn-added {
    background: linear-gradient(135deg, #1a9a5e, #0e7a4a) !important;
    box-shadow: 0 4px 20px rgba(26, 154, 94, 0.4) !important;
}

/* ─────────────────────────────────────────────
   HERO SECTION – ENHANCED
   ───────────────────────────────────────────── */
.hero {
    background: var(--grad-bg-hero);
    position: relative;
    overflow: hidden;
}

/* Animated ambient orbs */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(139, 61, 255, 0.14) 0%, transparent 65%);
    animation: agm-float-slow 12s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 45, 117, 0.1) 0%, transparent 65%);
    animation: agm-float-slow 15s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes agm-float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(20px, -15px) scale(1.04); }
    66%       { transform: translate(-10px, 20px) scale(0.97); }
}

/* Hero title gradient highlight */
.hero-title .highlight {
    background: var(--grad-dual);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 45, 117, 0.35));
    animation: agm-text-glow 3s ease-in-out infinite;
}

@keyframes agm-text-glow {
    0%, 100% { filter: drop-shadow(0 0 16px rgba(255, 45, 117, 0.3)); }
    50%       { filter: drop-shadow(0 0 28px rgba(255, 45, 117, 0.55)); }
}

/* Hero eyebrow pill */
.hero-eyebrow {
    background: rgba(255, 45, 117, 0.1);
    border: 1px solid rgba(255, 45, 117, 0.25);
    backdrop-filter: blur(8px);
    animation: agm-fade-up 0.6s var(--ease-smooth) both;
}

/* Hero stat numbers */
.hero-stat-item .stat-number {
    background: var(--grad-dual);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─────────────────────────────────────────────
   LISTING CARDS – ENHANCED
   ───────────────────────────────────────────── */
.listing-card {
    background: var(--grad-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

/* Neon border glow on hover */
.listing-card:hover {
    border-color: rgba(255, 45, 117, 0.5);
    box-shadow:
        0 12px 50px rgba(255, 45, 117, 0.18),
        0 4px 16px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 45, 117, 0.12) inset;
}

/* Featured card – purple neon */
.listing-card.featured {
    background: linear-gradient(160deg, #16102a 0%, #1e1434 100%);
    border-color: rgba(139, 61, 255, 0.35);
    box-shadow: 0 0 0 1px rgba(139, 61, 255, 0.12) inset, var(--shadow-card);
}

.listing-card.featured:hover {
    border-color: rgba(139, 61, 255, 0.65);
    box-shadow:
        0 12px 50px rgba(139, 61, 255, 0.22),
        0 4px 16px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(139, 61, 255, 0.15) inset;
}

/* Featured badge */
.badge-featured {
    background: var(--grad-dual);
    box-shadow: 0 2px 10px rgba(255, 45, 117, 0.4);
    animation: agm-badge-glow 2s ease-in-out infinite;
}

@keyframes agm-badge-glow {
    0%, 100% { box-shadow: 0 2px 10px rgba(255, 45, 117, 0.3); }
    50%       { box-shadow: 0 2px 18px rgba(255, 45, 117, 0.6); }
}

/* Category badge */
.badge-accent {
    background: rgba(255, 45, 117, 0.12);
    border: 1px solid rgba(255, 45, 117, 0.3);
    color: #ff2d75;
    backdrop-filter: blur(4px);
}

.badge-highlight {
    background: rgba(139, 61, 255, 0.12);
    border: 1px solid rgba(139, 61, 255, 0.3);
    color: #8b3dff;
    backdrop-filter: blur(4px);
}

/* Image overlay gradient */
.card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 35%,
        rgba(11, 11, 11, 0.45) 70%,
        rgba(11, 11, 11, 0.75) 100%
    );
    transition: opacity var(--duration-base) ease;
}

.listing-card:hover .card-image::after {
    opacity: 0.7;
}

/* Card price – neon glow */
.price-value {
    background: var(--grad-dual);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(255, 45, 117, 0.25));
    transition: filter var(--duration-base) ease;
}

.listing-card:hover .price-value {
    filter: drop-shadow(0 0 14px rgba(255, 45, 117, 0.5));
}

/* Meta items glow on card hover */
.listing-card:hover .meta-item {
    border-color: rgba(255, 45, 117, 0.18);
    background: rgba(255, 45, 117, 0.05);
}

/* Meta value colour */
.meta-value {
    color: var(--text-primary);
    font-family: var(--font-heading);
}

/* Card title link hover */
.card-title a:hover {
    color: var(--accent);
    text-shadow: 0 0 12px rgba(255, 45, 117, 0.3);
}

/* ─────────────────────────────────────────────
   CATEGORY FILTER – ENHANCED
   ───────────────────────────────────────────── */
.filter-btn {
    backdrop-filter: blur(6px);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 45, 117, 0.1), rgba(139, 61, 255, 0.1));
    opacity: 0;
    transition: opacity var(--duration-base) ease;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    opacity: 1;
}

.filter-btn.active {
    background: rgba(255, 45, 117, 0.14);
    border-color: rgba(255, 45, 117, 0.5);
    color: var(--accent);
    box-shadow: 0 0 16px rgba(255, 45, 117, 0.15);
    font-weight: 600;
}

/* ─────────────────────────────────────────────
   SECTION HEADERS
   ───────────────────────────────────────────── */
.section-title .accent,
.section-title .highlight {
    background: var(--grad-dual);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Decorative section rule */
.section-title-underline {
    width: 60px;
    height: 3px;
    background: var(--grad-dual);
    border-radius: 2px;
    margin-top: 12px;
    box-shadow: 0 0 14px var(--glow-accent-soft);
}

/* ─────────────────────────────────────────────
   HOW IT WORKS – STEP CARDS
   ───────────────────────────────────────────── */
.step-card {
    background: var(--grad-card) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    position: relative;
    overflow: hidden;
    transition: transform var(--duration-base) var(--ease-smooth),
                box-shadow var(--duration-base) ease,
                border-color var(--duration-base) ease;
}

.step-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 45, 117, 0.04), rgba(139, 61, 255, 0.04));
    opacity: 0;
    transition: opacity var(--duration-base) ease;
}

.step-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(255, 45, 117, 0.35) !important;
    box-shadow: 0 12px 40px rgba(255, 45, 117, 0.15) !important;
}

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

/* Step number glow */
.step-number {
    background: var(--grad-dual) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(0 0 10px rgba(255, 45, 117, 0.3));
}

/* ─────────────────────────────────────────────
   SECTION BACKGROUNDS
   ───────────────────────────────────────────── */

/* Alternating dark sections */
section[style*="background:var(--bg-secondary)"],
.section[style*="background:var(--bg-secondary)"] {
    position: relative;
    overflow: hidden;
}

section[style*="background:var(--bg-secondary)"]::before,
.section[style*="background:var(--bg-secondary)"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 45, 117, 0.3), rgba(139, 61, 255, 0.3), transparent);
}

/* Section divider line (gradient) */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 45, 117, 0.25), rgba(139, 61, 255, 0.25), transparent);
    margin: 0;
    border: none;
}

/* ─────────────────────────────────────────────
   PARTNER SITES SECTION – ENHANCED
   ───────────────────────────────────────────── */
.partner-sites {
    position: relative;
    background: linear-gradient(160deg, #0f0a1e 0%, #1a0f24 50%, #0f0a1e 100%);
    overflow: hidden;
}

.partner-sites::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(139, 61, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Partner card – glass style */
.partner-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    position: relative;
    overflow: hidden;
    transition:
        transform var(--duration-base) var(--ease-bounce),
        border-color var(--duration-base) ease,
        box-shadow var(--duration-base) ease;
}

.partner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 45, 117, 0.04) 0%, rgba(139, 61, 255, 0.04) 100%);
    opacity: 0;
    transition: opacity var(--duration-base) ease;
}

.partner-card:hover {
    border-color: rgba(255, 45, 117, 0.45);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(255, 45, 117, 0.15), 0 0 0 1px rgba(255, 45, 117, 0.1) inset;
}

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

/* Partner logo ring glow */
.partner-logo-wrap {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
    transition: box-shadow var(--duration-base) ease, transform var(--duration-base) var(--ease-bounce);
}

.partner-card:hover .partner-logo-wrap {
    box-shadow: 0 0 0 3px rgba(255, 45, 117, 0.3), 0 0 20px rgba(255, 45, 117, 0.2);
    transform: scale(1.06);
}

/* Partner tag badge */
.partner-tag {
    background: var(--grad-dual) !important;
    box-shadow: 0 2px 8px rgba(255, 45, 117, 0.3);
    font-size: 0.63rem !important;
    letter-spacing: 0.5px;
}

/* Visit site button on partner card */
.partner-card .btn-outline {
    margin-top: auto;
}

/* ─────────────────────────────────────────────
   FOOTER – ENHANCED
   ───────────────────────────────────────────── */
#site-footer {
    background: linear-gradient(180deg, #0f0a1e 0%, #0b0b0b 100%);
    border-top: 1px solid rgba(255, 45, 117, 0.12);
    position: relative;
    overflow: hidden;
}

#site-footer::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(139, 61, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.footer-brand .brand-text {
    background: var(--grad-dual) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(0 0 12px rgba(255, 45, 117, 0.3));
}

.footer-links a:hover {
    color: var(--accent) !important;
    padding-left: 6px !important;
    text-shadow: 0 0 10px rgba(255, 45, 117, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ─────────────────────────────────────────────
   FORMS – ENHANCED INPUT GLOW
   ───────────────────────────────────────────── */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 45, 117, 0.15), 0 0 16px rgba(255, 45, 117, 0.08);
    background: rgba(26, 15, 36, 0.9);
}

/* Coupon field special styling */
.coupon-field input[type="text"]:focus,
.agm-coupon-code:focus {
    border-color: var(--highlight);
    box-shadow: 0 0 0 3px rgba(139, 61, 255, 0.15), 0 0 16px rgba(139, 61, 255, 0.08);
}

/* ─────────────────────────────────────────────
   WOOCOMMERCE – DEEP THEME OVERRIDES
   ───────────────────────────────────────────── */

/* WC cart table */
.woocommerce-cart table.cart {
    background: var(--grad-card);
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-card);
    overflow: hidden;
}

.woocommerce-cart table.cart th {
    background: rgba(255, 45, 117, 0.06);
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    padding: 14px 16px;
}

.woocommerce-cart table.cart td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: var(--text-primary);
    vertical-align: middle;
    padding: 16px;
}

/* WC cart totals */
.cart_totals h2,
.woocommerce-checkout #order_review_heading {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

/* Order review table */
#order_review table.woocommerce-checkout-review-order-table {
    background: var(--grad-card) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: var(--radius-card);
    overflow: hidden;
}

/* Place order button */
#place_order {
    background: var(--grad-accent) !important;
    font-size: 1.05rem !important;
    padding: 16px 32px !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 24px rgba(255, 45, 117, 0.4) !important;
    width: 100%;
}

#place_order:hover {
    box-shadow: 0 6px 36px rgba(255, 45, 117, 0.6) !important;
    transform: translateY(-2px) !important;
}

/* WC notices */
.woocommerce-message {
    background: rgba(26, 154, 94, 0.1) !important;
    border-left: 4px solid #1a9a5e !important;
    border-radius: var(--radius-btn) !important;
    color: var(--text-primary) !important;
}

.woocommerce-error {
    background: rgba(255, 45, 117, 0.1) !important;
    border-left: 4px solid var(--accent) !important;
    border-radius: var(--radius-btn) !important;
    color: var(--text-primary) !important;
}

/* ─────────────────────────────────────────────
   TYPOGRAPHY – PREMIUM
   ───────────────────────────────────────────── */

/* Heading accent word */
h1 .accent, h2 .accent, h3 .accent,
h1 .highlight, h2 .highlight, h3 .highlight {
    background: var(--grad-dual);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtext label */
.label-accent {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255, 45, 117, 0.12);
    border: 1px solid rgba(255, 45, 117, 0.25);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Highlighted quote block */
.agm-callout {
    background: linear-gradient(135deg, rgba(255, 45, 117, 0.06) 0%, rgba(139, 61, 255, 0.06) 100%);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
    padding: 16px 20px;
    margin: 24px 0;
}

/* ─────────────────────────────────────────────
   GLASSMORPHISM CARDS (utility class)
   ───────────────────────────────────────────── */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-card);
}

.glass-card:hover {
    border-color: rgba(255, 45, 117, 0.25);
}

/* ─────────────────────────────────────────────
   SCROLLBAR – NEON STYLED
   ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: #0a0714; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(255, 45, 117, 0.5), rgba(139, 61, 255, 0.5));
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff2d75, #8b3dff);
}

/* ─────────────────────────────────────────────
   SELECTION HIGHLIGHT
   ───────────────────────────────────────────── */
::selection {
    background: rgba(255, 45, 117, 0.28);
    color: #fff;
    text-shadow: none;
}

/* ─────────────────────────────────────────────
   PAGINATION
   ───────────────────────────────────────────── */
.agm-pagination .page-numbers .current {
    background: var(--grad-accent) !important;
    box-shadow: 0 4px 16px rgba(255, 45, 117, 0.4);
}

.agm-pagination .page-numbers a:hover {
    color: var(--accent);
    border-color: rgba(255, 45, 117, 0.4);
    box-shadow: 0 0 12px rgba(255, 45, 117, 0.1);
}

/* ─────────────────────────────────────────────
   TOAST / NOTIFICATIONS – THEMED
   ───────────────────────────────────────────── */
.agm-toast {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-left-width: 3px;
}

.agm-toast--success {
    background: linear-gradient(135deg, rgba(26, 122, 74, 0.92), rgba(14, 94, 55, 0.92)) !important;
    border-left-color: #2ecc71 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.agm-toast--error {
    background: linear-gradient(135deg, rgba(122, 26, 42, 0.92), rgba(94, 14, 26, 0.92)) !important;
    border-left-color: var(--accent) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.agm-toast--info {
    background: linear-gradient(135deg, rgba(26, 42, 122, 0.92), rgba(14, 26, 94, 0.92)) !important;
    border-left-color: var(--highlight) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* ─────────────────────────────────────────────
   ENTRANCE ANIMATIONS (scroll-triggered via JS)
   ───────────────────────────────────────────── */
@keyframes agm-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes agm-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes agm-scale-up {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}

.agm-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s var(--ease-smooth), transform 0.55s var(--ease-smooth);
}

.agm-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.agm-animate-delay-1 { transition-delay: 0.1s; }
.agm-animate-delay-2 { transition-delay: 0.2s; }
.agm-animate-delay-3 { transition-delay: 0.3s; }
.agm-animate-delay-4 { transition-delay: 0.4s; }

/* ─────────────────────────────────────────────
   SKELETON LOADING – THEMED
   ───────────────────────────────────────────── */
.skeleton-block {
    background: linear-gradient(
        90deg,
        rgba(26, 15, 36, 0.8) 25%,
        rgba(40, 25, 60, 0.9) 50%,
        rgba(26, 15, 36, 0.8) 75%
    );
    background-size: 600px 100%;
    animation: agm-shimmer 1.6s ease-in-out infinite;
}

@keyframes agm-shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

/* ─────────────────────────────────────────────
   UTILITY CLASSES (Module 08 additions)
   ───────────────────────────────────────────── */

/* Neon text */
.text-neon-pink   { color: var(--accent);     text-shadow: 0 0 12px var(--glow-accent); }
.text-neon-purple { color: var(--highlight);  text-shadow: 0 0 12px var(--glow-highlight); }
.text-gradient    {
    background: var(--grad-dual);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dividers */
.divider-gradient {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,45,117,0.3), rgba(139,61,255,0.3), transparent);
    margin: 40px 0;
}

/* Glow container */
.glow-box {
    box-shadow: 0 0 40px rgba(255, 45, 117, 0.08), 0 4px 20px rgba(0,0,0,0.4);
}

.glow-box-purple {
    box-shadow: 0 0 40px rgba(139, 61, 255, 0.08), 0 4px 20px rgba(0,0,0,0.4);
}

/* ─────────────────────────────────────────────
   RESPONSIVE ADJUSTMENTS (Module 08)
   ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero::before { width: 350px; height: 350px; }
    .hero::after  { width: 280px; height: 280px; }
    .partner-sites::before { width: 300px; height: 200px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .hero::after,
    .hero-title .highlight,
    .badge-featured,
    .cart-count {
        animation: none;
    }
    .btn-primary::before,
    .btn-secondary::before {
        display: none;
    }
}

/* =============================================================
   HOMEPAGE — Consistent CSS matching browse-sites/ structure
   (grid.css is loaded on front-page; these complement it)
   ============================================================= */

/* ─── Listings section wrapper ─── */
.listings-section { padding: 64px 0; }
.listings-section .section-header {
    display: flex; justify-content: space-between;
    align-items: flex-end; gap: 24px; flex-wrap: wrap;
    margin-bottom: 36px;
}

/* ─── Steps grid (How It Works) ─── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 32px 28px;
    text-align: center;
    transition: border-color .25s, transform .25s;
}
.step-card:hover {
    border-color: rgba(255,45,117,.3);
    transform: translateY(-3px);
}
.step-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 14px;
    line-height: 1;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.step-card p  { font-size: .88rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ─── Empty state (matches grid.css) ─── */
.empty-state {
    text-align: center;
    padding: 80px 0;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.empty-state-icon { font-size: 3rem; }
.empty-state h2   { font-size: 1.4rem; margin: 0; }
.empty-state p    { color: var(--text-muted); margin: 0; max-width: 420px; }

/* ─── Responsive ─── */
@media (max-width: 860px) {
    .steps-grid { grid-template-columns: 1fr; gap: 16px; }
    .steps-grid .step-card { padding: 24px; }
}
@media (max-width: 640px) {
    .listings-section { padding: 40px 0; }
    .listings-section .section-header { flex-direction: column; align-items: flex-start; }
}

/* =============================================================
   PAYPAL SMART BUTTONS — Checkout container
   ============================================================= */
.agm-paypal-buttons-wrap {
    margin-top: 24px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
}
.agm-paypal-buttons-wrap .paypal-section-title {
    font-size: .82rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: .5px; color: var(--text-muted);
    margin-bottom: 14px; text-align: center;
}
#agm-paypal-buttons-container { min-height: 52px; }
#agm-paypal-error {
    display: none; margin-top: 12px;
    padding: 10px 14px; border-radius: var(--radius-btn);
    background: rgba(255,45,117,.1); color: var(--accent);
    font-size: .85rem; text-align: center;
}
