/* ARES Market Official - Ultra-Modern Cyberpunk Design
   Color Scheme: Military Red Warfare Theme
   Version: 1.0 - December 2025
*/

:root {
    /* ARES Color Palette - Military Red Warfare */
    --primary-bg: #0a0404;
    --secondary-bg: #1a0808;
    --accent-bg: #2a0f0f;

    --primary-red: #8b0000;
    --bright-red: #ff0000;
    --neon-red: #ff4444;
    --blood-red: #cc0000;
    --dark-red: #660000;

    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;

    --glass-bg: rgba(139, 0, 0, 0.1);
    --glass-border: rgba(255, 68, 68, 0.2);

    --glow-red: 0 0 20px rgba(255, 68, 68, 0.5);
    --glow-red-strong: 0 0 30px rgba(255, 0, 0, 0.8);

    --gradient-red: linear-gradient(135deg, #8b0000, #ff4444, #cc0000);
    --gradient-dark: linear-gradient(180deg, #0a0404, #1a0808);

    --border-radius: 12px;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Vanta.js Background Container */
#vanta-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Cyber Grid Overlay */
.cyber-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 68, 68, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 68, 68, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

/* Scanline Effect */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(255, 68, 68, 0.02) 50%
    );
    background-size: 100% 4px;
    z-index: -1;
    pointer-events: none;
    animation: scanlineMove 8s linear infinite;
}

@keyframes scanlineMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}

/* Header Styling */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(26, 8, 8, 0.85);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(255, 68, 68, 0.1);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--glow-red);
    letter-spacing: 2px;
    animation: glitchText 3s infinite;
}

@keyframes glitchText {
    0%, 90%, 100% { transform: translate(0); }
    91% { transform: translate(-2px, 2px); }
    92% { transform: translate(2px, -2px); }
    93% { transform: translate(-2px, 2px); }
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
    transition: all var(--transition-speed) ease;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-red);
    transform: translateX(-50%);
    transition: width var(--transition-speed) ease;
}

.nav-links a:hover::before {
    width: 80%;
}

.nav-links a:hover {
    color: var(--neon-red);
    text-shadow: var(--glow-red);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 4rem 2rem;
}

.hero-content {
    max-width: 900px;
    backdrop-filter: blur(10px);
    background: rgba(26, 8, 8, 0.6);
    padding: 4rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(255, 68, 68, 0.2);
    animation: fadeInUp 1s ease;
}

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

h1 {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% { filter: brightness(100%); }
    50% { filter: brightness(130%); }
}

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

/* Warning Banner - Exit Scam Alert */
.warning-banner {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.3), rgba(255, 68, 68, 0.2));
    border: 2px solid var(--neon-red);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 68, 68, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 68, 68, 0.6); }
}

.warning-banner h2 {
    color: var(--neon-red);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.warning-icon {
    font-size: 2rem;
    animation: shake 0.5s infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Glass Card */
.glass-card {
    backdrop-filter: blur(16px);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 68, 68, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

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

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-red);
    box-shadow: 0 12px 48px rgba(255, 68, 68, 0.3);
}

.glass-card h2 {
    color: var(--neon-red);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.glass-card h3 {
    color: var(--bright-red);
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

/* Crypto Widget */
.crypto-widget {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.crypto-card {
    backdrop-filter: blur(12px);
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.2), rgba(42, 15, 15, 0.3));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.crypto-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255, 68, 68, 0.1));
    transition: top 0.5s ease;
}

.crypto-card:hover::after {
    top: 0;
}

.crypto-card:hover {
    transform: scale(1.05);
    border-color: var(--neon-red);
    box-shadow: 0 8px 32px rgba(255, 68, 68, 0.3);
}

.crypto-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 68, 68, 0.5));
}

.crypto-card h3 {
    color: var(--neon-red);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0.5rem 0;
}

.change {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    display: inline-block;
    margin: 0.5rem 0;
}

