/* iPhone 15 外觀樣式 */
.iphone15 {
    width: 390px;
    height: 844px;
    border-radius: 55px;
    position: relative;
    overflow: hidden;
    background: #000;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.iphone15:hover {
    transform: scale(1.02);
}

/* Dynamic Island 樣式 */
.dynamic-island {
    width: 85px;
    height: 31px;
    background: #000;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 12px;
    border-radius: 20px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.dynamic-island:hover {
    width: 95px;
    height: 35px;
}

/* 狀態欄樣式 */
.status-bar {
    display: none;
}

.status-bar-time {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.status-bar-icons {
    display: flex;
    gap: 5px;
    position: absolute;
    right: 25px;
    top: 14px;
    color: #fff;
}

/* 主內容區域樣式 */
.main-content {
    height: calc(100% - 85px);
    margin-top: 61px;
    background: #fff;
}

/* 底部導航欄樣式 */
.bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.bottom-nav button {
    transition: all 0.2s ease;
}

/* 通用動畫效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 卡片懸浮效果 */
.bg-white.rounded-xl,
.bg-white.p-4.rounded-xl {
    transition: all 0.3s ease;
}

.bg-white.rounded-xl:hover,
.bg-white.p-4.rounded-xl:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

/* 頁面通用樣式 */
.page-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
}

/* 卡片樣式 */
.card {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}