/* Custom Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #111111;
    color: #E5E7EB;
}

.font-mono {
    font-family: 'Inconsolata', monospace;
}

/* Hero glow effect */
.hero-glow {
    text-shadow: 0 0 30px rgba(159, 18, 57, 0.7);
}

/* Pulsing animation for hero emoji */
.hero-pulse {
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        text-shadow: 0 0 30px rgba(159, 18, 57, 0.7);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 50px rgba(159, 18, 57, 0.9), 0 0 70px rgba(159, 18, 57, 0.5);
        transform: scale(1.02);
    }
}

/* Falling Petals Animation */
.petals-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.petal {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: fall linear infinite;
    pointer-events: none;
}

@keyframes fall {
    0% {
        transform: translateY(-10%) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

/* Individual petal variations */
.petal-1 {
    left: 10%;
    animation-duration: 12s;
    animation-delay: 0s;
}

.petal-2 {
    left: 25%;
    animation-duration: 15s;
    animation-delay: 2s;
    font-size: 1.5rem;
}

.petal-3 {
    left: 45%;
    animation-duration: 13s;
    animation-delay: 4s;
}

.petal-4 {
    left: 65%;
    animation-duration: 14s;
    animation-delay: 1s;
    font-size: 1.8rem;
}

.petal-5 {
    left: 80%;
    animation-duration: 16s;
    animation-delay: 3s;
    font-size: 1.6rem;
}

.petal-6 {
    left: 90%;
    animation-duration: 11s;
    animation-delay: 5s;
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(to right, #f43f5e, #be123c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

/* Primary Button: Rose Color */
.btn-primary {
    background-color: #9f1239;
    color: #FFF;
    border: 2px solid #9f1239;
}
.btn-primary:hover {
    background-color: #881337;
    border-color: #881337;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(159, 18, 57, 0.4);
}

/* Secondary Button: Outline */
.btn-outline {
    background-color: transparent;
    color: #E5E7EB;
    border: 2px solid #374151;
}
.btn-outline:hover {
    background-color: #374151;
    color: #FFF;
}
.btn-outline:disabled,
.btn-outline.cursor-not-allowed {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Contract Address Box Style */
.ca-box {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Roadmap Timeline Styles */
.roadmap-container {
    position: relative;
}

.roadmap-card {
    position: relative;
}

/* Live Stats Styles */
.stats-container {
    perspective: 1000px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(156, 163, 175, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #9f1239, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(159, 18, 57, 0.3);
    border-color: rgba(159, 18, 57, 0.5);
}

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

.stat-card-featured {
    background: linear-gradient(135deg, rgba(159, 18, 57, 0.1) 0%, rgba(17, 24, 39, 0.8) 100%);
    border: 2px solid rgba(159, 18, 57, 0.3);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-label {
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    text-align: center;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: #f3f4f6;
    margin-bottom: 0.5rem;
    text-align: center;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-source {
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
    margin-top: 0.5rem;
}

.stat-meta {
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
    margin-top: 0.5rem;
}

.stat-indicator {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.stat-indicator.positive {
    color: #10b981;
}

.stat-indicator.negative {
    color: #ef4444;
}

/* Price Change Indicators */
.price-positive {
    color: #10b981;
    font-weight: 700;
}

.price-negative {
    color: #ef4444;
    font-weight: 700;
}

/* Stats Fallback Message */
.stats-fallback {
    text-align: center;
    padding: 3rem 1.5rem;
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(156, 163, 175, 0.2);
    border-radius: 0.75rem;
    margin-top: 2rem;
}

/* Refresh Button */
.refresh-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(159, 18, 57, 0.1);
    border: 1px solid rgba(159, 18, 57, 0.3);
    color: #f3f4f6;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.refresh-button:hover {
    background: rgba(159, 18, 57, 0.2);
    border-color: rgba(159, 18, 57, 0.5);
    transform: translateY(-2px);
}

.refresh-button:active {
    transform: translateY(0);
}

.refresh-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.6s ease;
}

.refresh-button:hover .refresh-icon {
    transform: rotate(180deg);
}

.refresh-button.loading .refresh-icon {
    animation: spin 1s linear infinite;
}

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

/* Loading Skeleton Animation */
.skeleton {
    background: linear-gradient(90deg, rgba(55, 65, 81, 0.4) 25%, rgba(75, 85, 99, 0.5) 50%, rgba(55, 65, 81, 0.4) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 0.375rem;
}

.skeleton-text {
    height: 2rem;
    width: 80%;
    margin: 0 auto;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