.change.positive {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
}

.change.negative {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

.volume, .timestamp {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0.3rem 0;
}

/* News Feed */
.news-feed {
    margin: 2rem 0;
}

.news-item {
    backdrop-filter: blur(10px);
    background: rgba(42, 15, 15, 0.3);
    border-left: 3px solid var(--neon-red);
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 8px;
    transition: all var(--transition-speed) ease;
}

.news-item:hover {
    background: rgba(42, 15, 15, 0.5);
    transform: translateX(10px);
}

.news-item h3 a {
    color: var(--neon-red);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color var(--transition-speed) ease;
}

.news-item h3 a:hover {
    color: var(--bright-red);
    text-shadow: var(--glow-red);
}

.news-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.news-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0.8rem 0;
}

.read-more {
    color: var(--blood-red);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.read-more:hover {
    color: var(--neon-red);
    text-shadow: var(--glow-red);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-red);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 20px rgba(255, 68, 68, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 68, 68, 0.5);
}

.btn:active {
    transform: translateY(-1px);
}

/* Footer */
footer {
    background: rgba(26, 8, 8, 0.95);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    margin-top: 4rem;
    text-align: center;
}

footer p {
    color: var(--text-muted);
    margin: 0.5rem 0;
}

footer a {
    color: var(--neon-red);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

footer a:hover {
    color: var(--bright-red);
    text-shadow: var(--glow-red);
}

footer nav {
    margin-top: 1.5rem;
    gap: 1.5rem;
}

/* Loading Indicator */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Timestamp */
.page-freshness {
    text-align: center;
    padding: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    background: rgba(42, 15, 15, 0.2);
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

/* External Links */
.external-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.external-link-item {
    padding: 1rem;
    background: rgba(42, 15, 15, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    transition: all var(--transition-speed) ease;
}

.external-link-item:hover {
    background: rgba(42, 15, 15, 0.5);
    border-color: var(--neon-red);
    transform: translateY(-3px);
}

.external-link-item a {
    color: var(--text-primary);
    text-decoration: none;
    display: block;
}

.external-link-item a:hover {
    color: var(--neon-red);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        padding: 2rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .crypto-widget {
        grid-template-columns: 1fr;
    }
}

/* Holographic Effect */
.holographic {
    position: relative;
    background: linear-gradient(45deg, transparent, rgba(255, 68, 68, 0.1), transparent);
    animation: holographic 3s linear infinite;
}

@keyframes holographic {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 3D Card Flip */
.flip-card {
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* ========================================
   CREATIVE LINKS STYLING - MILITARY RED THEME
   ======================================== */

/* Content area links (not navigation) */
.glass-card a,
.container a:not(.nav-links a):not(.cta-button),
main a:not(.nav-links a):not(.cta-button),
p a, li a, td a {
    color: var(--neon-red);
    text-decoration: none;
    position: relative;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}

.glass-card a:hover,
.container a:not(.nav-links a):not(.cta-button):hover,
main a:not(.nav-links a):not(.cta-button):hover,
p a:hover, li a:hover, td a:hover {
    color: var(--bright-red);
    text-shadow: 0 0 15px rgba(255, 68, 68, 0.6);
    border-bottom: 2px solid var(--neon-red);
}

/* Glowing effect on hover */
.glass-card a::before,
.container a:not(.nav-links a)::before,
p a::before, li a::before {
    content: "→ ";
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--neon-red);
}

.glass-card a:hover::before,
.container a:not(.nav-links a):hover::before,
p a:hover::before, li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* External link indicator */
a[target="_blank"]::after {
    content: " ↗";
    font-size: 0.85em;
    color: var(--blood-red);
    transition: all 0.3s ease;
}

a[target="_blank"]:hover::after {
    color: var(--bright-red);
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.8);
}

/* ========================================
   CREATIVE LISTS STYLING
   ======================================== */

/* Unordered Lists - Custom Bullets */
.glass-card ul:not(.nav-links),
.container ul:not(.nav-links),
main ul:not(.nav-links) {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.glass-card ul:not(.nav-links) li,
.container ul:not(.nav-links) li,
main ul:not(.nav-links) li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Variant 1: Arrow bullets */
.glass-card ul:not(.nav-links) li::before,
.container ul:not(.nav-links) li::before,
main ul:not(.nav-links) li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--neon-red);
    font-size: 1.2em;
    font-weight: bold;
    animation: pulse 2s ease-in-out infinite;
}

/* Variant 2: Square bullets for nested lists */
.glass-card ul:not(.nav-links) ul li::before,
.container ul:not(.nav-links) ul li::before {
    content: "■";
    color: var(--blood-red);
    font-size: 0.8em;
}

/* Variant 3: Diamond bullets for special lists */
ul.diamond-list li::before {
    content: "◆";
    color: var(--bright-red) !important;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

/* Variant 4: Check bullets for success items */
ul.check-list li::before {
    content: "✓";
    color: #00ff00 !important;
    font-weight: bold;
}

/* Variant 5: Cross bullets for warning items */
ul.warning-list li::before {
    content: "✗";
    color: var(--bright-red) !important;
    font-weight: bold;
}

/* Ordered Lists - Custom Numbers */
.glass-card ol,
.container ol,
main ol {
    list-style: none;
    counter-reset: custom-counter;
    padding-left: 0;
    margin: 1.5rem 0;
}

.glass-card ol li,
.container ol li,
main ol li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1rem;
    counter-increment: custom-counter;
    line-height: 1.8;
}

.glass-card ol li::before,
.container ol li::before,
main ol li::before {
    content: counter(custom-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--gradient-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.4);
}

/* Nested ordered lists - smaller circles */
.glass-card ol ol li::before,
.container ol ol li::before {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.75em;
    background: var(--blood-red);
}

/* Hover effect on list items */
.glass-card ul:not(.nav-links) li:hover,
.glass-card ol li:hover,
.container ul:not(.nav-links) li:hover,
.container ol li:hover {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

/* Special styled lists */
ul.feature-list li {
    background: rgba(255, 68, 68, 0.05);
    padding: 1rem 1rem 1rem 2.5rem;
    margin-bottom: 0.5rem;
    border-left: 3px solid var(--neon-red);
    border-radius: 8px;
    transition: all 0.3s ease;
}

ul.feature-list li:hover {
    background: rgba(255, 68, 68, 0.1);
    border-left-color: var(--bright-red);
    transform: translateX(10px);
}

/* Icon lists */
ul.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

ul.icon-list li::before {
    content: "⚔";
    position: static;
    font-size: 1.5em;
    min-width: 1.5rem;
}

/* Timeline list */
ol.timeline {
    border-left: 3px solid var(--neon-red);
    padding-left: 2rem;
    margin-left: 1rem;
}

ol.timeline li {
    padding-left: 2rem;
    position: relative;
}

ol.timeline li::before {
    left: -2.5rem;
    z-index: 1;
}

ol.timeline li::after {
    content: "";
    position: absolute;
    left: -1.7rem;
    top: 2.5rem;
    width: 2px;
    height: calc(100% - 2rem);
    background: rgba(255, 68, 68, 0.2);
}

ol.timeline li:last-child::after {
    display: none;
}

/* Pulse animation for bullets */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Strong tags in lists */
li strong {
    color: var(--neon-red);
    font-weight: 600;
}

/* ========================================
   MIRROR CARDS STYLING (for /access page)
   ======================================== */

.mirrors-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.mirror-card {
    background: rgba(139, 0, 0, 0.08);
    border: 2px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.mirror-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 68, 68, 0.1), transparent);
    transition: left 0.6s ease;
}

.mirror-card:hover {
    border-color: var(--neon-red);
    box-shadow: 0 0 25px rgba(255, 68, 68, 0.3);
    transform: translateY(-5px);
}

.mirror-card:hover::before {
    left: 100%;
}

.mirror-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 68, 68, 0.2);
}

