/* =============================================================
   CyberRebellion — Underground Dark / Acid Green Edition
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ---- Design Tokens ---- */
:root {
    --cr-bg:           #080908;
    --cr-bg-2:         #0d0f0d;
    --cr-bg-card:      #111411;
    --cr-text:         #dde8dc;
    --cr-text-2:       #8a9e88;
    --cr-text-muted:   #445242;
    --cr-accent:       #d9f74b;
    --cr-accent-hover: #e8ff70;
    --cr-accent-sub:   rgba(217, 247, 75, 0.08);
    --cr-accent-bdr:   rgba(217, 247, 75, 0.25);
    --cr-border:       #1a221a;
    --cr-header-bg:    rgba(6, 8, 6, 0.97);
    --cr-radius:       4px;
    --cr-noise:        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");

    /* Override Source variables */
    --color-primary-text:    #dde8dc;
    --color-secondary-text:  #8a9e88;
    --color-darker-gray:     #dde8dc;
    --color-dark-gray:       #8a9e88;
    --color-light-gray:      #1a221a;
    --color-lighter-gray:    rgba(255,255,255,0.03);
    --color-mid-gray:        #445242;
    --color-border:          #1a221a;
    --color-dark-border:     #253525;
    --font-sans:             'Space Grotesk', 'Poppins', -apple-system, sans-serif;
}

/* ---- Global ---- */
html, body {
    background-color: var(--cr-bg);
    color: var(--cr-text);
    font-family: 'Space Grotesk', 'Poppins', -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-image:
        radial-gradient(circle at 1px 1px, rgba(217,247,75,0.07) 1px, transparent 0),
        radial-gradient(ellipse 55% 45% at 88% 0%, rgba(217,247,75,0.10) 0%, transparent 60%),
        radial-gradient(ellipse 45% 35% at 8% 92%, rgba(217,247,75,0.05) 0%, transparent 55%);
    background-size: 20px 20px, 100% 100%, 100% 100%;
    background-attachment: fixed;
}

/* Grain + scanlines overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        var(--cr-noise),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0,0,0,0.03) 2px,
            rgba(0,0,0,0.03) 4px
        );
    background-size: 200px 200px, 100% 4px;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.7;
    mix-blend-mode: overlay;
}

.gh-viewport {
    background-color: transparent;
}

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

a:hover {
    color: var(--cr-accent);
    opacity: 1;
}

::selection {
    background: rgba(217,247,75,0.20);
    color: var(--cr-text);
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--cr-bg); }
::-webkit-scrollbar-thumb { background: #1a2a1a; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--cr-accent); }

/* ---- Navigation ---- */
.gh-navigation {
    background: var(--cr-header-bg) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 2px solid var(--cr-accent) !important;
    border-bottom: 1px solid rgba(217,247,75,0.12) !important;
    box-shadow:
        0 0 40px rgba(217,247,75,0.08),
        0 8px 32px rgba(0,0,0,0.7);
}

