:root {
    --bg: #0a0a0a;
    --fg: #ffffff;
    --accent1: #ff0055;
    --accent2: #00ffcc;
    --accent3: #cc00ff;
}

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

body, html {
    width: 100%;
    height: 100%;
    background-color: var(--bg);
    color: var(--fg);
    font-family: 'Space Mono', monospace;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Backgrounds & Overlays */
#glitchCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.05;
    z-index: 10;
    pointer-events: none;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 200vh;
}

/* Header */
.cyber-header {
    width: 100%;
    background: var(--accent1);
    color: var(--bg);
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 50;
    font-family: 'Syncopate', sans-serif;
    font-weight: bold;
    border-bottom: 2px solid var(--accent2);
}

.scrolling-text {
    display: flex;
    white-space: nowrap;
    animation: scroll 15s linear infinite;
    padding: 10px 0;
    font-size: 1.2rem;
    text-transform: uppercase;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Hero */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    width: 100%;
}

.aboba-title {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(4rem, 15vw, 10rem);
    font-weight: 700;
    letter-spacing: -5px;
    position: relative;
    color: var(--fg);
    text-transform: uppercase;
    animation: textGlitch 3s infinite;
}

.aboba-title::before, .aboba-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.aboba-title::before {
    left: 4px;
    text-shadow: -2px 0 var(--accent1);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.aboba-title::after {
    left: -4px;
    text-shadow: -2px 0 var(--accent2);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(20px, 9999px, 80px, 0); }
    20% { clip: rect(60px, 9999px, 120px, 0); }
    40% { clip: rect(10px, 9999px, 40px, 0); }
    60% { clip: rect(90px, 9999px, 140px, 0); }
    80% { clip: rect(30px, 9999px, 100px, 0); }
    100% { clip: rect(50px, 9999px, 110px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(60px, 9999px, 100px, 0); }
    20% { clip: rect(10px, 9999px, 30px, 0); }
    40% { clip: rect(80px, 9999px, 130px, 0); }
    60% { clip: rect(40px, 9999px, 90px, 0); }
    80% { clip: rect(20px, 9999px, 60px, 0); }
    100% { clip: rect(70px, 9999px, 120px, 0); }
}

.subtitle {
    margin-top: 20px;
    font-size: 1.2rem;
    color: var(--accent2);
    text-shadow: 0 0 10px var(--accent2);
    letter-spacing: 2px;
}

.trip-btn {
    margin-top: 50px;
    padding: 15px 40px;
    font-family: 'Syncopate', sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
    background: transparent;
    color: var(--accent1);
    border: 2px solid var(--accent1);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.5), inset 0 0 10px rgba(255, 0, 85, 0.5);
}

.trip-btn:hover {
    background: var(--accent1);
    color: var(--bg);
    box-shadow: 0 0 40px var(--accent1), inset 0 0 20px var(--accent1);
    transform: scale(1.1);
}

.floating-artifacts .artifact {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    filter: drop-shadow(0 0 15px var(--accent3));
}

.a1 { width: 150px; top: 20%; left: 10%; animation: float 6s ease-in-out infinite; mix-blend-mode: exclusion; }
.a2 { font-size: 4rem; top: 60%; right: 15%; animation: float 4s ease-in-out infinite reverse; }
.a3 { font-size: 3rem; bottom: 20%; left: 20%; animation: float 5s ease-in-out infinite; }

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(15deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Feed Section (TikTok swipe style) */
.feed-section {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 100px;
    margin-bottom: 100px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: rotate(45deg);
    animation: shine 4s infinite linear;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent2);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.2);
}

.card-inner h2 {
    font-family: 'Syncopate', sans-serif;
    color: var(--accent3);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card-inner p {
    font-size: 1rem;
    line-height: 1.5;
    color: #ccc;
    margin-bottom: 20px;
}

/* Specific Card Elements */
.psychedelic-box {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    background: linear-gradient(45deg, var(--accent1), var(--accent2), var(--accent3));
    background-size: 400% 400%;
    animation: gradientFlow 3s ease infinite;
}

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

.hype-meter {
    width: 100%;
    height: 30px;
    background: #222;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.hype-fill {
    height: 100%;
    width: 0%;
    background: var(--accent1);
    box-shadow: 0 0 20px var(--accent1);
    transition: width 0.1s;
}

.do-not-click {
    padding: 10px 20px;
    background: black;
    color: red;
    border: 1px solid red;
    font-family: 'Space Mono', monospace;
    cursor: pointer;
    font-weight: bold;
    position: relative;
}

.do-not-click:hover {
    background: red;
    color: black;
}

/* Mobile optimizations */
@media (max-width: 600px) {
    .feed-section { gap: 50px; }
    .glass-card { padding: 20px; }
    .card-inner h2 { font-size: 1.2rem; }
}

/* Custom effects injected via JS */
body.tripping {
    animation: pulseBg 0.5s infinite;
    filter: invert(1) hue-rotate(180deg);
}

@keyframes pulseBg {
    0% { background-color: var(--bg); }
    50% { background-color: #220011; }
    100% { background-color: var(--bg); }
}
