/* QuadRipple Global Styles */

/* 1. Reset & Global Typography */
body { 
    font-family: 'Manrope', sans-serif; 
    background-color: #FFFFFF; 
    color: #0F172A; 
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* 2. Background Visual Elements */
.gradient-blur-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f8fafc 100%);
}

.blur-orb {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.08;
    animation: float 30s infinite ease-in-out alternate;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(100px, 80px) scale(1.1); }
    100% { transform: translate(-80px, 120px) scale(0.9); }
}

/* Page-Specific Orb Configurations */
.orb-index-teal { background: #00A3AD; top: -200px; left: -200px; }
.orb-index-mint { background: #2dd4bf; bottom: -200px; right: -200px; animation-delay: -5s; }

.orb-community-teal { 
    background: #00A3AD; 
    top: -100px; 
    right: -100px; 
    width: 600px; 
    height: 600px; 
    filter: blur(120px); 
    opacity: 0.05; 
    animation-duration: 25s; 
}

.orb-growth-mint { 
    background: #2dd4bf; 
    bottom: -100px; 
    left: -100px; 
    width: 600px; 
    height: 600px; 
    filter: blur(120px); 
    opacity: 0.05; 
}

/* 3. Component Styles (Glassmorphism) */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 163, 173, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(0, 138, 147, 0.08);
}

/* 4. Special Animations & Effects (Index Page) */
.ripple-container { 
    position: relative; 
    overflow: hidden; 
}

.ripple-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(var(--ripple-scale, 0.1));
    opacity: var(--ripple-opacity, 0);
    border: 2px solid rgba(0, 163, 173, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}

#hero-svg.loaded { 
    opacity: 1; 
}
/* 5. Logo Carousel */
.logo-slider {
    background: #FFFFFF;
    border-top: 1px solid rgba(226, 232, 240, 0.4);
    border-bottom: 1px solid rgba(226, 232, 240, 0.4);
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    width: 100%;
}

.logo-slider::before,
.logo-slider::after {
    background: linear-gradient(to right, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 100%;
    position: absolute;
    width: 150px;
    z-index: 2;
}

.logo-slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.logo-slider::before {
    left: 0;
    top: 0;
}

.logo-track {
    display: flex;
    width: calc(300px * 14); /* 7 logos * 2 sets */
    animation: scroll 40s linear infinite;
}

.logo-track:hover {
    animation-play-state: paused;
}

.logo-item {
    align-items: center;
    display: flex;
    height: 50px;
    justify-content: center;
    width: 300px;
    padding: 0 40px;
}

.logo-item img {
    height: auto;
    max-height: 45px;
    width: auto;
    max-width: 180px;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-300px * 7)); }
}

@media (max-width: 768px) {
    .logo-slider { padding: 30px 0; }
    .logo-track { width: calc(200px * 14); }
    .logo-item { width: 200px; padding: 0 25px; }
    .logo-item img { max-height: 35px; }
    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-200px * 7)); }
    }
}

/* 6. Scroll Reveal Effects */
.reveal {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
