/* ===================================
   CYBERPUNK FARTMART STYLES
   =================================== */

:root {
    --neon-cyan: #00f3ff;
    --neon-pink: #ff00ff;
    --neon-green: #39ff14;
    --neon-purple: #bf00ff;
    --dark-bg: #0a0a0f;
    --dark-card: #1a1a2e;
    --dark-border: #2a2a3e;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
}

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

body {
    font-family: 'Courier New', monospace;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* ===================================
   ANIMATED GRID BACKGROUND
   =================================== */

.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--neon-cyan) 1px, transparent 1px),
        linear-gradient(90deg, var(--neon-cyan) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    z-index: -2;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* ===================================
   SCAN LINE EFFECT
   =================================== */

.scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        var(--neon-cyan),
        transparent
    );
    z-index: 1000;
    animation: scanMove 3s linear infinite;
    pointer-events: none;
    opacity: 0.5;
}

@keyframes scanMove {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100vh);
    }
}

/* ===================================
   HEADER & LOGO
   =================================== */

header {
    background: linear-gradient(135deg, var(--dark-card) 0%, #0f0f1e 100%);
    padding: 2rem 0;
    border-bottom: 2px solid var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-pink), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    cursor: pointer;
    position: relative;
    display: inline-block;
    width: 100%;
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.5);
}

@keyframes gradientShift {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(45deg);
    }
}

.logo:hover {
    animation: glowPulse 0.5s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 30px rgba(0, 243, 255, 0.8);
    }
    50% {
        text-shadow: 0 0 50px rgba(255, 0, 255, 0.8);
    }
}

/* ===================================
   FART EMOJI EASTER EGG
   =================================== */

.fart-emoji-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.fart-emoji {
    position: absolute;
    font-size: 2rem;
    animation: fartFloat 3s ease-out forwards;
    pointer-events: none;
}

@keyframes fartFloat {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-200px) rotate(360deg);
    }
}

.tagline {
    text-align: center;
    color: var(--neon-green);
    font-size: 1rem;
    margin-top: 0.5rem;
    letter-spacing: 3px;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0.5;
    }
}

/* ===================================
   SYSTEM MESSAGE
   =================================== */

.system-message {
    background: rgba(0, 0, 0, 0.8);
    color: var(--neon-green);
    padding: 0.5rem 2rem;
    text-align: center;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--neon-green);
    position: sticky;
    top: 0;
    z-index: 100;
}

.blinking-cursor {
    animation: cursorBlink 1s infinite;
}

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

/* ===================================
   TRUST BANNER - Y2K STYLE
   =================================== */

.trust-banner {
    background: linear-gradient(180deg,
        rgba(30, 30, 60, 0.9) 0%,
        rgba(15, 15, 30, 0.95) 50%,
        rgba(30, 30, 60, 0.9) 100%
    );
    border-top: 2px solid rgba(0, 243, 255, 0.3);
    border-bottom: 2px solid rgba(0, 243, 255, 0.3);
    padding: 2rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 2px 10px rgba(0, 243, 255, 0.2),
        inset 0 -2px 10px rgba(191, 0, 255, 0.2);
}

.trust-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0, 243, 255, 0.03) 10px,
        rgba(0, 243, 255, 0.03) 20px
    );
    animation: diagonalMove 20s linear infinite;
    pointer-events: none;
}

@keyframes diagonalMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.trust-badges {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(180deg,
        rgba(0, 243, 255, 0.25) 0%,
        rgba(0, 150, 180, 0.15) 45%,
        rgba(0, 100, 130, 0.2) 55%,
        rgba(0, 243, 255, 0.1) 100%
    );
    border: 2px solid rgba(0, 243, 255, 0.4);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
}

.trust-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: skewX(-25deg);
    transition: left 0.5s ease;
}

.trust-badge:hover::before {
    left: 150%;
}

.trust-badge:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 8px 25px rgba(0, 243, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 243, 255, 0.8);
    background: linear-gradient(180deg,
        rgba(0, 243, 255, 0.35) 0%,
        rgba(0, 180, 210, 0.25) 45%,
        rgba(0, 130, 160, 0.3) 55%,
        rgba(0, 243, 255, 0.2) 100%
    );
}

