@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #1a202c; /* Softer dark background */
    color: #e6edf3;
    /* Subtle background pattern to make it less plain */
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232c3240' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zm0 18v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM12 34v-4h-2v4H6v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4H6v2h4v4h2V6h4V4h-4zm0 18v-4h-2v4H6v2h4v4h2v-4h4v-2h-4zM48 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM0 34v-4H-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0H-2v4h-4v2h4v4h2V6h4V4h-4zM24 60v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM60 60v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM36 60v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM0 60v-4H-2v4h-4v2h4v4h2v-4h4v-2h-4zM12 60v-4h-2v4H6v2h4v4h2v-4h4v-2h-4zM48 60v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Block 1: Ticker tape animation */
.ticker-tape {
    overflow: hidden;
    white-space: nowrap;
}
.ticker-tape-content {
    display: inline-block;
    animation: ticker 25s linear infinite;
}
@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Block 2: Gradient text effect */
.gradient-text {
    background-image: linear-gradient(to right, #60a5fa, #34d399, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 3s linear infinite;
}
@keyframes shine {
    to {
        background-position: 200% center;
    }
}
.text-glow {
    text-shadow: 0 0 8px rgba(96, 165, 250, 0.5), 0 0 12px rgba(52, 211, 153, 0.5);
}

/* Block 5: Review carousel styling */
.review-carousel-container {
    height: 12rem; /* Adjusted height to fit a single review snugly */
    overflow: hidden;
    position: relative;
}
.review-slides-wrapper {
    display: flex;
    flex-direction: column;
    transition: transform 1.5s ease-in-out; /* Slower transition for a smoother screen-by-screen effect */
}
.review-item {
    flex-shrink: 0;
    padding: 1rem;
    height: 12rem; /* 固定高度，确保每屏切换都是完整的 */
    display: flex; /* Ensures content within the item is centered/aligned */
    align-items: center;
    justify-content: center;
}

/* Modal styling */
.modal {
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease-in-out;
}