.gh-navigation-logo,
.gh-navigation-logo:hover {
    color: var(--cr-text) !important;
    opacity: 1;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gh-navigation-logo img {
    max-height: 44px;
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: #080908;
    border-radius: 50%;
    padding: 5px;
    box-sizing: border-box;
    border: 1px solid rgba(217,247,75,0.20);
    box-shadow: 0 0 10px rgba(217,247,75,0.12);
}

.gh-navigation-actions {
    background: #080908 !important;
}

.gh-navigation-menu a {
    color: var(--cr-text-2) !important;
    font-weight: 600;
    font-size: 1.25rem;
    padding: 6px 12px;
    border-radius: 3px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.15s ease, background 0.15s ease;
}

.gh-navigation-menu a:hover {
    color: var(--cr-accent) !important;
    background: rgba(217,247,75,0.06);
    opacity: 1;
}

.gh-navigation-members {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gh-navigation-members a:not(.gh-button):not(.gh-google-signin) {
    color: var(--cr-text-2) !important;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---- Buttons ---- */
.gh-button,
a.gh-button,
button.gh-button,
.gh-button.gh-portal-close,
a.gh-button.gh-portal-close {
    background: var(--cr-accent) !important;
    color: #080908 !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.3rem !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    border-radius: var(--cr-radius) !important;
    border: none !important;
    padding: 8px 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    transition: background 0.15s ease, box-shadow 0.15s ease !important;
    box-shadow: none !important;
}

.gh-button:hover,
a.gh-button:hover,
.gh-button.gh-portal-close:hover,
a.gh-button.gh-portal-close:hover {
    background: var(--cr-accent-hover) !important;
    color: #080908 !important;
    opacity: 1 !important;
    box-shadow: 0 0 20px rgba(217,247,75,0.35) !important;
    transform: none !important;
    text-decoration: none !important;
}

.gh-icon-button {
    color: var(--cr-text-2) !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.gh-icon-button:hover svg {
    opacity: 1 !important;
    color: var(--cr-accent) !important;
}

/* Google signin — dark theme version */
.gh-google-signin {
    background: #1a1f1a !important;
    color: var(--cr-text) !important;
    border: 1px solid rgba(217,247,75,0.25) !important;
    border-radius: var(--cr-radius) !important;
    padding: 8px 16px !important;
    font-size: 1.50rem !important;
    font-weight: 600 !important;
    font-family: 'Space Grotesk', sans-serif !important;
    letter-spacing: 0.04em !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    transition: border-color 0.15s ease, background 0.15s ease !important;
    white-space: nowrap !important;
}

.gh-google-signin:hover {
    border-color: var(--cr-accent) !important;
    background: rgba(217,247,75,0.06) !important;
    color: var(--cr-text) !important;
    text-decoration: none !important;
    opacity: 1 !important;
}

/* ---- Site Header ---- */
.gh-header {
    background: transparent !important;
    border-bottom: 1px solid var(--cr-border);
}

.gh-header.is-classic {
    padding: 64px 0 48px !important;
}

.gh-header-title {
    color: var(--cr-text) !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.gh-header-description {
    color: var(--cr-text-2) !important;
    font-size: 1.6rem !important;
}

/* ---- Card wrapper padding ---- */
.gh-card-wrapper {
    padding: 16px 20px 14px !important;
}

.gh-header.is-highlight .gh-header-left .gh-card .gh-card-wrapper {
    padding: 24px 28px 20px !important;
}

.gh-header.is-highlight .gh-header-middle .gh-card .gh-card-wrapper,
.gh-header.is-highlight .gh-header-right .gh-card .gh-card-wrapper {
    padding: 14px 18px 12px !important;
}

/* ---- Post Cards ---- */
.gh-card {
    background: var(--cr-bg-card) !important;
    border: 1px solid var(--cr-border) !important;
    border-radius: var(--cr-radius) !important;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    overflow: hidden;
}

.gh-card:hover {
    border-color: var(--cr-accent-bdr) !important;
    transform: none;
    box-shadow: 0 0 0 1px var(--cr-accent-bdr), inset 0 0 40px rgba(217,247,75,0.03) !important;
}

.gh-card-link {
    color: var(--cr-text) !important;
}

.gh-card-link:hover {
    color: var(--cr-text) !important;
    opacity: 1 !important;
}

.gh-card-tag {
    color: var(--cr-accent) !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    background: transparent;
    border: 1px solid var(--cr-accent-bdr);
    padding: 2px 9px;
    border-radius: 2px;
    display: inline-block !important;
}

.gh-card-title {
    color: var(--cr-text) !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
}

.gh-card-excerpt {
    color: var(--cr-text-2) !important;
    font-size: 1.5rem !important;
    line-height: 1.65 !important;
}

.gh-card-meta,
.gh-card-author,
.gh-card-date {
    color: var(--cr-text-muted) !important;
    font-size: 1.2rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
}

.gh-card-image {
    overflow: hidden;
    border-bottom: 1px solid var(--cr-border);
    filter: brightness(0.85) contrast(1.05);
}

.gh-card-image img {
    transition: transform 0.5s ease, filter 0.3s ease;
    filter: grayscale(20%);
}

.gh-card:hover .gh-card-image img {
    transform: scale(1.04);
    filter: grayscale(0%);
}

/* ---- Featured Posts ---- */
.gh-featured {
    background: transparent;
}

.gh-featured-title {
    color: var(--cr-accent) !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em;
    text-transform: uppercase !important;
    border-bottom: 1px solid var(--cr-border) !important;
    font-size: 1.1rem !important;
}

/* ---- Container title ---- */
.gh-container-title {
    color: var(--cr-accent) !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em;
    text-transform: uppercase !important;
    border-bottom: 1px solid var(--cr-border) !important;
    font-size: 1.1rem !important;
}

/* ---- Sidebar ---- */
.gh-sidebar {
    border-left: 1px solid var(--cr-border) !important;
}

.gh-sidebar-title {
    color: var(--cr-accent) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-size: 1.1rem !important;
    border-bottom: 1px solid var(--cr-border) !important;
    padding-bottom: 8px;
}

.gh-about-title {
    color: var(--cr-text) !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
}

.gh-about-description {
    color: var(--cr-text-2) !important;
}

/* ---- Post/Article Page ---- */
.gh-article {
    background: transparent !important;
}

.gh-article-title {
    color: var(--cr-text) !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.gh-article-excerpt {
    color: var(--cr-text-2) !important;
    font-size: 1.8rem !important;
    line-height: 1.6;
}

.gh-article-meta {
    color: var(--cr-text-muted) !important;
    border-bottom: 1px solid var(--cr-border) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    font-size: 1.2rem !important;
}

.gh-article-meta a {
    color: var(--cr-text-2) !important;
}

.gh-article-tag {
    color: var(--cr-accent) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ---- Post Content ---- */
.gh-content {
    color: var(--cr-text-2) !important;
    font-size: 1.75rem !important;
    line-height: 1.8 !important;
}

.gh-content h1,
.gh-content h2,
.gh-content h3,
.gh-content h4,
.gh-content h5,
.gh-content h6 {
    color: var(--cr-text) !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    text-transform: uppercase !important;
}

.gh-content h2 {
    border-left: 3px solid var(--cr-accent);
    padding-left: 14px;
}

.gh-content a {
    color: var(--cr-accent) !important;
    text-decoration: underline;
    text-decoration-color: rgba(217,247,75,0.25);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}

.gh-content a:hover {
    text-decoration-color: var(--cr-accent);
    opacity: 1;
}

.gh-content strong {
    color: var(--cr-text) !important;
    font-weight: 700;
}

.gh-content blockquote {
    border-left: 3px solid var(--cr-accent) !important;
    background: rgba(217,247,75,0.05);
    padding: 16px 20px !important;
    color: var(--cr-text) !important;
    font-style: normal !important;
    border-radius: 0 4px 4px 0;
}

.gh-content code {
    background: #111411 !important;
    color: var(--cr-accent) !important;
    border: 1px solid var(--cr-border);
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 0.88em;
}

.gh-content pre {
    background: #0a0c0a !important;
    border: 1px solid var(--cr-border) !important;
    border-left: 3px solid var(--cr-accent);
    border-radius: 4px;
}

.gh-content pre code {
    background: transparent !important;
    border: none !important;
    color: var(--cr-text) !important;
}

.gh-content hr {
    border-color: var(--cr-border) !important;
}

.gh-content table { color: var(--cr-text-2) !important; }
.gh-content th {
    background: var(--cr-bg-2) !important;
    color: var(--cr-text) !important;
    border-bottom: 2px solid var(--cr-border) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.9em;
}
.gh-content td {
    border-color: var(--cr-border) !important;
}

/* ---- Tags on post ---- */
.gh-tags a {
    background: transparent !important;
    color: var(--cr-accent) !important;
    border: 1px solid var(--cr-accent-bdr) !important;
    border-radius: 2px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    padding: 4px 12px !important;
    transition: all 0.2s ease;
}

.gh-tags a:hover {
    background: var(--cr-accent) !important;
    color: #080908 !important;
    border-color: var(--cr-accent) !important;
    opacity: 1;
}

/* ---- Related Articles ---- */
.gh-related-posts {
    background: var(--cr-bg-2) !important;
    border-top: 1px solid var(--cr-border) !important;
}

.gh-related-title {
    color: var(--cr-text) !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ---- Search ---- */
.gh-search-modal {
    background: rgba(10, 7, 4, 0.98) !important;
    backdrop-filter: blur(20px);
}

.gh-search-input {
    background: var(--cr-bg-card) !important;
    color: var(--cr-text) !important;
    border: 1px solid var(--cr-border) !important;
    border-radius: 4px !important;
}

.gh-search-result {
    border-bottom: 1px solid var(--cr-border) !important;
}

.gh-search-result:hover {
    background: var(--cr-bg-2) !important;
}

.gh-search-result-title { color: var(--cr-text) !important; }
.gh-search-result-excerpt { color: var(--cr-text-2) !important; }

/* ---- Newsletter CTA ---- */
.gh-cta-inner.gh-inner {
    gap: 10px !important;
}

.gh-cta {
    background: var(--cr-bg-2) !important;
    border-top: 1px solid var(--cr-border) !important;
    border-bottom: 1px solid var(--cr-border) !important;
    margin-top: 80px !important;
}

.gh-cta-title {
    color: var(--cr-text) !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.gh-cta-description {
    color: var(--cr-text-2) !important;
}

.gh-form {
    background: var(--cr-bg-card) !important;
    border: 1px solid var(--cr-border) !important;
    border-radius: 4px !important;
    clip-path: none !important;
}

.gh-form:hover {
    border-color: var(--cr-accent-bdr) !important;
    background: var(--cr-bg-card) !important;
}

.gh-form-input {
    color: var(--cr-text) !important;
    font-family: 'Space Grotesk', sans-serif !important;
}

.gh-form-input::placeholder {
    color: var(--cr-text-muted) !important;
}

/* ---- Footer signup spacing ---- */
.gh-footer-signup {
    padding-top: 72px !important;
    padding-bottom: 48px !important;
}

/* ---- Footer ---- */
.gh-footer {
    background: #080908 !important;
    border-top: 1px solid var(--cr-border) !important;
}

.gh-footer-signup-header {
    color: var(--cr-text) !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.gh-footer-signup-subhead {
    color: var(--cr-text-2) !important;
}

.gh-footer-logo {
    color: var(--cr-text) !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.gh-footer-bar {
    border-top: 1px solid var(--cr-border) !important;
}

.gh-footer-menu a {
    color: var(--cr-text-muted) !important;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color 0.2s ease;
}

.gh-footer-menu a:hover {
    color: var(--cr-accent) !important;
    opacity: 1;
}

.gh-footer-copyright,
.gh-footer-copyright a {
    color: var(--cr-text-muted) !important;
    font-size: 1.1rem;
}

.gh-footer-copyright a:hover {
    color: var(--cr-accent) !important;
    opacity: 1;
}

/* ---- Social Links ---- */
.gh-social-links a {
    color: var(--cr-text-muted) !important;
    transition: color 0.2s ease, transform 0.2s ease;
}

.gh-social-links a:hover {
    color: var(--cr-accent) !important;
    opacity: 1 !important;
    transform: translateY(-2px);
}

/* ---- Pagination ---- */
.gh-pagination a {
    background: transparent !important;
    color: var(--cr-text) !important;
    border: 1px solid var(--cr-border) !important;
    border-radius: 4px !important;
    font-weight: 600;
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all 0.2s ease;
}

.gh-pagination a:hover {
    background: var(--cr-accent-sub) !important;
    border-color: var(--cr-accent) !important;
    color: var(--cr-accent) !important;
    opacity: 1;
}

/* ---- Tag / Author Archive ---- */
.gh-archive-header {
    background: var(--cr-bg-2) !important;
    border-bottom: 1px solid var(--cr-border) !important;
}

.gh-archive-title {
    color: var(--cr-text) !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

.gh-archive-description {
    color: var(--cr-text-2) !important;
}

/* ---- Author ---- */
.gh-author-image {
    border: 1px solid var(--cr-border) !important;
    border-radius: 4px;
    filter: grayscale(30%);
}

.gh-author-name {
    color: var(--cr-text) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gh-author-bio {
    color: var(--cr-text-2) !important;
}

/* ---- Drop cap ---- */
.gh-content.drop-cap > p:first-child::first-letter {
    color: var(--cr-accent) !important;
    font-weight: 800;
}

/* ---- Scroll Trigger Bar ---- */
#cr-scroll-trigger {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    transform: translateY(110%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

#cr-scroll-trigger.is-visible {
    transform: translateY(0);
    pointer-events: all;
}

.cr-st-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #0d0f0d;
    border-top: 2px solid var(--cr-accent);
    padding: 14px 24px;
    box-shadow: 0 -4px 32px rgba(0,0,0,0.6), 0 -1px 0 rgba(217,247,75,0.1);
    flex-wrap: wrap;
}

.cr-st-message {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
}

.cr-st-tag {
    background: var(--cr-accent);
    color: #080908;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 3px 10px;
    border-radius: 2px;
    white-space: nowrap;
    flex-shrink: 0;
}

.cr-st-text {
    color: var(--cr-text-2);
    font-size: 1.3rem;
    line-height: 1.4;
}

.cr-st-share {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.cr-st-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1a1f1a;
    color: var(--cr-text-2);
    border: 1px solid var(--cr-border);
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 1.2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}

.cr-st-share-btn:hover {
    border-color: var(--cr-accent);
    color: var(--cr-accent);
    background: rgba(217,247,75,0.06);
}

.cr-st-cta {
    flex-shrink: 0;
}

.cr-st-subscribe {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cr-accent);
    color: #080908;
    border: none;
    border-radius: var(--cr-radius);
    padding: 10px 20px;
    font-size: 1.3rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: background 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}

.cr-st-subscribe:hover {
    background: var(--cr-accent-hover);
    box-shadow: 0 0 20px rgba(217,247,75,0.3);
    color: #080908;
    text-decoration: none;
}

.cr-st-close {
    background: none;
    border: none;
    color: var(--cr-text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 3px;
    flex-shrink: 0;
    line-height: 1;
    transition: color 0.15s ease;
}

.cr-st-close:hover {
    color: var(--cr-accent);
}

.cr-st-rebels {
    color: var(--cr-accent);
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 680px) {
    .cr-st-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 14px;
        gap: 10px;
    }
    .cr-st-message {
        width: 100%;
        gap: 8px;
    }
    .cr-st-text { font-size: 1.2rem; }
    .cr-st-btn-label { display: none; }
    .cr-st-share-btn {
        padding: 7px 10px;
    }
    .cr-st-cta {
        width: 100%;
    }
    .cr-st-subscribe {
        width: 100%;
        justify-content: center;
    }
    .cr-st-close {
        align-self: flex-start;
        margin-left: auto;
    }
}

/* ---- Reading Progress Bar ---- */
#cr-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--cr-accent);
    z-index: 99998;
    transition: width 0.08s linear;
    box-shadow: 0 0 10px rgba(217,247,75,0.5);
    pointer-events: none;
}

/* ---- GDPR Banner ---- */
#cr-gdpr {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9991;
    transform: translateY(110%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

#cr-gdpr.is-visible {
    transform: translateY(0);
    pointer-events: all;
}

.cr-gdpr-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #0d0f0d;
    border-top: 1px solid var(--cr-border);
    padding: 14px 28px;
    max-width: 100%;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.5);
    flex-wrap: wrap;
}

.cr-gdpr-text {
    flex: 1;
    min-width: 200px;
    font-size: 1.3rem;
    color: var(--cr-text-2);
    line-height: 1.5;
}

.cr-gdpr-text strong {
    color: var(--cr-text);
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
}

.cr-gdpr-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cr-gdpr-btn {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: var(--cr-radius);
    padding: 8px 18px;
    cursor: pointer;
    border: none;
    transition: background 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}

.cr-gdpr-btn--primary {
    background: var(--cr-accent);
    color: #080908;
}

.cr-gdpr-btn--primary:hover {
    background: var(--cr-accent-hover);
    box-shadow: 0 0 16px rgba(217,247,75,0.3);
}

.cr-gdpr-btn--secondary {
    background: transparent;
    color: var(--cr-text-muted);
    border: 1px solid var(--cr-border);
}

.cr-gdpr-btn--secondary:hover {
    color: var(--cr-text);
    border-color: var(--cr-text-muted);
}

@media (max-width: 520px) {
    .cr-gdpr-inner { padding: 12px 14px; gap: 12px; }
    .cr-gdpr-actions { width: 100%; }
    .cr-gdpr-btn { flex: 1; text-align: center; }
}

/* ---- Auth Choice Modal ---- */
#cr-auth-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

#cr-auth-modal.is-open {
    display: flex;
}

.cr-auth-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 3, 1, 0.80);
    backdrop-filter: blur(6px);
}

.cr-auth-card {
    position: relative;
    background: #0d0f0d;
    border: 1px solid var(--cr-border);
    border-radius: 6px;
    padding: 40px 36px 36px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 0 0 1px rgba(217,247,75,0.08), 0 32px 80px rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.cr-auth-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--cr-text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 3px;
    transition: color 0.15s ease;
}

.cr-auth-close:hover {
    color: var(--cr-accent);
}

.cr-auth-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--cr-text);
    margin: 0 0 24px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cr-auth-btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #1e1e1e;
    color: #e8e2d6;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    padding: 11px 20px;
    font-size: 1.45rem;
    font-weight: 500;
    font-family: 'Space Grotesk', sans-serif;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.cr-auth-btn-google:hover {
    border-color: #3a3a3a;
    background: #252525;
    color: #e8e2d6;
    text-decoration: none;
}

.cr-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    color: var(--cr-text-muted);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 16px 0;
}

.cr-auth-divider::before,
.cr-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--cr-border);
}

.cr-auth-btn-email {
    width: 100%;
    background: transparent;
    color: var(--cr-accent);
    border: 1px solid var(--cr-accent);
    border-radius: 4px;
    padding: 11px 20px;
    font-size: 1.45rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.cr-auth-btn-email:hover {
    background: var(--cr-accent);
    color: #080908;
}


.gh-google-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.gh-google-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
    color: var(--cr-text-muted);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gh-google-divider::before,
.gh-google-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--cr-border);
}
