/* CatJam ($CATJAM) Official CSS Styling */

:root {
    --bg-dark: #0a0b10;
    --bg-card: rgba(20, 24, 38, 0.75);
    --bg-card-hover: rgba(30, 36, 56, 0.85);
    --solana-green: #14F195;
    --solana-purple: #9945FF;
    --neon-cyan: #00F0FF;
    --neon-pink: #FF007A;
    --pump-green: #00E676;
    --text-white: #FFFFFF;
    --text-muted: #94A3B8;
    --border-color: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
}

body {
    position: relative;
    min-height: 100vh;
}

/* Background FX & Lights */
.disco-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 20% 20%, rgba(153, 69, 255, 0.15), transparent 40%),
                radial-gradient(circle at 80% 60%, rgba(20, 241, 149, 0.15), transparent 40%),
                radial-gradient(circle at 50% 90%, rgba(0, 240, 255, 0.1), transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: pulseBg 6s infinite alternate ease-in-out;
}

@keyframes pulseBg {
    0% { opacity: 0.7; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

/* Helper Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(20, 241, 149, 0.15);
    border: 1px solid var(--solana-green);
    color: var(--solana-green);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.badge-purple {
    background: rgba(153, 69, 255, 0.15);
    border-color: var(--solana-purple);
    color: #D8B4FE;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.neon-text-sol {
    background: linear-gradient(135deg, var(--solana-green), var(--neon-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(20, 241, 149, 0.4);
}

.neon-text-purple {
    background: linear-gradient(135deg, #D8B4FE, var(--solana-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.neon-text-green {
    background: linear-gradient(135deg, #A7F3D0, var(--solana-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Top Ticker Bar */
.top-ticker {
    background: linear-gradient(90deg, #14F195, #9945FF, #00F0FF);
    color: #000;
    font-weight: 800;
    padding: 8px 0;
    font-size: 0.9rem;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content {
    display: inline-block;
    animation: tickerMove 20s linear infinite;
}

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

.ticker-item {
    margin-right: 40px;
}

/* Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 11, 16, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.cat-logo-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--solana-green);
    box-shadow: 0 0 10px rgba(20, 241, 149, 0.5);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-white);
}

.logo-text .highlight {
    color: var(--solana-green);
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--solana-green);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sound-toggle-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.sound-toggle-btn:hover {
    background: rgba(20, 241, 149, 0.2);
    border-color: var(--solana-green);
    box-shadow: 0 0 12px rgba(20, 241, 149, 0.3);
}

.btn-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    vertical-align: middle;
}

.footer-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 6px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-pump {
    background: linear-gradient(135deg, #00E676, #14F195);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.4);
}

.btn-pump:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 30px rgba(0, 230, 118, 0.7);
}

.btn-primary {
    background: linear-gradient(135deg, var(--solana-green), var(--neon-cyan));
    color: #000;
    font-size: 1.1rem;
    padding: 14px 32px;
    box-shadow: 0 0 25px rgba(20, 241, 149, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 35px rgba(20, 241, 149, 0.8);
}

.btn-secondary {
    background: rgba(153, 69, 255, 0.2);
    border: 1px solid var(--solana-purple);
    color: #D8B4FE;
    font-size: 1.1rem;
    padding: 14px 28px;
}

.btn-secondary:hover {
    background: var(--solana-purple);
    color: #fff;
    box-shadow: 0 0 25px rgba(153, 69, 255, 0.6);
}

.btn-social {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 12px 20px;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

/* Hero Section */
.hero-section {
    padding: 80px 0 100px 0;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* CA Box */
.ca-box {
    background: var(--bg-card);
    border: 1px solid rgba(20, 241, 149, 0.3);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 30px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.ca-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--solana-green);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.ca-input-wrapper {
    display: flex;
    gap: 10px;
}

.ca-input-wrapper input {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
}

.btn-copy {
    background: var(--solana-green);
    color: #000;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    background: #00F0FF;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.6);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Video Frame & Audio Overlay */
.cat-frame {
    background: var(--bg-card);
    border: 2px solid var(--solana-purple);
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 0 40px rgba(153, 69, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.video-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.youtube-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    background: #000;
}

.youtube-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-audio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 11, 16, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.4s ease;
}

.video-audio-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.overlay-card {
    text-align: center;
}

.overlay-cat {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--solana-green);
    margin-bottom: 15px;
    animation: floatCat 2s ease-in-out infinite alternate;
}

@keyframes floatCat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

.overlay-btn {
    background: linear-gradient(135deg, var(--solana-green), var(--neon-cyan));
    color: #000;
    font-weight: 900;
    padding: 14px 24px;
    border-radius: 30px;
    font-size: 1rem;
    box-shadow: 0 0 25px rgba(20, 241, 149, 0.6);
}

/* Vibe Status Bar & EQ */
.vibe-status-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 16px;
    border-radius: 12px;
}

.cat-gif-mini img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.vibe-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vibe-title {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
}

.vibe-value {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--solana-green);
}

.eq-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 24px;
}

.eq-bars .bar {
    width: 4px;
    background: var(--solana-green);
    border-radius: 2px;
    animation: eqPulse 0.6s ease-in-out infinite alternate;
}

.eq-bars .bar1 { height: 60%; animation-delay: 0.1s; }
.eq-bars .bar2 { height: 100%; animation-delay: 0.2s; }
.eq-bars .bar3 { height: 40%; animation-delay: 0.3s; }
.eq-bars .bar4 { height: 80%; animation-delay: 0.4s; }
.eq-bars .bar5 { height: 90%; animation-delay: 0.5s; }

@keyframes eqPulse {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1); }
}

