/* DarkMatter Marketplace - Complete Stylesheet */
/* Combined CSS: base styles, animations, scroll fixes */

/* Force Dark Theme - Override system preferences */
html {
    color-scheme: dark !important;
}

/* CSS Variables */
:root {
    --dark-bg: #0a0a0f;
    --dark-secondary: #121218;
    --accent-blue: #0072ff;
    --accent-blue-dark: #0058cc;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --border-color: #333333;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --gradient-primary: linear-gradient(135deg, #0072ff 0%, #0058cc 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0f 0%, #121218 100%);
    --shadow-glow: 0 0 20px rgba(0, 114, 255, 0.3);
    --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 25px rgba(0, 114, 255, 0.2);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Roboto Mono', monospace;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Prevent browsers from reducing h1 size inside sectioning elements */
section h1,
article h1,
aside h1,
nav h1 {
    font-size: 2.5rem;
    margin-block-start: 0;
    margin-block-end: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Glow Effects */
.glow {
    text-shadow: 0 0 10px var(--accent-blue), 0 0 20px var(--accent-blue), 0 0 30px var(--accent-blue);
    animation: glow-pulse 2s ease-in-out infinite alternate;
    will-change: text-shadow;
}

@keyframes glow-pulse {
    from {
        text-shadow: 0 0 10px var(--accent-blue), 0 0 20px var(--accent-blue), 0 0 30px var(--accent-blue);
    }

    to {
        text-shadow: 0 0 20px var(--accent-blue), 0 0 30px var(--accent-blue), 0 0 40px var(--accent-blue);
    }
}

.glow-box {
    box-shadow: 0 0 10px var(--accent-blue), 0 0 20px rgba(0, 114, 255, 0.3);
    will-change: box-shadow;
}

/* Background Effects */
.matrix-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.matrix-bg span {
    position: absolute;
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    color: var(--accent-blue);
    opacity: 0.7;
    animation: matrix-fall linear infinite;
    user-select: none;
}

@keyframes matrix-fall {
    0% {
        transform: translateY(-100%);
        opacity: 1;
    }

    95% {
        opacity: 1;
    }

    100% {
        transform: translateY(1000px);
        opacity: 0;
    }
}

/* Particles Background */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Animations */
.animate-pulse-slow {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-in-out forwards;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Prevent animation from repeating */
.animation-completed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Crypto Ticker */
.crypto-ticker {
    background: linear-gradient(90deg, rgba(0, 114, 255, 0.1) 0%, rgba(0, 114, 255, 0.2) 100%);
    border-bottom: 1px solid var(--accent-blue);
    overflow: hidden;
}

/* Hero Primary Link */
.hero-primary-link {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}

.hero-primary-link:hover {
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

.hero-onion-container {
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.hero-primary-link .hero-onion-url {
    font-family: 'Roboto Mono', monospace;
    color: #60a5fa;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    line-height: 1.6;
    white-space: nowrap;
    display: block;
    user-select: all;
    -webkit-user-select: all;
}

@media (min-width: 640px) {
    .hero-primary-link .hero-onion-url {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .hero-primary-link {
        padding: 1rem;
    }

    .hero-primary-link .hero-onion-url {
        font-size: 0.8rem;
        letter-spacing: 0.01em;
    }

    .hero-onion-container {
        padding: 0.75rem;
    }
}

.hero-primary-link .hero-status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(16, 185, 129, 0.6); }
    50% { opacity: 0.7; box-shadow: 0 0 12px rgba(16, 185, 129, 0.8); }
}

/* Crypto ticker is now static - no animation needed */

/* Navigation */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-blue) !important;
}

/* Ensure navigation is visible */
header .hidden.md\\:flex {
    display: none;
}

@media (min-width: 768px) {
    header .hidden.md\\:flex {
        display: flex !important;
    }
}

/* Force navigation visibility */
.nav-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

@media (max-width: 767px) {
    .nav-container {
        display: none;
    }

    /* Mobile navigation improvements */
    .mobile-menu {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.95);
        z-index: 50;
        padding: 2rem;
    }

    .mobile-menu.hidden {
        display: none !important;
    }

    .mobile-menu .nav-link {
        font-size: 1.5rem;
        padding: 1rem 2rem;
        margin: 0.5rem 0;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .mobile-menu .nav-link:hover {
        background: rgba(0, 114, 255, 0.2);
        border-color: var(--accent-blue);
        transform: scale(1.05);
    }
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    contain: layout style paint;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Category Cards */
.category-card {
    background: var(--dark-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-blue);
}

.category-image {
    height: 200px;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.category-content {
    padding: 1.5rem;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.category-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.category-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-count {
    font-size: 0.75rem;
    color: var(--accent-blue);
    font-weight: 500;
}

.category-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

/* Featured Cards */
.featured-card {
    background: var(--dark-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-blue);
}

/* News Cards */
.news-card {
    background: var(--dark-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-blue);
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.news-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.news-date {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* FAQ Search */
.faq-search-container {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--dark-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    min-height: 56px;
}

.faq-search-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 114, 255, 0.1);
    background: var(--dark-bg);
}

.faq-search-input::placeholder {
    color: var(--text-muted);
}

.faq-search-results {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--dark-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: none;
}

.faq-search-results.show {
    display: block;
}

.faq-search-count {
    color: var(--accent-blue);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.faq-no-results {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem;
    font-style: italic;
}

/* FAQ Items */
.faq-item {
    background: var(--dark-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-card);
}

.faq-item.hidden {
    display: none;
}

.faq-item.highlighted {
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(0, 114, 255, 0.3);
    background: rgba(0, 114, 255, 0.05);
}

.faq-question {
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 114, 255, 0.1);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1rem 1rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

/* Link Items */
.link-item {
    background: var(--dark-secondary);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.link-item:hover {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-card);
}

.link-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.link-url {
    font-family: 'Roboto Mono', monospace;
    color: var(--text-primary);
    word-break: break-all;
    font-size: 0.875rem;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--accent-blue);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background-color: rgba(0, 114, 255, 0.1);
    color: var(--text-primary);
}

.link-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.status-primary {
    background-color: var(--success-color);
    color: white;
}

.status-mirror {
    background-color: var(--accent-blue);
    color: white;
}

.status-time {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* PGP Section */
.pgp-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.pgp-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pgp-key {
    background: var(--dark-bg);
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
    overflow-x: auto;
    border: 1px solid var(--border-color);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Typing Effect */
.typing-effect::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--accent-blue);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Mobile Menu */
.mobile-menu {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .mobile-menu {
        transform: translateX(0);
    }

    /* Touch-friendly mobile menu */
    .mobile-menu .nav-link {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        -webkit-user-select: none;
    }

    /* Improved mobile menu animations */
    .mobile-menu {
        opacity: 0;
        visibility: hidden;
        transform: scale(0.9);
    }

    .mobile-menu:not(.hidden) {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }
}

/* Breadcrumbs */
.breadcrumb-container {
    background: var(--dark-secondary);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--text-primary);
}

.breadcrumb-separator {
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    min-height: 44px;
    /* Minimum touch target size */
    min-width: 44px;
}

/* Touch-optimized button sizes */
@media (max-width: 768px) {
    .btn {
        min-height: 48px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* Specific button optimizations */
    .browse-btn {
        min-height: 48px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        border-radius: 12px;
    }

    .copy-btn {
        min-height: 44px;
        min-width: 44px;
        padding: 0.75rem;
        border-radius: 8px;
    }

    /* FAQ question buttons */
    .faq-question {
        min-height: 60px;
        padding: 1.5rem;
        font-size: 1.1rem;
    }

    /* Mobile menu button */
    #mobileMenuBtn {
        min-height: 48px;
        min-width: 48px;
        padding: 0.75rem;
    }

    /* Close mobile menu button */
    #closeMobileMenu {
        min-height: 48px;
        min-width: 48px;
        padding: 0.75rem;
    }
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-card);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.btn-secondary:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

/* Form Elements */
.form-input {
    width: 100%;
    padding: 0.75rem;
    background: var(--dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 114, 255, 0.1);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--success-color);
    color: var(--success-color);
}

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

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

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue-dark);
}

/* Touch Interface Improvements */
@media (max-width: 768px) {

    /* Improve touch targets */
    a,
    button,
    input,
    select,
    textarea {
        min-height: 44px;
        min-width: 44px;
    }

    /* Better spacing for touch */
    .space-y-4>*+* {
        margin-top: 1.5rem;
    }

    .space-y-6>*+* {
        margin-top: 2rem;
    }

    /* Improved card interactions */
    .card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    /* Better form inputs */
    .form-input {
        min-height: 48px;
        font-size: 16px;
        /* Prevents zoom on iOS */
        padding: 1rem;
    }

    /* FAQ improvements */
    .faq-item {
        margin-bottom: 1.5rem;
    }

    .faq-question {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    /* Link improvements */
    .link-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    /* Better button spacing */
    .flex.space-x-4>*+* {
        margin-left: 1rem;
    }

    .flex.space-y-4>*+* {
        margin-top: 1rem;
    }

    /* Hero section mobile improvements */
    .hero-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .hero-section .md\:w-1\/2:first-child {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .hero-section .md\:w-1\/2:first-child h1 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .hero-section .md\:w-1\/2:first-child .typing-effect {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .hero-section .md\:w-1\/2:first-child .mb-8 {
        margin-bottom: 1.25rem;
    }

    .hero-section .md\:w-1\/2:first-child .mb-4 {
        margin-bottom: 0.5rem;
    }

    /* CTA buttons stack nicely */
    .hero-section .flex.flex-col.sm\:flex-row {
        gap: 0.75rem;
    }

    /* Hero primary link tighter on mobile */
    .hero-primary-link.mt-12 {
        margin-top: 1.5rem;
    }

    /* Hero image smaller on mobile */
    .hero-section .md\:w-1\/2:last-child {
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }

    .hero-section .md\:w-1\/2:last-child img {
        max-width: 280px;
        transform: none;
        margin: 0 auto;
    }

    /* Feature cards: 2 columns on mobile for compactness */
    .hero-section .grid.grid-cols-1 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .hero-section .grid .card {
        padding: 1rem;
        margin-bottom: 0;
    }

    .hero-section .grid .card .text-3xl {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .hero-section .grid .card h2 {
        font-size: 0.875rem;
        line-height: 1.3;
        margin-bottom: 0.25rem;
    }

    .hero-section .grid .card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

/* Additional mobile adjustments for small phones */
@media (max-width: 640px) {
    .hero-section .md\:w-1\/2:last-child img {
        max-width: 240px;
    }
}

@media (max-width: 380px) {
    .hero-section .md\:w-1\/2:first-child h1 {
        font-size: 1.5rem;
    }

    .hero-section .grid.grid-cols-1 {
        grid-template-columns: 1fr !important;
    }
}

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

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .category-image {
        height: 150px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .crypto-ticker .animate-marquee {
        animation: marquee 20s linear infinite;
    }
}

@media (max-width: 640px) {
    .matrix-bg {
        overflow: hidden !important;
    }

    .crypto-ticker .animate-marquee {
        animation: marquee 25s linear infinite;
    }

    .category-content {
        padding: 1rem;
    }

    .link-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .link-status {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* Print Styles */
@media print {

    .matrix-bg,
    #particles-js,
    .crypto-ticker,
    .mobile-menu {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .card,
    .category-card,
    .news-card,
    .faq-item {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #ffffff;
        --text-secondary: #cccccc;
        --border-color: #666666;
    }

    .card,
    .category-card,
    .news-card,
    .faq-item {
        border-width: 2px;
    }
}

/* Reduced Motion (consolidated) */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .matrix-bg span {
        animation: none;
    }

    .crypto-ticker .animate-marquee {
        animation: none;
    }

    .card,
    .category-card,
    .news-card,
    .faq-item,
    .link-item {
        opacity: 1 !important;
        transform: translateY(0) !important;
        transition: none !important;
    }

    .animate-fade-in {
        animation: none !important;
    }

    #particles-js::before,
    #particles-js::after {
        animation: none;
    }
}

/* Dark mode is enforced via html { color-scheme: dark !important } */

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Remove focus outline for navigation links */
.nav-link:focus {
    outline: none;
    box-shadow: none;
}

.nav-link:active {
    outline: none;
    box-shadow: none;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--accent-blue);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Hide skip-link on mobile devices */
@media (max-width: 768px) {
    .skip-link {
        display: none !important;
    }
}

/* Image Optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Utility classes defined in compiled Tailwind section below */

/* Animation Delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-500 {
    animation-delay: 0.5s;
}

.delay-700 {
    animation-delay: 0.7s;
}

.delay-1000 {
    animation-delay: 1s;
}


/* ========================================
   SCROLL ANIMATION FIXES
   ======================================== */

/* Ensure elements are visible after animation */
.animate-fade-in,
.animation-completed {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

/* Prevent elements from disappearing during scroll */
.card,
.category-card,
.news-card,
.faq-item,
.link-item {
    will-change: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Smooth transitions for better UX */
.card,
.category-card,
.news-card,
.faq-item,
.link-item {
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out, box-shadow 0.3s ease;
}

/* Ensure hover effects work properly after animation */
.card:hover,
.category-card:hover,
.news-card:hover {
    transform: translateY(-5px) !important;
}

/* Fix for mobile devices */
@media (max-width: 768px) {

    .card,
    .category-card,
    .news-card,
    .faq-item,
    .link-item {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* Reduced motion: consolidated into single block above */

/* ========================================
   CSS-ONLY PARTICLE EFFECT (replaces particles.js)
   ======================================== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

#particles-js::before,
#particles-js::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(0, 114, 255, 0.4) 50%, transparent 50%),
        radial-gradient(2px 2px at 40% 70%, rgba(0, 114, 255, 0.3) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 60% 20%, rgba(0, 114, 255, 0.5) 50%, transparent 50%),
        radial-gradient(2px 2px at 80% 50%, rgba(0, 114, 255, 0.35) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 10% 80%, rgba(0, 114, 255, 0.4) 50%, transparent 50%),
        radial-gradient(2px 2px at 50% 50%, rgba(0, 114, 255, 0.3) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 70% 85%, rgba(0, 114, 255, 0.45) 50%, transparent 50%),
        radial-gradient(2px 2px at 30% 10%, rgba(0, 114, 255, 0.35) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 90% 40%, rgba(0, 114, 255, 0.4) 50%, transparent 50%),
        radial-gradient(2px 2px at 15% 55%, rgba(0, 114, 255, 0.3) 50%, transparent 50%);
    background-size: 300px 300px;
    animation: particle-drift 25s linear infinite;
}

#particles-js::after {
    background-image:
        radial-gradient(1.5px 1.5px at 25% 45%, rgba(0, 114, 255, 0.35) 50%, transparent 50%),
        radial-gradient(2px 2px at 55% 25%, rgba(0, 114, 255, 0.4) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 75% 65%, rgba(0, 114, 255, 0.3) 50%, transparent 50%),
        radial-gradient(2px 2px at 45% 90%, rgba(0, 114, 255, 0.45) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 85% 15%, rgba(0, 114, 255, 0.35) 50%, transparent 50%),
        radial-gradient(2px 2px at 35% 75%, rgba(0, 114, 255, 0.4) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 65% 35%, rgba(0, 114, 255, 0.3) 50%, transparent 50%),
        radial-gradient(2px 2px at 95% 60%, rgba(0, 114, 255, 0.35) 50%, transparent 50%);
    background-size: 400px 400px;
    animation: particle-drift 35s linear infinite reverse;
    opacity: 0.7;
}

@keyframes particle-drift {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(-300px, -300px);
    }
}

/* Reduced motion: consolidated into single block above */

/* ========================================
   COMPILED TAILWIND UTILITY CLASSES
   Replaces cdn.tailwindcss.com
   ======================================== */

/* Display */
.hidden {
    display: none !important;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.inline-flex {
    display: inline-flex;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

/* Flexbox */
.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

/* Grid */
.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

/* Spacing */
.p-3 {
    padding: 0.75rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-10 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

.pt-6 {
    padding-top: 1.5rem;
}

.pt-8 {
    padding-top: 2rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-3 {
    margin-right: 0.75rem;
}

.mr-4 {
    margin-right: 1rem;
}

.ml-1 {
    margin-left: 0.25rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Width / Height */
.w-full {
    width: 100%;
}

.w-20 {
    width: 5rem;
}

.w-80 {
    width: 20rem;
}

.h-full {
    height: 100%;
}

.h-20 {
    height: 5rem;
}

.w-8 {
    width: 2rem;
}

.h-8 {
    height: 2rem;
}

.h-auto {
    height: auto;
}

.h-36 {
    height: 9rem;
}

.min-h-screen {
    min-height: 100vh;
}

.max-w-full {
    max-width: 100%;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-5xl {
    max-width: 64rem;
}

/* Position */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.sticky {
    position: sticky;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.top-0 {
    top: 0;
}

.top-6 {
    top: 1.5rem;
}

.right-6 {
    right: 1.5rem;
}

.z-10 {
    z-index: 10;
}

.z-30 {
    z-index: 30;
}

.z-40 {
    z-index: 40;
}

/* Typography */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-6xl {
    font-size: 3.75rem;
    line-height: 1;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.font-mono {
    font-family: 'Roboto Mono', ui-monospace, monospace;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.overflow-x-auto {
    overflow-x: auto;
}

.overflow-hidden {
    overflow: hidden;
}

.word-break-all {
    word-break: break-all;
}

/* Colors */
.text-white {
    color: #ffffff;
}

.text-gray-300 {
    color: #d1d5db;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-600 {
    color: #4b5563;
}

.text-blue-300 {
    color: #93c5fd;
}

.text-blue-400 {
    color: #60a5fa;
}

.text-blue-500 {
    color: #3b82f6;
}

.text-green-400 {
    color: #4ade80;
}

.text-green-500 {
    color: #22c55e;
}

.text-yellow-500 {
    color: #eab308;
}

.text-orange-500 {
    color: #f97316;
}

.text-red-400 {
    color: #f87171;
}

.text-red-500 {
    color: #ef4444;
}

.text-red-300 {
    color: #fca5a5;
}

.text-green-300 {
    color: #86efac;
}

.text-yellow-300 {
    color: #fde047;
}

.text-yellow-400 {
    color: #facc15;
}

.text-purple-300 {
    color: #d8b4fe;
}

.text-purple-500 {
    color: #a855f7;
}

/* Background Colors */
.bg-black {
    background-color: #000000;
}

.bg-gray-700 {
    background-color: #374151;
}

.bg-gray-800 {
    background-color: #1f2937;
}

.bg-gray-900 {
    background-color: #111827;
}

.bg-blue-500 {
    background-color: #3b82f6;
}

.bg-blue-600 {
    background-color: #2563eb;
}

.bg-blue-900 {
    background-color: #1e3a5f;
}

.bg-green-500 {
    background-color: #22c55e;
}

.bg-green-900 {
    background-color: #14532d;
}

.bg-red-500 {
    background-color: #ef4444;
}

.bg-purple-500 {
    background-color: #a855f7;
}

.bg-purple-900 {
    background-color: #581c87;
}

.bg-purple-600 {
    background-color: #9333ea;
}

.bg-yellow-900 {
    background-color: #713f12;
}

.bg-red-900 {
    background-color: #7f1d1d;
}

/* Loading States */
.loading {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Success/Error/Warning States */
.success {
    color: var(--success-color);
    border-color: var(--success-color);
}

.error {
    color: var(--error-color);
    border-color: var(--error-color);
}

.warning {
    color: var(--warning-color);
    border-color: var(--warning-color);
}

.bg-opacity-90 {
    --tw-bg-opacity: 0.9;
}

/* Hover */
.hover\:bg-blue-700:hover {
    background-color: #1d4ed8;
}

.hover\:bg-gray-600:hover {
    background-color: #4b5563;
}

.hover\:bg-gray-700:hover {
    background-color: #374151;
}

.hover\:text-blue-300:hover {
    color: #93c5fd;
}

.hover\:text-blue-400:hover {
    color: #60a5fa;
}

.hover\:text-white:hover {
    color: #ffffff;
}

/* Borders */
.border {
    border-width: 1px;
}

.border-2 {
    border-width: 2px;
}

.border-b {
    border-bottom-width: 1px;
}

.border-t {
    border-top-width: 1px;
}

.border-gray-600 {
    border-color: #4b5563;
}

.border-gray-700 {
    border-color: #374151;
}

.border-gray-800 {
    border-color: #1f2937;
}

.border-blue-500 {
    border-color: #3b82f6;
}

.border-blue-900 {
    border-color: #1e3a5f;
}

.border-green-500 {
    border-color: #22c55e;
}

.border-yellow-500 {
    border-color: #eab308;
}

.border-purple-500 {
    border-color: #a855f7;
}

.border-l-4 {
    border-left-width: 4px;
}

/* Border Radius */
.rounded {
    border-radius: 0.25rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* Shadows */
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Transitions */
.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-300 {
    transition-duration: 300ms;
}

/* Effects */
.opacity-30 {
    opacity: 0.3;
}

.object-cover {
    object-fit: cover;
}

.cursor-pointer {
    cursor: pointer;
}

/* Spacing Utilities */
.space-x-2> :not([hidden])~ :not([hidden]) {
    margin-left: 0.5rem;
}

.space-x-4> :not([hidden])~ :not([hidden]) {
    margin-left: 1rem;
}

.space-x-8> :not([hidden])~ :not([hidden]) {
    margin-left: 2rem;
}

.space-y-2> :not([hidden])~ :not([hidden]) {
    margin-top: 0.5rem;
}

.space-y-3> :not([hidden])~ :not([hidden]) {
    margin-top: 0.75rem;
}

.space-y-4> :not([hidden])~ :not([hidden]) {
    margin-top: 1rem;
}

.space-y-8> :not([hidden])~ :not([hidden]) {
    margin-top: 2rem;
}

/* Screen Reader */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Container */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* ===== Section Showcase (image galleries within content sections) ===== */
.section-showcase {
    margin-top: 2.5rem;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.6), rgba(30, 30, 50, 0.3));
    border: 1px solid var(--border-color, #2d2d3d);
    border-radius: 12px;
    padding: 2rem;
}

.showcase-heading {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.showcase-heading i {
    color: var(--accent-blue, #0072ff);
    margin-right: 0.5rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 56rem;
    margin: 0 auto;
}

.showcase-grid-sm {
    max-width: 40rem;
}

.showcase-item {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(100, 100, 140, 0.2);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.showcase-item:hover {
    border-color: rgba(0, 114, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 114, 255, 0.1);
}

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

.showcase-item figcaption {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    color: #6b7280;
    background: rgba(15, 15, 25, 0.8);
    text-align: center;
    border-top: 1px solid rgba(100, 100, 140, 0.15);
}

@media (min-width: 480px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

/* ==========================================
   DCE Content Sections (About, How It Works,
   Payments, Experience, Security)
   ========================================== */

/* About Section */
.about-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
}

.about-content {
    max-width: 64rem;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

/* Trust Grid (Metrics) */
.trust-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 640px) {
    .trust-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

.trust-metric-card {
    background: var(--dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
}

.trust-metric-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.trust-metric-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 0.25rem;
}

.trust-metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* How It Works Section */
.how-it-works-section {
    padding: 4rem 0;
    background: var(--dark-bg);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

.step-card {
    background: var(--dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--accent-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-icon {
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin-bottom: 0.75rem;
}

/* Payment Methods Section */
.payment-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--dark-secondary) 0%, var(--dark-bg) 100%);
}

.payment-intro {
    max-width: 48rem;
    margin: 0 auto 2rem;
    text-align: center;
}

.payment-intro p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

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

@media (max-width: 640px) {
    .payment-grid {
        grid-template-columns: 1fr;
    }
}

.payment-card {
    background: var(--dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.payment-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.payment-card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.payment-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.payment-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.payment-tag {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 4px;
    margin-top: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.payment-tag.recommended {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.payment-tag.supported {
    background: rgba(0, 114, 255, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(0, 114, 255, 0.2);
}

.walletless-banner {
    max-width: 64rem;
    margin: 2rem auto 0;
    background: var(--dark-secondary);
    border: 1px solid var(--accent-blue);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.walletless-banner i {
    color: var(--accent-blue);
    font-size: 1.25rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.walletless-banner h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.walletless-banner p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 640px) {
    .walletless-banner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* Experience System Section */
.experience-section {
    padding: 4rem 0;
    background: var(--dark-bg);
}

.xp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .xp-grid {
        grid-template-columns: 1fr;
    }
}

.xp-card {
    background: var(--dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.xp-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.xp-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.xp-card-header i {
    font-size: 1.25rem;
    color: var(--accent-blue);
}

.xp-card-header h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0;
}

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

.xp-card ul {
    list-style: none;
    padding: 0;
}

.xp-card ul li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.xp-card ul li i {
    color: var(--success-color);
    font-size: 0.75rem;
}

/* Security Deep Dive Section */
.security-deep-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--dark-secondary) 0%, var(--dark-bg) 100%);
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .security-grid {
        grid-template-columns: 1fr;
    }
}

.security-card {
    background: var(--dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.security-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.security-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.security-card-header i {
    font-size: 1.25rem;
    color: var(--accent-blue);
}

.security-card-header h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0;
}

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

/* Responsive Breakpoints */
@media (min-width: 640px) {
    .sm\:text-xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .sm\:text-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    .sm\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }

    .sm\:py-12 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .sm\:py-16 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .sm\:py-20 {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .sm\:p-6 {
        padding: 1.5rem;
    }

    .sm\:mb-12 {
        margin-bottom: 3rem;
    }

    .sm\:mt-12 {
        margin-top: 3rem;
    }

    .sm\:h-40 {
        height: 10rem;
    }

    .sm\:w-\[28rem\] {
        width: 28rem;
    }

    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .sm\:flex-row {
        flex-direction: row;
    }

    .sm\:space-y-0> :not([hidden])~ :not([hidden]) {
        margin-top: 0;
    }

    .sm\:space-x-4> :not([hidden])~ :not([hidden]) {
        margin-left: 1rem;
    }

    .sm\:text-base {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}

@media (min-width: 768px) {
    .md\:hidden {
        display: none;
    }

    .md\:flex {
        display: flex;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .md\:gap-8 {
        gap: 2rem;
    }

    .md\:py-20 {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .md\:mt-16 {
        margin-top: 4rem;
    }

    .md\:mb-0 {
        margin-bottom: 0;
    }

    .md\:flex-row {
        flex-direction: row;
    }

    .md\:w-1\/2 {
        width: 50%;
    }

    .md\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }

    .md\:w-\[32rem\] {
        width: 32rem;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lg\:w-\[36rem\] {
        width: 36rem;
    }
}

/* ===== Scroll to Top Button ===== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-blue, #0072ff);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 114, 255, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 114, 255, 0.5);
}

/* ===== GEO — AI-Extractable Blocks ===== */
.tldr-block {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.03));
    border-left: 4px solid var(--accent-blue);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem auto;
    max-width: 48rem;
}

.tldr-block h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.tldr-block p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.tldr-block p:last-child {
    margin-bottom: 0;
}

.tldr-block code {
    background: rgba(59, 130, 246, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    word-break: break-all;
    color: #93c5fd;
    font-size: 0.85rem;
}

/* Entity Summary Table */
.entity-summary {
    max-width: 48rem;
    margin: 2rem auto;
    background: var(--dark-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.entity-summary h2 {
    padding: 1.25rem 1.5rem;
    margin: 0;
    font-size: 1.25rem;
    background: rgba(59, 130, 246, 0.06);
    border-bottom: 1px solid var(--border-color);
}

.entity-summary p {
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-color);
}

.entity-summary p code {
    background: rgba(59, 130, 246, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    word-break: break-all;
    color: #93c5fd;
    font-size: 0.85rem;
}

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

.entity-summary caption {
    padding: 0.75rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.04);
    border-bottom: 1px solid var(--border-color);
}

.entity-summary th,
.entity-summary td {
    padding: 0.6rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(51, 51, 51, 0.5);
    font-size: 0.9rem;
}

.entity-summary th {
    color: var(--text-secondary);
    font-weight: 500;
    width: 35%;
}

.entity-summary td {
    color: var(--text-primary);
}

.entity-summary td code {
    background: rgba(59, 130, 246, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    word-break: break-all;
    color: #93c5fd;
    font-size: 0.8rem;
}

.entity-summary tr:last-child th,
.entity-summary tr:last-child td {
    border-bottom: none;
}

/* Question-Answer GEO Section */
.geo-qa-section {
    max-width: 48rem;
    margin: 2rem auto;
}

.geo-qa-section h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.geo-qa-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.geo-qa-section code {
    background: rgba(59, 130, 246, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    word-break: break-all;
    color: #93c5fd;
    font-size: 0.85rem;
}