@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    background: #000;
    min-height: 100vh;
    color: #00ff00;
    overflow-x: hidden;
}

/* Matrix Digital Rain Canvas */
#matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
}

/* CRT Scanline Effect */
.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}

header {
    text-align: center;
    padding: 40px 0;
}

h1 {
    font-size: 2.5rem;
    color: #00ff00;
    text-shadow:
        0 0 5px #00ff00,
        0 0 10px #00ff00,
        0 0 20px #00ff00,
        0 0 40px #00ff00;
    margin-bottom: 10px;
    animation: flicker 3s infinite;
    letter-spacing: 4px;
}

@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 1;
        text-shadow:
            0 0 5px #00ff00,
            0 0 10px #00ff00,
            0 0 20px #00ff00,
            0 0 40px #00ff00;
    }
    20%, 24%, 55% {
        opacity: 0.8;
        text-shadow: none;
    }
}

.tagline {
    color: #00aa00;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.chat-container {
    background: rgba(0, 20, 0, 0.85);
    border-radius: 5px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #00ff00;
    box-shadow:
        0 0 10px rgba(0, 255, 0, 0.3),
        inset 0 0 30px rgba(0, 255, 0, 0.05);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 15px;
    border-bottom: 1px solid #003300;
    margin-bottom: 15px;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00ff00;
    box-shadow: 0 0 5px #00ff00;
}

.terminal-title {
    color: #00aa00;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.messages {
    height: 450px;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    scrollbar-width: thin;
    scrollbar-color: #00ff00 #001100;
}

.messages::-webkit-scrollbar {
    width: 8px;
}

.messages::-webkit-scrollbar-track {
    background: #001100;
}

.messages::-webkit-scrollbar-thumb {
    background: #00ff00;
    border-radius: 4px;
}

.message {
    max-width: 85%;
    padding: 15px 20px;
    animation: messageAppear 0.5s ease;
    position: relative;
}

@keyframes messageAppear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.user {
    align-self: flex-end;
    background: transparent;
    border: 1px solid #00ff00;
    color: #00ff00;
}

.message.user::before {
    content: '> USER://';
    display: block;
    font-size: 0.7rem;
    color: #00aa00;
    margin-bottom: 5px;
}

.message.ai {
    align-self: flex-start;
    background: rgba(0, 255, 0, 0.05);
    border-left: 3px solid #00ff00;
    color: #00ff00;
}

.message.ai::before {
    content: '> QUALITYMAX://';
    display: block;
    font-size: 0.7rem;
    color: #00aa00;
    margin-bottom: 5px;
}

.message.system {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #00aa00;
    align-self: center;
    text-align: center;
    font-size: 0.9rem;
    color: #00ff00;
}

.message.system::before {
    content: '> SYSTEM://';
    display: block;
    font-size: 0.7rem;
    color: #00aa00;
    margin-bottom: 5px;
}

/* Typing cursor animation */
.typing-cursor {
    display: inline-block;
    width: 10px;
    height: 18px;
    background: #00ff00;
    margin-left: 2px;
    animation: blink 0.7s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.message .status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #003300;
}

