/* ═══════════════════════════════════════════════════════════════
   BloomingRoses – Custom CSS
   Dark theme with Bitcoin-orange gold accents
   Desktop-first responsive design
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─── */
:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.08);

    --text-primary: #f0f0f5;
    --text-secondary: #9a9ab0;
    --text-muted: #5a5a70;

    --accent: #f7931a;
    --accent-light: #ffa940;
    --accent-dark: #d47a0a;
    --accent-glow: rgba(247, 147, 26, 0.15);
    --accent-glow-strong: rgba(247, 147, 26, 0.3);

    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 100px;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ─── Reset ─── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

main {
    flex: 1;
}

body.no-scroll {
    overflow: hidden;
}

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

a:hover {
    color: var(--accent-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

/* ─── Container ─── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 0 0;
    transition: background var(--transition-base);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-logo:hover {
    color: var(--text-primary);
}

.logo-icon {
    font-size: 1.6rem;
    color: var(--accent);
    filter: drop-shadow(0 0 8px var(--accent-glow-strong));
}

.logo-text {
    background: linear-gradient(135deg, var(--text-primary), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.nav-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 8px 24px !important;
    border-radius: var(--radius-xl) !important;
}

.nav-btn:hover {
    box-shadow: 0 4px 20px var(--accent-glow-strong) !important;
    transform: translateY(-1px);
}

.nav-btn-outline {
    border: 1px solid var(--border-glass) !important;
    color: var(--text-secondary) !important;
    border-radius: var(--radius-xl) !important;
}

.nav-btn-outline:hover {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.hero {
    padding: 160px 0 var(--section-padding);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.middle-hero {
    padding: 60px 0 var(--section-padding);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 28px;
}

.hero-badge::before {
    content: '✿';
    font-size: 1rem;
}

/* ─── Hero Middle Part ─── */
.hero-middle-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-bottom: 48px;
    text-align: left;
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image-wrapper {
    flex-shrink: 0;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    position: relative;
    padding: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px var(--accent-glow);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hero-image-wrapper:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 50px var(--accent-glow-strong);
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.hero-text-wrapper h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
}

.hero-actions {
    margin-bottom: 60px;
}

/* ─── Feature Cards ─── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-glow) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(247, 147, 26, 0.2);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

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

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   MASONRY GRID
   ═══════════════════════════════════════════════════════════════ */
.masonry-section {
    padding: 140px 0 var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.masonry-grid {
    display: flex;
    gap: 16px;
}

.masonry-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.masonry-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: filter var(--transition-base);
}

.masonry-item:hover img {
    filter: brightness(1.1);
}

.masonry-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.masonry-item:hover .overlay {
    opacity: 1;
}

.overlay-icon {
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    margin-left: auto;
}

/* ═══════════════════════════════════════════════════════════════
   VIDEO SECTION
   ═══════════════════════════════════════════════════════════════ */
.video-section {
    padding: 60px 0 var(--section-padding);
    background-color: var(--bg-secondary);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.video-grid.first-five {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.video-grid.first-five .video-item {
    flex: 0 0 calc(33.333% - 11px);
}

.video-grid.last-two {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
}

.video-grid.last-two .video-item {
    flex: 0 0 85%;
    max-width: 960px;
}

.video-grid.last-two .video-item video {
    aspect-ratio: 16/9;
}

.video-actions {
    text-align: center;
    margin-top: 32px;
}

.mobile-only-btn {
    display: none !important;
}

.video-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    display: flex;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-item video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 9/16;
    object-fit: cover;
    background: #000;
}

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════ */
.cta-section {
    padding: 0 0 var(--section-padding);
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.08), rgba(247, 147, 26, 0.02));
    border: 1px solid rgba(247, 147, 26, 0.15);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border: none;
    border-radius: var(--radius-xl);
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow-strong);
}

.btn-secondary {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #059669);
    color: #fff;
}

.btn-success:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #dc2626);
    color: #fff;
}

.btn-danger:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 18px 48px;
    font-size: 1.1rem;
}

/* ═══════════════════════════════════════════════════════════════
   FORM STYLES
   ═══════════════════════════════════════════════════════════════ */
