/*
Theme Name: Aluman Modern Bento
Theme URI: https://aluman.cc
Author: AI
Author URI: https://aluman.cc
Description: A modern, Bento-style WordPress theme for Aluman Global. Features iOS-like glassmorphism, 28px rounded corners, and diffuse shadows.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aluman
*/

/* 基础样式覆盖与 Tailwind 兼容 */
body {
    background-color: #f7f8fa;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* 弥散阴影和 Bento 卡片统一样式 */
.bento-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* 毛玻璃导航栏特别处理 */
.glass-nav {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* 杂志风排版 */
.magazine-title {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

/* 隐藏链接下划线 */
a {
    text-decoration: none !important;
}

/* Squircle 图标占位 */
.squircle {
    border-radius: 22.5%; /* 近似 squircle */
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.25);
}
