@import url("https://fonts.googleapis.com/css2?family=Caveat&display=swap");

/* 重置和基本樣式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: linear-gradient(135deg, #87CEEB 0%, #FFB6C1 50%, #E6E6FA 100%);
    background-attachment: fixed;
}

/* 針對英文部分應用 Caveat 字體 */
.domain-name,
.service-tags,
.coming-soon,
.copyright,
.social-link {
    font-family: "Caveat", cursive, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

/* 背景幾何圖形 */
.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 220px;
    height: 220px;
    top: 10%;
    left: 10%;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.shape-2 {
    width: 170px;
    height: 170px;
    top: 20%;
    right: 15%;
    transform: rotate(30deg);
    animation-delay: 1s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 20%;
    transform: rotate(60deg);
    animation-delay: 2s;
}

.shape-4 {
    width: 140px;
    height: 140px;
    bottom: 15%;
    right: 10%;
    transform: rotate(15deg);
    animation-delay: 3s;
}

.shape-5 {
    width: 120px;
    height: 120px;
    top: 50%;
    left: 5%;
    transform: rotate(75deg);
    animation-delay: 4s;
}

.shape-6 {
    width: 180px;
    height: 180px;
    top: 30%;
    right: 30%;
    transform: rotate(90deg);
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(var(--rotation, 0deg));
    }
    50% {
        transform: translateY(-20px) rotate(calc(var(--rotation, 0deg) + 10deg));
    }
}

/* 主要內容卡片 */
.main-card {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 45px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 550px;
    width: 90%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 20px auto;
    flex-shrink: 0;
}

.main-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* 頭像 */
.avatar {
    margin-bottom: 25px;
}

.avatar-image {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease;
}

.avatar-image:hover {
    transform: scale(1.1);
}

/* 網域名稱 */
.domain-name {
    font-size: 2.8rem;
    font-weight: 600;
    color: #2E86AB;
    margin-bottom: 18px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 歡迎文字 */
.welcome-text {
    font-size: 1.2rem;
    color: #4A90A4;
    margin-bottom: 22px;
    font-weight: 500;
}

/* 服務標籤 */
.service-tags {
    font-size: 1rem;
    color: #87CEEB;
    font-weight: 600;
    letter-spacing: 2.5px;
    margin-bottom: 28px;
    font-style: italic;
}

/* 狀態指示器 */
.status-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
}

.status-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.status-dot.active {
    background: #87CEEB;
    box-shadow: 0 0 12px rgba(135, 206, 235, 0.5);
}

.status-dot:hover {
    transform: scale(1.2);
}

/* 社交連結 */
.social-links {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-bottom: 35px;
}

.social-link {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 22px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.3);
    color: #2E86AB;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-link.github:hover {
    background: rgba(51, 51, 51, 0.8);
    color: white;
}

.social-link.email:hover {
    background: rgba(255, 182, 193, 0.8);
    color: white;
}

.social-link.website:hover {
    background: rgba(135, 206, 235, 0.8);
    color: white;
}
.social-link.jupyter:hover {
    background: rgba(243, 119, 38, 0.8);
    color: white;
}

.jupyter-logo {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

/* 按鈕容器 */
.button-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}

.button-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

/* 服務狀態按鈕 */
.status-button {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 1.4;
}

.status-button:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