.trust-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.trust-text {
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 1.5px;
    color: var(--neon-cyan);
    text-transform: uppercase;
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.8),
        0 2px 10px rgba(0, 243, 255, 0.5);
    font-family: 'Courier New', monospace;
}

/* Navigation badge link styles */
.nav-badge {
    text-decoration: none;
    cursor: pointer;
}

.nav-badge:active {
    transform: translateY(-3px) scale(1.02);
}

/* ===================================
   MAIN CONTENT
   =================================== */

main {
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.glitch-text {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--neon-cyan);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow:
        0 1px 0 #ccc,
        0 2px 0 #c9c9c9,
        0 3px 0 #bbb,
        0 4px 0 #b9b9b9,
        0 5px 0 #aaa,
        0 6px 1px rgba(0,0,0,.1),
        0 0 5px rgba(0,243,255,.5),
        0 1px 3px rgba(0,243,255,.3),
        0 3px 5px rgba(0,243,255,.2),
        0 5px 10px rgba(0,243,255,.25),
        0 10px 10px rgba(0,0,0,.2),
        0 20px 20px rgba(0,0,0,.15);
    animation: glitch3d 3s ease-in-out infinite;
}

@keyframes glitch3d {
    0%, 100% {
        text-shadow:
            0 1px 0 #ccc,
            0 2px 0 #c9c9c9,
            0 3px 0 #bbb,
            0 4px 0 #b9b9b9,
            0 5px 0 #aaa,
            0 6px 1px rgba(0,0,0,.1),
            0 0 5px rgba(0,243,255,.5),
            0 1px 3px rgba(0,243,255,.3),
            0 3px 5px rgba(0,243,255,.2),
            0 5px 10px rgba(0,243,255,.25),
            0 10px 10px rgba(0,0,0,.2),
            0 20px 20px rgba(0,0,0,.15);
    }
    20% {
        text-shadow:
            0 1px 0 #e0c,
            0 2px 0 #d0b,
            0 3px 0 #c0a,
            0 4px 0 #b09,
            0 5px 0 #a08,
            0 6px 1px rgba(0,0,0,.1),
            2px 0 5px rgba(255,0,255,.8),
            -2px 0 5px rgba(0,243,255,.8),
            0 1px 3px rgba(255,0,255,.5),
            0 3px 5px rgba(0,243,255,.5),
            0 10px 10px rgba(0,0,0,.2),
            0 20px 20px rgba(0,0,0,.15);
    }
    40% {
        text-shadow:
            0 1px 0 #ccc,
            0 2px 0 #c9c9c9,
            0 3px 0 #bbb,
            0 4px 0 #b9b9b9,
            0 5px 0 #aaa,
            0 6px 1px rgba(0,0,0,.1),
            -1px 0 5px rgba(57,255,20,.8),
            1px 0 5px rgba(255,0,255,.8),
            0 1px 3px rgba(57,255,20,.5),
            0 3px 5px rgba(255,0,255,.5),
            0 10px 10px rgba(0,0,0,.2),
            0 20px 20px rgba(0,0,0,.15);
    }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* ===================================
   DISCLOSURE & DISCLAIMER BOXES
   =================================== */

.disclosure-box,
.disclaimer-box {
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid rgba(255, 0, 0, 0.5);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.disclosure-box h3,
.disclaimer-box h3 {
    color: var(--neon-pink);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.disclosure-box p,
.disclaimer-box p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* ===================================
   PRODUCTS SECTION
   =================================== */

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--neon-green);
    margin: 3rem 0 2rem 0;
    text-shadow: 0 0 20px var(--neon-green);
}

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

/* ===================================
   PRODUCT CARD - HOLOGRAPHIC STYLE
   =================================== */

.product-card {
    background: linear-gradient(135deg,
        rgba(26, 26, 46, 0.9) 0%,
        rgba(42, 42, 62, 0.7) 100%
    );
    border: 2px solid var(--neon-purple);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 30px rgba(191, 0, 255, 0.3);
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 243, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: holoRotate 4s linear infinite;
    pointer-events: none;
}

@keyframes holoRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 50px rgba(0, 243, 255, 0.5);
    border-color: var(--neon-cyan);
}

