

/* ============================================================
   index.css
   ============================================================ */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: #000;
            color: #f5f5f7;
            overflow-x: hidden;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(20px);
            z-index: 1000;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .nav-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 16px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 22px;
            font-weight: 700;
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, #fff 0%, #999 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nav-links {
            display: flex;
            gap: 32px;
            align-items: center;
        }

        .nav-links a {
            color: #f5f5f7;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: opacity 0.3s;
        }

        .nav-links a:hover {
            opacity: 0.6;
        }

        .cta-buttons {
            display: flex;
            gap: 12px;
        }

        .btn {
            padding: 8px 20px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
        }

        .btn-primary {
            background: #fff;
            color: #000;
        }

        .btn-primary:hover {
            background: #e8e8ed;
        }

        .btn-secondary {
            background: transparent;
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .btn-secondary:hover {
            border-color: rgba(255, 255, 255, 0.6);
        }

        .btn-donate {
            background: linear-gradient(135deg, #8b0000 0%, #b30000 100%);
            color: #fff;
            box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
            position: relative;
            overflow: hidden;
        }

        .btn-donate::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .btn-donate:hover::before {
            left: 100%;
        }

        .btn-donate:hover {
            box-shadow: 0 6px 20px rgba(139, 0, 0, 0.6);
            transform: translateY(-2px);
        }

        /* Hero Section */
        .hero {
            margin-top: 60px;
            height: 600px;
            background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
            opacity: 0.5;
        }

        .hero-content {
            text-align: center;
            z-index: 1;
            max-width: 800px;
            padding: 0 24px;
            animation: fadeInUp 1s ease-out;
        }

        .hero h1 {
            font-size: 64px;
            font-weight: 800;
            letter-spacing: -2px;
            margin-bottom: 24px;
            background: linear-gradient(135deg, #fff 0%, #666 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero p {
            font-size: 24px;
            color: #999;
            margin-bottom: 40px;
            font-weight: 400;
        }

        /* Section Headers */
        .section {
            max-width: 1400px;
            margin: 80px auto;
            padding: 0 24px;
        }

        .section-header {
            margin-bottom: 48px;
        }

        /* ── Show landing page ──
           The masthead a series gets on its own page (see
           pagebuilder/views/components/component.page.show_header.html).
           Sized off .section's column so it lines up with the episode
           grid underneath it. */
        .show-header {
            max-width: 1400px;
            margin: 40px auto 0;
            padding: 0 24px;
            box-sizing: border-box;
        }
        .show-header-inner {
            display: flex;
            gap: 28px;
            align-items: center;
            flex-wrap: wrap;
        }
        .show-header-art {
            width: 260px;
            aspect-ratio: 16 / 9;
            border-radius: 12px;
            background-size: cover;
            background-position: center;
            background-color: #111;
            flex-shrink: 0;
        }
        .show-header-copy {
            flex: 1;
            min-width: 260px;
        }
        .show-header-title {
            font-size: 40px;
            font-weight: 700;
            letter-spacing: -1px;
            margin: 0 0 10px;
            line-height: 1.1;
        }
        .show-header-desc {
            color: #999;
            font-size: 17px;
            line-height: 1.6;
            margin: 0 0 14px;
            max-width: 70ch;
        }
        .show-header-meta {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        .show-header-pill {
            font-size: 12px;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.18);
            color: #ccc;
            white-space: nowrap;
        }
        .show-header-pill.schedule {
            border-color: rgba(167, 139, 250, .45);
            color: #c4b5fd;
        }
        .show-header-pill.members {
            border-color: rgba(74, 222, 128, .45);
            color: #86efac;
        }

        /* ── Mobile ──
           The public pages were built at desktop widths: fixed card
           widths, multi-column grids with hard column counts and 40px
           display type, none of which reflow on a phone -- columns
           overlapped and text ran past the viewport. These let each
           surface collapse to a single column and scale the type down.
           They are additive: nothing changes above 900px. */
        @media (max-width: 900px) {
            .show-header { margin-top: 24px; }
            .show-header-inner { gap: 18px; }
            .show-header-art { width: 100%; max-width: 420px; }
            .show-header-title { font-size: 30px; }
            .show-header-desc { font-size: 15px; }
            .section { margin: 48px auto; }
            .section-title { font-size: 28px; }
            .section-subtitle { font-size: 15px; }
        }
        @media (max-width: 600px) {
            .show-header-title { font-size: 25px; }
            .section { margin: 36px auto; padding: 0 16px; }
            .section-title { font-size: 23px; }
            .show-header { padding: 0 16px; }
        }

        /* ── Page CTA ──
           component.page.cta.html emits
           <section class="cta-section"><div class="cta-section-inner">
           <a class="btn btn-primary cta-section-btn">, and NOTHING in any
           stylesheet matched those three class names. So a CTA dropped on
           a page rendered as an unconstrained full-bleed block: no
           content column, no vertical rhythm, the button jammed against
           the left edge and out of line with every other section on the
           page. These match .section's own column (1400px, 24px gutters)
           so a CTA sits where the rest of the page's content sits. */
        .cta-section {
            max-width: 1400px;
            margin: 64px auto;
            padding: 0 24px;
            box-sizing: border-box;
        }
        .cta-section-inner {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
        }
        .cta-section-btn {
            /* Text-length-proof: long CTA copy wraps inside the button
               instead of pushing the button past the viewport. */
            max-width: 100%;
            padding: 14px 32px;
            font-size: 15px;
            text-decoration: none;
            text-align: center;
            white-space: normal;
            overflow-wrap: anywhere;
        }
        @media (max-width: 640px) {
            .cta-section { margin: 40px auto; }
            .cta-section-btn { width: 100%; }
        }

        .section-title {
            font-size: 40px;
            font-weight: 700;
            letter-spacing: -1px;
            margin-bottom: 8px;
        }

        .section-subtitle {
            color: #999;
            font-size: 18px;
        }

        /* Host Cards (Daily Wire inspired) */
        .hosts-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 24px;
            margin-bottom: 80px;
        }

        .host-card {
            position: relative;
            aspect-ratio: 3/4;
            border-radius: 20px;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.4s;
        }

        .host-card:hover {
            transform: scale(1.05);
        }

        .host-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            background: linear-gradient(135deg, #333 0%, #1a1a1a 100%);
        }

        .host-name {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 24px;
            background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
            font-size: 20px;
            font-weight: 600;
        }

        /* Video Grid (Apple/Pearl Daily inspired) */
        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 32px;
        }

        .video-card {
            display: block;
            background: #1a1a1a;
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.4s;
            cursor: pointer;
            color: inherit;
            text-decoration: none;
        }

        .video-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        }

        .video-thumbnail {
            position: relative;
            width: 100%;
            aspect-ratio: 16/9;
            background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
            overflow: hidden;
        }

        .video-duration {
            position: absolute;
            bottom: 12px;
            right: 12px;
            background: rgba(0, 0, 0, 0.8);
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 600;
        }

        .video-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            height: 20px;
        }

        .video-badge--membership {
            position: absolute;
            bottom: 12px;
            left: 12px;
            background: rgba(var(--accent-rgb, 120, 80, 220), 0.85);
            backdrop-filter: blur(10px);
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #fff;
        }

        .video-info {
            padding: 20px;
        }

        .video-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 8px;
            line-height: 1.4;
        }

        .video-meta {
            color: #999;
            font-size: 14px;
        }

        /* Featured Banner (Candace Owens inspired) */
        .featured-banner {
            margin: 80px 0;
            height: 400px;
            background: linear-gradient(135deg, #8b0000 0%, #4a0000 100%);
            border-radius: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .featured-banner::before {
            content: '';
            position: absolute;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
            background-size: 30px 30px;
            animation: moveBackground 20s linear infinite;
        }

        .featured-content {
            z-index: 1;
            max-width: 600px;
            padding: 0 24px;
        }

        .featured-content h2 {
            font-size: 56px;
            font-weight: 900;
            margin-bottom: 24px;
            text-transform: uppercase;
            letter-spacing: -1px;
        }

        .featured-content p {
            font-size: 20px;
            margin-bottom: 32px;
            opacity: 0.9;
        }

        /* Donate Section */
        .donate-section {
            margin: 80px 0;
            padding: 80px 40px;
            background: linear-gradient(135deg, #1a0000 0%, #0a0000 100%);
            border-radius: 24px;
            text-align: center;
            position: relative;
            overflow: hidden;
            border: 2px solid rgba(139, 0, 0, 0.3);
        }

        .donate-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 20% 50%, rgba(139, 0, 0, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(179, 0, 0, 0.2) 0%, transparent 50%);
            animation: pulse 4s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 0.5; }
            50% { opacity: 1; }
        }

        .donate-content {
            position: relative;
            z-index: 1;
            max-width: 700px;
            margin: 0 auto;
        }

        .donate-icon {
            font-size: 64px;
            margin-bottom: 24px;
            animation: heartbeat 1.5s ease-in-out infinite;
        }

        @keyframes heartbeat {
            0%, 100% { transform: scale(1); }
            10%, 30% { transform: scale(1.1); }
            20%, 40% { transform: scale(1); }
        }

        .donate-content h2 {
            font-size: 48px;
            font-weight: 900;
            margin-bottom: 20px;
            background: linear-gradient(135deg, #fff 0%, #ff6b6b 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .donate-content p {
            font-size: 20px;
            color: #ccc;
            margin-bottom: 40px;
            line-height: 1.6;
        }

        .donate-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
        }

        .btn-donate-large {
            padding: 16px 48px;
            font-size: 18px;
            border-radius: 30px;
            background: linear-gradient(135deg, #b30000 0%, #8b0000 100%);
            color: #fff;
            text-decoration: none;
            font-weight: 700;
            box-shadow: 0 8px 30px rgba(139, 0, 0, 0.4);
        }

        .btn-learn-more {
            padding: 16px 40px;
            font-size: 18px;
            border-radius: 30px;
            background: transparent;
            color: #fff;
            text-decoration: none;
            font-weight: 600;
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        /* Series Grid */
        .series-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
        }

        .series-card {
            display: block;
            text-decoration: none;
            color: inherit;
            background: #1a1a1a;
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.3s;
            cursor: pointer;
        }

        .series-card:hover {
            transform: scale(1.03);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        }

        .series-thumbnail {
        /* .video-thumbnail has always had this. Without it the absolutely
           positioned .video-badge / .video-duration inside a series card
           resolve against the page instead of the card. */
        position: relative;
            width: 100%;
            aspect-ratio: 16/9;
            background: linear-gradient(135deg, #333 0%, #1a1a1a 100%);
            background-size: cover !important;
            background-position: center !important;
        }

        .series-info {
            padding: 20px;
        }

        .series-title {
            font-size: 20px;
            font-weight: 600;
        }

        /* Footer */
        footer {
            background: #0a0a0a;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 60px 24px 40px;
            margin-top: 120px;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-section h3 {
            font-size: 14px;
            margin-bottom: 16px;
            font-weight: 600;
            color: #999;
        }

        .footer-section a {
            display: block;
            color: #f5f5f7;
            text-decoration: none;
            font-size: 14px;
            margin-bottom: 12px;
            transition: opacity 0.3s;
        }

        .footer-section a:hover {
            opacity: 0.6;
        }

        .footer-bottom {
            max-width: 1400px;
            margin: 0 auto;
            padding-top: 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            color: #666;
            font-size: 12px;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes moveBackground {
            from {
                transform: translate(0, 0);
            }
            to {
                transform: translate(30px, 30px);
            }
        }

        /* ── Hamburger button (hidden on desktop) ── */
        .nav-hamburger {
            display: none;
            flex-direction: column;
            justify-content: center;
            gap: 5px;
            width: 36px;
            height: 36px;
            padding: 6px;
            background: none;
            border: none;
            cursor: pointer;
            z-index: 1100;
            flex-shrink: 0;
        }
        .nav-hamburger span {
            display: block;
            height: 2px;
            background: #f5f5f7;
            border-radius: 2px;
            transition: transform 0.25s, opacity 0.25s;
        }
        .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .nav-hamburger.open span:nth-child(2) { opacity: 0; }
        .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

        /* ── Mobile menu drawer ── */
        .nav-mobile-menu {
            display: none;
            flex-direction: column;
            width: 100%;
            background: rgba(0,0,0,0.97);
            backdrop-filter: blur(20px);
            border-top: 1px solid rgba(255,255,255,0.08);
            padding: 24px 24px 36px;
        }
        .nav-mobile-menu.open { display: flex; }

        .nav-mobile-links {
            display: flex;
            flex-direction: column;
            gap: 4px;
            margin-bottom: 32px;
        }
        .nav-mobile-links a {
            color: #f5f5f7;
            text-decoration: none;
            font-size: 20px;
            font-weight: 600;
            padding: 12px 0;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            transition: color 0.2s;
        }
        .nav-mobile-links a:hover { color: #999; }

        .nav-mobile-cta {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: auto;
        }
        .nav-mobile-cta .btn {
            width: 100%;
            text-align: center;
            padding: 14px 20px;
            border-radius: 12px;
            font-size: 15px;
        }

        /* ── Responsive ── */
        @media (max-width: 1024px) {
            nav { position: relative; }
            .nav-links   { display: none; }
            .cta-buttons { display: none; }
            .nav-hamburger { display: flex; }
            .hero { margin-top: 0; }
        }

        @media (max-width: 768px) {
            .hero { height: auto; padding: 60px 0 48px; }
            .hero h1 { font-size: 36px; letter-spacing: -1px; }
            .hero p  { font-size: 17px; }

            .section { margin: 48px auto; }
            .section-title { font-size: 28px; }
            .section-subtitle { font-size: 15px; }

            .featured-banner { height: auto; padding: 48px 24px; border-radius: 16px; }
            .featured-content h2 { font-size: 32px; }
            .featured-content p  { font-size: 16px; }

            .donate-section { padding: 48px 24px; border-radius: 16px; }
            .donate-content h2 { font-size: 28px; }
            .donate-content p  { font-size: 16px; }
            .donate-buttons { flex-direction: column; align-items: stretch; }
            .btn-donate-large, .btn-learn-more { display: block; width: 100%; text-align: center; box-sizing: border-box; }
            .btn-learn-more { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.65); }

            .video-grid  { grid-template-columns: 1fr; gap: 20px; }
            .series-grid { grid-template-columns: 1fr; }
            .hosts-grid  { grid-template-columns: repeat(2, 1fr); }

            footer { padding: 40px 20px 32px; margin-top: 60px; }
            .footer-content { grid-template-columns: 1fr 1fr; gap: 28px; }
        }

        @media (max-width: 480px) {
            .nav-content { padding: 14px 16px; }
            .logo { font-size: 17px; }
            .hosts-grid { grid-template-columns: 1fr; }
            .footer-content { grid-template-columns: 1fr; }
        }

/* ── Public nav avatar dropdown ───────────────────────────────── */
.pub-avatar-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.pub-avatar {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #7a0000, #b30000);
  border: 2px solid rgba(179,0,0,.4);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  transition: opacity .15s;
}

.pub-avatar:hover {
  opacity: .85;
}

.pub-profile-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: #1a1714;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  z-index: 1000;
  overflow: hidden;
}

.pub-profile-menu.open {
  display: block;
}

.pub-profile-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #f0ece4;
  text-decoration: none;
  transition: background .15s;
}

.pub-profile-menu-item:hover {
  background: rgba(255,255,255,.07);
}

.pub-profile-menu-item svg {
  flex-shrink: 0;
  color: rgba(240,236,228,.5);
}

.pub-profile-menu-item--danger {
  color: #e05a5a;
}

.pub-profile-menu-item--danger:hover {
  background: rgba(224,90,90,.1);
}

.pub-profile-menu-item--danger svg {
  color: #e05a5a;
}


/* ============================================================
   signin.css
   ============================================================ */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: #000;
            color: #f5f5f7;
            overflow-x: hidden;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(20px);
            z-index: 1000;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .nav-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 16px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 22px;
            font-weight: 700;
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, #fff 0%, #999 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nav-links {
            display: flex;
            gap: 32px;
            align-items: center;
        }

        .nav-links a {
            color: #f5f5f7;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: opacity 0.3s;
        }

        .nav-links a:hover {
            opacity: 0.6;
        }

        .cta-buttons {
            display: flex;
            gap: 12px;
        }

        .btn {
            padding: 8px 20px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
        }

        .btn-primary {
            background: #fff;
            color: #000;
        }

        .btn-primary:hover {
            background: #e8e8ed;
        }

        .btn-secondary {
            background: transparent;
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .btn-secondary:hover {
            border-color: rgba(255, 255, 255, 0.6);
        }

        .btn-donate {
            background: linear-gradient(135deg, #8b0000 0%, #b30000 100%);
            color: #fff;
            box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
            position: relative;
            overflow: hidden;
        }

        .btn-donate::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .btn-donate:hover::before {
            left: 100%;
        }

        .btn-donate:hover {
            box-shadow: 0 6px 20px rgba(139, 0, 0, 0.6);
            transform: translateY(-2px);
        }

        /* Background Pattern */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
            opacity: 0.5;
            z-index: 0;
        }

        /* Radial Gradient Accent */
        body::after {
            content: '';
            position: fixed;
            top: -50%;
            left: 50%;
            transform: translateX(-50%);
            width: 800px;
            height: 800px;
            background: radial-gradient(circle, rgba(139, 0, 0, 0.15) 0%, transparent 70%);
            z-index: 0;
            pointer-events: none;
        }

        /* Login Container */
        .login-wrapper {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 100px 24px 60px;
            position: relative;
            z-index: 1;
        }

        .login-container {
            width: 100%;
            max-width: 440px;
            background: rgba(26, 26, 26, 0.6);
            backdrop-filter: blur(20px);
            border-radius: 24px;
            padding: 48px 40px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            animation: fadeInUp 0.6s ease-out;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .login-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .login-header h1 {
            font-size: 32px;
            font-weight: 700;
            letter-spacing: -1px;
            margin-bottom: 8px;
            background: linear-gradient(135deg, #fff 0%, #999 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .login-header p {
            color: #999;
            font-size: 15px;
        }

        /* Form */
        .login-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .form-label {
            font-size: 13px;
            font-weight: 600;
            color: #f5f5f7;
            letter-spacing: 0.3px;
        }

        .form-input {
            width: 100%;
            padding: 14px 16px;
            background: rgba(42, 42, 42, 0.6);
            border: 1.5px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            color: #f5f5f7;
            font-size: 15px;
            transition: all 0.3s;
            outline: none;
        }

        .form-input::placeholder {
            color: #666;
        }

        .form-input:focus {
            background: rgba(42, 42, 42, 0.8);
            border-color: rgba(179, 0, 0, 0.6);
            box-shadow: 0 0 0 4px rgba(179, 0, 0, 0.1);
        }

        .form-input:hover:not(:focus) {
            border-color: rgba(255, 255, 255, 0.2);
        }

        /* Remember Me Checkbox */
        .remember-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 4px;
        }

        .checkbox-wrapper {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
        }

        .checkbox-wrapper input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: #b30000;
            border-radius: 4px;
        }

        .checkbox-label {
            font-size: 14px;
            color: #f5f5f7;
            cursor: pointer;
            user-select: none;
        }

        .forgot-links {
            display: flex;
            gap: 14px;
        }

        .forgot-link {
            color: #999;
            text-decoration: none;
            font-size: 13px;
            transition: color 0.3s;
        }

        .forgot-link:hover {
            color: #f5f5f7;
        }

        /* Submit Button */
        .btn-submit {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #b30000 0%, #8b0000 100%);
            color: #fff;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
            position: relative;
            overflow: hidden;
            margin-top: 12px;
        }

        .btn-submit::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .btn-submit:hover::before {
            left: 100%;
        }

        .btn-submit:hover {
            box-shadow: 0 6px 20px rgba(139, 0, 0, 0.6);
            transform: translateY(-2px);
        }

        .btn-submit:active {
            transform: translateY(0);
        }

        /* Divider */
        .divider {
            display: flex;
            align-items: center;
            gap: 16px;
            margin: 28px 0;
        }

        .divider::before,
        .divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: rgba(255, 255, 255, 0.1);
        }

        .divider span {
            color: #666;
            font-size: 13px;
            font-weight: 500;
        }

        /* Create Account */
        .create-account {
            text-align: center;
            padding: 20px;
            background: rgba(42, 42, 42, 0.3);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .create-account p {
            color: #999;
            font-size: 14px;
            margin-bottom: 12px;
        }

        .btn-create {
            display: inline-block;
            padding: 12px 32px;
            background: transparent;
            color: #fff;
            border: 1.5px solid rgba(255, 255, 255, 0.3);
            border-radius: 10px;
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            transition: all 0.3s;
        }

        .btn-create:hover {
            border-color: rgba(255, 255, 255, 0.6);
            background: rgba(255, 255, 255, 0.05);
        }

        /* Footer */
        .login-footer {
            margin-top: 32px;
            text-align: center;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: #666;
            text-decoration: none;
            font-size: 12px;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: #999;
        }

        /* Error Message */
        .error-message {
            display: none;
            padding: 12px 16px;
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.3);
            border-radius: 10px;
            color: #f87171;
            font-size: 14px;
            margin-bottom: 20px;
        }

        .error-message.show {
            display: block;
            animation: shake 0.4s ease-in-out;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-10px); }
            75% { transform: translateX(10px); }
        }

        /* Loading State */
        .btn-submit.loading {
            pointer-events: none;
            opacity: 0.7;
        }

        .btn-submit.loading::after {
            content: '';
            position: absolute;
            width: 16px;
            height: 16px;
            top: 50%;
            left: 50%;
            margin-left: -8px;
            margin-top: -8px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top-color: #fff;
            border-radius: 50%;
            animation: spin 0.6s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* ── Public nav avatar dropdown ── */
        .pub-avatar-wrap { position: relative; display: inline-flex; align-items: center; }
        .pub-avatar { width: 32px; height: 32px; padding: 0; border-radius: 50%; background: linear-gradient(135deg,#7a0000,#b30000); border: 2px solid rgba(179,0,0,.4); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; cursor: pointer; line-height: 1; transition: opacity .15s; }
        .pub-avatar:hover { opacity: .85; }
        .pub-profile-menu { display: none; position: absolute; top: calc(100% + 8px); right: 0; min-width: 180px; background: #1a1714; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.4); z-index: 1000; overflow: hidden; }
        .pub-profile-menu.open { display: block; }
        .pub-profile-menu-item { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 13px; color: #f0ece4; text-decoration: none; transition: background .15s; }
        .pub-profile-menu-item:hover { background: rgba(255,255,255,.07); }
        .pub-profile-menu-item svg { flex-shrink: 0; color: rgba(240,236,228,.5); }
        .pub-profile-menu-item--danger { color: #e05a5a; }
        .pub-profile-menu-item--danger:hover { background: rgba(224,90,90,.1); }
        .pub-profile-menu-item--danger svg { color: #e05a5a; }

        /* Hamburger button */
        .nav-hamburger {
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 5px;
            width: 36px;
            height: 36px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 4px;
            flex-shrink: 0;
        }
        .nav-hamburger span {
            display: block;
            width: 22px;
            height: 2px;
            background: #f5f5f7;
            border-radius: 2px;
            transition: transform 0.25s ease, opacity 0.25s ease;
            transform-origin: center;
        }
        .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .nav-hamburger.open span:nth-child(2) { opacity: 0; }
        .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

        /* Mobile menu drawer */
        .nav-mobile-menu {
            display: none;
            flex-direction: column;
            gap: 0;
            background: rgba(0,0,0,0.97);
            border-top: 1px solid rgba(255,255,255,0.08);
            padding: 16px 24px 24px;
            width: 100%;
        }
        .nav-mobile-menu.open { display: flex; }
        .nav-mobile-links {
            display: flex;
            flex-direction: column;
            gap: 0;
            margin-bottom: 16px;
        }
        .nav-mobile-links a {
            color: #f5f5f7;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            padding: 12px 0;
            border-bottom: 1px solid rgba(255,255,255,0.07);
        }
        .nav-mobile-links a:last-child { border-bottom: none; }
        .nav-mobile-cta {
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding-top: 8px;
        }
        .nav-mobile-cta .btn { text-align: center; border-radius: 10px; }

        /* Responsive */
        @media (max-width: 1024px) {
            nav {
                position: relative;
                top: auto;
            }

            .nav-links {
                display: none;
            }

            .cta-buttons {
                display: none;
            }

            .nav-hamburger {
                display: flex;
            }
        }

        @media (max-width: 768px) {
            .login-wrapper {
                padding: 40px 20px 40px;
            }

            .login-container {
                padding: 40px 28px;
            }

            .login-header h1 {
                font-size: 28px;
            }

            .remember-row {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
            }

            footer {
                padding: 40px 24px 32px;
                margin-top: 60px;
            }
        }

        @media (max-width: 480px) {
            .nav-content {
                padding: 12px 16px;
            }

            .logo {
                font-size: 18px;
            }

            .footer-links {
                flex-direction: column;
                gap: 12px;
            }

            .footer-content {
                grid-template-columns: 1fr 1fr;
                gap: 24px;
            }
        }

        /* Footer */
        footer {
            background: #0a0a0a;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 60px 24px 40px;
            margin-top: 120px;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-section h3 {
            font-size: 14px;
            margin-bottom: 16px;
            font-weight: 600;
            color: #999;
        }

        .footer-section a {
            display: block;
            color: #f5f5f7;
            text-decoration: none;
            font-size: 14px;
            margin-bottom: 12px;
            transition: opacity 0.3s;
        }

        .footer-section a:hover {
            opacity: 0.6;
        }

        .footer-bottom {
            max-width: 1400px;
            margin: 0 auto;
            padding-top: 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            color: #666;
            font-size: 12px;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes moveBackground {
            from {
                transform: translate(0, 0);
            }
            to {
                transform: translate(30px, 30px);
            }
        }



/* ============================================================
   donations.css
   ============================================================ */

    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    :root {
      --red:       #b30000;
      --red-dark:  #8b0000;
      --red-glow:  rgba(179,0,0,0.35);
      --bg:        #050505;
      --surface:   #111111;
      --surface2:  #1a1a1a;
      --border:    rgba(255,255,255,0.08);
      --text:      #f0ece4;
      --muted:     #9a9390;
      --gold:      #c9a84c;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--bg);
      color: var(--text);
      overflow-x: hidden;
    }

    /* ─── NOISE TEXTURE OVERLAY ─── */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 0;
      opacity: 0.6;
    }

    /* ─── NAV ─── */
        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(20px);
            z-index: 1000;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .nav-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 16px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 22px;
            font-weight: 700;
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, #fff 0%, #999 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nav-links {
            display: flex;
            gap: 32px;
            align-items: center;
        }

        .nav-links a {
            color: #f5f5f7;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: opacity 0.3s;
        }

        .nav-links a:hover {
            opacity: 0.6;
        }

        .cta-buttons {
            display: flex;
            gap: 12px;
        }

        .btn {
            padding: 8px 20px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
        }

        .btn-primary {
            background: #fff;
            color: #000;
        }

        .btn-primary:hover {
            background: #e8e8ed;
        }

        .btn-secondary {
            background: transparent;
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .btn-secondary:hover {
            border-color: rgba(255, 255, 255, 0.6);
        }

        .btn-donate {
            background: linear-gradient(135deg, #8b0000 0%, #b30000 100%);
            color: #fff;
            box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
            position: relative;
            overflow: hidden;
        }

        .btn-donate::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .btn-donate:hover::before {
            left: 100%;
        }

        .btn-donate:hover {
            box-shadow: 0 6px 20px rgba(139, 0, 0, 0.6);
            transform: translateY(-2px);
        }

    /* ─── HERO ─── */
    .hero {
      position: relative;
      padding: 160px 32px 100px;
      text-align: center;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute;
      top: -100px; left: 50%;
      transform: translateX(-50%);
      width: 800px; height: 600px;
      background: radial-gradient(ellipse at center, rgba(179,0,0,0.18) 0%, transparent 70%);
      pointer-events: none;
    }
    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--red);
      margin-bottom: 28px;
    }
    .hero-eyebrow::before, .hero-eyebrow::after {
      content: '';
      display: block;
      width: 32px;
      height: 1px;
      background: var(--red);
      opacity: 0.6;
    }
    .hero h1 {
      font-family: 'Playfair Display', serif;
      font-size: clamp(44px, 7vw, 84px);
      font-weight: 900;
      line-height: 1.05;
      letter-spacing: -0.02em;
      max-width: 820px;
      margin: 0 auto 28px;
      background: linear-gradient(160deg, #ffffff 40%, #c0b8b0 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero h1 em {
      font-style: italic;
      background: linear-gradient(160deg, #e8826b 0%, var(--red) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-sub {
      max-width: 580px;
      margin: 0 auto 56px;
      font-size: 18px;
      line-height: 1.7;
      color: var(--muted);
      font-weight: 300;
    }
    .hero-stat-row {
      display: flex;
      justify-content: center;
      gap: 60px;
      margin-bottom: 72px;
      flex-wrap: wrap;
    }
    .hero-stat { text-align: center; }
    .hero-stat-num {
      font-family: 'Playfair Display', serif;
      font-size: 40px;
      font-weight: 700;
      color: #fff;
      display: block;
      line-height: 1;
    }
    .hero-stat-label {
      font-size: 12px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
      margin-top: 6px;
    }
    .hero-divider {
      width: 1px;
      height: 48px;
      background: var(--border);
      align-self: center;
    }

    /* ─── SCROLL ARROW ─── */
    .scroll-hint {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      color: var(--muted);
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      animation: bounce 2s ease-in-out infinite;
    }
    .scroll-hint svg { opacity: 0.5; }
    @keyframes bounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(6px); }
    }

    /* ─── MAIN LAYOUT ─── */
    .page-body {
      max-width: 1240px;
      margin: 0 auto;
      padding: 80px 32px 120px;
      display: grid;
      grid-template-columns: 1fr 460px;
      gap: 72px;
      align-items: start;
    }

    /* ─── BENEFITS COLUMN ─── */
    .benefits-col { position: sticky; top: 96px; }

    .section-label {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--red);
      margin-bottom: 16px;
    }
    .benefits-col h2 {
      font-family: 'Playfair Display', serif;
      font-size: 38px;
      font-weight: 900;
      line-height: 1.15;
      margin-bottom: 20px;
    }
    .benefits-col > p {
      font-size: 16px;
      line-height: 1.75;
      color: var(--muted);
      margin-bottom: 48px;
    }

    .benefit-item {
      display: flex;
      gap: 20px;
      margin-bottom: 36px;
      padding-bottom: 36px;
      border-bottom: 1px solid var(--border);
    }
    .benefit-item:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

    .benefit-icon {
      flex-shrink: 0;
      width: 44px;
      height: 44px;
      border-radius: 8px;
      background: rgba(179,0,0,0.12);
      border: 1px solid rgba(179,0,0,0.25);
      display: grid;
      place-items: center;
      font-size: 20px;
      line-height: 1;
    }
    .benefit-text h3 {
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 6px;
      color: #fff;
    }
    .benefit-text p {
      font-size: 14px;
      line-height: 1.65;
      color: var(--muted);
    }

    .trust-bar {
      margin-top: 52px;
      padding: 24px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-left: 3px solid var(--red);
      border-radius: 6px;
    }
    .trust-bar p {
      font-size: 14px;
      line-height: 1.7;
      color: var(--muted);
      font-style: italic;
    }
    .trust-bar span {
      display: block;
      margin-top: 12px;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--red);
    }

    /* ─── FORM COLUMN ─── */
    .form-col {}

    .form-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
    }
    .form-card-header {
      padding: 32px 36px 28px;
      border-bottom: 1px solid var(--border);
      background: linear-gradient(135deg, var(--surface2) 0%, var(--surface) 100%);
    }
    .form-card-header h2 {
      font-family: 'Playfair Display', serif;
      font-size: 26px;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .form-card-header p {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.6;
    }

    .form-body { padding: 36px; }

    /* Amount Tiers */
    .amount-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 14px;
      display: block;
    }
    .tier-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
      margin-bottom: 10px;
    }
    .tier-btn {
      appearance: none;
      background: var(--surface2);
      border: 1.5px solid var(--border);
      border-radius: 6px;
      color: var(--text);
      font-family: 'DM Sans', sans-serif;
      font-size: 15px;
      font-weight: 600;
      padding: 14px 8px;
      cursor: pointer;
      transition: all .18s;
      text-align: center;
      position: relative;
    }
    .tier-btn:hover {
      border-color: rgba(179,0,0,0.5);
      background: rgba(179,0,0,0.08);
    }
    .tier-btn.active {
      border-color: var(--red);
      background: rgba(179,0,0,0.14);
      color: #fff;
    }
    .tier-btn .popular-tag {
      position: absolute;
      top: -10px; left: 50%;
      transform: translateX(-50%);
      background: var(--red);
      color: #fff;
      font-size: 9px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 2px 8px;
      border-radius: 20px;
      white-space: nowrap;
    }
    .custom-amount-row {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 32px;
    }
    .custom-amount-row .dollar {
      font-size: 18px;
      color: var(--muted);
      font-weight: 300;
    }
    .custom-input {
      flex: 1;
      background: var(--surface2);
      border: 1.5px solid var(--border);
      border-radius: 6px;
      padding: 12px 16px;
      color: var(--text);
      font-family: 'DM Sans', sans-serif;
      font-size: 15px;
      outline: none;
      transition: border-color .18s;
    }
    .custom-input::placeholder { color: #555; }
    .custom-input:focus { border-color: rgba(179,0,0,0.5); }

    /* Frequency Toggle */
    .freq-row {
      display: flex;
      gap: 8px;
      margin-bottom: 32px;
    }
    .freq-btn {
      flex: 1;
      appearance: none;
      padding: 10px;
      border-radius: 6px;
      border: 1.5px solid var(--border);
      background: var(--surface2);
      color: var(--muted);
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      cursor: pointer;
      transition: all .18s;
    }
    .freq-btn.active {
      border-color: var(--red);
      background: rgba(179,0,0,0.1);
      color: #fff;
    }

    /* Field Group */
    .field-group { margin-bottom: 20px; }
    .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .field-label {
      display: block;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 8px;
    }
    .field-input, .field-select {
      width: 100%;
      background: var(--surface2);
      border: 1.5px solid var(--border);
      border-radius: 6px;
      padding: 12px 16px;
      color: var(--text);
      font-family: 'DM Sans', sans-serif;
      font-size: 15px;
      outline: none;
      transition: border-color .18s;
      -webkit-appearance: none;
    }
    .field-input::placeholder { color: #555; }
    .field-input:focus, .field-select:focus { border-color: rgba(179,0,0,0.5); }
    .field-select { cursor: pointer; }

    .form-divider {
      border: none;
      border-top: 1px solid var(--border);
      margin: 28px 0;
    }

    .section-mini-label {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 18px;
    }
    .card-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }

    .card-element-mount {
      padding: 13px 16px;
      cursor: text;
      min-height: 46px;
    }
    .card-error-msg {
      color: #ff6b6b;
      font-size: 13px;
      margin-top: 6px;
      min-height: 18px;
    }

    .card-icons {
      display: flex;
      gap: 8px;
      margin-bottom: 20px;
    }
    .card-icon {
      padding: 5px 10px;
      border: 1px solid var(--border);
      border-radius: 4px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.05em;
      color: var(--muted);
    }

    /* Checkbox */
    .checkbox-row {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 16px;
    }
    .checkbox-row input[type="checkbox"] {
      width: 16px;
      height: 16px;
      margin-top: 3px;
      accent-color: var(--red);
      cursor: pointer;
      flex-shrink: 0;
    }
    .checkbox-row label {
      font-size: 13px;
      color: var(--muted);
      line-height: 1.55;
      cursor: pointer;
    }
    .checkbox-row a { color: var(--red); text-decoration: none; }
    .checkbox-row a:hover { text-decoration: underline; }

    /* Submit Button */
    .submit-btn {
      display: block;
      width: 100%;
      padding: 17px;
      background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
      border: none;
      border-radius: 6px;
      color: #fff;
      font-family: 'DM Sans', sans-serif;
      font-size: 15px;
      font-weight: 700;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      cursor: pointer;
      transition: all .2s;
      box-shadow: 0 4px 24px var(--red-glow);
      margin-top: 28px;
    }
    .submit-btn:hover {
      box-shadow: 0 8px 36px rgba(179,0,0,0.55);
      transform: translateY(-2px);
    }
    .submit-btn:active { transform: translateY(0); }

    .submit-sub {
      margin-top: 14px;
      text-align: center;
      font-size: 12px;
      color: #555;
      line-height: 1.5;
    }
    .submit-sub svg { vertical-align: middle; margin-right: 4px; }

    /* ─── MEMBER TIER CARDS (below form) ─── */
    .tiers-section {
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 32px 120px;
    }
    .tiers-header { text-align: center; margin-bottom: 56px; }
    .tiers-header h2 {
      font-family: 'Playfair Display', serif;
      font-size: 42px;
      font-weight: 900;
      margin-bottom: 14px;
    }
    .tiers-header p { font-size: 17px; color: var(--muted); max-width: 480px; margin: 0 auto; }

    .tiers-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .tier-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 36px 32px;
      position: relative;
      transition: border-color .2s, transform .2s;
    }
    .tier-card:hover {
      border-color: rgba(179,0,0,0.4);
      transform: translateY(-4px);
    }
    .tier-card.featured {
      border-color: rgba(179,0,0,0.5);
      background: linear-gradient(160deg, rgba(179,0,0,0.08) 0%, var(--surface) 60%);
    }
    .tier-card.featured::before {
      content: attr(data-badge);
      position: absolute;
      top: -12px; left: 50%;
      transform: translateX(-50%);
      background: var(--red);
      color: #fff;
      font-size: 9px;
      font-weight: 700;
      letter-spacing: 0.14em;
      padding: 4px 16px;
      border-radius: 20px;
      white-space: nowrap;
    }
    .tier-card-name {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 8px;
    }
    .tier-card-price {
      font-family: 'Playfair Display', serif;
      font-size: 42px;
      font-weight: 700;
      line-height: 1;
      margin-bottom: 4px;
    }
    .tier-card-freq {
      font-size: 13px;
      color: var(--muted);
      margin-bottom: 28px;
    }
    .tier-card hr {
      border: none;
      border-top: 1px solid var(--border);
      margin-bottom: 24px;
    }
    .tier-feature {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin-bottom: 14px;
      font-size: 14px;
      color: var(--muted);
      line-height: 1.5;
    }
    .tier-feature .check { color: var(--red); font-size: 13px; flex-shrink: 0; margin-top: 2px; }
    .tier-card-cta {
      display: block;
      width: 100%;
      padding: 13px;
      margin-top: 28px;
      border-radius: 6px;
      border: 1.5px solid var(--border);
      background: transparent;
      color: var(--text);
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      cursor: pointer;
      transition: all .18s;
      text-align: center;
      text-decoration: none;
    }
    .tier-card-cta:hover {
      border-color: var(--red);
      color: var(--red);
    }
    .tier-card.featured .tier-card-cta {
      background: var(--red);
      border-color: var(--red);
      color: #fff;
      box-shadow: 0 4px 20px var(--red-glow);
    }
    .tier-card.featured .tier-card-cta:hover {
      background: var(--red-dark);
      box-shadow: 0 6px 28px var(--red-glow);
    }

    /* ─── FOOTER ─── */
    footer {
      border-top: 1px solid var(--border);
      padding: 60px 32px 40px;
    }
    .footer-inner {
      max-width: 1240px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 48px;
      margin-bottom: 48px;
    }
    .footer-brand .logo { font-size: 16px; display: block; margin-bottom: 16px; }
    .footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.7; }
    .footer-col h4 {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 16px;
    }
    .footer-col a {
      display: block;
      color: #888;
      text-decoration: none;
      font-size: 14px;
      margin-bottom: 10px;
      transition: color .15s;
    }
    .footer-col a:hover { color: var(--text); }
    .footer-bottom {
      max-width: 1240px;
      margin: 0 auto;
      padding-top: 32px;
      border-top: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      color: #555;
    }

    /* ─── Sitemap footer (matches / page) ─── */
    .footer-content {
      max-width: 1400px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 40px;
      margin-bottom: 40px;
    }
    .footer-section h3 {
      font-size: 14px;
      margin-bottom: 16px;
      font-weight: 600;
      color: #999;
    }
    .footer-section a {
      display: block;
      color: #f5f5f7;
      text-decoration: none;
      font-size: 14px;
      margin-bottom: 12px;
      transition: opacity 0.3s;
    }
    .footer-section a:hover { opacity: 0.6; }

    /* ─── TABS ─── */
    .tab-row {
      display: flex;
      border-bottom: 1px solid var(--border);
    }
    .tab-btn {
      flex: 1;
      padding: 14px 12px;
      background: transparent;
      border: none;
      border-bottom: 2px solid transparent;
      margin-bottom: -1px;
      color: var(--muted);
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.04em;
      cursor: pointer;
      transition: color .15s, border-color .15s;
    }
    .tab-btn:hover { color: var(--text); }
    .tab-btn.active { color: var(--text); border-bottom-color: var(--red); }

    /* ─── ANIMATIONS ─── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .hero h1   { animation: fadeUp .8s ease both; }
    .hero-sub  { animation: fadeUp .8s .15s ease both; }
    .hero-stat-row { animation: fadeUp .8s .3s ease both; }
    .scroll-hint { animation: fadeUp .8s .5s ease both; }

    /* ─── Hamburger button ─── */
    .nav-hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 36px;
      height: 36px;
      padding: 6px;
      background: none;
      border: none;
      cursor: pointer;
      z-index: 1100;
      flex-shrink: 0;
    }
    .nav-hamburger span {
      display: block;
      height: 2px;
      background: #f5f5f7;
      border-radius: 2px;
      transition: transform 0.25s, opacity 0.25s;
    }
    .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-hamburger.open span:nth-child(2) { opacity: 0; }
    .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* ─── Mobile menu drawer ─── */
    .nav-mobile-menu {
      display: none;
      flex-direction: column;
      width: 100%;
      background: rgba(0,0,0,0.97);
      backdrop-filter: blur(20px);
      border-top: 1px solid rgba(255,255,255,0.08);
      padding: 24px 24px 36px;
    }
    .nav-mobile-menu.open { display: flex; }
    .nav-mobile-links {
      display: flex;
      flex-direction: column;
      gap: 4px;
      margin-bottom: 32px;
    }
    .nav-mobile-links a {
      color: #f5f5f7;
      text-decoration: none;
      font-size: 20px;
      font-weight: 600;
      padding: 12px 0;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      transition: color 0.2s;
    }
    .nav-mobile-links a:hover { color: #999; }
    .nav-mobile-cta {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-top: auto;
    }
    .nav-mobile-cta .btn {
      width: 100%;
      text-align: center;
      padding: 14px 20px;
      border-radius: 12px;
      font-size: 15px;
    }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 1024px) {
      .page-body { grid-template-columns: 1fr; gap: 60px; }
      .benefits-col { position: static; }
      .tiers-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-inner { grid-template-columns: 1fr 1fr; }
      nav { position: relative; }
      .nav-links   { display: none; }
      .cta-buttons { display: none; }
      .nav-hamburger { display: flex; }
      .hero { margin-top: 0; }
    }
    @media (max-width: 768px) {
      .hero { height: auto; padding: 60px 20px 48px; }
      .hero h1 { font-size: 36px; letter-spacing: -1px; }
      .hero-sub { font-size: 16px; }
      .tiers-section { padding: 0 20px 80px; }
      footer { padding: 40px 20px 32px; }
      .footer-inner { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 640px) {
      .hero { padding: 48px 20px 48px; }
      .hero-stat-row { gap: 32px; }
      .hero-divider { display: none; }
      .tier-grid { grid-template-columns: repeat(2, 1fr); }
      .freq-row { flex-wrap: wrap; }
      .freq-btn { flex: 1 1 auto; min-width: 90px; }
      .field-row, .card-row { grid-template-columns: 1fr; }
      .page-body { padding: 48px 20px 64px; }
      .form-body, .form-card-header { padding: 24px; }
      .tiers-grid { grid-template-columns: 1fr; }
      .footer-inner { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    }
    @media (max-width: 480px) {
      .nav-content { padding: 14px 16px; }
      .logo { font-size: 17px; }
      .tier-grid { grid-template-columns: repeat(2, 1fr); }
      .freq-btn { font-size: 12px; padding: 9px 6px; }
      .tiers-section { padding: 0 16px 60px; }
      .footer-inner { grid-template-columns: 1fr; }
    }

/* ── Public nav avatar dropdown ── */
.pub-avatar-wrap{position:relative;display:inline-flex;align-items:center;}
.pub-avatar{width:32px;height:32px;padding:0;border-radius:50%;background:linear-gradient(135deg,#7a0000,#b30000);border:2px solid rgba(179,0,0,.4);display:grid;place-items:center;font-size:12px;font-weight:700;color:#fff;cursor:pointer;line-height:1;transition:opacity .15s;}
.pub-avatar:hover{opacity:.85;}
.pub-profile-menu{display:none;position:absolute;top:calc(100% + 8px);right:0;min-width:180px;background:#1a1714;border:1px solid rgba(255,255,255,.12);border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.4);z-index:1000;overflow:hidden;}
.pub-profile-menu.open{display:block;}
.pub-profile-menu-item{display:flex;align-items:center;gap:8px;padding:10px 14px;font-size:13px;color:#f0ece4;text-decoration:none;transition:background .15s;}
.pub-profile-menu-item:hover{background:rgba(255,255,255,.07);}
.pub-profile-menu-item svg{flex-shrink:0;color:rgba(240,236,228,.5);}
.pub-profile-menu-item--danger{color:#e05a5a;}
.pub-profile-menu-item--danger:hover{background:rgba(224,90,90,.1);}
.pub-profile-menu-item--danger svg{color:#e05a5a;}


/* ============================================================
   subscribe-now.css
   ============================================================ */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: #000;
            color: #f5f5f7;
            overflow-x: hidden;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(20px);
            z-index: 1000;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .nav-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 16px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 22px;
            font-weight: 700;
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, #fff 0%, #999 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nav-links {
            display: flex;
            gap: 32px;
            align-items: center;
        }

        .nav-links a {
            color: #f5f5f7;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: opacity 0.3s;
        }

        .nav-links a:hover {
            opacity: 0.6;
        }

        .cta-buttons {
            display: flex;
            gap: 12px;
        }

        .btn {
            padding: 8px 20px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
        }

        .btn-primary {
            background: #fff;
            color: #000;
        }

        .btn-primary:hover {
            background: #e8e8ed;
        }

        .btn-secondary {
            background: transparent;
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .btn-secondary:hover {
            border-color: rgba(255, 255, 255, 0.6);
        }

        .btn-donate {
            background: linear-gradient(135deg, #8b0000 0%, #b30000 100%);
            color: #fff;
            box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
            position: relative;
            overflow: hidden;
        }

        .btn-donate::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .btn-donate:hover::before {
            left: 100%;
        }

        .btn-donate:hover {
            box-shadow: 0 6px 20px rgba(139, 0, 0, 0.6);
            transform: translateY(-2px);
        }

        /* Subscribe page */
        .subscribe-main {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 120px 24px 80px;
        }

        .subscribe-card {
            width: 100%;
            max-width: 480px;
            background: #111;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 48px 40px;
            text-align: center;
        }

        .subscribe-card h1 {
            font-size: 28px;
            font-weight: 700;
            letter-spacing: -0.5px;
            margin-bottom: 12px;
        }

        .subscribe-card > p {
            color: #999;
            font-size: 15px;
            margin-bottom: 32px;
            line-height: 1.5;
        }

        .form-row {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .form-row input[type="email"],
        .form-row input[type="tel"] {
            width: 100%;
            padding: 12px 16px;
            font-size: 14px;
            background: #1a1a1a;
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 10px;
            color: #f5f5f7;
            outline: none;
            transition: border-color 0.2s;
            font-family: inherit;
        }

        .form-row input[type="email"]::placeholder,
        .form-row input[type="tel"]::placeholder {
            color: #555;
        }

        .form-row input[type="email"]:focus,
        .form-row input[type="tel"]:focus {
            border-color: rgba(255, 255, 255, 0.4);
        }

        .form-row button {
            width: 100%;
            padding: 12px 20px;
            font-size: 14px;
            font-weight: 600;
            color: #000;
            background: #fff;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            transition: background 0.2s, transform 0.15s;
        }

        .form-row button:hover {
            background: #e8e8ed;
            transform: translateY(-1px);
        }

        .form-row button:disabled {
            background: #444;
            color: #888;
            cursor: wait;
            transform: none;
        }

        .nls-message {
            margin-top: 16px;
            font-size: 13px;
            min-height: 20px;
        }

        .nls-message--success {
            color: #4ade80;
        }

        .nls-message--error {
            color: #f87171;
        }

        /* Footer */
        footer {
            background: #0a0a0a;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 60px 24px 40px;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-section h3 {
            font-size: 14px;
            margin-bottom: 16px;
            font-weight: 600;
            color: #999;
        }

        .footer-section a {
            display: block;
            color: #f5f5f7;
            text-decoration: none;
            font-size: 14px;
            margin-bottom: 12px;
            transition: opacity 0.3s;
        }

        .footer-section a:hover {
            opacity: 0.6;
        }

        .footer-bottom {
            max-width: 1400px;
            margin: 0 auto;
            padding-top: 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            color: #666;
            font-size: 12px;
        }

        /* Hamburger */
        .nav-hamburger {
            display: none;
            flex-direction: column;
            justify-content: center;
            gap: 5px;
            width: 36px;
            height: 36px;
            padding: 6px;
            background: none;
            border: none;
            cursor: pointer;
            z-index: 1100;
            flex-shrink: 0;
        }
        .nav-hamburger span {
            display: block;
            height: 2px;
            background: #f5f5f7;
            border-radius: 2px;
            transition: transform 0.25s, opacity 0.25s;
        }
        .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .nav-hamburger.open span:nth-child(2) { opacity: 0; }
        .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

        .nav-mobile-menu {
            display: none;
            flex-direction: column;
            width: 100%;
            background: rgba(0,0,0,0.97);
            backdrop-filter: blur(20px);
            border-top: 1px solid rgba(255,255,255,0.08);
            padding: 24px 24px 36px;
        }
        .nav-mobile-menu.open { display: flex; }

        .nav-mobile-links {
            display: flex;
            flex-direction: column;
            gap: 4px;
            margin-bottom: 32px;
        }
        .nav-mobile-links a {
            color: #f5f5f7;
            text-decoration: none;
            font-size: 20px;
            font-weight: 600;
            padding: 12px 0;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            transition: color 0.2s;
        }
        .nav-mobile-links a:hover { color: #999; }

        .nav-mobile-cta {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: auto;
        }
        .nav-mobile-cta .btn {
            width: 100%;
            text-align: center;
            padding: 14px 20px;
            border-radius: 12px;
            font-size: 15px;
        }

        /* Avatar dropdown */
        .pub-avatar-wrap {
            position: relative;
            display: inline-flex;
            align-items: center;
        }

        .pub-avatar {
            width: 32px;
            height: 32px;
            padding: 0;
            border-radius: 50%;
            background: linear-gradient(135deg, #7a0000, #b30000);
            border: 2px solid rgba(179,0,0,.4);
            display: grid;
            place-items: center;
            font-size: 12px;
            font-weight: 700;
            color: #fff;
            cursor: pointer;
            line-height: 1;
            transition: opacity .15s;
        }

        .pub-avatar:hover { opacity: .85; }

        .pub-profile-menu {
            display: none;
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            min-width: 180px;
            background: #1a1714;
            border: 1px solid rgba(255,255,255,.12);
            border-radius: 8px;
            box-shadow: 0 8px 24px rgba(0,0,0,.4);
            z-index: 1000;
            overflow: hidden;
        }

        .pub-profile-menu.open { display: block; }

        .pub-profile-menu-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 14px;
            font-size: 13px;
            color: #f0ece4;
            text-decoration: none;
            transition: background .15s;
        }

        .pub-profile-menu-item:hover { background: rgba(255,255,255,.07); }

        .pub-profile-menu-item svg {
            flex-shrink: 0;
            color: rgba(240,236,228,.5);
        }

        .pub-profile-menu-item--danger { color: #e05a5a; }
        .pub-profile-menu-item--danger:hover { background: rgba(224,90,90,.1); }
        .pub-profile-menu-item--danger svg { color: #e05a5a; }

        /* Responsive */
        @media (max-width: 1024px) {
            nav { position: relative; }
            .nav-links { display: none; }
            .cta-buttons { display: none; }
            .nav-hamburger { display: flex; }
        }

        @media (max-width: 768px) {
            .subscribe-main { padding: 40px 16px 60px; }
            .subscribe-card { padding: 32px 24px; }
            .subscribe-card h1 { font-size: 22px; }

            .form-row { flex-direction: column; }
            .form-row button { width: 100%; }

            .footer-content { grid-template-columns: 1fr 1fr; gap: 28px; }
        }

        @media (max-width: 480px) {
            .nav-content { padding: 14px 16px; }
            .logo { font-size: 17px; }
            .footer-content { grid-template-columns: 1fr; }
        }


/* ============================================================
   subscribe.css
   ============================================================ */

.subscribe-page { max-width: 900px; margin: 0 auto; padding: 60px 24px 80px; }
.subscribe-hero { text-align: center; margin-bottom: 56px; }
.subscribe-hero-pill {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; padding: 4px 14px; border-radius: 20px;
  background: var(--red-soft); color: var(--red); border: 1px solid rgba(179,0,0,.25);
  margin-bottom: 20px;
}
.subscribe-hero h1 {
  font-family: var(--font-serif); font-size: clamp(32px, 5vw, 52px); font-weight: 900;
  line-height: 1.1; margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 40%, #999); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.subscribe-hero p { font-size: 16px; color: var(--text-3); max-width: 480px; margin: 0 auto; line-height: 1.6; }
.subscribe-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px;
}
.subscribe-card {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 28px 20px 24px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); text-decoration: none; color: var(--text-2);
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
  cursor: pointer;
}
.subscribe-card:hover {
  background: var(--surface2); border-color: var(--border2);
  transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.45);
}
.subscribe-card:hover .platform-icon { filter: drop-shadow(0 0 8px var(--glow-color, rgba(255,255,255,.2))); }
.platform-icon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; }
.platform-icon svg { width: 52px; height: 52px; }
.platform-name { font-size: 13px; font-weight: 600; color: var(--text-2); letter-spacing: .01em; }
.subscribe-arrow {
  font-size: 11px; color: var(--text-4); margin-top: -4px;
  display: flex; align-items: center; gap: 4px;
}
.subscribe-empty {
  text-align: center; padding: 80px 24px; color: var(--text-4);
  font-size: 15px; grid-column: 1 / -1;
}
.subscribe-empty svg { width: 40px; height: 40px; margin: 0 auto 16px; display: block; opacity: .3; }


/* ============================================================
   frame.css
   ============================================================ */

body { display: flex; flex-direction: column; }
.frame-nav-offset { height: 64px; flex-shrink: 0; }
@media (max-width: 768px) { .frame-nav-offset { display: none; } }
.frame-iframe { width: 100%; border: none; display: block; overflow: hidden; }


/* ============================================================
   blog.css
   ============================================================ */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: #000;
            color: #f5f5f7;
            overflow-x: hidden;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(20px);
            z-index: 1000;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .nav-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 16px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 22px;
            font-weight: 700;
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, #fff 0%, #999 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nav-links {
            display: flex;
            gap: 32px;
            align-items: center;
        }

        .nav-links a {
            color: #f5f5f7;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: opacity 0.3s;
        }

        .nav-links a:hover {
            opacity: 0.6;
        }

        .cta-buttons {
            display: flex;
            gap: 12px;
        }

        .btn {
            padding: 8px 20px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
        }

        .btn-primary {
            background: #fff;
            color: #000;
        }

        .btn-primary:hover {
            background: #e8e8ed;
        }

        .btn-secondary {
            background: transparent;
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .btn-secondary:hover {
            border-color: rgba(255, 255, 255, 0.6);
        }

        .btn-donate {
            background: linear-gradient(135deg, #8b0000 0%, #b30000 100%);
            color: #fff;
            box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
        }

        .btn-donate:hover {
            box-shadow: 0 6px 20px rgba(139, 0, 0, 0.6);
            transform: translateY(-2px);
        }

        /* Article Header */
        .article-header {
            margin-top: 60px;
            padding: 80px 24px 60px;
            background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .article-header-content {
            max-width: 900px;
            margin: 0 auto;
            text-align: center;
        }

        .article-category {
            display: inline-block;
            padding: 8px 20px;
            background: linear-gradient(135deg, #8b0000 0%, #b30000 100%);
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 24px;
        }

        .article-title {
            font-size: 56px;
            font-weight: 900;
            letter-spacing: -2px;
            line-height: 1.1;
            margin-bottom: 24px;
            background: linear-gradient(135deg, #fff 0%, #999 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .article-meta {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 24px;
            color: #999;
            font-size: 14px;
            font-weight: 500;
        }

        .article-date {
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Featured Image */
        .featured-image {
            max-width: 1200px;
            margin: -40px auto 80px;
            padding: 0 24px;
        }

        .featured-image-wrapper {
            width: 100%;
            aspect-ratio: 16/9;
            border-radius: 24px;
            overflow: hidden;
            background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 80px;
        }

        /* Article Content */
        .article-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 44px 80px;
            overflow-wrap: break-word;
        }

        /* Hide editor-only label bar when HTML blocks render on public pages */
        .article-content .qlhb-label { display: none; }

        .article-content h2 {
            font-size: 32px;
            font-weight: 800;
            margin: 60px 0 24px;
            letter-spacing: -1px;
            line-height: 1.3;
        }

        .article-content h3 {
            font-size: 24px;
            font-weight: 700;
            margin: 40px 0 20px;
            letter-spacing: -0.5px;
        }

        .article-content p {
            font-size: 18px;
            line-height: 1.8;
            color: #d1d1d6;
            margin-bottom: 24px;
        }

        .article-content ul,
        .article-content ol {
            margin: 24px 0 24px 40px;
        }

        .article-content li {
            font-size: 18px;
            line-height: 1.8;
            color: #d1d1d6;
            margin-bottom: 12px;
        }

        .article-content strong {
            color: #fff;
            font-weight: 600;
        }

        /* Quote Block */
        .quote-block {
            margin: 60px 0;
            padding: 40px;
            background: #1a1a1a;
            border-left: 4px solid #8b0000;
            border-radius: 12px;
        }

        .quote-block p {
            font-size: 24px;
            font-weight: 500;
            font-style: italic;
            color: #f5f5f7;
            line-height: 1.6;
            margin: 0;
        }

        /* Info Box */
        .info-box {
            margin: 40px 0;
            padding: 32px;
            background: rgba(139, 0, 0, 0.1);
            border: 2px solid rgba(139, 0, 0, 0.3);
            border-radius: 16px;
        }

        .info-box h3 {
            margin-top: 0;
            color: #ff6b6b;
        }

        /* CTA Section */
        .article-cta {
            margin: 80px 0;
            padding: 60px 40px;
            background: linear-gradient(135deg, #1a0000 0%, #0a0000 100%);
            border-radius: 24px;
            text-align: center;
            border: 2px solid rgba(139, 0, 0, 0.3);
        }

        .article-cta h3 {
            font-size: 32px;
            font-weight: 900;
            margin-bottom: 16px;
            background: linear-gradient(135deg, #fff 0%, #ff6b6b 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .article-cta p {
            font-size: 18px;
            color: #ccc;
            margin-bottom: 32px;
        }

        .cta-button {
            display: inline-block;
            padding: 16px 48px;
            background: linear-gradient(135deg, #b30000 0%, #8b0000 100%);
            color: #fff;
            text-decoration: none;
            border-radius: 30px;
            font-weight: 700;
            font-size: 18px;
            transition: all 0.3s;
            box-shadow: 0 8px 30px rgba(139, 0, 0, 0.4);
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 40px rgba(139, 0, 0, 0.6);
        }

        /* Related Articles */
        .related-articles {
            max-width: 1200px;
            margin: 80px auto;
            padding: 0 24px;
        }

        .related-header {
            text-align: center;
            margin-bottom: 48px;
        }

        .related-header h2 {
            font-size: 40px;
            font-weight: 800;
            margin-bottom: 16px;
        }

        .related-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 32px;
        }

        .related-card {
            background: #1a1a1a;
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.4s;
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            display: block;
        }

        .related-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        }

        .related-thumbnail {
            width: 100%;
            aspect-ratio: 16/9;
            background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 48px;
        }

        .related-info {
            padding: 24px;
        }

        .related-date {
            color: #999;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 12px;
        }

        .related-title {
            font-size: 18px;
            font-weight: 700;
            line-height: 1.4;
        }

        /* Footer */
        footer {
            background: #0a0a0a;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 60px 24px 40px;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-section h3 {
            font-size: 14px;
            margin-bottom: 16px;
            font-weight: 600;
            color: #999;
        }

        .footer-section a {
            display: block;
            color: #f5f5f7;
            text-decoration: none;
            font-size: 14px;
            margin-bottom: 12px;
            transition: opacity 0.3s;
        }

        .footer-section a:hover {
            opacity: 0.6;
        }

        .footer-bottom {
            max-width: 1400px;
            margin: 0 auto;
            padding-top: 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            color: #666;
            font-size: 12px;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ── Hamburger button (hidden on desktop) ── */
        .nav-hamburger {
            display: none;
            flex-direction: column;
            justify-content: center;
            gap: 5px;
            width: 36px;
            height: 36px;
            padding: 6px;
            background: none;
            border: none;
            cursor: pointer;
            z-index: 1100;
            flex-shrink: 0;
        }
        .nav-hamburger span {
            display: block;
            height: 2px;
            background: #f5f5f7;
            border-radius: 2px;
            transition: transform 0.25s, opacity 0.25s;
        }
        .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .nav-hamburger.open span:nth-child(2) { opacity: 0; }
        .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

        /* ── Mobile menu drawer ── */
        .nav-mobile-menu {
            display: none;
            flex-direction: column;
            width: 100%;
            background: rgba(0,0,0,0.97);
            backdrop-filter: blur(20px);
            border-top: 1px solid rgba(255,255,255,0.08);
            padding: 24px 24px 36px;
        }
        .nav-mobile-menu.open { display: flex; }

        .nav-mobile-links {
            display: flex;
            flex-direction: column;
            gap: 4px;
            margin-bottom: 32px;
        }
        .nav-mobile-links a {
            color: #f5f5f7;
            text-decoration: none;
            font-size: 20px;
            font-weight: 600;
            padding: 12px 0;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            transition: color 0.2s;
        }
        .nav-mobile-links a:hover { color: #999; }

        .nav-mobile-cta {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: auto;
        }
        .nav-mobile-cta .btn {
            width: 100%;
            text-align: center;
            padding: 14px 20px;
            border-radius: 12px;
            font-size: 15px;
        }

        /* ── Public nav avatar dropdown ── */
        .pub-avatar-wrap {
            position: relative;
            display: inline-flex;
            align-items: center;
        }
        .pub-avatar {
            width: 32px;
            height: 32px;
            padding: 0;
            border-radius: 50%;
            background: linear-gradient(135deg, #7a0000, #b30000);
            border: 2px solid rgba(179,0,0,.4);
            display: grid;
            place-items: center;
            font-size: 12px;
            font-weight: 700;
            color: #fff;
            cursor: pointer;
            line-height: 1;
            transition: opacity .15s;
        }
        .pub-avatar:hover { opacity: .85; }

        .pub-profile-menu {
            display: none;
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            min-width: 180px;
            background: #1a1714;
            border: 1px solid rgba(255,255,255,.12);
            border-radius: 8px;
            box-shadow: 0 8px 24px rgba(0,0,0,.4);
            z-index: 1000;
            overflow: hidden;
        }
        .pub-profile-menu.open { display: block; }

        .pub-profile-menu-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 14px;
            font-size: 13px;
            color: #f0ece4;
            text-decoration: none;
            transition: background .15s;
        }
        .pub-profile-menu-item:hover { background: rgba(255,255,255,.07); }
        .pub-profile-menu-item svg { flex-shrink: 0; color: rgba(240,236,228,.5); }
        .pub-profile-menu-item--danger { color: #e05a5a; }
        .pub-profile-menu-item--danger:hover { background: rgba(224,90,90,.1); }
        .pub-profile-menu-item--danger svg { color: #e05a5a; }

        /* ── Responsive ── */
        @media (max-width: 1024px) {
            nav { position: relative; }
            .nav-links   { display: none; }
            .cta-buttons { display: none; }
            .nav-hamburger { display: flex; }
        }

        @media (max-width: 768px) {
            .article-header { padding: 40px 20px 32px; }
            .article-title  { font-size: 28px; letter-spacing: -0.5px; }

            .featured-image { margin: -20px auto 40px; }

            .article-content {
                padding: 0 20px 60px;
            }
            .article-content h2 { font-size: 24px; }
            .article-content h3 { font-size: 19px; }
            .article-content p,
            .article-content li { font-size: 16px; }

            .quote-block { padding: 28px 24px; margin: 40px 0; }
            .quote-block p { font-size: 19px; }

            .related-grid { grid-template-columns: 1fr; gap: 16px; }

            footer { padding: 40px 20px 32px; margin-top: 60px; }
            .footer-content { grid-template-columns: 1fr 1fr; gap: 28px; }
        }

        @media (max-width: 480px) {
            .nav-content { padding: 14px 16px; }
            .logo { font-size: 17px; }

            .article-title { font-size: 24px; }
            .article-content { padding: 0 16px 48px; }

            .footer-content { grid-template-columns: 1fr; }
        }
.pub-profile-menu-item--danger svg{color:#e05a5a;}


/* ============================================================
   blog-section.css
   ============================================================ */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: #000;
            color: #f5f5f7;
            overflow-x: hidden;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(20px);
            z-index: 1000;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .nav-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 16px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 22px;
            font-weight: 700;
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, #fff 0%, #999 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nav-links {
            display: flex;
            gap: 32px;
            align-items: center;
        }

        .nav-links a {
            color: #f5f5f7;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: opacity 0.3s;
        }

        .nav-links a:hover {
            opacity: 0.6;
        }

        .nav-links a.active {
            position: relative;
        }

        .nav-links a.active::after {
            content: '';
            position: absolute;
            bottom: -22px;
            left: 0;
            right: 0;
            height: 2px;
            background: #fff;
        }

        .cta-buttons {
            display: flex;
            gap: 12px;
        }

        .btn {
            padding: 8px 20px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
        }

        .btn-primary {
            background: #fff;
            color: #000;
        }

        .btn-primary:hover {
            background: #e8e8ed;
        }

        .btn-secondary {
            background: transparent;
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .btn-secondary:hover {
            border-color: rgba(255, 255, 255, 0.6);
        }

        .btn-donate {
            background: linear-gradient(135deg, #8b0000 0%, #b30000 100%);
            color: #fff;
            box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
            position: relative;
            overflow: hidden;
        }

        .btn-donate::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .btn-donate:hover::before {
            left: 100%;
        }

        .btn-donate:hover {
            box-shadow: 0 6px 20px rgba(139, 0, 0, 0.6);
            transform: translateY(-2px);
        }

        /* Hero Section */
        .hero {
            margin-top: 60px;
            height: 500px;
            background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
            opacity: 0.5;
        }

        .hero-content {
            text-align: center;
            z-index: 1;
            max-width: 800px;
            padding: 0 24px;
            animation: fadeInUp 1s ease-out;
        }

        .hero h1 {
            font-size: 56px;
            font-weight: 800;
            letter-spacing: -2px;
            margin-bottom: 20px;
            background: linear-gradient(135deg, #fff 0%, #666 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero p {
            font-size: 20px;
            color: #999;
            margin-bottom: 32px;
            font-weight: 400;
        }

        /* Section */
        .section {
            max-width: 1400px;
            margin: 80px auto;
            padding: 0 24px;
        }

        /* Featured Post */
        .featured-post {
            margin-bottom: 80px;
            border-radius: 24px;
            overflow: hidden;
            background: #1a1a1a;
            transition: all 0.4s;
            cursor: pointer;
        }

        .featured-post:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
        }

        .featured-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            min-height: 500px;
        }

        .featured-image {
            background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
            position: relative;
            overflow: hidden;
        }

        .featured-image::after {
            content: '📹';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 80px;
            opacity: 0.3;
        }

        .featured-badge {
            position: absolute;
            top: 24px;
            left: 24px;
            background: linear-gradient(135deg, #8b0000 0%, #b30000 100%);
            padding: 8px 20px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .featured-content {
            padding: 60px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .featured-date {
            color: #999;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 16px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .featured-title {
            font-size: 40px;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 24px;
            letter-spacing: -1px;
        }

        .featured-excerpt {
            font-size: 18px;
            color: #999;
            line-height: 1.6;
            margin-bottom: 32px;
        }

        .read-more {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #fff;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            transition: gap 0.3s;
        }

        .read-more:hover {
            gap: 12px;
        }

        /* Blog Grid */
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 32px;
            margin-bottom: 80px;
        }

        .blog-card {
            background: #1a1a1a;
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.4s;
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            display: block;
        }

        .blog-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        }

        .blog-thumbnail {
            position: relative;
            width: 100%;
            aspect-ratio: 16/9;
            background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 48px;
        }

        .blog-info {
            padding: 24px;
        }

        .blog-date {
            color: #999;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 12px;
        }

        .blog-title {
            font-size: 20px;
            font-weight: 700;
            line-height: 1.4;
            margin-bottom: 12px;
        }

        .blog-excerpt {
            font-size: 14px;
            color: #999;
            line-height: 1.6;
        }

        /* Donate Section */
        .donate-section {
            margin: 80px 0;
            padding: 80px 40px;
            background: linear-gradient(135deg, #1a0000 0%, #0a0000 100%);
            border-radius: 24px;
            text-align: center;
            position: relative;
            overflow: hidden;
            border: 2px solid rgba(139, 0, 0, 0.3);
        }

        .donate-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 20% 50%, rgba(139, 0, 0, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(179, 0, 0, 0.2) 0%, transparent 50%);
            animation: pulse 4s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 0.5; }
            50% { opacity: 1; }
        }

        .donate-content {
            position: relative;
            z-index: 1;
            max-width: 700px;
            margin: 0 auto;
        }

        .donate-icon {
            font-size: 64px;
            margin-bottom: 24px;
            animation: heartbeat 1.5s ease-in-out infinite;
        }

        @keyframes heartbeat {
            0%, 100% { transform: scale(1); }
            10%, 30% { transform: scale(1.1); }
            20%, 40% { transform: scale(1); }
        }

        .donate-content h2 {
            font-size: 48px;
            font-weight: 900;
            margin-bottom: 20px;
            background: linear-gradient(135deg, #fff 0%, #ff6b6b 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .donate-content p {
            font-size: 20px;
            color: #ccc;
            margin-bottom: 40px;
            line-height: 1.6;
        }

        .donate-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
        }

        .btn-donate-large {
            padding: 16px 48px;
            font-size: 18px;
            border-radius: 30px;
            background: linear-gradient(135deg, #b30000 0%, #8b0000 100%);
            color: #fff;
            text-decoration: none;
            font-weight: 700;
            box-shadow: 0 8px 30px rgba(139, 0, 0, 0.4);
        }

        .btn-learn-more {
            padding: 16px 40px;
            font-size: 18px;
            border-radius: 30px;
            background: transparent;
            color: #fff;
            text-decoration: none;
            font-weight: 600;
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        /* Footer */
        footer {
            background: #0a0a0a;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 60px 24px 40px;
            margin-top: 120px;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-section h3 {
            font-size: 14px;
            margin-bottom: 16px;
            font-weight: 600;
            color: #999;
        }

        .footer-section a {
            display: block;
            color: #f5f5f7;
            text-decoration: none;
            font-size: 14px;
            margin-bottom: 12px;
            transition: opacity 0.3s;
        }

        .footer-section a:hover {
            opacity: 0.6;
        }

        .footer-bottom {
            max-width: 1400px;
            margin: 0 auto;
            padding-top: 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            color: #666;
            font-size: 12px;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ── Hamburger button (hidden on desktop) ── */
        .nav-hamburger {
            display: none;
            flex-direction: column;
            justify-content: center;
            gap: 5px;
            width: 36px;
            height: 36px;
            padding: 6px;
            background: none;
            border: none;
            cursor: pointer;
            z-index: 1100;
            flex-shrink: 0;
        }
        .nav-hamburger span {
            display: block;
            height: 2px;
            background: #f5f5f7;
            border-radius: 2px;
            transition: transform 0.25s, opacity 0.25s;
        }
        .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .nav-hamburger.open span:nth-child(2) { opacity: 0; }
        .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

        /* ── Mobile menu drawer ── */
        .nav-mobile-menu {
            display: none;
            flex-direction: column;
            width: 100%;
            background: rgba(0,0,0,0.97);
            backdrop-filter: blur(20px);
            border-top: 1px solid rgba(255,255,255,0.08);
            padding: 24px 24px 36px;
        }
        .nav-mobile-menu.open { display: flex; }

        .nav-mobile-links {
            display: flex;
            flex-direction: column;
            gap: 4px;
            margin-bottom: 32px;
        }
        .nav-mobile-links a {
            color: #f5f5f7;
            text-decoration: none;
            font-size: 20px;
            font-weight: 600;
            padding: 12px 0;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            transition: color 0.2s;
        }
        .nav-mobile-links a:hover { color: #999; }

        .nav-mobile-cta {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: auto;
        }
        .nav-mobile-cta .btn {
            width: 100%;
            text-align: center;
            padding: 14px 20px;
            border-radius: 12px;
            font-size: 15px;
        }

        /* ── Responsive ── */
        @media (max-width: 1024px) {
            .featured-grid   { grid-template-columns: 1fr; }
            .featured-content { padding: 40px; }
            .featured-title  { font-size: 32px; }
            nav { position: relative; }
            .nav-links   { display: none; }
            .cta-buttons { display: none; }
            .nav-hamburger { display: flex; }
            .hero { margin-top: 0; }
        }

        @media (max-width: 768px) {
            .hero { height: auto; padding: 60px 0 48px; }
            .hero h1 { font-size: 36px; letter-spacing: -1px; }
            .hero p  { font-size: 16px; }

            .section { margin: 48px auto; }

            .featured-content { padding: 32px; }
            .featured-title   { font-size: 28px; }
            .featured-excerpt { font-size: 15px; }

            .blog-grid { grid-template-columns: 1fr; gap: 20px; }

            .donate-section { padding: 48px 24px; border-radius: 16px; }
            .donate-content h2 { font-size: 28px; }
            .donate-content p  { font-size: 16px; }
            .donate-buttons { flex-direction: column; align-items: stretch; }
            .btn-donate-large, .btn-learn-more { display: block; width: 100%; text-align: center; box-sizing: border-box; }
            .btn-learn-more { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.65); }

            footer { padding: 40px 20px 32px; margin-top: 60px; }
            .footer-content { grid-template-columns: 1fr 1fr; gap: 28px; }
        }

        @media (max-width: 480px) {
            .nav-content { padding: 14px 16px; }
            .logo { font-size: 17px; }
            .footer-content { grid-template-columns: 1fr; }
        }

/* ── Public nav avatar dropdown ── */
.pub-avatar-wrap{position:relative;display:inline-flex;align-items:center;}
.pub-avatar{width:32px;height:32px;padding:0;border-radius:50%;background:linear-gradient(135deg,#7a0000,#b30000);border:2px solid rgba(179,0,0,.4);display:grid;place-items:center;font-size:12px;font-weight:700;color:#fff;cursor:pointer;line-height:1;transition:opacity .15s;}
.pub-avatar:hover{opacity:.85;}
.pub-profile-menu{display:none;position:absolute;top:calc(100% + 8px);right:0;min-width:180px;background:#1a1714;border:1px solid rgba(255,255,255,.12);border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.4);z-index:1000;overflow:hidden;}
.pub-profile-menu.open{display:block;}
.pub-profile-menu-item{display:flex;align-items:center;gap:8px;padding:10px 14px;font-size:13px;color:#f0ece4;text-decoration:none;transition:background .15s;}
.pub-profile-menu-item:hover{background:rgba(255,255,255,.07);}
.pub-profile-menu-item svg{flex-shrink:0;color:rgba(240,236,228,.5);}
.pub-profile-menu-item--danger{color:#e05a5a;}
.pub-profile-menu-item--danger:hover{background:rgba(224,90,90,.1);}
.pub-profile-menu-item--danger svg{color:#e05a5a;}


/* ============================================================
   blog-index.css
   ============================================================ */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: #000;
            color: #f5f5f7;
            overflow-x: hidden;
        }

        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(20px);
            z-index: 1000;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .section {
            padding: 80px 24px 40px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-header {
            margin-bottom: 32px;
        }

        .section-title {
            font-size: clamp(24px, 4vw, 36px);
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        .section-subtitle {
            margin-top: 8px;
            color: #999;
            font-size: 16px;
        }

        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 24px;
        }

        .blog-card {
            display: block;
            background: #111;
            border-radius: 12px;
            overflow: hidden;
            text-decoration: none;
            color: inherit;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .blog-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
        }

        .blog-thumbnail {
            width: 100%;
            aspect-ratio: 16 / 9;
            background: #222;
            background-size: cover;
            background-position: center;
        }

        .blog-info {
            padding: 16px;
        }

        .blog-date {
            display: block;
            font-size: 12px;
            color: #666;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .blog-title {
            font-size: 16px;
            font-weight: 600;
            line-height: 1.4;
            margin-bottom: 8px;
        }

        .blog-excerpt {
            font-size: 13px;
            color: #999;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .blog-pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 24px;
            padding: 40px 24px 80px;
        }

        .pagination-btn {
            display: inline-flex;
            align-items: center;
            padding: 10px 20px;
            background: #111;
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 8px;
            color: #f5f5f7;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: background 0.15s ease, border-color 0.15s ease;
        }

        .pagination-btn:hover {
            background: #1a1a1a;
            border-color: rgba(255, 255, 255, 0.3);
        }

        .pagination-info {
            font-size: 14px;
            color: #666;
        }

        footer {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }


/* ============================================================
   shows.css
   ============================================================ */

.shows-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.shows-header {
    margin-bottom: 48px;
}

.shows-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.shows-subtitle {
    font-size: 16px;
    color: #999;
}

/* ── GRID ─────────────────────────────────── */
.shows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 32px;
}

/* ── CARD ─────────────────────────────────── */
.show-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.show-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* ── POSTER (full-bleed image) ──────────────── */
.show-poster {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
}

/* ── INFO (below the poster) ────────────────── */
.show-info {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.show-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.show-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
}

.show-badge--public {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.show-badge--free {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.show-badge--member {
    background: rgba(179, 0, 0, 0.12);
    color: #ff6b6b;
    border: 1px solid rgba(179, 0, 0, 0.3);
}

.show-episode-count {
    font-size: 11px;
    color: #777;
    font-weight: 500;
}

.show-name {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #f5f5f7;
    margin-top: 2px;
}

.show-schedule {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.show-schedule::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #b30000;
    flex-shrink: 0;
}

.show-desc {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shows-empty {
    text-align: center;
    color: #555;
    padding: 80px 0;
    font-size: 16px;
}

@media (max-width: 640px) {
    .shows-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 20px;
    }
    .show-info {
        padding: 12px 14px 16px;
    }
    .show-name {
        font-size: 14px;
    }
}


/* ============================================================
   video.css
   ============================================================ */

/* ── Video page layout ──────────────────────────────────────────────────────*/
.video-page { padding-top: 60px; }
.video-player-wrap { background: #000; width: 100%; margin-top: 100px; }
.video-player-inner { max-width: 1100px; margin: 0 auto; }

/* ── Below-player info ──────────────────────────────────────────────────────*/
.video-detail { max-width: 1100px; margin: 0 auto; padding: 28px 24px 0; }
.video-detail-title { font-size: clamp(20px, 4vw, 32px); font-weight: 800; letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 10px; }
.video-detail-meta { font-size: 13px; color: #999; font-weight: 500; margin-bottom: 16px; }
.video-detail-desc { font-size: 14px; color: #bbb; line-height: 1.7; max-width: 720px; }
.video-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 40px 0 0; }


/* ============================================================
   calendar.css
   ============================================================ */

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      background: #0a0a0a;
      color: #f0f0f0;
      font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
      height: 100vh;
      display: flex;
      flex-direction: column;
      overflow: scroll;
    }

    /* ── Header ────────────────────────────────────────────────────────── */
    .cal-header {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 16px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      background: #111;
      flex-shrink: 0;
      margin-top: 100px;
    }

    .nav-group { display: flex; align-items: center; gap: 4px; }

    .calendar-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 0 12px;
      height: 32px;
      border-radius: 6px;
      font-family: inherit;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      border: 1px solid rgba(255,255,255,0.12);
      background: #1a1a1a;
      color: #ccc;
      transition: background .15s, color .15s;
      text-decoration: none;
    }
    .calendar-btn:hover { background: #252525; color: #fff; }
    .btn-icon { padding: 0; width: 32px; font-size: 16px; }
    .btn-primary { background: #b30000; color: #fff; border-color: transparent; }
    .btn-primary:hover { background: #8b0000; }
    .btn-danger { background: #7f1d1d; color: #fca5a5; border-color: transparent; }
    .btn-danger:hover { background: #991b1b; }

    .cal-title {
      font-size: 18px;
      font-weight: 700;
      letter-spacing: -0.3px;
      flex: 1;
      text-align: center;
    }

    .view-group { display: flex; border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; overflow: hidden; }
    .view-btn {
      padding: 0 12px;
      height: 32px;
      font-size: 13px;
      font-weight: 600;
      font-family: inherit;
      border: none;
      background: #1a1a1a;
      color: #888;
      cursor: pointer;
      transition: background .15s, color .15s;
      border-right: 1px solid rgba(255,255,255,0.08);
    }
    .view-btn:last-child { border-right: none; }
    .view-btn:hover { background: #252525; color: #ccc; }
    .view-btn.active { background: #252525; color: #fff; }

    /* ── Body ──────────────────────────────────────────────────────────── */
    .cal-body {
      flex: 1;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      min-height: 700px;
    }

    /* ── Month view ────────────────────────────────────────────────────── */
    .month-view {
      display: flex;
      flex-direction: column;
      flex: 1;
      overflow: hidden;
    }

    .dow-row {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      border-bottom: 1px solid rgba(255,255,255,0.06);
      flex-shrink: 0;
    }
    .dow-label {
      padding: 6px 8px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
      color: #555;
      text-align: center;
    }

    .month-grid {
      flex: 1;
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      grid-auto-rows: 1fr;
      overflow: hidden;
    }

    .month-cell {
      border-right: 1px solid rgba(255,255,255,0.06);
      border-bottom: 1px solid rgba(255,255,255,0.06);
      padding: 4px;
      overflow: hidden;
      cursor: pointer;
      transition: background .1s;
      min-height: 0;
    }
    .month-cell:hover { background: rgba(255,255,255,0.02); }
    .month-cell.other-month { opacity: .35; }
    .month-cell.today { background: rgba(59,130,246,0.05); }

    .cell-date {
      font-size: 12px;
      font-weight: 600;
      color: #666;
      width: 22px;
      height: 22px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      margin-bottom: 2px;
    }
    .cell-date.today-num {
      background: #3b82f6;
      color: #fff;
    }

    .event-chip {
      font-size: 11px;
      font-weight: 600;
      padding: 1px 5px;
      border-radius: 3px;
      margin-bottom: 1px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      cursor: pointer;
      color: #fff;
      opacity: .9;
    }
    .event-chip:hover { opacity: 1; }

    .more-chip {
      font-size: 10px;
      font-weight: 600;
      color: #666;
      padding-left: 5px;
      cursor: pointer;
    }
    .more-chip:hover { color: #aaa; }

    /* ── Week / Day view ───────────────────────────────────────────────── */
    .week-view, .day-view {
      display: flex;
      flex-direction: column;
      flex: 1;
      overflow: hidden;
    }

    .week-header {
      display: flex;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      flex-shrink: 0;
    }
    .time-gutter { width: 56px; flex-shrink: 0; }
    .week-day-labels { display: flex; flex: 1; }
    .week-day-label {
      flex: 1;
      text-align: center;
      padding: 6px 4px;
      font-size: 12px;
      font-weight: 600;
      color: #555;
      border-left: 1px solid rgba(255,255,255,0.06);
    }
    .week-day-label .day-num {
      display: inline-flex;
      width: 26px;
      height: 26px;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      font-size: 14px;
      font-weight: 700;
    }
    .week-day-label.today .day-num { background: #3b82f6; color: #fff; }
    .week-day-label.today { color: #3b82f6; }

    .week-scroll {
      flex: 1;
      overflow-y: auto;
      display: flex;
    }
    .time-axis {
      width: 56px;
      flex-shrink: 0;
      position: relative;
    }
    .time-label {
      position: absolute;
      right: 8px;
      font-size: 10px;
      color: #444;
      transform: translateY(-50%);
      white-space: nowrap;
      user-select: none;
    }
    .day-columns {
      flex: 1;
      display: flex;
      position: relative;
    }
    .day-col {
      flex: 1;
      border-left: 1px solid rgba(255,255,255,0.06);
      position: relative;
    }
    .hour-line {
      position: absolute;
      left: 0;
      right: 0;
      border-top: 1px solid rgba(255,255,255,0.04);
    }
    .half-hour-line {
      position: absolute;
      left: 0;
      right: 0;
      border-top: 1px dashed rgba(255,255,255,0.02);
    }
    .now-line {
      position: absolute;
      left: 0;
      right: 0;
      border-top: 2px solid #ef4444;
      z-index: 3;
    }
    .now-line::before {
      content: '';
      position: absolute;
      left: -4px;
      top: -4px;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #ef4444;
    }

    .timed-event {
      position: absolute;
      border-radius: 4px;
      padding: 2px 5px;
      font-size: 11px;
      font-weight: 600;
      color: #fff;
      overflow: hidden;
      cursor: pointer;
      z-index: 2;
      opacity: .9;
      min-height: 18px;
    }
    .timed-event:hover { opacity: 1; filter: brightness(1.15); }
    .timed-event .ev-title { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .timed-event .ev-time  { display: block; font-size: 10px; font-weight: 400; opacity: .8; }

    /* ── Modal ─────────────────────────────────────────────────────────── */
    .modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.7);
      z-index: 100;
      align-items: center;
      justify-content: center;
    }
    .modal-overlay.open { display: flex; }

    .modal-card {
      background: #141414;
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 12px;
      width: 480px;
      max-width: 95vw;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 24px 64px rgba(0,0,0,0.6);
    }

    .modal-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 20px 12px;
      border-bottom: 1px solid rgba(255,255,255,0.07);
    }
    .modal-head h3 { font-size: 16px; font-weight: 700; }
    .modal-close {
      background: none;
      border: none;
      color: #666;
      font-size: 20px;
      cursor: pointer;
      padding: 2px;
      line-height: 1;
    }
    .modal-close:hover { color: #ccc; }

    .modal-body { padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }

    .field { display: flex; flex-direction: column; gap: 4px; }
    .field label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #666; }
    .field input, .field textarea, .field select {
      background: #1e1e1e;
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 6px;
      color: #f0f0f0;
      font-family: inherit;
      font-size: 13px;
      padding: 8px 10px;
      width: 100%;
      transition: border-color .15s;
    }
    .field input:focus, .field textarea:focus, .field select:focus {
      outline: none;
      border-color: #3b82f6;
    }
    .field textarea { resize: vertical; min-height: 72px; }

    .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

    .color-swatches { display: flex; gap: 6px; flex-wrap: wrap; }
    .swatch {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      cursor: pointer;
      border: 2px solid transparent;
      transition: transform .1s;
    }
    .swatch:hover { transform: scale(1.15); }
    .swatch.selected { border-color: #fff; }

    .allday-row { display: flex; align-items: center; gap: 8px; }
    .allday-row input[type=checkbox] { width: 16px; height: 16px; accent-color: #3b82f6; cursor: pointer; }
    .allday-row label { font-size: 13px; font-weight: 500; color: #ccc; cursor: pointer; }

    .modal-foot {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 8px;
      padding: 12px 20px 16px;
      border-top: 1px solid rgba(255,255,255,0.07);
    }
    .modal-foot .spacer { flex: 1; }

    /* ── Detail popover ─────────────────────────────────────────────────── */
    .popover {
      display: none;
      position: fixed;
      z-index: 200;
      background: #1a1a1a;
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 10px;
      width: 300px;
      box-shadow: 0 12px 40px rgba(0,0,0,0.5);
      padding: 16px;
    }
    .popover.open { display: block; }
    .pop-header { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
    .pop-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 3px; }
    .pop-title { font-size: 15px; font-weight: 700; flex: 1; }
    .pop-close { background: none; border: none; color: #555; font-size: 18px; cursor: pointer; padding: 0; line-height: 1; }
    .pop-close:hover { color: #ccc; }
    .pop-row { font-size: 12px; color: #888; margin-bottom: 6px; display: flex; gap: 6px; align-items: flex-start; }
    .pop-row svg { flex-shrink: 0; margin-top: 1px; }
    .pop-actions { display: flex; gap: 8px; margin-top: 14px; }


/* ============================================================
   careers.css
   ============================================================ */

.ct-offset { height: 64px; }
@media (max-width: 768px) { .ct-offset { display: none; } }

.ct-page { max-width: 1160px; margin: 0 auto; padding: 48px 24px 80px; }

.ct-heading {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 8px;
  background: linear-gradient(135deg, #fff 0%, #999 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ct-subheading { font-size: 1rem; color: #999; margin: 0 0 40px; }
.ct-empty { text-align: center; color: #666; padding: 64px 0; font-size: 15px; }

.ct-list { display: flex; flex-direction: column; gap: 16px; }

.ct-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #111;
  transition: border-color .2s, box-shadow .2s;
}
.ct-card:hover {
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.ct-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ct-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f5f5f7;
  margin: 0;
  letter-spacing: -.5px;
}

.ct-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(139,0,0,0.25), rgba(179,0,0,0.25));
  color: #ff6b6b;
  border: 1px solid rgba(139,0,0,0.4);
  white-space: nowrap;
}

.ct-card-desc {
  font-size: 14px;
  color: #888;
  line-height: 1.6;
  margin: 0;
}

/* Teaser cards clip description to 4 lines; detail page shows full text */
.ct-list .ct-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ct-card-body { margin: 0; }

.ct-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.ct-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #888;
}
.ct-meta-item svg {
  opacity: .5;
  flex-shrink: 0;
}

.ct-card-cta {
  display: inline-block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #b30000;
  text-decoration: none;
  transition: color .15s;
}
.ct-card-cta:hover { color: #ff6b6b; }

@media (max-width: 700px) {
  .ct-page { padding: 32px 16px 60px; }
  .ct-heading { font-size: 1.8rem; }
  .ct-card { padding: 16px; }
  .ct-card-meta { gap: 10px; }
}


/* ============================================================
   community.css
   ============================================================ */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: #000;
            color: #f5f5f7;
            overflow-x: hidden;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(20px);
            z-index: 1000;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .nav-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 16px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 22px;
            font-weight: 700;
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, #fff 0%, #999 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nav-links {
            display: flex;
            gap: 32px;
            align-items: center;
        }

        .nav-links a {
            color: #f5f5f7;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: opacity 0.3s;
        }

        .nav-links a:hover {
            opacity: 0.6;
        }

        .nav-links a.active {
            position: relative;
        }

        .nav-links a.active::after {
            content: '';
            position: absolute;
            bottom: -22px;
            left: 0;
            right: 0;
            height: 2px;
            background: #fff;
        }

        .cta-buttons {
            display: flex;
            gap: 12px;
        }

        .btn {
            padding: 8px 20px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
        }

        .btn-primary {
            background: #fff;
            color: #000;
        }

        .btn-primary:hover {
            background: #e8e8ed;
        }

        .btn-secondary {
            background: transparent;
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .btn-secondary:hover {
            border-color: rgba(255, 255, 255, 0.6);
        }

        .btn-donate {
            background: linear-gradient(135deg, #8b0000 0%, #b30000 100%);
            color: #fff;
            box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
        }

        .btn-donate:hover {
            box-shadow: 0 6px 20px rgba(139, 0, 0, 0.6);
            transform: translateY(-2px);
        }

        /* Hero Section */
        .hero {
            margin-top: 60px;
            padding: 80px 24px 60px;
            background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .hero-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr auto;
            gap: 40px;
            align-items: center;
        }

        .hero-text h1 {
            font-size: 56px;
            font-weight: 900;
            letter-spacing: -2px;
            margin-bottom: 16px;
            background: linear-gradient(135deg, #fff 0%, #666 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-text p {
            font-size: 20px;
            color: #999;
            line-height: 1.6;
        }

        .hero-actions {
            display: flex;
            gap: 12px;
        }

        .btn-create {
            padding: 14px 32px;
            background: linear-gradient(135deg, #b30000 0%, #8b0000 100%);
            color: #fff;
            text-decoration: none;
            border-radius: 25px;
            font-weight: 700;
            font-size: 16px;
            transition: all 0.3s;
            box-shadow: 0 8px 30px rgba(139, 0, 0, 0.4);
            border: none;
            cursor: pointer;
        }

        .btn-create:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 40px rgba(139, 0, 0, 0.6);
        }

        /* Community Layout */
        .community-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 40px 24px;
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 40px;
        }

        /* Sidebar */
        .sidebar {
            position: sticky;
            top: 100px;
            height: fit-content;
        }

        .sidebar-section {
            background: #1a1a1a;
            border-radius: 16px;
            padding: 24px;
            margin-bottom: 24px;
        }

        .sidebar-section h3 {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 16px;
            color: #ccc;
        }

        .channel-list {
            list-style: none;
        }

        .channel-item {
            padding: 12px;
            margin-bottom: 4px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .channel-item:hover {
            background: rgba(255, 255, 255, 0.05);
        }

        .channel-item.active {
            background: rgba(139, 0, 0, 0.2);
            color: #ff6b6b;
        }

        .filter-buttons {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .filter-btn {
            padding: 12px;
            background: transparent;
            color: #999;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
            font-weight: 500;
        }

        .filter-btn:hover {
            background: rgba(255, 255, 255, 0.05);
            color: #fff;
        }

        .filter-btn.active {
            background: rgba(139, 0, 0, 0.2);
            color: #ff6b6b;
            border-color: rgba(139, 0, 0, 0.3);
        }

        /* Main Content */
        .main-content {
            min-height: 100vh;
        }

        .content-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 32px;
        }

        .content-header h2 {
            font-size: 32px;
            font-weight: 800;
            letter-spacing: -1px;
        }

        /* Post Card */
        .post-card {
            background: #1a1a1a;
            border-radius: 16px;
            padding: 32px;
            margin-bottom: 24px;
            transition: all 0.3s;
            border: 2px solid rgba(255, 255, 255, 0.05);
        }

        .post-card:hover {
            border-color: rgba(139, 0, 0, 0.2);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
        }

        .post-header {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            margin-bottom: 20px;
        }

        .post-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: linear-gradient(135deg, #8b0000 0%, #b30000 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 18px;
            flex-shrink: 0;
        }

        .post-info {
            flex: 1;
        }

        .post-author {
            font-weight: 700;
            font-size: 16px;
            margin-bottom: 4px;
        }

        .post-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 13px;
            color: #999;
        }

        .post-channel {
            color: #8b0000;
            font-weight: 600;
        }

        .post-content {
            font-size: 16px;
            line-height: 1.7;
            color: #d1d1d6;
            margin-bottom: 20px;
        }

        .post-content p {
            margin-bottom: 16px;
        }

        .post-link {
            display: inline-block;
            color: #8b0000;
            text-decoration: none;
            font-weight: 600;
            transition: opacity 0.3s;
        }

        .post-link:hover {
            opacity: 0.7;
        }

        .post-actions {
            display: flex;
            gap: 24px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .post-action {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #999;
            font-size: 14px;
            cursor: pointer;
            transition: color 0.3s;
        }

        .post-action:hover {
            color: #fff;
        }

        .post-action.liked {
            color: #8b0000;
        }

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin: 60px 0;
        }

        .page-btn {
            padding: 12px 20px;
            background: #1a1a1a;
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 600;
        }

        .page-btn:hover {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .page-btn.active {
            background: linear-gradient(135deg, #8b0000 0%, #b30000 100%);
            border-color: #8b0000;
        }

        /* Footer */
        footer {
            background: #0a0a0a;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 60px 24px 40px;
            margin-top: 80px;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-section h3 {
            font-size: 14px;
            margin-bottom: 16px;
            font-weight: 600;
            color: #999;
        }

        .footer-section a {
            display: block;
            color: #f5f5f7;
            text-decoration: none;
            font-size: 14px;
            margin-bottom: 12px;
            transition: opacity 0.3s;
        }

        .footer-section a:hover {
            opacity: 0.6;
        }

        .footer-bottom {
            max-width: 1400px;
            margin: 0 auto;
            padding-top: 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            color: #666;
            font-size: 12px;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Hamburger button */
        .nav-hamburger {
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 5px;
            width: 36px;
            height: 36px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 4px;
            flex-shrink: 0;
        }
        .nav-hamburger span {
            display: block;
            width: 22px;
            height: 2px;
            background: #f5f5f7;
            border-radius: 2px;
            transition: transform 0.25s ease, opacity 0.25s ease;
            transform-origin: center;
        }
        .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .nav-hamburger.open span:nth-child(2) { opacity: 0; }
        .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

        /* Mobile menu drawer */
        .nav-mobile-menu {
            display: none;
            flex-direction: column;
            gap: 0;
            background: rgba(0,0,0,0.97);
            border-top: 1px solid rgba(255,255,255,0.08);
            padding: 16px 24px 24px;
            width: 100%;
        }
        .nav-mobile-menu.open { display: flex; }
        .nav-mobile-links {
            display: flex;
            flex-direction: column;
            gap: 0;
            margin-bottom: 16px;
        }
        .nav-mobile-links a {
            color: #f5f5f7;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            padding: 12px 0;
            border-bottom: 1px solid rgba(255,255,255,0.07);
        }
        .nav-mobile-links a:last-child { border-bottom: none; }
        .nav-mobile-cta {
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding-top: 8px;
        }
        .nav-mobile-cta .btn { text-align: center; border-radius: 10px; }

        /* Responsive */
        @media (max-width: 1024px) {
            .community-container {
                grid-template-columns: 1fr;
            }

            .sidebar {
                position: relative;
                top: 0;
            }

            .hero-content {
                grid-template-columns: 1fr;
            }

            nav {
                position: relative;
                top: auto;
            }

            .nav-links {
                display: none;
            }

            .cta-buttons {
                display: none;
            }

            .nav-hamburger {
                display: flex;
            }

            .hero {
                margin-top: 0;
            }
        }

        @media (max-width: 768px) {
            .hero {
                padding: 48px 24px 40px;
            }

            .hero-text h1 {
                font-size: 40px;
                letter-spacing: -1px;
            }

            .hero-text p {
                font-size: 16px;
            }

            .post-card {
                padding: 24px;
            }

            .content-header h2 {
                font-size: 24px;
            }

            footer {
                padding: 40px 24px 32px;
                margin-top: 48px;
            }
        }

        @media (max-width: 480px) {
            .nav-content {
                padding: 12px 16px;
            }

            .logo {
                font-size: 18px;
            }

            .footer-content {
                grid-template-columns: 1fr 1fr;
                gap: 24px;
            }
        }

/* ── Public nav avatar dropdown ── */
.pub-avatar-wrap{position:relative;display:inline-flex;align-items:center;}
.pub-avatar{width:32px;height:32px;padding:0;border-radius:50%;background:linear-gradient(135deg,#7a0000,#b30000);border:2px solid rgba(179,0,0,.4);display:grid;place-items:center;font-size:12px;font-weight:700;color:#fff;cursor:pointer;line-height:1;transition:opacity .15s;}
.pub-avatar:hover{opacity:.85;}
.pub-profile-menu{display:none;position:absolute;top:calc(100% + 8px);right:0;min-width:180px;background:#1a1714;border:1px solid rgba(255,255,255,.12);border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.4);z-index:1000;overflow:hidden;}
.pub-profile-menu.open{display:block;}
.pub-profile-menu-item{display:flex;align-items:center;gap:8px;padding:10px 14px;font-size:13px;color:#f0ece4;text-decoration:none;transition:background .15s;}
.pub-profile-menu-item:hover{background:rgba(255,255,255,.07);}
.pub-profile-menu-item svg{flex-shrink:0;color:rgba(240,236,228,.5);}
.pub-profile-menu-item--danger{color:#e05a5a;}
.pub-profile-menu-item--danger:hover{background:rgba(224,90,90,.1);}
.pub-profile-menu-item--danger svg{color:#e05a5a;}


/* ============================================================
   legal.css
   ============================================================ */

.legal-page { max-width: 800px; margin: 0 auto; padding: 60px 24px 80px; }
.legal-page h1 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.legal-page .last-updated { color: #64748b; font-size: 0.875rem; margin-bottom: 40px; }
.legal-page h2 { font-size: 1.2rem; font-weight: 700; margin: 36px 0 12px; border-top: 1px solid #1e293b; padding-top: 24px; }
.legal-page p, .legal-page li { font-size: 0.9375rem; line-height: 1.75; color: #cbd5e1; margin-bottom: 12px; }
.legal-page ul { padding-left: 1.5rem; }
.legal-page li { margin-bottom: 6px; }
.legal-page a { color: #b30000; }
.legal-page .contact-box { background: #0f172a; border: 1px solid #1e293b; border-radius: 8px; padding: 20px 24px; margin-top: 16px; }
.legal-page strong { color: #f1f5f9; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.9rem; }
.legal-page th { text-align: left; padding: 10px 12px; background: #0f172a; color: #94a3b8; font-weight: 600; border: 1px solid #1e293b; }
.legal-page td { padding: 10px 12px; border: 1px solid #1e293b; color: #cbd5e1; vertical-align: top; }


/* ============================================================
   project-detail.css
   ============================================================ */

.pd-offset { height: 64px; }
@media (max-width: 768px) { .pd-offset { display: none; } }
.pd-page { max-width: 900px; margin: 0 auto; padding: 48px 24px 80px; }
.pd-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #999; text-decoration: none; margin-bottom: 28px; transition: color .15s; }
.pd-back:hover { color: #f5f5f7; }
.pd-heading { font-size: 2.4rem; font-weight: 800; letter-spacing: -1px; margin: 0 0 28px; background: linear-gradient(135deg, #fff 0%, #999 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.pd-image { border-radius: 12px; overflow: hidden; margin-bottom: 32px; background: #1a1a1a; }
.pd-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.pd-description { font-size: 16px; color: #ccc; line-height: 1.8; margin: 0 0 36px; white-space: pre-line; }
.pd-goals { display: flex; flex-direction: column; gap: 20px; }
.pd-goal-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #666; margin-bottom: 6px; }
.pd-goal-bar-wrap { height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.pd-goal-bar { height: 100%; background: linear-gradient(90deg, #8b0000, #b30000); border-radius: 3px; transition: width .4s ease; min-width: 2px; }
.pd-goal-meta { display: flex; justify-content: space-between; font-size: 12px; color: #666; margin-top: 5px; }

/* Tabs */
.pd-tabs { display: flex; gap: 0; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 32px; }
.pd-tab { background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 12px 20px; font-size: 14px; font-weight: 600; color: #666; cursor: pointer; transition: color .15s, border-color .15s; }
.pd-tab:hover { color: #ccc; }
.pd-tab--active { color: #f5f5f7; border-bottom-color: #b30000; }
.pd-panel { display: none; }
.pd-panel--active { display: block; }
.pd-empty { padding: 48px 0; text-align: center; color: #666; font-size: 15px; }
.pd-comments { display: flex; flex-direction: column; gap: 16px; }
.pd-comment { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 16px 20px; }
.pd-comment-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pd-comment-user { font-size: 13px; font-weight: 700; color: #f5f5f7; }
.pd-comment-date { font-size: 12px; color: #666; }
.pd-comment-body { font-size: 15px; color: #ccc; line-height: 1.6; margin: 0; }


/* ============================================================
   project-teasers.css
   ============================================================ */

.pt-offset { height: 64px; }
@media (max-width: 768px) { .pt-offset { display: none; } }
.pt-page { max-width: 1160px; margin: 0 auto; padding: 48px 24px 80px; }
.pt-heading { font-size: 2.4rem; font-weight: 800; letter-spacing: -1px; margin: 0 0 8px; background: linear-gradient(135deg, #fff 0%, #999 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.pt-subheading { font-size: 1rem; color: #999; margin: 0 0 20px; }
.pt-layout-toggle { display: flex; gap: 6px; margin-bottom: 36px; }
.pt-layout-btn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 14px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.15); background: transparent; color: #888; font-size: 12px; font-weight: 600; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.pt-layout-btn:hover { color: #f5f5f7; border-color: rgba(255,255,255,0.3); }
.pt-layout-btn.active { background: linear-gradient(135deg, #8b0000 0%, #b30000 100%); border-color: transparent; color: #fff; }
.pt-empty { text-align: center; color: #666; padding: 64px 0; font-size: 15px; }
.pt-goal { margin-top: 14px; }
.pt-goal-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #666; margin-bottom: 5px; }
.pt-goal-bar-wrap { height: 5px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.pt-goal-bar { height: 100%; background: linear-gradient(90deg, #8b0000, #b30000); border-radius: 3px; min-width: 2px; }
.pt-goal-meta { display: flex; justify-content: space-between; font-size: 11px; color: #666; margin-top: 4px; }
.pt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.pt-card { display: flex; flex-direction: column; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); overflow: hidden; text-decoration: none; color: inherit; background: #111; transition: box-shadow .2s, transform .2s, border-color .2s; }
.pt-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.5); transform: translateY(-2px); border-color: rgba(255,255,255,0.15); }
.pt-card-image { aspect-ratio: 16 / 9; overflow: hidden; background: #1a1a1a; flex-shrink: 0; }
.pt-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.pt-card:hover .pt-card-image img { transform: scale(1.03); }
.pt-card-image-placeholder { width: 100%; height: 100%; background: #1a1a1a; }
.pt-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.pt-card-title { font-size: 1.05rem; font-weight: 700; color: #f5f5f7; margin: 0 0 8px; }
.pt-card-desc { font-size: 13px; color: #888; line-height: 1.6; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pt-card-cta { display: inline-block; margin-top: auto; padding-top: 16px; font-size: 13px; font-weight: 700; color: #b30000; }
.pt-linear { display: flex; flex-direction: column; gap: 56px; }
.pt-row { display: flex; align-items: center; gap: 48px; text-decoration: none; color: inherit; transition: opacity .15s; }
.pt-row:hover { opacity: .9; }
.pt-row-reverse { flex-direction: row-reverse; }
.pt-row-image { flex: 0 0 48%; max-width: 48%; border-radius: 12px; overflow: hidden; background: #1a1a1a; aspect-ratio: 16 / 9; }
.pt-row-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.pt-row:hover .pt-row-image img { transform: scale(1.02); }
.pt-row-image-placeholder { width: 100%; height: 100%; background: #1a1a1a; }
.pt-row-body { flex: 1; min-width: 0; }
.pt-row-title { font-size: 1.5rem; font-weight: 800; color: #f5f5f7; margin: 0 0 12px; letter-spacing: -.5px; }
.pt-row-desc { font-size: 14px; color: #888; line-height: 1.7; margin: 0 0 4px; }
.pt-row-cta { display: inline-block; margin-top: 20px; font-size: 14px; font-weight: 700; color: #b30000; }
@media (max-width: 700px) { .pt-grid { grid-template-columns: 1fr; } .pt-row, .pt-row-reverse { flex-direction: column; } .pt-row-image { flex: none; max-width: 100%; width: 100%; } }


/* ============================================================
   user.profile.css
   ============================================================ */

/* ═══════════════════════════════════════════
   BASE THEME
═══════════════════════════════════════════ */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}

:root {
  --bg:        #000;
  --bg2:       #0a0a0a;
  --bg3:       #111;
  --surface:   #1a1a1a;
  --surface2:  #222;
  --surface3:  #2a2a2a;
  --border:    rgba(255,255,255,0.08);
  --border2:   rgba(255,255,255,0.12);
  --red:       #b30000;
  --red-dark:  #8b0000;
  --red-glow:  rgba(179,0,0,0.3);
  --red-soft:  rgba(179,0,0,0.1);
  --red-soft2: rgba(179,0,0,0.18);
  --text:      #f5f5f7;
  --text-2:    #ccc;
  --text-3:    #999;
  --text-4:    #666;
  --green:     #22c55e;
  --amber:     #f59e0b;
  --blue:      #3b82f6;
  --purple:    #a855f7;
  --font:      'DM Sans', sans-serif;
  --font-serif:'Playfair Display', Georgia, serif;
  --radius:    12px;
}

html,body{height:100%;background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;overflow-x:hidden;}

body::before{content:'';position:fixed;inset:0;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");pointer-events:none;z-index:0;opacity:.5;}

.app{display:flex;flex-direction:column;min-height:100vh;position:relative;z-index:1;}

/* NAV */
nav{
  position:sticky;top:0;z-index:100;
  background:rgba(0,0,0,0.85);
  backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
  padding:0 28px;height:60px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
}
.nav-brand{display:flex;align-items:center;gap:12px;}
.brand-icon{width:32px;height:32px;border-radius:8px;background:linear-gradient(135deg,var(--red-dark),var(--red));display:grid;place-items:center;box-shadow:0 4px 12px var(--red-glow);}
.brand-icon svg{color:#fff;width:16px;height:16px;}
.brand-name{font-family:var(--font-serif);font-size:16px;font-weight:700;background:linear-gradient(120deg,#fff 40%,#999);-webkit-background-clip:text;-webkit-text-fill-color:transparent;}
.nav-pill{font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;padding:3px 10px;border-radius:20px;background:var(--red-soft);color:var(--red);border:1px solid rgba(179,0,0,0.25);}
.nav-right{display:flex;align-items:center;gap:10px;}
.nav-icon-btn{width:34px;height:34px;border:1px solid var(--border);border-radius:8px;background:transparent;display:grid;place-items:center;cursor:pointer;color:var(--text-3);transition:all .15s;}
.nav-icon-btn:hover{background:var(--surface);color:var(--text);border-color:var(--border2);}
.nav-icon-btn svg{width:15px;height:15px;}
.nav-avatar-wrap{position:relative;}
.nav-avatar{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,var(--red-dark),var(--red));border:2px solid rgba(179,0,0,0.4);display:grid;place-items:center;font-size:12px;font-weight:700;color:#fff;cursor:pointer;}
.profile-menu{display:none;position:absolute;top:calc(100% + 8px);right:0;background:var(--bg2);border:1px solid var(--border2);border-radius:8px;min-width:180px;box-shadow:0 8px 24px rgba(0,0,0,.4);z-index:300;overflow:hidden;}
.profile-menu.open{display:block;}
.profile-menu-item{display:flex;align-items:center;gap:8px;padding:10px 14px;font-size:13px;color:var(--text);text-decoration:none;transition:background .15s;}
.profile-menu-item:hover{background:var(--surface);}
.profile-menu-item svg{flex-shrink:0;color:var(--text-3);}
.nav-user{text-align:right;}
.nav-user-name{font-size:13px;font-weight:600;line-height:1.2;}
.nav-user-role{font-size:11px;color:var(--text-3);}

/* BUTTONS */
.btn{display:inline-flex;align-items:center;gap:7px;padding:9px 18px;border-radius:8px;font-family:var(--font);font-size:13px;font-weight:600;cursor:pointer;transition:all .15s;border:none;white-space:nowrap;}
.btn svg{width:14px;height:14px;}
.btn-primary{background:linear-gradient(135deg,var(--red),var(--red-dark));color:#fff;box-shadow:0 4px 16px var(--red-glow);}
.btn-primary:hover{box-shadow:0 6px 24px var(--red-glow);transform:translateY(-1px);}
.btn-ghost{background:transparent;color:var(--text-3);border:1px solid var(--border);}
.btn-ghost:hover{background:var(--surface);color:var(--text);border-color:var(--border2);}
.btn-sm{padding:6px 13px;font-size:12px;border-radius:6px;}
.btn-icon{width:34px;height:34px;padding:0;display:grid;place-items:center;}

/* CARD */
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);}
.card-head{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--border);}
.card-title{font-size:14px;font-weight:600;color:#fff;}
.card-sub{font-size:12px;color:var(--text-4);margin-top:2px;}
.card-body{padding:22px;}

/* BADGE */
.badge{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:20px;font-size:11px;font-weight:600;white-space:nowrap;}
.badge::before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.8;}
.badge-green{background:rgba(34,197,94,0.1);color:var(--green);}
.badge-red{background:rgba(248,113,113,0.1);color:#f87171;}
.badge-amber{background:rgba(245,158,11,0.1);color:var(--amber);}
.badge-blue{background:rgba(59,130,246,0.1);color:var(--blue);}
.badge-purple{background:rgba(168,85,247,0.1);color:var(--purple);}
.badge-gray{background:var(--surface3);color:var(--text-3);}

/* FIELD */
.field-group{display:flex;flex-direction:column;gap:6px;}
.field-lbl{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-3);}
.field-inp{padding:10px 14px;border-radius:7px;border:1.5px solid var(--border);background:var(--surface);font-family:var(--font);font-size:14px;color:var(--text);outline:none;transition:border-color .15s;width:100%;}
.field-inp:focus{border-color:var(--red);}
.field-inp::placeholder{color:var(--text-4);}
.field-inp:read-only{opacity:.5;cursor:not-allowed;}
.field-sel{padding:10px 14px;border-radius:7px;border:1.5px solid var(--border);background:var(--surface);font-family:var(--font);font-size:14px;color:var(--text);outline:none;transition:border-color .15s;width:100%;cursor:pointer;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:14px;}
.field-sel:focus{border-color:var(--red);}

/* PAGE */
.panel{padding:32px 28px 60px;animation:fadeUp .25s ease both;}
@keyframes fadeUp{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:translateY(0);}}

.page-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:28px;gap:16px;flex-wrap:wrap;}
.page-title{font-family:var(--font-serif);font-size:28px;font-weight:700;background:linear-gradient(135deg,#fff 0%,#aaa 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;line-height:1.2;}
.page-sub{font-size:13px;color:var(--text-3);margin-top:5px;}
.page-actions{display:flex;gap:10px;align-items:center;flex-shrink:0;}

.breadcrumb{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text-4);margin-bottom:6px;}
.breadcrumb a{color:var(--text-4);text-decoration:none;transition:color .15s;}
.breadcrumb a:hover{color:var(--text-3);}
.breadcrumb .sep{opacity:.4;}

/* ═══════════════════════════════════════════
   PROFILE PAGE SPECIFIC
═══════════════════════════════════════════ */

/* Profile header */
.profile-header{
  display:flex;align-items:flex-start;gap:24px;
  padding:28px;
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius);
  margin-bottom:24px;
}
.prof-avatar{
  width:120px;height:120px;
  border-radius:16px;
  background:linear-gradient(135deg,var(--red-dark),var(--red));
  display:grid;place-items:center;
  font-family:var(--font-serif);
  font-size:48px;font-weight:700;
  color:#fff;
  box-shadow:0 8px 24px var(--red-glow);
  flex-shrink:0;
  position:relative;
}
.prof-avatar-edit{
  position:absolute;bottom:6px;right:6px;
  width:32px;height:32px;
  border-radius:8px;
  background:var(--bg);border:1px solid var(--border2);
  display:grid;place-items:center;
  cursor:pointer;transition:all .15s;
}
.prof-avatar-edit:hover{background:var(--surface2);border-color:var(--red);}
.prof-avatar-edit svg{width:14px;height:14px;color:var(--text-3);}
.prof-avatar-edit:hover svg{color:var(--red);}

.prof-info{flex:1;min-width:0;}
.prof-name{
  font-family:var(--font-serif);
  font-size:32px;font-weight:700;
  background:linear-gradient(135deg,#fff 0%,#aaa 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  line-height:1.2;
}
.prof-username{font-size:14px;color:var(--text-3);margin-top:4px;font-family:monospace;}
.prof-meta-row{display:flex;align-items:center;gap:12px;margin-top:16px;flex-wrap:wrap;}
.prof-meta-row .badge{margin:0;}
.prof-bio{font-size:14px;color:var(--text-2);line-height:1.7;margin-top:14px;}

.prof-stats{margin-left:auto;flex-shrink:0;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.prof-stat{text-align:center;}
.prof-stat-val{font-family:var(--font-serif);font-size:24px;font-weight:700;color:#fff;line-height:1;}
.prof-stat-lbl{font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--text-4);margin-top:4px;}

/* Two column layout */
.prof-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;}

/* Info rows */
.info-row{display:flex;align-items:flex-start;padding:14px 0;border-bottom:1px solid var(--border);}
.info-row:last-child{border-bottom:none;}
.info-lbl{
  font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--text-4);
  min-width:140px;flex-shrink:0;
  padding-top:2px;
}
.info-val{font-size:14px;color:var(--text-2);flex:1;line-height:1.6;}
.info-val.empty{color:var(--text-4);font-style:italic;}

/* Address block */
.addr-block{
  padding:14px 16px;
  background:var(--bg2);
  border:1px solid var(--border);
  border-radius:8px;
  font-size:13px;color:var(--text-2);line-height:1.7;
}
.addr-block .addr-name{font-weight:600;color:#fff;margin-bottom:4px;}

/* Roles list */
.roles-list{display:flex;flex-wrap:wrap;gap:6px;}
.role-tag{
  display:inline-flex;align-items:center;gap:5px;
  padding:4px 11px;
  background:var(--surface3);border:1px solid var(--border2);
  border-radius:20px;
  font-size:12px;font-weight:600;color:var(--text-2);
}
.role-tag-icon{width:16px;height:16px;border-radius:4px;display:grid;place-items:center;flex-shrink:0;}
.role-tag-icon svg{width:10px;height:10px;}

/* Entitlements */
.ent-list{display:flex;flex-wrap:wrap;gap:6px;}
.ent-chip{
  padding:4px 10px;
  background:var(--red-soft2);border:1px solid rgba(179,0,0,0.3);
  border-radius:20px;
  font-size:11px;font-weight:700;color:var(--red);
  text-transform:uppercase;letter-spacing:.04em;
}

/* Section header */
.section-head{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:18px;
}
.section-title{
  font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--text-3);
}

/* Edit mode */
.edit-form{display:none;}
.edit-form.active{display:block;}
.view-mode{display:block;}
.view-mode.hidden{display:none;}

.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.field-row-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;}

/* Tabs */
.prof-tabs{display:flex;gap:0;border-bottom:1px solid var(--border);margin-bottom:24px;}
.prof-tab{
  padding:12px 20px;
  border:none;background:transparent;
  font-family:var(--font);font-size:13px;font-weight:500;
  color:var(--text-3);cursor:pointer;
  border-bottom:2px solid transparent;
  transition:all .15s;
}
.prof-tab:hover{color:var(--text-2);}
.prof-tab.active{color:#fff;border-bottom-color:var(--red);font-weight:600;}

.tab-content{display:none;}
.tab-content.active{display:block;animation:fadeUp .2s ease both;}

/* Activity feed */
.activity-feed{display:flex;flex-direction:column;gap:0;}
.activity-item{
  display:flex;gap:14px;
  padding:16px 0;
  border-bottom:1px solid var(--border);
}
.activity-item:last-child{border-bottom:none;}
.activity-icon{
  width:36px;height:36px;
  border-radius:8px;
  display:grid;place-items:center;
  flex-shrink:0;
}
.activity-icon svg{width:16px;height:16px;}
.activity-icon.ai-red{background:var(--red-soft2);color:var(--red);}
.activity-icon.ai-green{background:rgba(34,197,94,0.1);color:var(--green);}
.activity-icon.ai-blue{background:rgba(59,130,246,0.1);color:var(--blue);}
.activity-icon.ai-amber{background:rgba(245,158,11,0.1);color:var(--amber);}
.activity-body{flex:1;min-width:0;}
.activity-text{font-size:13px;color:var(--text-2);line-height:1.6;}
.activity-text strong{color:#fff;font-weight:600;}
.activity-time{font-size:11px;color:var(--text-4);margin-top:3px;}

/* Empty state */
.empty-state{
  padding:60px 20px;
  text-align:center;
}
.empty-state-icon{
  width:64px;height:64px;
  margin:0 auto 16px;
  border-radius:16px;
  background:var(--surface2);border:1px solid var(--border2);
  display:grid;place-items:center;
  color:var(--text-4);
}
.empty-state-icon svg{width:28px;height:28px;}
.empty-state-title{font-size:15px;font-weight:600;color:var(--text-2);margin-bottom:6px;}
.empty-state-text{font-size:13px;color:var(--text-4);line-height:1.6;}

/* Timeline */
.timeline{position:relative;padding-left:32px;}
.timeline::before{
  content:'';
  position:absolute;left:6px;top:8px;bottom:8px;
  width:2px;background:var(--border2);
}
.timeline-item{position:relative;margin-bottom:24px;}
.timeline-item:last-child{margin-bottom:0;}
.timeline-dot{
  position:absolute;left:-32px;top:4px;
  width:14px;height:14px;
  border-radius:50%;
  background:var(--red);
  border:3px solid var(--bg);
  z-index:1;
}
.timeline-time{font-size:11px;color:var(--text-4);margin-bottom:4px;}
.timeline-content{font-size:13px;color:var(--text-2);line-height:1.6;}

/* Session info */
.session-card{
  padding:14px 16px;
  background:var(--bg2);border:1px solid var(--border);
  border-radius:8px;
  display:flex;align-items:center;gap:12px;
}
.session-icon{
  width:40px;height:40px;
  border-radius:10px;
  background:var(--surface2);
  display:grid;place-items:center;
  color:var(--text-3);
  flex-shrink:0;
}
.session-icon svg{width:18px;height:18px;}
.session-info{flex:1;min-width:0;}
.session-device{font-size:13px;font-weight:600;color:#fff;}
.session-loc{font-size:11px;color:var(--text-4);margin-top:2px;}
.session-badge{margin-left:auto;flex-shrink:0;}

/* RESPONSIVE */
@media(max-width:1100px){
  .prof-grid{grid-template-columns:1fr;}
  .prof-stats{grid-template-columns:repeat(3,1fr);margin-left:0;margin-top:20px;width:100%;}
}
@media(max-width:800px){
  .profile-header{flex-direction:column;align-items:center;text-align:center;}
  .prof-stats{width:100%;}
  .prof-meta-row{justify-content:center;}
  .field-row,.field-row-3{grid-template-columns:1fr;}
}
@media(max-width:600px){
  .panel{padding:20px 16px 60px;}
  .nav-user{display:none;}
  .prof-tabs{overflow-x:auto;}
}


/* ============================================================
   user.profile.edit.css
   ============================================================ */

/* ═══════════════════════════════════════════
   BASE THEME
═══════════════════════════════════════════ */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}

:root {
  --bg:        #000;
  --bg2:       #0a0a0a;
  --bg3:       #111;
  --surface:   #1a1a1a;
  --surface2:  #222;
  --surface3:  #2a2a2a;
  --border:    rgba(255,255,255,0.08);
  --border2:   rgba(255,255,255,0.12);
  --red:       #b30000;
  --red-dark:  #8b0000;
  --red-glow:  rgba(179,0,0,0.3);
  --red-soft:  rgba(179,0,0,0.1);
  --red-soft2: rgba(179,0,0,0.18);
  --text:      #f5f5f7;
  --text-2:    #ccc;
  --text-3:    #999;
  --text-4:    #666;
  --green:     #22c55e;
  --amber:     #f59e0b;
  --blue:      #3b82f6;
  --purple:    #a855f7;
  --font:      'DM Sans', sans-serif;
  --font-serif:'Playfair Display', Georgia, serif;
  --radius:    12px;
}

html,body{height:100%;background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;overflow-x:hidden;}

body::before{content:'';position:fixed;inset:0;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");pointer-events:none;z-index:0;opacity:.5;}

.app{display:flex;flex-direction:column;min-height:100vh;position:relative;z-index:1;}

/* NAV */
nav{
  position:sticky;top:0;z-index:100;
  background:rgba(0,0,0,0.85);
  backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
  padding:0 28px;height:60px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
}
.nav-brand{display:flex;align-items:center;gap:12px;}
.brand-icon{width:32px;height:32px;border-radius:8px;background:linear-gradient(135deg,var(--red-dark),var(--red));display:grid;place-items:center;box-shadow:0 4px 12px var(--red-glow);}
.brand-icon svg{color:#fff;width:16px;height:16px;}
.brand-name{font-family:var(--font-serif);font-size:16px;font-weight:700;background:linear-gradient(120deg,#fff 40%,#999);-webkit-background-clip:text;-webkit-text-fill-color:transparent;}
.nav-pill{font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;padding:3px 10px;border-radius:20px;background:var(--red-soft);color:var(--red);border:1px solid rgba(179,0,0,0.25);}
.nav-right{display:flex;align-items:center;gap:10px;}
.nav-icon-btn{width:34px;height:34px;border:1px solid var(--border);border-radius:8px;background:transparent;display:grid;place-items:center;cursor:pointer;color:var(--text-3);transition:all .15s;}
.nav-icon-btn:hover{background:var(--surface);color:var(--text);border-color:var(--border2);}
.nav-icon-btn svg{width:15px;height:15px;}
.nav-avatar{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,var(--red-dark),var(--red));border:2px solid rgba(179,0,0,0.4);display:grid;place-items:center;font-size:12px;font-weight:700;color:#fff;cursor:pointer;}
.nav-user{text-align:right;}
.nav-user-name{font-size:13px;font-weight:600;line-height:1.2;}
.nav-user-role{font-size:11px;color:var(--text-3);}

/* BUTTONS */
.btn{display:inline-flex;align-items:center;gap:7px;padding:9px 18px;border-radius:8px;font-family:var(--font);font-size:13px;font-weight:600;cursor:pointer;transition:all .15s;border:none;white-space:nowrap;}
.btn svg{width:14px;height:14px;}
.btn-primary{background:linear-gradient(135deg,var(--red),var(--red-dark));color:#fff;box-shadow:0 4px 16px var(--red-glow);}
.btn-primary:hover{box-shadow:0 6px 24px var(--red-glow);transform:translateY(-1px);}
.btn-ghost{background:transparent;color:var(--text-3);border:1px solid var(--border);}
.btn-ghost:hover{background:var(--surface);color:var(--text);border-color:var(--border2);}
.btn-sm{padding:6px 13px;font-size:12px;border-radius:6px;}
.btn-danger{background:rgba(220,38,38,0.12);color:#f87171;border:1px solid rgba(220,38,38,0.2);}
.btn-danger:hover{background:rgba(220,38,38,0.2);}

/* CARD */
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);}
.card-head{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--border);}
.card-title{font-size:14px;font-weight:600;color:#fff;}
.card-sub{font-size:12px;color:var(--text-4);margin-top:2px;}
.card-body{padding:22px;}

/* BADGE */
.badge{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:20px;font-size:11px;font-weight:600;white-space:nowrap;}
.badge::before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.8;}
.badge-green{background:rgba(34,197,94,0.1);color:var(--green);}
.badge-red{background:rgba(248,113,113,0.1);color:#f87171;}
.badge-amber{background:rgba(245,158,11,0.1);color:var(--amber);}
.badge-blue{background:rgba(59,130,246,0.1);color:var(--blue);}
.badge-purple{background:rgba(168,85,247,0.1);color:var(--purple);}
.badge-gray{background:var(--surface3);color:var(--text-3);}

/* FIELD */
.field-group{display:flex;flex-direction:column;gap:6px;margin-bottom:16px;}
.field-lbl{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-3);display:flex;align-items:center;gap:6px;}
.field-lbl .req{color:var(--red);font-size:14px;}
.field-lbl .hint{font-weight:400;text-transform:none;letter-spacing:0;color:var(--text-4);margin-left:auto;font-size:10px;}
.field-inp{padding:10px 14px;border-radius:7px;border:1.5px solid var(--border);background:var(--surface);font-family:var(--font);font-size:14px;color:var(--text);outline:none;transition:border-color .15s;width:100%;}
.field-inp:focus{border-color:var(--red);}
.field-inp::placeholder{color:var(--text-4);}
.field-inp:disabled{opacity:.5;cursor:not-allowed;}
.field-sel{padding:10px 14px;border-radius:7px;border:1.5px solid var(--border);background:var(--surface);font-family:var(--font);font-size:14px;color:var(--text);outline:none;transition:border-color .15s;width:100%;cursor:pointer;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:14px;}
.field-sel:focus{border-color:var(--red);}
.field-sel option{background:var(--surface2);}
.field-note{font-size:11px;color:var(--text-4);line-height:1.5;margin-top:2px;}
.field-icon-wrap{position:relative;}
.field-icon-wrap .fi{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--text-4);pointer-events:none;width:14px;height:14px;}
.field-icon-wrap .field-inp{padding-left:34px;}

/* PAGE */
.panel{padding:32px 28px 80px;animation:fadeUp .25s ease both;}
@keyframes fadeUp{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:translateY(0);}}

.page-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:28px;gap:16px;flex-wrap:wrap;}
.page-title{font-family:var(--font-serif);font-size:28px;font-weight:700;background:linear-gradient(135deg,#fff 0%,#aaa 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;line-height:1.2;}
.page-sub{font-size:13px;color:var(--text-3);margin-top:5px;}
.page-actions{display:flex;gap:10px;align-items:center;flex-shrink:0;}

.breadcrumb{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text-4);margin-bottom:6px;}
.breadcrumb a{color:var(--text-4);text-decoration:none;transition:color .15s;}
.breadcrumb a:hover{color:var(--text-3);}
.breadcrumb .sep{opacity:.4;}

/* ═══════════════════════════════════════════
   EDIT PROFILE SPECIFIC
═══════════════════════════════════════════ */

/* Avatar upload */
.avatar-upload-wrap{display:flex;align-items:flex-start;gap:20px;margin-bottom:28px;}
.avatar-current{
  width:100px;height:100px;
  border-radius:16px;
  background:linear-gradient(135deg,var(--red-dark),var(--red));
  display:grid;place-items:center;
  font-family:var(--font-serif);
  font-size:40px;font-weight:700;
  color:#fff;
  box-shadow:0 8px 24px var(--red-glow);
  flex-shrink:0;
}
.avatar-actions{display:flex;flex-direction:column;gap:8px;flex:1;}
.avatar-info{font-size:12px;color:var(--text-4);line-height:1.6;margin-bottom:4px;}
.avatar-btns{display:flex;gap:8px;}
.avatar-upload-input{display:none;}

/* Form layout */
.form-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start;}

/* Section divider */
.section-sep{border:none;border-top:1px solid var(--border);margin:28px 0;}
.section-label{
  font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--text-4);margin-bottom:16px;
  display:flex;align-items:center;gap:10px;
}
.section-label::after{content:'';flex:1;height:1px;background:var(--border);}

/* Grid helpers */
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.field-row-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;}
.field-row-4{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:16px;}

/* Roles multi-select */
.roles-select{
  display:flex;flex-direction:column;gap:8px;
  padding:14px;
  background:var(--bg2);border:1px solid var(--border);
  border-radius:8px;
}
.role-checkbox{display:flex;align-items:center;gap:10px;cursor:pointer;}
.role-checkbox input[type="checkbox"]{
  width:18px;height:18px;
  accent-color:var(--red);
  cursor:pointer;
  flex-shrink:0;
}
.role-checkbox-label{font-size:13px;color:var(--text-2);flex:1;}
.role-checkbox-icon{
  width:20px;height:20px;
  border-radius:6px;
  display:grid;place-items:center;
  flex-shrink:0;
}
.role-checkbox-icon svg{width:12px;height:12px;}

/* Entitlements multi-select */
.entitle-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;}
.entitle-opt input[type="checkbox"]{display:none;}
.entitle-card{
  display:flex;flex-direction:column;align-items:center;gap:6px;
  padding:12px 8px;
  border:1.5px solid var(--border);border-radius:8px;
  background:var(--surface2);
  cursor:pointer;transition:all .15s;text-align:center;
}
.entitle-card:hover{border-color:var(--border2);background:var(--surface3);}
.entitle-opt input:checked ~ .entitle-card{
  border-color:var(--red);
  background:var(--red-soft2);
}
.entitle-ico{
  width:28px;height:28px;border-radius:6px;
  background:var(--surface3);
  display:grid;place-items:center;transition:all .15s;
}
.entitle-ico svg{width:13px;height:13px;color:var(--text-3);}
.entitle-opt input:checked ~ .entitle-card .entitle-ico{background:var(--red-soft);color:var(--red);}
.entitle-name{font-size:11px;font-weight:700;color:var(--text);letter-spacing:.02em;}

/* Password strength */
.pwd-strength{height:3px;background:var(--surface3);border-radius:2px;overflow:hidden;margin-top:6px;}
.pwd-strength-fill{height:100%;background:var(--red);border-radius:2px;width:0%;transition:width .3s,background .3s;}
.pwd-strength-fill.weak{background:#ef4444;width:33%;}
.pwd-strength-fill.medium{background:var(--amber);width:66%;}
.pwd-strength-fill.strong{background:var(--green);width:100%;}
.pwd-hint{font-size:11px;color:var(--text-4);margin-top:4px;}

/* Sticky footer */
.form-footer{
  position:sticky;bottom:0;z-index:100;
  background:rgba(0,0,0,0.9);
  backdrop-filter:blur(16px);
  border-top:1px solid var(--border);
  padding:14px 28px;
  display:flex;align-items:center;gap:10px;
  justify-content:space-between;
}
.footer-left{display:flex;align-items:center;gap:12px;}
.unsaved-indicator{
  display:none;
  align-items:center;gap:8px;
  font-size:12px;color:var(--text-4);
}
.unsaved-indicator.visible{display:flex;}
.unsaved-dot{
  width:8px;height:8px;
  border-radius:50%;
  background:var(--amber);
  animation:pulse 2s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{opacity:1;}
  50%{opacity:.4;}
}
.footer-right{display:flex;gap:10px;}

/* Toggle */
.toggle-field{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;}
.toggle-label{font-size:13px;color:var(--text-2);}
.toggle{
  width:40px;height:22px;
  border-radius:11px;
  background:var(--surface3);
  border:none;cursor:pointer;
  position:relative;
  transition:background .2s;
  flex-shrink:0;
}
.toggle.on{background:var(--red);}
.toggle::after{
  content:'';
  position:absolute;top:3px;
  width:16px;height:16px;
  border-radius:50%;
  background:#fff;
  transition:left .2s;
  box-shadow:0 1px 3px rgba(0,0,0,0.3);
}
.toggle.off::after{left:3px;}
.toggle.on::after{left:21px;}

/* RESPONSIVE */
@media(max-width:960px){
  .form-layout{grid-template-columns:1fr;}
  .field-row,.field-row-3,.field-row-4{grid-template-columns:1fr 1fr;}
  .entitle-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:600px){
  .panel{padding:20px 16px 80px;}
  .nav-user{display:none;}
  .field-row,.field-row-3,.field-row-4{grid-template-columns:1fr;}
  .entitle-grid{grid-template-columns:1fr;}
  .form-footer{padding:12px 16px;flex-direction:column;align-items:stretch;}
  .footer-left,.footer-right{width:100%;justify-content:space-between;}
}


/* ============================================================
   error.css
   ============================================================ */

        .error-page {
            min-height: calc(100vh - 80px);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 60px 24px;
        }
        .error-card {
            text-align: center;
            max-width: 480px;
            width: 100%;
        }
        .error-icon {
            color: var(--accent, #b30000);
            margin-bottom: 20px;
        }
        .error-title {
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 12px;
        }
        .error-message {
            font-size: 0.95rem;
            color: var(--text-3, #888);
            margin-bottom: 28px;
            line-height: 1.6;
        }
        .error-id-wrap {
            margin-bottom: 36px;
        }
        .error-id-label {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-3, #888);
            margin-bottom: 6px;
        }
        .error-id {
            display: inline-block;
            font-family: monospace;
            font-size: 0.85rem;
            padding: 7px 16px;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 6px;
            color: var(--text-2, #ccc);
            letter-spacing: 0.03em;
        }
        .error-back {
            display: inline-block;
            padding: 10px 28px;
            background: var(--accent, #b30000);
            color: #fff;
            border-radius: 6px;
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 600;
            transition: opacity .15s;
        }
        .error-back:hover { opacity: 0.85; }

/* ── Native scrollbars ───────────────────────────────────────────────────
 *
 * Without color-scheme the browser paints native scrollbars from its LIGHT
 * palette, so every scroll region — the page itself included — rendered a
 * pale track and a grey thumb against this dark UI.
 *
 * These rules existed only in admin-dashboard.css and in a hand-pasted
 * <style> block in about a dozen individual admin views. No public
 * stylesheet had them at all, and neither did theme.css, which is what
 * /login, /login/mfa, /privacy, /terms, /error, /signup and the profile
 * pages load. Putting the block in the two BASE stylesheets covers every
 * page in one place instead of per view.
 *
 * color-scheme:dark fixes the widget colours; the ::-webkit- rules make the
 * track fully transparent and the thumb a translucent overlay so the bar
 * reads as part of the dark surface; scrollbar-color covers Firefox, which
 * ignores the ::-webkit- rules. Kept byte-identical to
 * static/css/scrollbars.css, which is the canonical copy for views that
 * link neither base stylesheet.
 */
html{color-scheme:dark;}
*{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,0.18) transparent;}
::-webkit-scrollbar{width:10px;height:10px;background:transparent;}
::-webkit-scrollbar-track{background:transparent;}
::-webkit-scrollbar-thumb{background:rgba(255,255,255,0.16);border-radius:6px;border:2px solid transparent;background-clip:content-box;}
::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,0.30);border:2px solid transparent;background-clip:content-box;}
::-webkit-scrollbar-corner{background:transparent;}
