/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette from Clifford's Image - Dark Theme */
    --olive-gold: #8B7631;
    --warm-gold: #D1B246;
    --main-fur: #BE8854;
    --light-fur: #E6D1B2;
    --dark-fur: #966C44;
    --black: #000000;
    --white: #FFFFFF;
    --outline: #323232;
    
    /* Dark Theme Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: #1e1e1e;
    --bg-glass: rgba(30, 30, 30, 0.8);
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --text-accent: var(--warm-gold);
    
    --accent: var(--warm-gold);
    --accent-glow: rgba(209, 178, 70, 0.3);
    --gradient: linear-gradient(135deg, var(--warm-gold) 0%, var(--olive-gold) 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    --gradient-card: linear-gradient(145deg, #1e1e1e 0%, #2a2a2a 100%);
    
    /* Web3/Crypto Effects */
    --neon-glow: 0 0 20px var(--accent-glow);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --border-glow: 1px solid rgba(209, 178, 70, 0.2);
}

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

/* Dark theme background with subtle pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(209, 178, 70, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 118, 49, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(190, 136, 84, 0.02) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-dark);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(209, 178, 70, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, rgba(139, 118, 49, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-doge {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
    box-shadow: var(--neon-glow);
    filter: blur(1px);
}

.floating-doge-2 {
    top: 20%;
    right: 10%;
    animation-delay: -2s;
    animation-duration: 8s;
}

.floating-doge-3 {
    bottom: 30%;
    left: 15%;
    animation-delay: -4s;
    animation-duration: 7s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Clifford Avatar */
.clifford-avatar {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.avatar-ring {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--gradient);
    padding: 8px;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: var(--neon-glow), 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(209, 178, 70, 0.3);
}

.avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(209, 178, 70, 0.2);
}

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

.clifford-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.clifford-image:hover {
    transform: scale(1.05);
}

/* Typography */
.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.title-line {
    display: block;
    opacity: 0;
    animation: slideInUp 0.8s ease-out forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.8s forwards;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-quote {
    margin: 2rem 0;
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
}

.hero-quote blockquote {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--warm-gold);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(209, 178, 70, 0.3);
}

.hero-quote cite {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: normal;
    font-weight: 500;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.2s forwards;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: var(--bg-glass);
    border: var(--border-glow);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    box-shadow: var(--card-shadow);
}

.social-link:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--neon-glow), 0 10px 25px rgba(0, 0, 0, 0.3);
}

.telegram:hover {
    background: #0088cc;
    color: white;
}

.twitter:hover {
    background: #1da1f2;
    color: white;
}

/* CA Copier Section */
.ca-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.ca-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(209, 178, 70, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(139, 118, 49, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.ca-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--gradient-card);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    text-align: center;
    border: var(--border-glow);
    position: relative;
    z-index: 2;
}

.ca-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.ca-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

#ca-input {
    flex: 1;
    padding: 1rem;
    border: var(--border-glow);
    border-radius: 12px;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.9rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

#ca-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: var(--neon-glow);
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 118, 49, 0.3);
}

.copy-btn:active {
    transform: translateY(0);
}

.ca-status {
    font-size: 0.9rem;
    font-weight: 500;
    min-height: 1.5rem;
    transition: all 0.3s ease;
}

.ca-status.success {
    color: #10b981;
}

.ca-status.error {
    color: #ef4444;
}

/* Video Section */
.video-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(209, 178, 70, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(139, 118, 49, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.video-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.video-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.video-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: var(--border-glow);
    background: var(--bg-card);
}

.clifford-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
    border-radius: 20px;
}

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

.play-button {
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
}

.play-button:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(209, 178, 70, 0.8));
}

.video-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(209, 178, 70, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: videoGlow 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes videoGlow {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}

.video-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--gradient-card);
    border-radius: 16px;
    border: var(--border-glow);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(209, 178, 70, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--neon-glow), 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
}

.stat-number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--warm-gold);
    margin-bottom: 0.3rem;
    text-shadow: 0 0 10px rgba(209, 178, 70, 0.3);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Video */
@media (max-width: 768px) {
    .video-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .video-title {
        font-size: 2rem;
    }
    
    .video-subtitle {
        font-size: 1rem;
    }
}

/* Dexscreener Section */
.dexscreener-section {
    padding: 4rem 0;
    background: var(--bg-primary);
    position: relative;
}

.dexscreener-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(209, 178, 70, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 25% 75%, rgba(139, 118, 49, 0.02) 0%, transparent 50%);
    z-index: 1;
}

.dexscreener-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.dexscreener-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: var(--border-glow);
    position: relative;
    z-index: 2;
    background: var(--bg-card);
}

.dexscreener-container iframe {
    display: block;
    border: none;
    border-radius: 20px;
    background: var(--bg-card);
}

/* Sources Section */
.sources-section {
    padding: 4rem 0;
    background: var(--bg-primary);
    position: relative;
}

.sources-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(209, 178, 70, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(139, 118, 49, 0.02) 0%, transparent 50%);
    z-index: 1;
}

.sources-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.source-card {
    background: var(--gradient-card);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: var(--border-glow);
}

.source-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--neon-glow), 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
}

.source-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.source-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.source-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.source-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.source-link:hover {
    color: var(--warm-gold);
    transform: translateX(5px);
    text-shadow: 0 0 8px rgba(209, 178, 70, 0.4);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem 0;
    border-top: var(--border-glow);
}

.footer p {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .ca-input-group {
        flex-direction: column;
    }
    
    .copy-btn {
        min-width: auto;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .ca-card,
    .source-card {
        padding: 1.5rem;
    }
    
    .avatar-ring {
        width: 150px;
        height: 150px;
    }
    
    .clifford-face {
        width: 90px;
        height: 90px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Web3/Crypto Animations */
@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

@keyframes neonPulse {
    0%, 100% { 
        box-shadow: var(--neon-glow), 0 0 5px var(--accent-glow);
    }
    50% { 
        box-shadow: 0 0 30px var(--accent-glow), 0 0 40px var(--accent-glow);
    }
}

@keyframes cryptoGlow {
    0%, 100% { 
        filter: brightness(1) drop-shadow(0 0 5px var(--accent-glow));
    }
    50% { 
        filter: brightness(1.1) drop-shadow(0 0 15px var(--accent-glow));
    }
}

@keyframes dataFlow {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100vw); opacity: 0; }
}

.loading {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-card) 50%, var(--bg-tertiary) 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Add neon pulse to avatar */
.avatar-ring {
    animation: pulse 2s ease-in-out infinite, neonPulse 3s ease-in-out infinite;
}

/* Add crypto glow to Clifford image */
.clifford-image {
    animation: cryptoGlow 4s ease-in-out infinite;
}

/* Add data flow effect */
.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -100px;
    width: 2px;
    height: 2px;
    background: var(--warm-gold);
    box-shadow: 0 0 10px var(--warm-gold);
    animation: dataFlow 8s linear infinite;
    z-index: 1;
}

.hero::after:nth-child(2) {
    animation-delay: 2s;
    top: 30%;
}

.hero::after:nth-child(3) {
    animation-delay: 4s;
    top: 70%;
}
