@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700&family=Bangers&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #111;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    height: 100vh;
    overflow: hidden;
    animation: bgFlash 3s step-end infinite;
}

@keyframes bgFlash {
    0%  { background-color: #350070; }
    17% { background-color: #700025; }
    34% { background-color: #007035; }
    51% { background-color: #002570; }
    68% { background-color: #704000; }
    85% { background-color: #007070; }
}

/* ========== ENTRY SCREEN ========== */
.entry {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    cursor: pointer;
    transition: opacity 0.5s, transform 0.5s;
}

.entry.exit {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

.entry-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    animation: entry-pulse 2s ease-in-out infinite;
}

@keyframes entry-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.entry-text {
    font-size: 0.85rem;
    color: #555;
    letter-spacing: 1px;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ========== VOLUME TOGGLE ========== */
.vol-btn {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 50;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vol-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

/* ========== SITE (hidden until entry) ========== */
.site {
    height: 100vh;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.6s 0.2s;
}

.site.show {
    opacity: 1;
}

/* ========== OBNOXIOUS MARQUEE ========== */
.marquee {
    background: #181818;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    text-transform: uppercase;
    border-bottom: 2px solid #ff6b6b;
    flex-shrink: 0;
}

.marquee-track {
    display: inline-flex;
    animation: scroll 12s linear infinite;
}

.marquee-track span {
    padding-right: 24px;
}

.m-red { color: #ff6b6b; }
.m-yellow { color: #ffd32a; }
.m-green { color: #0be881; }
.m-cyan { color: #18dcff; }
.m-pink { color: #ff9ff3; }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== MAIN CONTENT ========== */
main {
    flex: 1;
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
}

/* ---- hero row ---- */
.hero {
    display: flex;
    align-items: center;
    gap: 28px;
    animation: fadeUp 0.6s ease both;
    animation-delay: 0.3s;
}

.logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.4s;
}

.bounce-btn {
    font-family: 'Bangers', cursive;
    font-size: 0.8rem;
    background: linear-gradient(135deg, #ff4d4d, #ff9f43);
    color: white;
    border: none;
    padding: 5px 16px;
    border-radius: 20px;
    cursor: pointer;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: transform 0.2s;
}

.bounce-btn:hover {
    transform: scale(1.15);
}

.bounce-logo {
    position: fixed;
    z-index: 999;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    pointer-events: none;
}

.logo:hover {
    transform: rotate(360deg);
}

h1 {
    font-size: clamp(3.5rem, 12vw, 6rem);
    font-weight: 700;
    background: linear-gradient(135deg, #ff4d4d, #ff9f43, #ffd32a, #0be881, #18dcff, #a55eea);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -2px;
    animation: rainbowShift 4s ease infinite;
}

@keyframes rainbowShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.tagline {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #ddd;
    margin-top: 4px;
}

.dim { color: #666; }

/* ---- vs comparison ---- */
.vs {
    display: flex;
    align-items: stretch;
    gap: 16px;
    width: 100%;
    animation: fadeUp 0.6s ease both;
    animation-delay: 0.5s;
}

.vs-card {
    flex: 1;
    border-radius: 16px;
    padding: 20px 18px;
    text-align: left;
    transition: transform 0.3s, opacity 0.3s;
}

.vs-card.boring {
    background: #1a1215;
    border: 1px solid #3a2020;
    transform: rotate(-1.5deg);
}

.vs-card.boring:hover {
    opacity: 0.4;
    transform: rotate(-2.5deg) scale(0.97);
}

.vs-card.based {
    background: #121a15;
    border: 1px solid #1e4a2a;
    transform: rotate(1.5deg);
}

.vs-card.based:hover {
    transform: rotate(0deg) scale(1.04);
}

.vs-label {
    display: block;
    font-family: 'Bangers', cursive;
    font-size: 1.4rem;
    letter-spacing: 3px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.vs-card.boring .vs-label { color: #ff6b6b; }
.vs-card.based .vs-label { color: #0be881; }

.vs-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vs-card.boring li { font-size: 0.85rem; color: #996a6a; }
.vs-card.based li { font-size: 0.85rem; color: #b5e8c9; }

.vs-divider {
    font-family: 'Bangers', cursive;
    font-size: 1.6rem;
    color: #555;
    flex-shrink: 0;
    align-self: center;
    letter-spacing: 2px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

.footnote {
    display: block;
    margin-top: 8px;
    font-size: 0.68rem;
    color: #4a7a5a;
}

/* ---- bottom row (CA + socials) ---- */
.bottom-row {
    display: flex;
    align-items: center;
    gap: 20px;
    animation: fadeUp 0.6s ease both;
    animation-delay: 0.7s;
}

.ca {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 10px 16px;
    transition: border-color 0.2s;
    cursor: pointer;
}

.ca:hover { border-color: #555; }

.ca-label {
    font-size: 0.7rem;
    color: #555;
    font-weight: 700;
    letter-spacing: 1px;
}

.ca code {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.8rem;
    color: #999;
}

.socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.socials a {
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.socials a:hover { color: #fff; }
.socials span { color: #2a2a2a; }

/* ---- footer ---- */
.footer {
    font-size: 0.68rem;
    color: #333;
    line-height: 1.6;
    text-align: center;
    padding: 12px 24px;
    flex-shrink: 0;
}

/* ---- animations ---- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- responsive ---- */
@media (max-width: 600px) {
    .hero { flex-direction: column; text-align: center; gap: 16px; }
    .logo { width: 110px; height: 110px; }
    .vs { flex-direction: column; gap: 10px; }
    .vs-card.boring, .vs-card.based { transform: none; }
    .vs-divider { transform: rotate(90deg); }
    main { padding: 16px 20px 0; gap: 20px; }
    .bottom-row { flex-direction: column; gap: 12px; }
    .tagline { font-size: 0.85rem; }
}