.product-card h3 {
    color: var(--neon-cyan);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.product-brand {
    display: block;
    color: var(--neon-cyan);
    font-size: 0.9rem;
    font-weight: normal;
    margin-top: 0.3rem;
    margin-bottom: 0.8rem;
    opacity: 0.9;
}

.product-type {
    display: inline-block;
    background: rgba(57, 255, 20, 0.2);
    color: var(--neon-green);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid var(--neon-green);
    position: relative;
    z-index: 2;
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.product-benefits {
    list-style: none;
    margin: 1rem 0;
    position: relative;
    z-index: 2;
}

.product-benefits li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--dark-border);
}

.product-benefits li::before {
    content: '✓';
    color: var(--neon-green);
    margin-right: 0.5rem;
    font-weight: bold;
}

.affiliate-badge {
    display: inline-block;
    background: rgba(255, 0, 255, 0.2);
    color: var(--neon-pink);
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.75rem;
    margin: 1rem 0;
    border: 1px solid var(--neon-pink);
    position: relative;
    z-index: 2;
}

.cta-button {
    display: block;
    width: 100%;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
    color: white;
    text-align: center;
    padding: 1rem;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1rem;
    margin-top: 1rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 30px rgba(255, 0, 255, 0.6);
    border-color: var(--neon-cyan);
}

/* ===================================
   INFO SECTION
   =================================== */

.info-section {
    margin: 4rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

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

.info-card:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 243, 255, 0.3);
}

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

.info-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   FOOTER
   =================================== */

footer {
    background: var(--dark-card);
    border-top: 2px solid var(--neon-cyan);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

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

.footer-note {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 1rem auto 0;
}

/* ===================================
   AUTHOR BYLINES & E-E-A-T SIGNALS
   =================================== */

.section-author {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
    margin: -0.5rem 0 1.5rem 0;
    text-align: center;
}

/* ===================================
   FAQ SECTION
   =================================== */

.faq-section {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 8px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--neon-cyan);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(0, 243, 255, 0.05);
    border-left-color: var(--neon-pink);
}

.faq-question {
    color: var(--neon-cyan);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

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

    .hero h2 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .trust-badges {
        flex-direction: column;
    }

    .faq-section {
        padding: 1rem;
    }

    .faq-item {
        padding: 1rem;
    }
}

/* ===================================
   RESEARCH SECTION
   =================================== */

.research-section {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(0, 243, 255, 0.05);
    border-left: 3px solid var(--neon-cyan);
    border-radius: 4px;
}

.research-section h4 {
    color: var(--neon-cyan);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.research-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.research-links li {
    margin-bottom: 0.6rem;
    padding: 0;
}

.research-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    line-height: 1.4;
    display: block;
    transition: color 0.2s ease;
}

.research-links a:hover {
    color: var(--neon-cyan);
}

.quality-badge {
    display: inline-block;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.7rem;
    margin-left: 0.4rem;
    font-weight: 600;
    text-transform: uppercase;
}

.quality-high {
    background: rgba(57, 255, 20, 0.2);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
}

.quality-moderate {
    background: rgba(0, 243, 255, 0.2);
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
}

.quality-low, .quality-very_low {
    background: rgba(255, 20, 147, 0.2);
    color: var(--neon-pink);
    border: 1px solid var(--neon-pink);
}

.more-research {
    color: #666;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    font-style: italic;
}

/* ===================================
   RESEARCH QUALITY LEGEND (STICKY SIDEBAR)
   =================================== */

.research-legend {
    position: fixed;
    left: 15%;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    background: rgba(10, 10, 20, 0.98);
    border: 2px solid var(--neon-cyan);
    border-radius: 8px;
    padding: 1.5rem;
    z-index: 500;
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

/* Show legend when visible class is added via JavaScript */
.research-legend.visible {
    opacity: 1;
    visibility: visible;
}

.research-legend h3 {
    color: var(--neon-cyan);
    font-size: 1rem;
    margin: 0 0 1rem 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legend-item {
    margin-bottom: 1rem;
}

.legend-item:last-child {
    margin-bottom: 0;
}

.legend-item p {
    color: #999;
    font-size: 0.75rem;
    margin: 0.3rem 0 0 0;
    line-height: 1.3;
}

/* Hide legend on mobile and tablets */
@media (max-width: 1200px) {
    .research-legend {
        display: none;
    }
}
