/* ============================================
   HHPOKER彩虹城俱乐部 — 自定义样式
   清新自然风 · 绿色+蓝绿色调
   ============================================ */

/* === 平滑滚动 === */
html {
    scroll-behavior: smooth;
}

/* === 自定义滚动条 === */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0fdfa;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #10b981, #0d9488);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #059669, #0f766e);
}

/* === 自定义动画 === */
@keyframes bounce-slow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
.animate-bounce-slow {
    animation: bounce-slow 3s ease-in-out infinite;
}

/* === 渐变文字效果 === */
.gradient-text {
    background: linear-gradient(135deg, #10b981, #0d9488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === 卡片悬停效果增强 === */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(16, 185, 129, 0.2);
}

/* === 按钮波纹效果 === */
.btn-ripple {
    position: relative;
    overflow: hidden;
}
.btn-ripple::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.5s ease;
    border-radius: inherit;
}
.btn-ripple:hover::after {
    transform: scale(2);
}

/* === 选择框样式 === */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10L8 11z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* === 自定义聚焦样式 === */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* === 响应式调整 === */
@media (max-width: 768px) {
    .rounded-\[3rem\] {
        border-radius: 2rem !important;
    }
    h2 {
        font-size: 1.75rem !important;
        line-height: 2.25rem !important;
    }
}

/* === 加载淡入动画 === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}
.fade-in-up-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in-up-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-in-up-delay-3 { animation-delay: 0.3s; opacity: 0; }
.fade-in-up-delay-4 { animation-delay: 0.4s; opacity: 0; }
.fade-in-up-delay-5 { animation-delay: 0.5s; opacity: 0; }

/* === 有机形状装饰 === */
.organic-blob {
    border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
}

/* === 统计数字样式 === */
.stat-number {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

/* === 导航滚动阴影 === */
nav.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* === 游戏卡片渐变价格标签 === */
.price-tag {
    background: linear-gradient(135deg, #10b981, #0d9488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === 表单输入自动填充样式覆盖 === */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: white;
    transition: background-color 5000s ease-in-out 0s;
}

/* === 宽屏容器最大宽度 === */
@media (min-width: 1536px) {
    .max-w-7xl {
        max-width: 90rem;
    }
}
