  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Noto Sans', 'Microsoft JhengHei', 微軟正黑體, sans-serif;
        }

        /* 半透明背景覆蓋層 */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 20, 30, 0.6);
            backdrop-filter: blur(3px);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            padding: 1rem;
        }

 /* ===== 重新設計四邊邊框：用多重陰影實現均勻邊框 ===== */
 .popup-card {
    max-width: 600px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 32px;
    animation: fadeScale 0.3s ease-out;
    position: relative;
    
    /* 外陰影：模擬均勻嘅深藍色邊框 */
    box-shadow: 
        0 0 0 5px #003366,           /* 深藍色邊框 */
        0 0 0 6px rgba(140, 57, 156, 0.3),  /* 紫色外暈 */
        0 25px 50px -12px rgba(0, 0, 0, 0.4);  /* 原有陰影 */
    
    /* 四個角嘅紫色點綴用偽元素實現 */
    overflow: visible;
}

/* 左上角紫色裝飾 */
.popup-card::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: 30px;
    height: 30px;
    border-top-left-radius: 32px;
    z-index: 1;
    pointer-events: none;
}

/* 右下角紫色裝飾 */
.popup-card::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    border-bottom-right-radius: 32px;
    z-index: 1;
    pointer-events: none;
}

        /* 頂部學校色彩條 */
       /* .school-bar {
            height: 10px;
            background: linear-gradient(90deg, #003366 0%, #003366 70%, #8c399c 100%);
        } */

        .content {
            padding: 2.5rem 2.2rem 2.2rem 2.2rem;
        }

        .event-title {
            margin-bottom: 1.5rem;
        }

        .school-name {
            font-size: 1rem;
            font-weight: 400;
            letter-spacing: 2px;
            color: #003366;
            text-transform: uppercase;
            margin-bottom: 0.25rem;
        }

        .main-headline {
            font-size: 2.4rem;
            font-weight: 700;
            line-height: 1.2;
            color: #1e2b3c;
        }

        .main-headline span {
            background: linear-gradient(145deg, #003366, #2a5f8a);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .subhead-eng {
            font-size: 1rem;
            font-weight: 300;
            color: #4a5a6e;
            border-left: 4px solid #66CC99;
            padding-left: 1rem;
            margin-top: 0.5rem;
        }

        /* ===== 重點修正：資訊卡片，icon 完美置中 ===== */
        .info-grid {
            background-color: #f0f6fd;
            border-radius: 24px;
            padding: 1.6rem 1.8rem;
            margin: 1.8rem 0 2rem 0;
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem 2rem;
            border: 1px solid #e2ecf9;
        }

        .info-item {
            display: flex;
            align-items: center;        /* 垂直置中 */
            gap: 1rem;
            flex: 1 1 180px;
        }

        /* icon 容器：徹底修正置中問題 */
        .info-icon {
            width: 44px;
            height: 44px;
            background-color: #ffffff;
            border-radius: 50%;
            display: flex;
            align-items: center;        /* 垂直置中 */
            justify-content: center;    /* 水平置中 */
            color: #003366;
            box-shadow: 0 4px 10px rgba(0,51,102,0.08);
            /* 修正字體圖示偏移 */
            line-height: 1;              /* 防止行高影響 */
        }

        /* 強制 Material Icons 在容器內置中 */
        .info-icon .material-symbols-outlined {
            font-size: 1.6rem;           /* 固定大小 */
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1;               /* 移除字體本身行高 */
            width: 100%;
            height: 100%;
            text-align: center;
        }

        .info-text {
            display: flex;
            flex-direction: column;
        }

        .info-label {
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #5f7d9c;
        }

        .info-value {
            font-size: 1.25rem;
            font-weight: 600;
            color: #003366;
            line-height: 1.3;
        }
        .info-value small {
            font-size: 0.9rem;
            font-weight: 400;
            color: #3e5e79;
        }

        /* 截止提醒 */
        .deadline-box {
            background-color: #fff7e5;
            border-radius: 20px;
            padding: 1.1rem 1.6rem;
            margin: 1.5rem 0 2rem 0;
            border-left: 6px solid #f9a826;
            font-size: 0.95rem;
            color: #2b3f57;
            display: flex;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .deadline-box .material-symbols-outlined {
            font-size: 2rem;
            color: #c26b0a;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .deadline-text {
            flex: 1;
        }
        .deadline-text strong {
            color: #b35f00;
            font-weight: 700;
        }
        .deadline-text .note {
            font-size: 0.85rem;
            color: #5f4d33;
            margin-top: 4px;
        }

        /* 主要按鈕 */
        .cta-button {
            display: block;
            width: 100%;
            background-color: #003366;
            color: white;
            border: none;
            border-radius: 60px;
            padding: 1.2rem 1.5rem;
            font-size: 1.5rem;
            font-weight: 600;
            text-align: center;
            text-decoration: none;
            transition: all 0.2s ease;
            box-shadow: 0 12px 20px -12px rgba(0,51,102,0.4);
            border: 1px solid #114477;
            margin: 2rem 0 1.2rem 0;
            letter-spacing: 1.5px;
        }

        .cta-button:hover {
            background-color: #114d82;
            transform: scale(1.02);
            box-shadow: 0 18px 25px -12px #003366;
            border-color: #88bbee;
        }

        .cta-button i {
            margin-right: 12px;
            font-style: normal;
            font-size: 1.8rem;
            vertical-align: middle;
        }

        /* 底部 */
        .footer-links {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 1.2rem;
            color: #4b637b;
            font-size: 0.9rem;
            border-top: 1px dashed #cbd6e4;
            padding-top: 1.2rem;
        }

        .badge {
            background-color: #e6f0fa;
            padding: 0.4rem 1rem;
            border-radius: 30px;
            font-size: 0.8rem;
            color: #003366;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        .close-hint {
            color: #8a9bb0;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 5px;
            cursor: pointer;
            background: none;
            border: none;
            padding: 4px 8px;
        }

        .close-hint:hover {
            color: #003366;
        }

        .close-x {
            position: absolute;
            top: 20px;
            right: 24px;
            background: #f0f4f9;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            color: #4f637b;
            cursor: pointer;
            transition: 0.2s;
            border: none;
            z-index: 10;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            line-height: 1;
        }

        .close-x:hover {
            background-color: #e0e9f2;
            color: #1f2a36;
            transform: rotate(90deg);
        }

        @keyframes fadeScale {
            0% {
                opacity: 0;
                transform: scale(0.95);
            }
            100% {
                opacity: 1;
                transform: scale(1);
            }
        }

        @media (max-width: 480px) {
            .content {
                padding: 1.8rem 1.5rem;
            }
            .main-headline {
                font-size: 1.9rem;
            }
            .info-grid {
                padding: 1.2rem;
            }
            .cta-button {
                font-size: 1.2rem;
                padding: 1rem;
            }
        }