.form-page {
    padding: 140px 0 var(--section-padding);
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.form-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.form-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.form-header {
    text-align: center;
    margin-bottom: 36px;
}

.form-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group label .optional {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.8rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-primary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-actions {
    margin-top: 28px;
}

.form-actions .btn {
    width: 100%;
    justify-content: center;
}

.form-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ─── Alerts / Messages ─── */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

/* ═══════════════════════════════════════════════════════════════
   PAYMENT PAGE
   ═══════════════════════════════════════════════════════════════ */
.payment-page {
    padding: 140px 0 var(--section-padding);
}

.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.payment-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.payment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.payment-card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.btc-address-box {
    background: var(--bg-primary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    margin-bottom: 24px;
}

.btc-address-box .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.btc-address-box .address {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--accent);
    word-break: break-all;
    line-height: 1.5;
}

.qr-container {
    text-align: center;
    margin-bottom: 24px;
}

.qr-container img {
    max-width: 200px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-glass);
}

.price-display {
    text-align: center;
    margin-bottom: 24px;
}

.price-usd {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.price-btc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.price-btc .loading {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid var(--border-glass);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

.payment-promo {
    display: inline-block;
    padding: 6px 18px;
    background: var(--accent-glow);
    border: 1px solid rgba(247, 147, 26, 0.15);
    color: var(--accent-light);
    border-radius: var(--radius-xl);
    font-size: 0.88rem;
    font-weight: 600;
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.price-update-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   THANK YOU PAGE
   ═══════════════════════════════════════════════════════════════ */
.thankyou-page {
    padding: 140px 0 var(--section-padding);
    text-align: center;
    min-height: 100vh;
}

.thankyou-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 60px 48px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.thankyou-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--success), #34d399);
}

.thankyou-icon {
    font-size: 4rem;
    margin-bottom: 24px;
    display: block;
}

.thankyou-card h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.thankyou-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 20px 0;
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.status-active {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.status-rejected {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

/* ═══════════════════════════════════════════════════════════════
   MEMBERS AREA
   ═══════════════════════════════════════════════════════════════ */
.members-page {
    padding: 100px 0 var(--section-padding);
}

.members-header {
    text-align: center;
    margin-bottom: 50px;
}

.members-header h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.members-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.content-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.content-card:hover {
    transform: translateY(-4px);
    border-color: rgba(247, 147, 26, 0.2);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.content-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.content-card-body {
    padding: 24px;
}

.content-card-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

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

.content-card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-glow);
    color: var(--accent);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   ADMIN PANEL
   ═══════════════════════════════════════════════════════════════ */
.admin-page {
    padding: 140px 0 var(--section-padding);
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.admin-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.admin-stats {
    display: flex;
    gap: 16px;
}

.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    text-align: center;
    min-width: 100px;
}

.stat-card .stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-card .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* ─── Admin Tabs ─── */
.admin-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 4px;
    border: 1px solid var(--border-glass);
    width: fit-content;
}

.admin-tab {
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-family);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.admin-tab:hover {
    color: var(--text-primary);
}

.admin-tab.active {
    background: var(--accent);
    color: #fff;
}

/* ─── Search Bar ─── */
.admin-search {
    margin-bottom: 24px;
}

.search-input {
    width: 100%;
    max-width: 400px;
    padding: 12px 18px 12px 44px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 0.9rem;
    outline: none;
    transition: all var(--transition-fast);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%235a5a70'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 18px;
}

.search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ─── Admin Table ─── */
.admin-table-wrap {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: rgba(255, 255, 255, 0.02);
}

.admin-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border-glass);
}

.admin-table td {
    padding: 16px 20px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

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

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.txid-link {
    font-family: 'Courier New', monospace;
    font-size: 0.82rem;
    color: var(--accent);
    word-break: break-all;
}

.txid-link:hover {
    text-decoration: underline;
}

.action-btns {
    display: flex;
    gap: 8px;
}

.no-data {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.no-data .no-data-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
}

/* ─── Tab Panels ─── */
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* ─── Nav Toggle Animation ─── */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
    border-top: 1px solid var(--border-glass);
    padding: 40px 0;
    margin-top: auto;
}

.footer-content {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

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

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .masonry-grid {
        gap: 12px;
    }

    .masonry-column {
        gap: 12px;
    }

    .payment-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-table-wrap {
        overflow-x: auto;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: flex !important;
        position: fixed !important;
        top: 72px !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: -webkit-fill-available;
        /* Support for mobile browser bars */
        background: #0a0a0f !important;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 40px 24px 120px;
        /* Extra bottom padding for safe area */
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid var(--border-glass);
        z-index: 10000;
        overflow-y: auto;
        /* Allow scrolling if menu is long */
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 16px 24px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        transition: all var(--transition-fast);
    }

    .nav-links a:not(.nav-btn):hover {
        background: var(--bg-glass);
        color: var(--accent);
    }

    .nav-links .nav-btn {
        margin-top: 10px;
        width: 80% !important;
        border-bottom: none;
    }

    .hero-middle-row {
        flex-direction: column;
        text-align: center;
        gap: 32px;
        margin-bottom: 32px;
    }

    .hero-image-wrapper {
        order: -1;
    }

    .hero-text-wrapper h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .masonry-grid {
        gap: 10px;
    }

    .masonry-column {
        gap: 10px;
    }

    .video-grid, 
    .video-grid.first-five, 
    .video-grid.last-two {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-grid.first-five .video-item {
        flex: none;
        width: 100%;
    }

    .form-card {
        padding: 32px 24px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-stats {
        width: 100%;
        overflow-x: auto;
    }

    .admin-tabs {
        width: 100%;
        overflow-x: auto;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .cta-box h2 {
        font-size: 1.6rem;
    }

    .payment-card {
        padding: 28px 24px;
    }

    .mobile-only-btn {
        display: inline-flex !important;
        width: 80% !important;
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .masonry-grid {
        gap: 8px;
    }

    .masonry-column {
        gap: 8px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 420px) {
    .masonry-grid {
        flex-direction: column;
        gap: 8px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   AGE GATE / 18+ VERIFICATION MODAL
   ═══════════════════════════════════════════════════════════════ */

/* Overlay – covers the whole viewport and blurs the content beneath */
.age-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none; /* Hidden by default to prevent flash */
    align-items: center;
    justify-content: center;
    padding: 16px;

    /* Frosted-glass dark backdrop */
    background: rgba(8, 8, 14, 0.92);
    backdrop-filter: blur(18px) saturate(0.6);
    -webkit-backdrop-filter: blur(18px) saturate(0.6);

    /* Entry animation */
    animation: ageGateFadeIn 0.4s ease both;
}

.age-gate-overlay.visible {
    display: flex;
}

.age-gate-overlay.hidden {
    display: none;
}

@keyframes ageGateFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Modal card */
.age-gate-modal {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: linear-gradient(145deg, #14141e, #1c1c2a);
    border: 1px solid rgba(247, 147, 26, 0.22);
    border-radius: 24px;
    padding: 52px 44px 44px;
    text-align: center;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
    animation: ageGateSlideUp 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes ageGateSlideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

/* Subtle top accent line */
.age-gate-modal::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-light));
    border-radius: 24px 24px 0 0;
}

/* Background glow orb */
.age-gate-modal::after {
    content: '';
    position: absolute;
    top: -120px; left: 50%;
    transform: translateX(-50%);
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(247, 147, 26, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

/* "18+" badge */
.age-gate-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0 auto 24px;
    box-shadow:
        0 8px 24px rgba(247, 147, 26, 0.45),
        0 0 0 8px rgba(247, 147, 26, 0.1);
    position: relative;
    z-index: 1;
    animation: ageBadgePulse 2.8s ease-in-out infinite;
}

@keyframes ageBadgePulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(247,147,26,0.45), 0 0 0 8px rgba(247,147,26,0.10); }
    50%       { box-shadow: 0 8px 32px rgba(247,147,26,0.60), 0 0 0 14px rgba(247,147,26,0.06); }
}

/* Title */
.age-gate-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

/* Description */
.age-gate-desc {
    font-size: 0.97rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.age-gate-desc strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Sub-label */
.age-gate-sub {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

/* Action buttons row */
.age-gate-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.age-gate-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 24px;
    border: none;
    border-radius: var(--radius-xl);
    font-family: var(--font-family);
    font-size: 0.97rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    max-width: 220px;
}

/* YES button */
.age-gate-btn--yes {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    box-shadow: 0 6px 24px rgba(247, 147, 26, 0.35);
}

.age-gate-btn--yes:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(247, 147, 26, 0.55);
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
}

.age-gate-btn--yes:active {
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(247, 147, 26, 0.35);
}

/* NO button */
.age-gate-btn--no {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.age-gate-btn--no:hover {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    transform: translateY(-2px);
}

.age-gate-btn--no:active {
    transform: translateY(0);
}

/* Legal fine print */
.age-gate-legal {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.age-gate-link {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.age-gate-link:hover {
    color: var(--accent-light);
}

/* ── Mobile tweaks ── */
@media (max-width: 540px) {
    .age-gate-modal {
        padding: 40px 24px 36px;
        border-radius: 20px;
    }

    .age-gate-title {
        font-size: 1.4rem;
    }

    .age-gate-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .age-gate-btn {
        max-width: 100%;
        width: 100%;
        padding: 16px 20px;
    }
}

@media (max-width: 360px) {
    .age-gate-badge {
        width: 60px;
        height: 60px;
        font-size: 1.1rem;
    }

    .age-gate-title {
        font-size: 1.25rem;
    }
}