/* ============================================
   OpenClaw - Minimal Memecoin Website
   ============================================ */

:root {
    /* Colors */
    --bg-primary: #0a0b0d;
    --bg-secondary: #0f1114;
    --bg-card: #13161a;
    --bg-card-hover: #181b20;
    
    --text-primary: #e8e9eb;
    --text-secondary: #8b8f96;
    --text-muted: #5a5e66;
    
    --accent-red: #c94a4a;
    --accent-red-soft: rgba(201, 74, 74, 0.15);
    --accent-green: #4a9c6d;
    --accent-green-soft: rgba(74, 156, 109, 0.2);
    
    --border-color: rgba(255, 255, 255, 0.06);
    --border-color-hover: rgba(255, 255, 255, 0.1);
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1100px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Background Gradient */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 74, 74, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(20, 40, 30, 0.4), transparent),
        radial-gradient(ellipse 60% 40% at 0% 80%, rgba(15, 25, 20, 0.3), transparent);
    pointer-events: none;
    z-index: 0;
}

/* Subtle Grid Background */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* Noise Texture */
.bg-noise {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(10, 11, 13, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(10, 11, 13, 0.95);
    border-bottom-color: var(--border-color);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform var(--transition-base);
}

.nav-logo:hover {
    transform: scale(1.02);
}

.nav-logo:hover .nav-logo-img {
    filter: drop-shadow(0 0 8px rgba(201, 74, 74, 0.5));
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--accent-red);
}

.logo-icon.small {
    width: 24px;
    height: 24px;
}

.logo-text {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.nav-status-badge {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--accent-green-soft);
    color: var(--accent-green);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all var(--transition-base);
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: all var(--transition-base);
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.nav-link:hover::before {
    width: 20px;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--accent-red) 0%, #a33d3d 100%);
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(201, 74, 74, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201, 74, 74, 0.4);
}

.nav-cta-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: ctaDotPulse 1.5s ease-in-out infinite;
}

@keyframes ctaDotPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 100px 24px;
}

/* Hero Entrance Animations */
.hero-mascot {
    animation: fadeInLeft 1s ease-out;
}

.hero-content {
    animation: fadeInRight 1s ease-out;
}

.hero-headline {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtext {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-indicator {
    animation: fadeIn 1s ease-out 1s both;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

.hero-container {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: var(--container-max);
    width: 100%;
}

.hero-mascot {
    flex-shrink: 0;
}

/* Logo Images */
.nav-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-logo-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Hero Mascot */
.mascot-container {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(201, 74, 74, 0.3));
}

.mascot-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(201, 74, 74, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 4s ease-in-out infinite;
    z-index: 1;
}

.mascot-ring {
    position: absolute;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(201, 74, 74, 0.2);
    border-radius: 50%;
    animation: ring-rotate 20s linear infinite;
}

.mascot-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-red);
}

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

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes ring-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    flex: 1;
}

.hero-headline {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary) 0%, rgba(232, 233, 235, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: default;
}

.hero-title {
    display: inline;
}

.hero-subtext {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
    transition: color var(--transition-base);
}

.hero-subtext:hover {
    color: var(--text-primary);
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

.btn:hover .btn-icon {
    transform: scale(1.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-red) 0%, #a33d3d 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(201, 74, 74, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d65858 0%, var(--accent-red) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(201, 74, 74, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--border-color-hover);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: rgba(201, 74, 74, 0.3);
    transform: translateY(-2px);
}

/* Hero Indicator */
.hero-indicator {
    position: absolute;
    bottom: 60px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; box-shadow: 0 0 0 0 rgba(74, 156, 109, 0.4); }
    50% { opacity: 1; box-shadow: 0 0 0 8px rgba(74, 156, 109, 0); }
}