.status-icon {
    width: 40px;
    height: 40px;
    background: rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.status-icon i {
    font-size: 18px;
    color: #4A90A4;
}

.status-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.status-text span {
    font-size: 0.9rem;
    color: #4A90A4;
    font-weight: 500;
    margin-bottom: 2px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.status-text small {
    font-size: 0.85rem;
    color: #87CEEB;
    font-style: normal;
    font-weight: normal;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* 服務列表按鈕調整 */
.services-button {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.services-button:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

.services-icon {
    width: 40px;
    height: 40px;
    background: rgba(135, 206, 235, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.services-icon i {
    font-size: 18px;
    color: #4A90A4;
}

.services-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.services-text span {
    font-size: 0.9rem;
    color: #4A90A4;
    font-weight: 500;
    margin-bottom: 2px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.services-text small {
    font-size: 0.85rem;
    color: #87CEEB;
    font-style: normal;
    font-weight: normal;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* 服務喚醒按鈕 */
.wake-button {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 0.8;
    min-width: 130px;
}

.wake-button:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

.wake-icon {
    width: 40px;
    height: 40px;
    background: rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.wake-icon i {
    font-size: 18px;
    color: #4A90A4;
}

.wake-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.wake-text span {
    font-size: 0.9rem;
    color: #4A90A4;
    font-weight: 500;
    margin-bottom: 2px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.wake-text small {
    font-size: 0.85rem;
    color: #87CEEB;
    font-style: normal;
    font-weight: normal;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* 版權資訊 */
.copyright {
    font-size: 1.1rem;
    color: rgba(74, 144, 164, 0.7);
    font-style: normal;
}

/* 模糊彈出框 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 35px;
    max-width: 450px;
    width: 90%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    margin: auto;
    flex-shrink: 0;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    color: #2E86AB;
    font-size: 1.4rem;
    font-weight: 600;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.close-btn {
    background: none;
    border: none;
    font-size: 22px;
    color: #4A90A4;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 182, 193, 0.2);
    color: #2E86AB;
}

.modal-content p {
    color: #4A90A4;
    line-height: 1.7;
    margin-bottom: 18px;
    font-size: 1.1rem;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.modal-content p:last-child {
    margin-bottom: 0;
}

/* 服務列表樣式 */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-item.coming-soon-service {
    opacity: 0.6;
    cursor: not-allowed;
}

.service-item.coming-soon-service:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

.service-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin-right: 15px;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 24px;
    color: #4A90A4;
}

.service-logo {
    width: 28px;
    height: 28px;
    filter: brightness(0) saturate(100%) invert(41%) sepia(36%) saturate(1169%) hue-rotate(164deg) brightness(93%) contrast(86%);
}

.service-info h4 {
    color: #2E86AB;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.service-info p {
    color: #4A90A4;
    font-size: 0.95rem;
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Jupyter 配置選擇樣式 */
.jupyter-modal {
    max-width: 450px;
    width: 90%;
    max-height: calc(100vh - 40px);
}

.jupyter-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.jupyter-option {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.jupyter-option:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.option-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.option-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.option-icon i {
    font-size: 24px;
    color: #4A90A4;
}

.option-title h4 {
    color: #2E86AB;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.option-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.option-badge.lite {
    background: linear-gradient(45deg, #87CEEB, #4A90A4);
}

.option-badge.pro {
    background: linear-gradient(45deg, #FFB6C1, #FF69B4);
}

.option-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #4A90A4;
    font-weight: 500;
}

.spec-item i {
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.option-description {
    color: #4A90A4;
    font-size: 0.95rem;
    margin: 0;
    font-style: normal;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .container {
        padding: 10px 0;
        min-height: calc(100vh - 20px);
    }
    
    .main-card {
        padding: 35px 25px;
        margin: 15px auto;
        width: 95%;
    }
    
    .domain-name {
        font-size: 2.2rem;
    }
    
    .welcome-text {
        font-size: 1.1rem;
    }
    
    .social-links {
        gap: 18px;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .shape {
        opacity: 0.6;
    }
    
    .button-container {
        gap: 10px;
    }
    
    .button-row {
        gap: 10px;
    }
    
    .status-button {
        padding: 12px 15px;
    }
    
    .status-icon {
        width: 35px;
        height: 35px;
        margin-right: 10px;
    }
    
    .status-icon i {
        font-size: 16px;
    }
    
    .status-text span {
        font-size: 0.85rem;
    }
    
    .status-text small {
        font-size: 0.8rem;
    }
    
    .services-button {
        padding: 12px 15px;
    }
    
    .services-icon {
        width: 35px;
        height: 35px;
        margin-right: 12px;
    }
    
    .services-icon i {
        font-size: 16px;
    }
    
    .services-text span {
        font-size: 0.85rem;
    }
    
    .services-text small {
        font-size: 0.8rem;
    }
    
    .wake-button {
        padding: 12px 15px;
        min-width: 110px;
    }
    
    .wake-icon {
        width: 35px;
        height: 35px;
        margin-right: 12px;
    }
    
    .wake-icon i {
        font-size: 16px;
    }
    
    .wake-text span {
        font-size: 0.85rem;
    }
    
    .wake-text small {
        font-size: 0.8rem;
    }
    
    .service-item {
        padding: 12px;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        margin-right: 12px;
    }
    
    .service-icon i {
        font-size: 20px;
    }
    
    .service-logo {
        width: 24px;
        height: 24px;
    }
    
    .service-info h4 {
        font-size: 1.1rem;
    }
    
    .service-info p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 5px 0;
        min-height: calc(100vh - 10px);
    }
    
    .main-card {
        padding: 25px 20px;
        margin: 10px auto;
        width: 95%;
    }
    
    .domain-name {
        font-size: 2rem;
    }
    
    .service-tags {
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }
    
    .modal {
        padding: 25px;
        margin: 15px auto;
        max-height: calc(100vh - 30px);
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .modal-content p {
        font-size: 1rem;
    }
    
    .button-container {
        gap: 8px;
    }
    
    .button-row {
        gap: 8px;
    }
    
    .status-button {
        padding: 10px 12px;
    }
    
    .status-icon {
        width: 30px;
        height: 30px;
        margin-right: 8px;
    }
    
    .status-icon i {
        font-size: 14px;
    }
    
    .status-text span {
        font-size: 0.8rem;
    }
    
    .status-text small {
        font-size: 0.75rem;
    }
    
    .services-button {
        padding: 10px 12px;
    }
    
    .services-icon {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }
    
    .services-icon i {
        font-size: 14px;
    }
    
    .services-text span {
        font-size: 0.8rem;
    }
    
    .services-text small {
        font-size: 0.75rem;
    }
    
    .wake-button {
        padding: 10px 12px;
        min-width: 100px;
    }
    
    .wake-icon {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }
    
    .wake-icon i {
        font-size: 14px;
    }
    
    .wake-text span {
        font-size: 0.8rem;
    }
    
    .wake-text small {
        font-size: 0.75rem;
    }
    
    .status-button {
        padding: 10px 12px;
    }
    
    .services-button {
        padding: 10px 12px;
        min-width: auto;
    }
    
    .status-text span {
        font-size: 0.8rem;
    }
    
    .status-text small {
        font-size: 0.75rem;
    }
    
    .services-text span {
        font-size: 0.8rem;
    }
    
    .services-text small {
        font-size: 0.75rem;
    }
    
    .wake-text span {
        font-size: 0.8rem;
    }
    
    .wake-text small {
        font-size: 0.75rem;
    }
    
    .jupyter-modal {
        max-width: 90%;
        width: 90%;
    }
    
    .jupyter-option {
        padding: 15px;
    }
    
    .option-header {
        margin-bottom: 12px;
    }
    
    .option-icon {
        width: 45px;
        height: 45px;
        margin-right: 12px;
    }
    
    .option-icon i {
        font-size: 20px;
    }
    
    .option-title h4 {
        font-size: 1.1rem;
    }
    
    .option-badge {
        font-size: 0.8rem;
        padding: 3px 10px;
    }
    
    .option-specs {
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .spec-item {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    
    .option-description {
        font-size: 0.9rem;
    }
}

/* 超小螢幕優化 (小於 414px) */
@media (max-width: 414px) {
    .container {
        padding: 5px 0;
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .main-card {
        margin: 10px auto 20px;
        padding: 20px 15px;
        width: 95%;
    }
    
    .button-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .status-button {
        flex: none;
        width: 100%;
    }
    
    .wake-button {
        flex: none;
        width: 100%;
        min-width: auto;
    }
    
    .services-button {
        width: 100%;
    }
}

/* 矮螢幕優化 (高度小於 600px) */
@media (max-height: 600px) {
    .container {
        align-items: flex-start;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    .main-card {
        margin: 10px auto;
        padding: 20px;
    }
    
    .avatar {
        margin-bottom: 15px;
    }
    
    .avatar-image {
        width: 70px;
        height: 70px;
    }
    
    .domain-name {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .welcome-text {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .service-tags {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
    
    .social-links {
        margin: 15px 0;
        gap: 15px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .button-container {
        gap: 8px;
        margin: 15px 0;
    }
    
    .copyright {
        font-size: 0.8rem;
        margin-top: 15px;
    }
}

/* 非常矮的螢幕優化 (高度小於 500px) */
@media (max-height: 500px) {
    .container {
        align-items: flex-start;
        padding: 5px 0;
    }
    
    .main-card {
        padding: 15px;
        margin: 5px auto;
    }
    
    .avatar {
        margin-bottom: 10px;
    }
    
    .avatar-image {
        width: 60px;
        height: 60px;
    }
    
    .domain-name {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    .welcome-text {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .service-tags {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }
    
    .social-links {
        margin: 12px 0;
        gap: 12px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .button-container {
        gap: 6px;
        margin: 12px 0;
    }
    
    .status-button,
    .wake-button,
    .services-button {
        padding: 8px 10px;
    }
    
    .copyright {
        font-size: 0.75rem;
        margin-top: 10px;
    }
}

/* 跳轉提示模態框樣式 */
.redirect-modal {
    max-width: 420px;
    width: 90%;
    text-align: center;
}

.redirect-content {
    padding: 30px 20px;
}

.redirect-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #87CEEB, #4A90A4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    animation: pulse 2s infinite;
}

.redirect-icon i {
    font-size: 36px;
    color: white;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(135, 206, 235, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(135, 206, 235, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(135, 206, 235, 0);
    }
}

.redirect-title {
    color: #2E86AB;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.redirect-description {
    color: #4A90A4;
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.redirect-url {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 25px;
    color: #2E86AB;
    font-size: 0.9rem;
    font-weight: 500;
    word-break: break-all;
    font-family: 'Courier New', monospace;
}

.redirect-progress {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #87CEEB, #4A90A4);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
    animation: progressAnimation 3s linear forwards;
}

@keyframes progressAnimation {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

.progress-text {
    color: #4A90A4;
    font-size: 0.9rem;
    font-weight: 500;
}

.progress-text span {
    color: #2E86AB;
    font-weight: 600;
    font-size: 1.1rem;
}

.redirect-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.redirect-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.cancel-btn {
    background: rgba(255, 255, 255, 0.3);
    color: #4A90A4;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cancel-btn:hover {
    background: rgba(255, 182, 193, 0.3);
    color: #2E86AB;
    transform: translateY(-2px);
}

.continue-btn {
    background: linear-gradient(135deg, #87CEEB, #4A90A4);
    color: white;
}

.continue-btn:hover {
    background: linear-gradient(135deg, #4A90A4, #2E86AB);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(135, 206, 235, 0.3);
}

/* 響應式設計 - 跳轉提示 */
@media (max-width: 768px) {
    .redirect-modal {
        max-width: 90%;
        width: 90%;
    }
    
    .redirect-content {
        padding: 25px 15px;
    }
    
    .redirect-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .redirect-icon i {
        font-size: 30px;
    }
    
    .redirect-title {
        font-size: 1.3rem;
    }
    
    .redirect-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .redirect-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
}