/* 橫向提示樣式 */
.landscape-notice {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: #1a202c;
    text-align: center;
    padding: 2rem;
    font-family: 'Noto Sans TC', sans-serif;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.landscape-notice.show {
    display: flex;
}

.landscape-notice .rotate-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
    animation: rotatePhone 2s infinite ease-in-out;
    color: #0056b3;
}

.landscape-notice h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: #1a202c;
    text-shadow: none;
}

.landscape-notice p {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    opacity: 0.85;
    line-height: 1.5;
    color: #4a5568;
}

.landscape-notice .webppt-brand {
    color: #0056b3;
    font-weight: bold;
    text-shadow: none;
}

.landscape-notice .instruction {
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: rgba(0, 86, 179, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(0, 86, 179, 0.2);
}

.landscape-notice .instruction p {
    color: #0056b3 !important;
    opacity: 0.9 !important;
}

@keyframes rotatePhone {
    0%, 100% { 
        transform: rotate(0deg); 
    }
    25% { 
        transform: rotate(15deg); 
    }
    75% { 
        transform: rotate(-15deg); 
    }
}

/* 只在移動設備的直向模式下顯示 */
@media screen and (max-width: 768px) and (orientation: portrait) {
    .landscape-notice.show {
        display: flex;
    }
    
    .landscape-notice h2 {
        font-size: 2rem;
    }
    
    .landscape-notice p {
        font-size: 1.2rem;
    }
}

/* 在橫向模式或桌面設備上隱藏 */
@media screen and (orientation: landscape), screen and (min-width: 769px) {
    .landscape-notice {
        display: none !important;
    }
} 