/* 主界面特定样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Serif SC', serif;
    overflow: hidden;
    position: relative;
    height: 100vh;
}

/* 背景图片设置 */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/homecourt.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* iOS状态栏 */
.ios-statusbar {
    height: 44px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    color: white;
    position: relative;
    z-index: 100;
}

.time {
    font-weight: 600;
}

.status-icons {
    display: flex;
    gap: 8px;
}

/* 主容器 */
.home-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 44px); /* 只减去状态栏的高度 */
    position: relative;
    padding: 20px;
    overflow: hidden;
}

.home-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Logo区域 */
.logo-area {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.title-text {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 160, 0, 0.4);
    margin: 0;
    line-height: 1.2;
}

.subtitle {
    font-size: 22px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* 按钮区域 */
.menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
    padding: 0 10px;
    position: relative;
    z-index: 2;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.menu-btn {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    background-color: var(--container-background);
    color: var(--text-dark);
    font-family: 'Noto Serif SC', serif;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 
                inset 0 1px 3px rgba(255, 255, 255, 0.7),
                0 0 20px rgba(245, 234, 170, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: left;
    cursor: pointer;
}

.menu-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1604147706283-d7119b5b822c?q=80&w=2487&auto=format&fit=crop');
    background-size: cover;
    opacity: 0.05;
    mix-blend-mode: multiply;
}

.menu-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 40%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
}

.menu-btn i {
    margin-right: 16px;
    font-size: 20px;
    width: 24px;
    text-align: center;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.menu-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3),
                inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.start-btn {
    background-color: var(--primary-accent);
    color: var(--text-light);
    border: 1px solid rgba(255, 180, 0, 0.5);
}

.start-btn::after {
    background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 40%, rgba(0,0,0,0.1) 100%);
}

.continue-btn {
    background-color: var(--primary-accent);
    color: var(--text-light);
    border: 1px solid rgba(255, 180, 0, 0.5);
    opacity: 0.9;
}

.continue-btn::after {
    background: linear-gradient(to bottom, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 40%, rgba(0,0,0,0.1) 100%);
}

.cases-btn, .character-btn, .profile-btn {
    border: 1px solid rgba(160, 140, 125, 0.3);
}

/* 画布纹理覆盖 */
.texture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1516541196182-6bdb0516ed27?q=80&w=2034&auto=format&fit=crop');
    background-size: cover;
    opacity: 0.05;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 5;
} 