.mirror-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--neon-red);
    background: rgba(255, 68, 68, 0.15);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.mirror-status {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.status-active {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.status-inactive,
.status-offline {
    background: rgba(255, 0, 0, 0.1);
    color: var(--bright-red);
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.status-unknown {
    background: rgba(255, 165, 0, 0.1);
    color: #ffa500;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.mirror-link-container {
    margin: 1.5rem 0;
}

.mirror-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.onion-link-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 68, 68, 0.2);
}

.onion-url {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--neon-red);
    word-break: break-all;
    user-select: all;
    cursor: text;
    background: none;
    border: none;
    padding: 0;
}

.copy-btn-small {
    background: var(--gradient-red);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-btn-small:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.6);
}

.copy-btn-small:active {
    transform: scale(0.95);
}

.mirror-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 68, 68, 0.15);
}

.mirror-metrics .metric {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.mirror-metrics .metric strong {
    color: var(--neon-red);
    margin-right: 0.3rem;
}

.sync-info {
    background: rgba(255, 68, 68, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--neon-red);
}

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

    .onion-link-display {
        flex-direction: column;
        align-items: stretch;
    }

    .copy-btn-small {
        width: 100%;
    }
}

/* ============================================
   CONTENT IMAGES STYLING
   ============================================ */

.content-image {
    width: 100%;
    margin: 2.5rem 0;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: rgba(139, 0, 0, 0.05);
    border: 2px solid var(--glass-border);
    transition: all 0.4s ease;
}