/* Vibe-O-Meter Section */
.vibe-section {
    padding: 90px 0;
    background: rgba(153, 69, 255, 0.03);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.vibe-card {
    background: var(--bg-card);
    border: 1px solid rgba(153, 69, 255, 0.4);
    border-radius: 24px;
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 0 35px rgba(153, 69, 255, 0.2);
}

.stage-cat {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid var(--solana-purple);
    box-shadow: 0 0 30px rgba(153, 69, 255, 0.6);
    margin-bottom: 20px;
    transition: transform 0.2s ease;
}

.vibe-counter-display {
    margin-bottom: 20px;
}

.count-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--solana-green);
    text-shadow: 0 0 20px rgba(20, 241, 149, 0.5);
}

.count-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.vibe-gauge-wrapper {
    background: rgba(0, 0, 0, 0.5);
    height: 16px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.vibe-gauge-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--solana-green), var(--neon-cyan), var(--solana-purple));
    border-radius: 10px;
    transition: width 0.3s ease;
}

.btn-jam-boost {
    background: linear-gradient(135deg, var(--solana-purple), var(--neon-pink));
    color: #fff;
    font-size: 1.2rem;
    padding: 16px 36px;
    box-shadow: 0 0 30px rgba(153, 69, 255, 0.5);
}

.btn-jam-boost:hover {
    transform: scale(1.06);
    box-shadow: 0 0 45px rgba(255, 0, 122, 0.7);
}

/* Video Vault Section */
.video-vault-section {
    padding: 100px 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: var(--solana-green);
    box-shadow: 0 10px 30px rgba(20, 241, 149, 0.2);
}

.video-wrapper video {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #000;
}

.video-card-body {
    padding: 20px;
}

.video-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.video-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.btn-file-select {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px dashed var(--solana-green);
    color: var(--solana-green);
    padding: 8px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-file-select:hover {
    background: rgba(20, 241, 149, 0.2);
}

.btn-file-select input[type="file"] {
    display: none;
}

.vault-note {
    background: rgba(20, 241, 149, 0.08);
    border: 1px solid var(--solana-green);
    border-radius: 12px;
    padding: 16px;
    color: #A7F3D0;
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.95rem;
}

/* Tokenomics */
.tokenomics-section {
    padding: 90px 0;
    background: rgba(20, 241, 149, 0.02);
    border-top: 1px solid var(--border-color);
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.token-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.token-card:hover {
    border-color: var(--solana-green);
    box-shadow: 0 0 25px rgba(20, 241, 149, 0.3);
    transform: translateY(-5px);
}

.token-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.token-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--solana-green);
    margin-bottom: 5px;
}

.token-label {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* How to Buy Steps */
.howtobuy-section {
    padding: 100px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    position: relative;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(153, 69, 255, 0.4);
    margin-bottom: 15px;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-white);
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Chart Section */
.chart-section {
    padding: 90px 0;
    background: rgba(0, 0, 0, 0.3);
}

.chart-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 40px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
}

.chart-placeholder {
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, rgba(20, 241, 149, 0.05) 0%, transparent 70%);
}

.mock-chart-content {
    text-align: center;
}

.chart-cat {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

/* Footer */
.main-footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    background: #050609;
}

.footer-cat-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--solana-green);
    margin-bottom: 10px;
}

.footer-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 15px auto 30px auto;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--solana-green);
    text-decoration: none;
    font-weight: 700;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--solana-green);
    color: #000;
    font-weight: 800;
    padding: 14px 24px;
    border-radius: 30px;
    box-shadow: 0 0 25px rgba(20, 241, 149, 0.8);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.6rem; }
    .nav-links { display: none; }
    .section-title { font-size: 2.2rem; }
}
