/* Custom CSS for HUNDRED memecoin site */

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

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Hero circle */
.hero-circle {
    position: relative;
}

/* Floating callout cards */
.callout-card {
    position: absolute;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    z-index: 10;
}

.callout-top-left {
    top: -2rem;
    left: -12rem;
}

.callout-top-right {
    top: -2rem;
    right: -12rem;
}

.callout-bottom {
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
}

/* Responsive callout positioning */
@media (max-width: 1024px) {
    .callout-top-left,
    .callout-top-right,
    .callout-bottom {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        margin: 0.5rem auto;
        display: inline-block;
    }
    
    .leader-line {
        display: none !important;
    }
}

/* Leader lines */
.leader-line {
    position: absolute;
    background: rgba(0, 0, 0, 0.08);
    pointer-events: none;
}

.leader-top-left {
    width: 1px;
    height: 6rem;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.leader-top-left::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
}

.leader-top-right {
    width: 1px;
    height: 6rem;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.leader-top-right::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
}

.leader-bottom {
    width: 1px;
    height: 4rem;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

/* Tooltip */
.tooltip {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-circle:hover .tooltip {
    opacity: 1;
}

/* Comparison section hover effects */
.comparison-card {
    position: relative;
}

.comparison-right:hover {
    transform: translateX(6px);
}

@media (prefers-reduced-motion: reduce) {
    .comparison-right:hover {
        transform: none;
    }
}

/* Contract pill hover */
.contract-pill:hover .contract-masked {
    display: none;
}

.contract-pill:hover .contract-full {
    display: inline !important;
}

/* Toast notification */
.toast.show {
    opacity: 1;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #0a0a0a;
    outline-offset: 2px;
}

/* Tagline fade animation */
#rotating-tagline {
    transition: opacity 0.5s ease;
}

.tagline-fade-out {
    opacity: 0 !important;
}

.tagline-fade-in {
    opacity: 1 !important;
}
