/* SpookyBot $SPOOK - CSS Styles */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0d1a 25%, #2d1810 50%, #1a0d1a 75%, #0a0a0a 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-ghost, .floating-pumpkin {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.ghost-1 { top: 10%; left: 10%; animation-delay: 0s; }
.ghost-2 { top: 60%; right: 15%; animation-delay: 2s; }
.ghost-3 { top: 30%; left: 80%; animation-delay: 4s; }
.pumpkin-1 { top: 80%; left: 20%; animation-delay: 1s; }
.pumpkin-2 { top: 20%; right: 30%; animation-delay: 3s; }

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Typography */
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ffcd3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
}

.gradient-text {
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ffcd3c, #ff6b35);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 0;
    background: radial-gradient(circle at center, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* SpookyBot Character */
.spookybot-character {
    position: relative;
    font-size: 6rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

.robot-head, .robot-body {
    display: block;
    line-height: 1;
}

.robot-head {
    animation: glow 2s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 20px #ff6b35);
}

.robot-body {
    margin-top: -1rem;
    filter: drop-shadow(0 0 15px #4facfe);
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s ease-in-out infinite;
    z-index: -1;
}

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

@keyframes glow {
    0% { filter: drop-shadow(0 0 20px #ff6b35); }
    100% { filter: drop-shadow(0 0 30px #ffcd3c); }
}

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

/* Hero Title */
.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.ticker {
    font-size: 0.6em;
    color: #ffcd3c;
    text-shadow: 0 0 20px rgba(255, 205, 60, 0.8);
    background: rgba(255, 205, 60, 0.1);
    padding: 0.2em 0.5em;
    border-radius: 10px;
    border: 2px solid rgba(255, 205, 60, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 2rem;
    color: #cccccc;
    max-width: 600px;
}

/* Halloween Countdown */
.countdown-container {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid rgba(255, 107, 53, 0.3);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.countdown-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 1rem;
    text-align: center;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.time-unit .number {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffcd3c;
    text-shadow: 0 0 15px rgba(255, 205, 60, 0.8);
    display: block;
    background: rgba(255, 205, 60, 0.1);
    padding: 0.3em;
    border-radius: 10px;
    border: 2px solid rgba(255, 205, 60, 0.3);
    min-width: 80px;
    text-align: center;
}

.time-unit .label {
    font-size: 0.9rem;
    color: #cccccc;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buy Buttons */
.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.buy-button {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 700;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    position: relative;
    overflow: hidden;
    min-width: 300px;
    text-align: center;
}

.buy-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6);
    background: linear-gradient(45deg, #f7931e, #ffcd3c);
}

.buy-button:active {
    transform: translateY(-1px);
}

/* Button Animations */
.buy-button.pulse {
    animation: buttonPulse 2s ease-in-out infinite;
}

.buy-button.mega-pulse {
    animation: megaPulse 1.5s ease-in-out infinite;
}

.buy-button.glow {
    animation: buttonGlow 3s ease-in-out infinite;
}

.buy-button.secondary {
    background: linear-gradient(45deg, #9c27b0, #673ab7);
    box-shadow: 0 8px 25px rgba(156, 39, 176, 0.4);
}

.buy-button.secondary:hover {
    background: linear-gradient(45deg, #673ab7, #3f51b5);
    box-shadow: 0 12px 35px rgba(156, 39, 176, 0.6);
}

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

@keyframes megaPulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    }
    50% { 
        transform: scale(1.08); 
        box-shadow: 0 15px 40px rgba(255, 107, 53, 0.8);
    }
}

@keyframes buttonGlow {
    0%, 100% { 
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    }
    50% { 
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4), 0 0 50px rgba(255, 205, 60, 0.6);
    }
}

.cta-subtitle {
    color: #cccccc;
    font-size: 1.1rem;
    text-align: center;
}

/* Section Spacing */
section {
    padding: 6rem 0;
    position: relative;
}

section:nth-child(even) {
    background: rgba(0, 0, 0, 0.2);
}

/* Predictions Terminal */
.predictions {
    background: rgba(0, 0, 0, 0.3);
}

.terminal {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 107, 53, 0.3);
}

.terminal-header {
    background: #333;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

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

.btn.red { background: #ff5f56; }
.btn.yellow { background: #ffbd2e; }
.btn.green { background: #27ca3f; }

.terminal-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: #cccccc;
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
}

.terminal-line {
    margin-bottom: 0.5rem;
}

.prompt {
    color: #27ca3f;
}

.command {
    color: #ffcd3c;
}

.terminal-output {
    margin: 1rem 0;
}

.prediction-line {
    color: #ff6b35;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: typeIn 0.8s ease-in-out forwards;
}

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

.terminal-cursor {
    color: #27ca3f;
    animation: blink 1s infinite;
}

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

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

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

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #cccccc;
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-text {
    font-weight: 600;
    color: #ffcd3c;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.spookybot-large {
    position: relative;
    font-size: 8rem;
    animation: bounce 3s ease-in-out infinite;
}

.robot-animation {
    filter: drop-shadow(0 0 30px #ff6b35);
}

.energy-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 10s linear infinite;
}

.energy-rings::before,
.energy-rings::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 2px solid rgba(255, 205, 60, 0.2);
}

.energy-rings::before {
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    animation: rotate 8s linear infinite reverse;
}

.energy-rings::after {
    width: 400px;
    height: 400px;
    transform: translate(-50%, -50%);
    animation: rotate 12s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

/* Tokenomics Section */
.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tokenomics-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 2px solid rgba(255, 107, 53, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.tokenomics-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.tokenomics-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: #ff6b35;
    margin-bottom: 1rem;
}

.card-value {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    color: #ffcd3c;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(255, 205, 60, 0.5);
}

.tokenomics-card p {
    color: #cccccc;
}

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

/* Roadmap Section */
.roadmap-timeline {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    position: relative;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #ff6b35, #ffcd3c);
    transform: translateX(-50%);
    border-radius: 2px;
}

.roadmap-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.roadmap-item:nth-child(odd) {
    flex-direction: row;
}

.roadmap-item:nth-child(even) {
    flex-direction: row-reverse;
}

.roadmap-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #ff6b35, #ffcd3c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 2rem;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
    z-index: 2;
    position: relative;
}

.roadmap-content {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 107, 53, 0.2);
    backdrop-filter: blur(10px);
}

.roadmap-content h3 {
    font-family: 'Orbitron', monospace;
    color: #ff6b35;
    margin-bottom: 0.5rem;
}

.roadmap-content p {
    color: #cccccc;
    margin-bottom: 1rem;
}

.phase-status {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffcd3c;
    border: 1px solid rgba(255, 205, 60, 0.3);
}

.roadmap-item.active .roadmap-icon {
    animation: pulse 2s ease-in-out infinite;
}

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

/* Community Section */
.community {
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
}

.community-description {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 107, 53, 0.1);
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 140px;
    justify-content: center;
}

.social-link:hover {
    transform: translateY(-5px);
    background: rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.social-icon {
    font-size: 1.5rem;
}

.social-text {
    font-weight: 600;
}

.community-cta {
    margin-top: 3rem;
}

.final-message {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #ffcd3c;
    font-weight: 600;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
}

.footer-logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

.footer-disclaimer {
    max-width: 600px;
    margin: 0 auto;
}

.footer-disclaimer p {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .time-unit .number {
        font-size: 2rem;
        min-width: 60px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .spookybot-large {
        font-size: 6rem;
    }
    
    .energy-rings,
    .energy-rings::before,
    .energy-rings::after {
        display: none;
    }
    
    .roadmap-timeline::before {
        left: 30px;
    }
    
    .roadmap-item {
        flex-direction: row !important;
        padding-left: 80px;
    }
    
    .roadmap-item:nth-child(even) {
        flex-direction: row !important;
    }
    
    .roadmap-icon {
        position: absolute;
        left: 0;
        margin: 0;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        min-width: 120px;
        padding: 0.8rem 1rem;
    }
    
    .buy-button {
        min-width: 250px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .spookybot-character {
        font-size: 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .ticker {
        font-size: 1.2rem;
    }
    
    .countdown-container {
        padding: 1.5rem;
    }
    
    .time-unit .number {
        font-size: 1.5rem;
        min-width: 50px;
    }
    
    .spookybot-large {
        font-size: 4rem;
    }
    
    .tokenomics-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .buy-button {
        min-width: 200px;
        padding: 0.8rem 1.5rem;
    }
}