.status.running { color: #ffff00; text-shadow: 0 0 5px #ffff00; }
.status.passed { color: #00ff00; text-shadow: 0 0 5px #00ff00; }
.status.failed { color: #ff0000; text-shadow: 0 0 5px #ff0000; }

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.media-preview {
    margin-top: 15px;
    border: 1px solid #00ff00;
    overflow: hidden;
}

.media-preview img, .media-preview video {
    width: 100%;
    filter: sepia(100%) saturate(300%) brightness(70%) hue-rotate(80deg);
}

#turnstile-container {
    position: fixed;
    bottom: 8px;
    right: 8px;
    z-index: 9999;
    transform: scale(0.75);
    transform-origin: bottom right;
    opacity: 0.7;
    transition: opacity 0.3s;
}

#turnstile-container:hover {
    opacity: 1;
}

.input-area {
    display: flex;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid #003300;
}

input[type="text"] {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #00ff00;
    background: rgba(0, 20, 0, 0.8);
    color: #00ff00;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

input[type="text"]:focus {
    background: rgba(0, 40, 0, 0.9);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

input[type="text"]::placeholder {
    color: #006600;
}

button {
    padding: 15px 30px;
    border: 1px solid #00ff00;
    background: transparent;
    color: #00ff00;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
}

button:hover {
    background: #00ff00;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.examples {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 15px 20px;
    justify-content: center;
}

.example-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #006600;
    color: #00aa00;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.example-btn:hover:not(.crawl-disabled) {
    border-color: #00ff00;
    color: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

/* Disabled crawl buttons during active crawl */
.example-btn.crawl-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #333;
    color: #444;
    pointer-events: none;
}

.code-block {
    background: #001100;
    border: 1px solid #003300;
    padding: 15px;
    margin-top: 10px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    overflow-x: auto;
    white-space: pre-wrap;
    max-height: 200px;
    overflow-y: auto;
    color: #00ff00;
}

/* Matrix-style glowing effect on important elements */
.glow {
    text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00;
}

/* Access prompt styling */
.access-prompt {
    color: #00ff00;
    font-size: 0.9rem;
    text-align: center;
    padding: 10px;
    border: 1px solid #003300;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Matrix-style separator */
.matrix-separator {
    text-align: center;
    color: #003300;
    padding: 5px 0;
    font-size: 0.7rem;
    letter-spacing: 5px;
}

/* Matrix Modal Overlay */
.matrix-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

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

.matrix-modal {
    background: #000;
    border: 2px solid #00ff00;
    box-shadow:
        0 0 20px rgba(0, 255, 0, 0.5),
        0 0 40px rgba(0, 255, 0, 0.2),
        inset 0 0 20px rgba(0, 255, 0, 0.05);
    padding: 0;
    max-width: 500px;
    width: 90%;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(-20px) scale(0.95); }
    to { transform: translateY(0) scale(1); }
}

.matrix-modal-header {
    background: rgba(0, 255, 0, 0.1);
    border-bottom: 1px solid #00ff00;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.matrix-modal-header .dot {
    width: 10px;
    height: 10px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00;
    animation: dotPulse 1s infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.matrix-modal-header .title {
    color: #00ff00;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.matrix-modal-body {
    padding: 25px;
    color: #00ff00;
}

.matrix-modal-body p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.matrix-modal-body .section-title {
    color: #00aa00;
    font-size: 0.85rem;
    margin-top: 20px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.matrix-modal-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.matrix-modal-body ul li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    color: #00cc00;
}

.matrix-modal-body ul li::before {
    content: '►';
    position: absolute;
    left: 0;
    color: #00ff00;
}

.matrix-modal-body .warning {
    background: rgba(255, 100, 0, 0.1);
    border: 1px solid #ff6600;
    color: #ff9900;
    padding: 12px;
    margin: 15px 0;
}

.matrix-modal-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 20, 0, 0.8);
    border: 1px solid #00ff00;
    color: #00ff00;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    margin-top: 15px;
    outline: none;
    transition: all 0.3s;
}

.matrix-modal-input:focus {
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    background: rgba(0, 40, 0, 0.9);
}

.matrix-modal-input::placeholder {
    color: #006600;
}

.matrix-modal-footer {
    border-top: 1px solid #003300;
    padding: 15px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.matrix-modal-btn {
    padding: 10px 25px;
    border: 1px solid #00ff00;
    background: transparent;
    color: #00ff00;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.matrix-modal-btn:hover {
    background: #00ff00;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.matrix-modal-btn.cancel {
    border-color: #006600;
    color: #00aa00;
}

.matrix-modal-btn.cancel:hover {
    background: #004400;
    color: #00ff00;
    border-color: #00ff00;
}

.matrix-modal-btn.danger {
    border-color: #ff6600;
    color: #ff9900;
}

.matrix-modal-btn.danger:hover {
    background: #ff6600;
    color: #000;
}

/* Test Options Styling */
.test-option {
    cursor: pointer;
    display: block;
}

.test-option .option-box {
    border: 1px solid #004400;
    padding: 15px;
    transition: all 0.3s;
    background: rgba(0, 20, 0, 0.5);
}

.test-option:hover .option-box {
    border-color: #00aa00;
    background: rgba(0, 40, 0, 0.5);
}

.test-option.selected .option-box {
    border-color: #00ff00;
    background: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

.test-option .option-title {
    color: #00ff00;
    font-size: 0.9rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.test-option .option-desc {
    color: #00aa00;
    font-size: 0.75rem;
}

.test-option.selected .option-title {
    text-shadow: 0 0 5px #00ff00;
}

/* Code Preview - No Copy */
.code-preview-container {
    position: relative;
    margin-top: 15px;
}

.code-preview {
    background: #000;
    border: 1px solid #003300;
    padding: 15px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    color: #00ff00;
    max-height: 600px;
    overflow: hidden;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.code-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(transparent, #000 80%);
    pointer-events: none;
}

.code-preview pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.code-preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid #00ff00;
    padding: 20px;
    text-align: center;
}

.code-preview-overlay .lock-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.code-preview-overlay .preview-text {
    color: #00aa00;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.code-preview-overlay .signup-btn {
    padding: 10px 25px;
    border: 1px solid #00ff00;
    background: transparent;
    color: #00ff00;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.code-preview-overlay .signup-btn:hover {
    background: #00ff00;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

/* Line numbers for code preview */
.code-preview .line {
    display: block;
    padding-left: 40px;
    position: relative;
}

.code-preview .line::before {
    content: attr(data-line);
    position: absolute;
    left: 0;
    width: 30px;
    text-align: right;
    color: #004400;
    padding-right: 10px;
}

.code-preview .keyword { color: #ff6600; }
.code-preview .string { color: #00ff00; }
.code-preview .comment { color: #006600; }
.code-preview .function { color: #ffff00; }

/* ═══════════════════════════════════════════════════════════════
   BOOT SEQUENCE STYLES
   ═══════════════════════════════════════════════════════════════ */
.boot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.boot-terminal {
    font-family: 'Share Tech Mono', monospace;
    color: #00ff00;
    font-size: 14px;
    line-height: 1.6;
    max-width: 700px;
    padding: 40px;
}

.boot-content {
    white-space: pre-wrap;
}

.boot-cursor {
    animation: blink 0.5s infinite;
}

.boot-line {
    opacity: 0;
    animation: bootLineAppear 0.1s forwards;
}

@keyframes bootLineAppear {
    to { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   RED/BLUE PILL STYLES
   ═══════════════════════════════════════════════════════════════ */
.pill-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1s ease;
}

.pill-container {
    text-align: center;
    max-width: 800px;
    padding: 40px;
}

.pill-title {
    font-size: 2rem;
    color: #00ff00;
    text-shadow: 0 0 20px #00ff00;
    margin-bottom: 30px;
    letter-spacing: 8px;
    animation: flicker 3s infinite;
}

.pill-quote {
    color: #00aa00;
    font-size: 1.1rem;
    margin-bottom: 50px;
    font-style: italic;
}

.pill-options {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 50px;
}

.pill {
    cursor: pointer;
    padding: 30px;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: all 0.3s;
}

.pill:hover {
    transform: scale(1.1);
}

.blue-pill:hover {
    border-color: #0066ff;
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.5);
}

.red-pill:hover {
    border-color: #ff0000;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
}

.pill-shape {
    width: 60px;
    height: 100px;
    border-radius: 30px;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
}

.pill-shape.blue {
    background: linear-gradient(180deg, #0088ff 0%, #0044aa 100%);
    box-shadow: 0 0 20px rgba(0, 136, 255, 0.6);
}

.pill-shape.red {
    background: linear-gradient(180deg, #ff4444 0%, #aa0000 100%);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}

.pill-shape::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 20%;
    width: 30%;
    height: 20%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.pill-label {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.blue-pill .pill-label { color: #0088ff; }
.red-pill .pill-label { color: #ff4444; }

.pill-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.pill-morpheus {
    color: #004400;
    font-size: 0.9rem;
    font-style: italic;
}

/* Fade out animation for pill overlay */
.pill-overlay.fade-out {
    animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
    to { opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   MATRIX DECODE EFFECT STYLES
   ═══════════════════════════════════════════════════════════════ */
.matrix-decode {
    display: inline;
}

.matrix-decode .char {
    display: inline-block;
    transition: all 0.1s;
}

.matrix-decode .char.decoding {
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

/* ═══════════════════════════════════════════════════════════════
   RETRO MUTE BUTTON
   ═══════════════════════════════════════════════════════════════ */
.retro-mute-btn {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 10000;
    background: rgba(0, 20, 0, 0.85);
    border: 1px solid #00aa00;
    color: #00ff00;
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-size: 0.7rem;
    padding: 5px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
    text-shadow: 0 0 5px #00ff00;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.15), inset 0 0 4px rgba(0, 255, 0, 0.05);
}

.retro-mute-btn:hover {
    background: rgba(0, 40, 0, 0.9);
    border-color: #00ff00;
    box-shadow: 0 0 12px rgba(0, 255, 0, 0.3);
}

.retro-mute-btn .mute-icon {
    font-size: 0.9rem;
}

.retro-mute-btn.muted {
    border-color: #444;
    color: #555;
    text-shadow: none;
    box-shadow: none;
}

.retro-mute-btn.muted:hover {
    border-color: #666;
    color: #777;
}

/* ═══════════════════════════════════════════════════════════════
   COOKIE CONSENT BANNER — Matrix-themed, GDPR/TTDSG compliant
   ═══════════════════════════════════════════════════════════════ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(0, 8, 0, 0.95);
    border-top: 1px solid #00ff00;
    box-shadow: 0 -2px 20px rgba(0, 255, 0, 0.15);
    backdrop-filter: blur(8px);
    animation: cookieSlideUp 0.4s ease-out;
}

@keyframes cookieSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.cookie-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    font-size: 11px;
    line-height: 1.5;
    color: #00cc00;
    min-width: 200px;
}

.cookie-icon {
    color: #00ff00;
    text-shadow: 0 0 6px #00ff00;
    margin-right: 4px;
}

.cookie-link {
    color: #00ff00;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-link:hover {
    text-shadow: 0 0 6px #00ff00;
}

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

.cookie-btn {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-size: 11px;
    padding: 5px 14px;
    border: 1px solid;
    cursor: pointer;
    background: transparent;
    transition: all 0.2s;
}

.cookie-accept {
    color: #00ff00;
    border-color: #00ff00;
    text-shadow: 0 0 4px #00ff00;
}

.cookie-accept:hover {
    background: rgba(0, 255, 0, 0.15);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.cookie-reject {
    color: #666;
    border-color: #444;
}

.cookie-reject:hover {
    color: #ff4444;
    border-color: #ff4444;
}

/* ═══════════════════════════════════════════════════════════════
   EMAIL GATE MODAL
   ═══════════════════════════════════════════════════════════════ */
.email-gate-overlay {
    z-index: 2600; /* above pill overlay (2500) */
}

.email-gate-benefits {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.email-gate-benefits li {
    padding: 6px 0 6px 20px;
    position: relative;
    color: #00cc00;
    font-size: 0.9rem;
}

.email-gate-benefits li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #00ff00;
    text-shadow: 0 0 6px #00ff00;
}

.email-gate-input-group {
    margin-top: 18px;
}

.email-gate-input-group .matrix-modal-input.invalid {
    border-color: #ff4444;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.3);
}

.email-gate-error {
    color: #ff4444;
    font-size: 0.8rem;
    margin-top: 6px;
}

.email-gate-submit {
    width: 100%;
    text-align: center;
    padding: 12px 25px;
    font-size: 1rem;
    letter-spacing: 2px;
}

.email-gate-signup {
    background: none;
    border: 1px solid #004400;
    color: #00aa00;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 10px;
    text-align: center;
    transition: border-color 0.2s, color 0.2s;
}

.email-gate-signup:hover {
    border-color: #00ff00;
    color: #00ff00;
}

/* ─── Unified entry gate modal ─── */
.gate-divider {
    text-align: center;
    position: relative;
    color: #005500;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px 0;
}

.gate-divider::before,
.gate-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 20px);
    height: 1px;
    background: #003300;
}

.gate-divider::before { left: 0; }
.gate-divider::after { right: 0; }

.gate-email-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gate-email-section .email-gate-input-group {
    margin-top: 0;
}

.gate-email-section .email-gate-submit {
    width: 100%;
    text-align: center;
    padding: 11px 25px;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.gate-github-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px;
    border: 1px solid #004400;
    border-radius: 4px;
    background: rgba(0, 255, 0, 0.04);
    color: #00cc00;
    text-decoration: none;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

.gate-github-btn:hover {
    border-color: #00ff00;
    color: #00ff00;
    background: rgba(0, 255, 0, 0.08);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.15);
}

/* Primary GitHub button — the fast-track CTA */
.gate-github-primary {
    padding: 14px;
    font-size: 0.95rem;
    letter-spacing: 2px;
    border-color: #00aa00;
    background: rgba(0, 255, 0, 0.08);
    color: #00ff00;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.4);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.1), inset 0 0 20px rgba(0, 255, 0, 0.03);
}

.gate-github-primary:hover {
    background: rgba(0, 255, 0, 0.14);
    border-color: #00ff00;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.2), inset 0 0 30px rgba(0, 255, 0, 0.05);
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Tablets / large phones
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .container {
        padding: 10px;
        max-width: 100%;
    }
    header {
        padding: 20px 0;
    }
    h1 {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }
    .messages {
        height: 350px;
        padding: 15px;
    }
    .pill-options {
        gap: 40px;
    }
    .pill-container {
        padding: 20px;
    }
    .pill-title {
        font-size: 1.5rem;
        letter-spacing: 4px;
    }
    .boot-terminal {
        padding: 20px;
        font-size: 13px;
    }
    .matrix-modal {
        width: 95%;
    }
    .code-block,
    .code-preview {
        font-size: 0.75rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Small phones
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .container {
        padding: 8px;
    }
    header {
        padding: 10px 0;
    }
    h1 {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }
    .tagline {
        font-size: 0.8rem;
    }
    .messages {
        height: calc(100vh - 350px);
        min-height: 200px;
        max-height: 400px;
        padding: 10px;
    }
    .message {
        max-width: 95%;
        padding: 10px 12px;
    }
    .input-area {
        padding: 10px;
        gap: 8px;
    }
    input[type="text"] {
        padding: 12px;
        font-size: 0.9rem;
    }
    button {
        padding: 12px 16px;
        font-size: 0.85rem;
        letter-spacing: 1px;
    }
    .examples {
        padding: 10px;
        gap: 6px;
    }
    .example-btn {
        padding: 6px 10px;
        font-size: 0.7rem;
    }
    .pill-options {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    .pill {
        padding: 20px;
    }
    .pill-shape {
        width: 50px;
        height: 80px;
        border-radius: 25px;
    }
    .pill-title {
        font-size: 1.2rem;
        letter-spacing: 3px;
    }
    .pill-quote {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }
    .pill-morpheus {
        font-size: 0.8rem;
    }
    .boot-terminal {
        padding: 15px;
        font-size: 12px;
        max-width: 100%;
    }
    .chat-container {
        padding: 12px;
    }
    .matrix-separator {
        font-size: 0.5rem;
        letter-spacing: 2px;
        overflow: hidden;
    }
    .retro-mute-btn {
        top: 8px;
        right: 8px;
        font-size: 0.65rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Very small phones
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 360px) {
    h1 {
        font-size: 1.1rem;
    }
    .messages {
        height: calc(100vh - 320px);
    }
    .pill-options {
        gap: 20px;
    }
    .example-btn {
        font-size: 0.65rem;
        padding: 5px 8px;
    }
}

@media (max-width: 600px) {
    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}