.indicator-text {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Agent Activity Ticker */
.agent-activity {
    position: absolute;
    bottom: 120px;
    right: 60px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 11px;
}

.activity-line {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(20px);
    animation: activitySlideIn 0.5s ease forwards;
}

.activity-line:nth-child(1) { animation-delay: 1.5s; }
.activity-line:nth-child(2) { animation-delay: 2s; }
.activity-line:nth-child(3) { animation-delay: 2.5s; }

@keyframes activitySlideIn {
    to {
        opacity: 0.6;
        transform: translateX(0);
    }
}

.activity-dot {
    width: 4px;
    height: 4px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: activityPulse 2s ease-in-out infinite;
}

.activity-line:nth-child(2) .activity-dot {
    animation-delay: 0.3s;
}

.activity-line:nth-child(3) .activity-dot {
    animation-delay: 0.6s;
}

@keyframes activityPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.activity-text {
    background: rgba(74, 156, 109, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(74, 156, 109, 0.2);
}

/* Sections */
.section {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.section-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 40px;
    transition: all var(--transition-base);
}

.section-label:hover {
    color: var(--accent-red);
    letter-spacing: 0.2em;
}

/* Interactive Text Hover Effects */
.hover-text {
    display: inline-block;
    transition: all var(--transition-base);
    cursor: default;
}

.hover-text:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.hover-glow:hover {
    text-shadow: 0 0 20px rgba(201, 74, 74, 0.5);
    color: var(--accent-red);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

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

/* Word-by-word hover */
.text-word {
    display: inline-block;
    transition: all var(--transition-fast);
}

.text-word:hover {
    color: var(--accent-red);
    transform: translateY(-3px);
}

/* About Section */
.about {
    border-top: 1px solid var(--border-color);
}

.about-content {
    max-width: 600px;
}

.about-text {
    font-size: 24px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 400;
}

.about-text span {
    display: inline;
    transition: all var(--transition-base);
}

.about-text:hover span {
    color: var(--text-primary);
}

.about-text.accent {
    color: var(--text-primary);
    margin-top: 24px;
    transition: all var(--transition-base);
}

.about-text.accent:hover {
    color: var(--accent-red);
    transform: translateX(8px);
}

/* Typewriter Effect */
.typewriter-line {
    overflow: hidden;
}

.typewriter-text {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.typewriter-line.visible .typewriter-text {
    opacity: 1;
    transform: translateY(0);
}

/* Terminal Section */
.terminal-section {
    padding: 60px 0;
}

.terminal-window {
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.terminal-header {
    background: linear-gradient(to bottom, #1c2128, #161b22);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-btn.red {
    background: #ff5f56;
}

.terminal-btn.yellow {
    background: #ffbd2e;
}

.terminal-btn.green {
    background: #27ca40;
}

.terminal-title {
    flex: 1;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.terminal-body {
    padding: 20px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.terminal-line {
    opacity: 0;
    transform: translateX(-10px);
    animation: terminalFadeIn 0.4s ease forwards;
}

.terminal-line:nth-child(1) { animation-delay: 0.2s; }
.terminal-line:nth-child(2) { animation-delay: 0.6s; }
.terminal-line:nth-child(3) { animation-delay: 1.0s; }
.terminal-line:nth-child(4) { animation-delay: 1.4s; }
.terminal-line:nth-child(5) { animation-delay: 1.8s; }
.terminal-line:nth-child(6) { animation-delay: 2.2s; }

@keyframes terminalFadeIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.terminal-prompt {
    color: var(--accent-green);
    margin-right: 8px;
}

.terminal-command {
    color: var(--text-primary);
}

.terminal-output {
    color: var(--text-secondary);
    padding-left: 20px;
}

.terminal-success {
    color: var(--accent-green);
    margin-right: 8px;
}

.terminal-info {
    color: var(--accent-red);
    margin-right: 8px;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.terminal-highlight {
    color: var(--accent-green);
    font-weight: 600;
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--accent-green);
    animation: cursorBlink 1s step-end infinite;
    vertical-align: middle;
}

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

/* Philosophy Section */
.philosophy {
    padding: 80px 0;
}

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

.philosophy-line {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 400;
    transition: all var(--transition-base);
    cursor: default;
}

.philosophy-line:hover {
    color: var(--text-secondary);
    transform: scale(1.02);
}

.philosophy-line.highlight {
    color: var(--text-secondary);
    margin-top: 20px;
}

.philosophy-line.highlight:hover {
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(201, 74, 74, 0.3);
}

/* Reveal Text Animation */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text:nth-child(1) { transition-delay: 0s; }
.reveal-text:nth-child(2) { transition-delay: 0.15s; }
.reveal-text:nth-child(3) { transition-delay: 0.3s; }

/* Parallax Text Effect */
.parallax-text {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Featured / Tweets Section */
.featured {
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.featured-header {
    text-align: center;
    margin-bottom: 60px;
}

.featured-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.featured-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.tweets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.tweet-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.tweet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(29, 155, 240, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.tweet-card:hover {
    transform: translateY(-4px);
    border-color: rgba(29, 155, 240, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.tweet-card:hover::before {
    opacity: 1;
}

.tweet-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.tweet-avatar {
    width: 48px;
    height: 48px;
    background: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all var(--transition-base);
}

.tweet-card:hover .tweet-avatar {
    border-color: var(--accent-red);
    transform: scale(1.05);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform var(--transition-base);
}

.tweet-card:hover .avatar-img {
    transform: scale(1.1);
}

.tweet-avatar svg {
    width: 28px;
    height: 28px;
    color: var(--text-muted);
}

.tweet-user {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tweet-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.verified-badge {
    background: rgba(29, 155, 240, 0.2);
    color: #1d9bf0;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.tweet-handle {
    color: var(--text-muted);
    font-size: 14px;
}

.tweet-x-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: color var(--transition-base);
}

.tweet-card:hover .tweet-x-icon {
    color: var(--text-primary);
}

/* Tweet Reply Indicator */
.tweet-reply-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--accent-green);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.tweet-reply-indicator svg {
    width: 14px;
    height: 14px;
    transform: rotate(180deg);
}

.tweet-card-response {
    border-color: rgba(74, 156, 109, 0.3);
}

.tweet-card-response::before {
    background: linear-gradient(135deg, rgba(74, 156, 109, 0.08) 0%, transparent 50%);
}

.tweet-card-response:hover {
    border-color: rgba(74, 156, 109, 0.5);
}

.tweet-avatar-verified {
    background: linear-gradient(135deg, var(--bg-primary), rgba(74, 156, 109, 0.2));
}

.tweet-avatar-verified svg {
    color: var(--accent-green);
}

.tweet-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.tweet-content p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 10px 0;
    transition: color var(--transition-base);
}

.tweet-card:hover .tweet-content p {
    color: var(--text-primary);
}

.tweet-content p:last-child {
    margin-bottom: 0;
}

.tweet-mention {
    color: #1d9bf0;
    font-weight: 500;
    transition: all var(--transition-base);
}

.tweet-mention:hover {
    text-shadow: 0 0 15px rgba(29, 155, 240, 0.5);
}

.tweet-highlight {
    color: var(--accent-green);
    font-weight: 600;
    transition: all var(--transition-base);
}

.tweet-highlight:hover {
    text-shadow: 0 0 15px rgba(74, 156, 109, 0.5);
}

.tweet-secondary {
    color: var(--text-muted);
    font-style: italic;
    font-size: 14px;
}

.tweet-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.tweet-date {
    font-size: 13px;
    color: var(--text-muted);
    transition: color var(--transition-base);
}

.tweet-card:hover .tweet-date {
    color: rgba(29, 155, 240, 0.8);
}

.tweet-external {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-8px);
    transition: all var(--transition-base);
}

.tweet-card:hover .tweet-external {
    opacity: 1;
    transform: translateX(0);
}

.featured-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: var(--accent-green-soft);
    border: 1px solid rgba(74, 156, 109, 0.2);
    border-radius: 12px;
    color: var(--accent-green);
    font-size: 14px;
    font-weight: 500;
}

.featured-note .github-icon {
    width: 20px;
    height: 20px;
}

/* Status Section */
.status {
    background: linear-gradient(to bottom, transparent, var(--bg-secondary), transparent);
    padding: 140px 0;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.status-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.status-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.status-card:hover::before {
    opacity: 1;
}

.status-card:nth-child(3)::before {
    background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
}

.status-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.online {
    background: var(--accent-green);
    box-shadow: 0 0 12px rgba(74, 156, 109, 0.5);
    animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
    0%, 100% { box-shadow: 0 0 12px rgba(74, 156, 109, 0.5); }
    50% { box-shadow: 0 0 20px rgba(74, 156, 109, 0.8); }
}

.status-dot.normal {
    background: var(--accent-green);
    opacity: 0.8;
}

.status-dot.observing {
    background: var(--accent-red);
    opacity: 0.8;
}

.status-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.status-value {
    font-size: 28px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.status-footer {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}

/* Community Section */
.community {
    text-align: center;
}

.community-content {
    margin-bottom: 48px;
}

.community-text {
    font-size: 32px;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 8px;
}

.community-text.accent {
    color: var(--text-secondary);
}

.community-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.community-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.community-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 74, 74, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.community-link:hover::before {
    opacity: 1;
}

.community-link:hover {
    background: var(--bg-card-hover);
    border-color: rgba(201, 74, 74, 0.3);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.community-link:hover svg {
    transform: scale(1.1);
    color: var(--accent-red);
}

.community-link svg {
    width: 22px;
    height: 22px;
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
}

.community-link span {
    position: relative;
    z-index: 1;
}

/* Token Section */
.token {
    border-top: 1px solid var(--border-color);
}

.token-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
}

.token-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.token-item:last-child {
    border-bottom: none;
}

.token-item.contract {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.token-key {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.token-value {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
}

.contract-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: var(--bg-primary);
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: border-color var(--transition-base);
}

.contract-wrapper:hover {
    border-color: var(--border-color-hover);
}

.contract-link {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    text-decoration: none;
    transition: all var(--transition-base);
}

.contract-link:hover .contract-address {
    color: var(--accent-red);
}

.contract-link:hover .external-icon {
    opacity: 1;
    transform: translateX(2px);
}

.external-icon {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    opacity: 0.5;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.contract-address {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 13px;
    color: var(--text-secondary);
    word-break: break-all;
    transition: color var(--transition-base);
}

.copy-btn {
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text-muted);
    transition: all var(--transition-fast);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.copy-btn:hover {
    color: var(--text-primary);
    background: var(--bg-card-hover);
}

.copy-btn svg {
    width: 18px;
    height: 18px;
}

.copy-btn .check-icon {
    position: absolute;
    opacity: 0;
    color: var(--accent-green);
}

.copy-btn.copied svg:first-child {
    opacity: 0;
}

.copy-btn.copied .check-icon {
    opacity: 1;
}

.token-disclaimer {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-weight: 500;
}

.footer-logo .logo-icon {
    color: var(--accent-red);
    opacity: 0.6;
}

.footer-status {
    font-size: 14px;
    color: var(--text-muted);
}

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

.footer-copyright {
    font-size: 12px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .mascot-container {
        width: 240px;
        height: 240px;
    }
    
    .hero-logo-img {
        width: 150px;
        height: 150px;
    }
    
    .mascot-glow {
        width: 180px;
        height: 180px;
    }
    
    .mascot-ring {
        width: 210px;
        height: 210px;
    }
    
    .agent-activity {
        display: none;
    }
    
    .status-grid {
        grid-template-columns: 1fr;
    }
    
    .community-links {
        flex-direction: column;
        align-items: center;
    }
    
    .community-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .tweets-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-title {
        font-size: 28px;
    }
    
    .terminal-window {
        margin: 0 -12px;
        border-radius: 8px;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
    
    .nav-status-badge {
        display: none;
    }
    
    .nav-cta {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .nav-cta::before {
        display: none;
    }
    
    .hero-headline {
        font-size: 40px;
    }
    
    .about-text {
        font-size: 20px;
    }
    
    .community-text {
        font-size: 24px;
    }
    
    .status-value {
        font-size: 24px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .tweet-card {
        padding: 20px;
    }
    
    .featured-note {
        font-size: 13px;
        padding: 16px;
    }
    
    .terminal-body {
        font-size: 12px;
        padding: 16px;
    }
}

/* Selection */
::selection {
    background: var(--accent-red-soft);
    color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bg-card-hover);
}