.content-image:hover {
    border-color: var(--neon-red);
    box-shadow: 0 0 30px rgba(255, 68, 68, 0.3);
    transform: translateY(-5px);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    transition: all 0.5s ease;
    filter: brightness(0.85) saturate(1.1);
    position: relative;
}

.content-image:hover img {
    filter: brightness(1) saturate(1.2);
    transform: scale(1.02);
}

/* Red overlay effect on hover */
.content-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 60px;
    background: linear-gradient(
        135deg,
        rgba(139, 0, 0, 0.1) 0%,
        rgba(255, 68, 68, 0.05) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.content-image:hover::before {
    opacity: 1;
}

/* Image caption styling */
.image-caption {
    padding: 1rem 1.5rem;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.content-image:hover .image-caption {
    color: var(--neon-red);
    background: rgba(139, 0, 0, 0.2);
}

/* Icon before caption */
.image-caption::before {
    content: "📷 ";
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Glow effect on borders */
.content-image::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-red);
    opacity: 0;
    z-index: -1;
    border-radius: var(--border-radius);
    filter: blur(10px);
    transition: opacity 0.4s ease;
}

.content-image:hover::after {
    opacity: 0.3;
}

/* Responsive image adjustments */
@media (max-width: 768px) {
    .content-image {
        margin: 1.5rem 0;
    }

    .image-caption {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }

    .content-image:hover {
        transform: translateY(-2px);
    }
}

/* Loading animation for images */
.content-image img[loading="lazy"] {
    animation: fadeInImage 0.8s ease-in;
}

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

/* Alternative image style (if needed) - add class "highlighted" */
.content-image.highlighted {
    border: 3px solid var(--neon-red);
    box-shadow: 0 0 40px rgba(255, 68, 68, 0.4);
}

.content-image.highlighted::before {
    opacity: 0.5;
}

/* Image within glass-card special styling */
.glass-card .content-image {
    margin: 2rem -1.5rem;
    width: calc(100% + 3rem);
    border-left: none;
    border-right: none;
    border-radius: 0;
}

.glass-card .content-image img {
    border-radius: 0;
}

@media (max-width: 768px) {
    .glass-card .content-image {
        margin: 1.5rem -1rem;
        width: calc(100% + 2rem);
    }
}
