* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 按钮点击动画 */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* 淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* 活动通知 */
.notification-section {
    margin-bottom: 20px;
}

.notification-banner {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.notification-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.1) 75%, transparent 75%, transparent);
    background-size: 40px 40px;
    animation: move 15s linear infinite;
    z-index: 0;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.notification-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.notification-text {
    flex: 1;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.4;
}

.notification-link {
    background-color: white;
    color: #ff5722;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    flex-shrink: 0;
}

.notification-link:hover {
    background-color: #ff5722;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 87, 34, 0.3);
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #ff3b30, #ff6b6b);
    color: white;
    padding: 80px 20px;
    border-radius: 25px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 12px 40px rgba(255, 59, 48, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255, 59, 48, 0.6);
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255,255,255,0.1) 0%, transparent 50%);
    z-index: 0;
    animation: backgroundShift 15s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.1) 75%, transparent 75%, transparent);
    background-size: 60px 60px;
    animation: move 20s linear infinite;
    z-index: 0;
}

@keyframes move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.header-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-logo {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse 3s ease-in-out infinite;
    
}

.logo-icon {
    font-size: 50px;
    animation: rotate 15s linear infinite;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        border-color: rgba(255, 200, 100, 0.6);
    }
    50% {
        transform: scale(1.02);
        border-color: rgba(255, 200, 100, 1);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.header h1 {
    font-size: 48px;
    margin: 0;
    font-weight: bold;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: 3px;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }
    to {
        text-shadow: 0 4px 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4);
    }
}

.header p {
    font-size: 20px;
    margin: 0;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.header-tagline {
    font-size: 16px;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-top: 10px;
    font-weight: 500;
    animation: taglinePulse 2s ease-in-out infinite;
}



/* 装饰元素 */
.header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 40px;
    background: rgba(255, 59, 48, 0.3);
    border-radius: 50%;
    filter: blur(30px);
    z-index: 0;
}

.header-decoration {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

.header-decoration::before {
    content: '💹';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* 响应式头部 */
@media (max-width: 768px) {
    .header {
        padding: 40px 15px;
        margin-bottom: 20px;
    }
    
    .header-logo {
        width: 60px;
        height: 60px;
    }
    
    .logo-icon {
        font-size: 30px;
    }
    
    .header h1 {
        font-size: 28px;
    }
    
    .header p {
        font-size: 14px;
    }
    
    .header-tagline {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* 搜索区域 */
.search-section {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 59, 48, 0.1);
    transition: all 0.3s ease;
}

.search-section:hover {
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.search-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff3b30, #ff6b6b);
    border-radius: 25px 25px 0 0;
    animation: gradientFlow 3s ease-in-out infinite;
}

@keyframes gradientFlow {
    0%, 100% {
        background: linear-gradient(90deg, #ff3b30, #ff6b6b);
    }
    50% {
        background: linear-gradient(90deg, #ff6b6b, #ff3b30);
    }
}

.search-box {
    display: flex;
    gap: 12px;
    align-items: center;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.6s ease-out;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-box input {
    flex: 1;
    padding: 18px 24px;
    border: 2px solid #e0e0e0;
    border-radius: 28px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.search-box input:focus {
    outline: none;
    border-color: #ff3b30;
    box-shadow: 0 0 0 8px rgba(255, 59, 48, 0.1), 0 8px 24px rgba(255, 59, 48, 0.2);
    transform: translateY(-4px);
    background: linear-gradient(135deg, #ffffff, #fff9f9);
}

.search-box input::placeholder {
    color: #999;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-box input:focus::placeholder {
    color: #ff9999;
    transform: translateX(5px);
}

/* 输入框状态反馈 */
.search-box input.valid {
    border-color: #4caf50;
    box-shadow: 0 0 0 8px rgba(76, 175, 80, 0.1);
}

.search-box input.error {
    border-color: #f44336;
    box-shadow: 0 0 0 8px rgba(244, 67, 54, 0.1);
}

/* 搜索按钮增强 */
.search-box .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 18px 32px;
    font-size: 16px;
    white-space: nowrap;
}

.search-box .btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 59, 48, 0.4);
}

.search-box .btn:active {
    transform: translateY(0) scale(0.95);
}

/* 加载状态 */
.search-box .btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.search-box .btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 搜索历史增强 */
.history-section {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    margin-top: 25px;
    border: 1px solid rgba(255, 59, 48, 0.05);
    transition: all 0.3s ease;
}

.history-section:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.history-section h3 {
    color: #333;
    margin: 0 0 20px 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.history-section h3::before {
    content: '📋';
    font-size: 18px;
    animation: pulse 2s ease-in-out infinite;
}

.history-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.history-item {
    padding: 10px 16px;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.history-item:hover {
    background: linear-gradient(135deg, #ffecec, #ffe0e0);
    border-color: #ff3b30;
    color: #ff3b30;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.2);
}

.history-item:active {
    transform: translateY(0);
}

/* 历史记录清除按钮 */
.history-clear {
    background: none;
    border: none;
    color: #999;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-left: auto;
}

.history-clear:hover {
    color: #ff3b30;
    background: rgba(255, 59, 48, 0.1);
}

/* 响应式搜索区域 */
@media (max-width: 768px) {
    .search-section {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .search-box {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-box input {
        padding: 15px 20px;
        font-size: 14px;
        border-radius: 40px;
    }
}

/* 按钮样式 */
.btn {
    padding: 18px 36px;
    border: none;
    border-radius: 28px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 120px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff3b30, #ff6b6b);
    color: white;
    box-shadow: 0 4px 16px rgba(255, 59, 48, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff6b6b, #ff3b30);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 59, 48, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.4);
}

/* 按钮点击效果 */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

/* 响应式按钮 */
@media (max-width: 768px) {
    .btn {
        padding: 15px 30px;
        font-size: 14px;
        min-width: 100px;
    }
}

/* 结果区域 */
.result-section {
    display: block;
    animation: fadeIn 0.6s ease-out;
}

.student-info {
    margin-bottom: 30px;
}

.info-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 59, 48, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 59, 48, 0.2);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff3b30, #ff6b6b);
    border-radius: 25px 25px 0 0;
    animation: gradientFlow 3s ease-in-out infinite;
}

.info-card::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 59, 48, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.info-card h2 {
    color: #ff3b30;
    margin: 0 0 30px 0;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(255, 59, 48, 0.1);
    position: relative;
    z-index: 1;
}

.info-card h2::before {
    display: none;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 25px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.info-row:hover {
    background: rgba(255, 59, 48, 0.08);
    padding-left: 20px;
    border-radius: 12px;
    transform: translateX(5px);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    font-weight: bold;
    color: #666;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.info-row:hover .label {
    color: #ff3b30;
}

.info-row .label::before {
    content: '';
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #ff3b30, #ff6b6b);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.info-row .value {
    font-weight: bold;
    color: #333;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.info-row:hover .value {
    transform: scale(1.02);
}

#remaining-sessions {
    color: #ff3b30;
    font-size: 40px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 10px rgba(255, 59, 48, 0.2);
    animation: textGlow 2s ease-in-out infinite alternate;
}

#remaining-sessions::after {
    content: '场';
    font-size: 18px;
    color: #666;
    font-weight: normal;
    animation: none;
    text-shadow: none;
}

#student-status {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-width: 60px;
}

#student-status:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

#student-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

#student-status:hover::before {
    left: 100%;
}

#student-status.valid {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

#student-status.valid::before {
    content: '';
}

#student-status.expired {
    background: linear-gradient(135deg, #f44336, #da190b);
    color: white;
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

#student-status.expired::before {
    content: '';
}

#student-status.warning {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

#student-status.warning::before {
    content: '';
}

/* 续费区域 */
.renewal-section {
    margin: 30px 0;
    text-align: center;
}

.renewal-link {
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-renewal {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: white;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 28px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(255, 200, 100, 0.6);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 2px;
    min-width: 160px;
    z-index: 1;
}

.btn-renewal:hover {
    background: linear-gradient(135deg, #ff5722, #ff9800);
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 16px 40px rgba(255, 152, 0, 0.6);
}

.btn-renewal:active {
    transform: translateY(0) scale(0.95);
    border: 3px solid rgba(255, 200, 100, 0.6);
}

.btn-renewal::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-renewal:active::before {
    width: 400px;
    height: 400px;
}

.btn-renewal.urgent {
    background: linear-gradient(135deg, #f44336, #ff5252);
    animation: pulse 2s infinite;
    box-shadow: 0 12px 32px rgba(244, 67, 54, 0.6);
}

.btn-renewal.urgent:hover {
    background: linear-gradient(135deg, #ff5252, #f44336);
    box-shadow: 0 16px 40px rgba(244, 67, 54, 0.7);
}

.renewal-alert {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    padding: 40px;
    border-radius: 25px;
    border-left: 8px solid #f44336;
    box-shadow: 0 12px 40px rgba(244, 67, 54, 0.2);
    text-align: center;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.6s ease-out;
}

.renewal-alert::before {
    content: '🔥';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 80px;
    opacity: 0.1;
    z-index: 0;
    animation: float 6s ease-in-out infinite;
}

.renewal-alert-content {
    position: relative;
    z-index: 1;
}

.renewal-alert-content h3 {
    color: #f44336;
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(244, 67, 54, 0.2);
}

.renewal-alert-content p {
    color: #d32f2f;
    margin: 0 0 25px 0;
    font-size: 18px;
    line-height: 1.6;
}

.renewal-alert .renewal-link {
    display: inline-block;
}

/* 错误信息 */
.error-section {
    display: none;
    animation: fadeIn 0.6s ease-out;
}

.error-message {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 59, 48, 0.1);
    transition: all 0.3s ease;
}

.error-message:hover {
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.error-message::before {
    content: '⚠️';
    font-size: 64px;
    display: block;
    margin-bottom: 25px;
    animation: bounce 2s ease-in-out infinite;
}

.error-message p {
    font-size: 20px;
    color: #ff3b30;
    margin-bottom: 25px;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(255, 59, 48, 0.1);
}

.error-message .btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.error-message .btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(255, 59, 48, 0.4);
}

/* 响应式学员信息卡片 */
@media (max-width: 768px) {
    .info-card {
        padding: 20px;
    }
    
    .info-card h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 15px 0;
    }
    
    .info-row:hover {
        padding-left: 10px;
    }
    
    .info-row .label {
        font-size: 14px;
    }
    
    .info-row .value {
        font-size: 16px;
    }
    
    #remaining-sessions {
        font-size: 24px;
    }
    
    #student-status {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* 续费区域 */
.renewal-section {
    margin: 30px 0;
    text-align: center;
}

.renewal-link {
    text-decoration: none;
    display: inline-block;
}

.btn-renewal {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: white;
    padding: 20px 50px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 2px;
    min-width: 200px;
}

.btn-renewal:hover {
    background: linear-gradient(135deg, #ff5722, #ff9800);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 152, 0, 0.6);
}

.btn-renewal:active {
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.btn-renewal.urgent {
    background: linear-gradient(135deg, #f44336, #ff5252);
    animation: pulse 2s infinite;
    box-shadow: 0 8px 24px rgba(244, 67, 54, 0.6);
}

.btn-renewal.urgent:hover {
    background: linear-gradient(135deg, #ff5252, #f44336);
    box-shadow: 0 12px 32px rgba(244, 67, 54, 0.7);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(244, 67, 54, 0);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(244, 67, 54, 0);
        transform: scale(1);
    }
}

.renewal-alert {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    padding: 30px;
    border-radius: 20px;
    border-left: 6px solid #f44336;
    box-shadow: 0 8px 32px rgba(244, 67, 54, 0.2);
    text-align: center;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.renewal-alert::before {
    content: '🔥';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 60px;
    opacity: 0.1;
    z-index: 0;
}

.renewal-alert-content {
    position: relative;
    z-index: 1;
}

.renewal-alert-content h3 {
    color: #f44336;
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: bold;
}

.renewal-alert-content p {
    color: #d32f2f;
    margin: 0 0 20px 0;
    font-size: 16px;
    line-height: 1.5;
}

.renewal-alert .renewal-link {
    display: inline-block;
}

/* 响应式续费区域 */
@media (max-width: 768px) {
    .renewal-section {
        margin: 20px 0;
    }
    
    .btn-renewal {
        padding: 16px 40px;
        font-size: 18px;
        min-width: 180px;
    }
    
    .renewal-alert {
        padding: 20px;
    }
    
    .renewal-alert-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .renewal-alert-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }
}

/* 课程推荐 - 移动端竖向/PC端横向 */

/* ===== 课程推荐样式（清理后）===== */

/* 课程推荐 - 移动端竖向卡片 / PC端横向3列 */
.recommendation-section {
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-top: 20px;
}

/* REMOVED - h2 not used in HTML */
.old-placeholder {
    color: #ff3b30;
    margin: 0 0 16px 0;
    font-size: 20px;
    font-weight: bold;
}


/* 课程推荐标题 */
.recommendation-section-header {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 16px;
}

.recommendation-icon-box {
    display: none;
}

.recommendation-section-title {
    color: #ff3b30;
    font-size: 28px;
    font-weight: bold;
}

.recommendation-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recommendation-item {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: block;
    text-decoration: none;
}

.recommendation-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.recommendation-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ff3b30);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 8px;
}

.recommendation-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    background-color: #f5f5f5;
    overflow: hidden;
}

.recommendation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommendation-content {
    padding: 12px 16px 16px;
}

.recommendation-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 6px;
    color: #333;
    line-height: 1.4;
}

.recommendation-description {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recommendation-meta,
.recommendation-action,
.btn-view-details {
    display: none !important;
}


/* 右下角课程推荐标签 */
.course-corner-tag {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
    animation: pulseBlue 2s ease-in-out infinite;
    cursor: pointer;
}



.course-corner-tag:hover {
    background: linear-gradient(135deg, #42a5f5, #2196f3);
    transform: scale(1.08);
}

.recommendation-image {
    position: relative;
}

/* PC端：横向3列 */
@media (min-width: 769px) {
    
/* 课程推荐标题 */
.recommendation-section-header {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 16px;
}

.recommendation-icon-box {
    display: none;
}

.recommendation-section-title {
    color: #ff3b30;
    font-size: 28px;
    font-weight: bold;
}

.recommendation-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .recommendation-image {
        aspect-ratio: 4/3;
    }
}



/* REMOVED - h2 not used in HTML */
.old-placeholder {
    color: #ff3b30;
    margin: 0 0 16px 0;
    font-size: 20px;
    font-weight: bold;
}


/* 课程推荐标题 */
.recommendation-section-header {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 16px;
}

.recommendation-icon-box {
    display: none;
}

.recommendation-section-title {
    color: #ff3b30;
    font-size: 28px;
    font-weight: bold;
}

.recommendation-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recommendation-item {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: block;
    text-decoration: none;
}

.recommendation-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.recommendation-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ff3b30);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 8px;
}

.recommendation-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    background-color: #f5f5f5;
    overflow: hidden;
}

.recommendation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommendation-content {
    padding: 12px 16px 16px;
}

.recommendation-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 6px;
    color: #333;
    line-height: 1.4;
}

.recommendation-description {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recommendation-meta, .recommendation-action, .btn-view-details {
    display: none;
}


/* 右下角课程推荐标签 */
.course-corner-tag {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
    animation: pulseBlue 2s ease-in-out infinite;
    cursor: pointer;
}

@keyframes pulseBlue {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(33, 150, 243, 0.6);
    }
}

.course-corner-tag:hover {
    background: linear-gradient(135deg, #42a5f5, #2196f3);
    transform: scale(1.08);
}

.recommendation-image {
    position: relative;
}

/* PC端：横向3列 */
@media (min-width: 769px) {
    
/* 课程推荐标题 */
.recommendation-section-header {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 16px;
}

.recommendation-icon-box {
    display: none;
}

.recommendation-section-title {
    color: #ff3b30;
    font-size: 28px;
    font-weight: bold;
}

.recommendation-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .recommendation-image {
        aspect-ratio: 4/3;
    }
}

.recommendation-badge {
    display: none;
}

.recommendation-image {
    width: 100%;
    height: 200px;
    background-color: #f5f5f5;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #999;
}

.recommendation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommendation-content {
    padding: 20px;
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.recommendation-title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.recommendation-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.recommendation-meta {
    display: none;
}

.recommendation-action {
    display: flex;
    justify-content: flex-end;
    position: relative;
    margin-top: auto;
}

.btn-view-details {
    background: #2196f3;
    color: white;
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-details:hover {
    background: #1976d2;
}

/* 响应式课程推荐 */
@media (max-width: 768px) {
    .recommendation-section {
        padding: 25px;
        margin-top: 25px;
    }
    
    /* REMOVED - h2 not used in HTML */
.old-placeholder {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    
/* 课程推荐标题 */
.recommendation-section-header {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 16px;
}

.recommendation-icon-box {
    display: none;
}

.recommendation-section-title {
    color: #ff3b30;
    font-size: 28px;
    font-weight: bold;
}

.recommendation-list {
        gap: 25px;
    }
    
    .recommendation-image {
        height: 200px;
    }
    
    .recommendation-content {
        padding: 25px;
    }
    
    .recommendation-title {
        font-size: 20px;
    }
    
    .recommendation-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .recommendation-meta {
        margin-bottom: 20px;
        padding-top: 15px;
    }
    
    .btn-view-details {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* 平板设备优化 */
@media (min-width: 769px) and (max-width: 1024px) {
    
/* 课程推荐标题 */
.recommendation-section-header {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 16px;
}

.recommendation-icon-box {
    display: none;
}

.recommendation-section-title {
    color: #ff3b30;
    font-size: 28px;
    font-weight: bold;
}

.recommendation-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 桌面设备优化 */
@media (min-width: 1025px) {
    
/* 课程推荐标题 */
.recommendation-section-header {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 16px;
}

.recommendation-icon-box {
    display: none;
}

.recommendation-section-title {
    color: #ff3b30;
    font-size: 28px;
    font-weight: bold;
}

.recommendation-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 响应式课程推荐 */
@media (max-width: 768px) {
    .recommendation-section {
        padding: 20px;
        margin-top: 20px;
    }
    
    /* REMOVED - h2 not used in HTML */
.old-placeholder {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    
/* 课程推荐标题 */
.recommendation-section-header {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 16px;
}

.recommendation-icon-box {
    display: none;
}

.recommendation-section-title {
    color: #ff3b30;
    font-size: 28px;
    font-weight: bold;
}

.recommendation-list {
        gap: 20px;
    }
    
    .recommendation-image {
        height: 180px;
    }
    
    .recommendation-content {
        padding: 20px;
    }
    
    .recommendation-title {
        font-size: 18px;
    }
    
    .recommendation-description {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .recommendation-meta {
        margin-bottom: 15px;
        padding-top: 12px;
    }
    
    .btn-view-details {
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* 错误信息 */
.error-section {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.error-message {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.error-message::before {
    content: '⚠️';
    font-size: 48px;
    display: block;
    margin-bottom: 20px;
}

.error-message p {
    font-size: 18px;
    color: #ff3b30;
    margin-bottom: 20px;
}

/* 历史记录 */
.history-section {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.history-section h3 {
    color: #333;
    margin: 0 0 15px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.history-section h3::before {
    content: '📋';
    font-size: 14px;
}

.history-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.history-item {
    padding: 8px 12px;
    background-color: #f5f5f5;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #e0e0e0;
}

.history-item:hover {
    background-color: #ffecec;
    border-color: #ff3b30;
    color: #ff3b30;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        max-width: 100%;
    }

    .header {
        padding: 40px 20px;
        margin-bottom: 20px;
        border-radius: 20px;
    }

    .header h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .header p {
        font-size: 14px;
    }

    .header-tagline {
        font-size: 12px;
        padding: 6px 12px;
    }

    .search-section {
        padding: 25px;
        margin-bottom: 20px;
        border-radius: 20px;
    }

    .search-box {
        flex-direction: column;
        gap: 15px;
    }

    .search-box input {
        padding: 16px 20px;
        font-size: 16px;
        border-radius: 25px;
    }

    .search-box .btn {
        padding: 16px 20px;
        font-size: 16px;
        border-radius: 25px;
    }

    .info-card {
        padding: 25px;
        border-radius: 20px;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 15px 0;
    }

    .info-row .label {
        font-size: 14px;
    }

    .info-row .value {
        font-size: 18px;
    }

    #remaining-sessions {
        font-size: 28px;
    }

    .renewal-section {
        padding: 25px;
        margin: 20px 0;
        border-radius: 20px;
    }

    .renewal-section h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .renewal-options {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .renewal-option {
        padding: 20px;
        border-radius: 15px;
    }

    .btn-renewal {
        padding: 14px 32px;
        font-size: 16px;
        border-radius: 25px;
    }

    .recommendation-section {
        padding: 25px;
        margin-top: 20px;
        border-radius: 20px;
    }

    /* REMOVED - h2 not used in HTML */
.old-placeholder {
        font-size: 18px;
        margin-bottom: 20px;
    }

    
/* 课程推荐标题 */
.recommendation-section-header {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 16px;
}

.recommendation-icon-box {
    display: none;
}

.recommendation-section-title {
    color: #ff3b30;
    font-size: 28px;
    font-weight: bold;
}

.recommendation-list {
        gap: 20px;
    }

    .recommendation-image {
        height: 180px;
    }

    .recommendation-content {
        padding: 20px;
    }

    .recommendation-title {
        font-size: 18px;
    }

    .recommendation-description {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .recommendation-meta {
        margin-bottom: 15px;
        padding-top: 12px;
    }

    .btn-view-details {
        padding: 12px 24px;
        font-size: 14px;
        border-radius: 25px;
    }

    .history-section {
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 15px;
    }

    .history-item {
        padding: 8px 12px;
        border-radius: 12px;
    }

    .error-message {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .error-message::before {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .error-message p {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .error-message .btn {
        padding: 14px 28px;
        font-size: 14px;
        border-radius: 25px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 14px;
        min-width: 100px;
        border-radius: 25px;
    }
}

/* 平板设备优化 */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 800px;
        padding: 30px;
    }

    .header {
        padding: 60px 30px;
        border-radius: 25px;
    }

    .search-section {
        padding: 35px;
        border-radius: 25px;
    }

    .info-card {
        padding: 30px;
        border-radius: 25px;
    }

    .renewal-section {
        padding: 35px;
        border-radius: 25px;
    }

    .renewal-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .recommendation-section {
        padding: 30px;
        border-radius: 25px;
    }

    
/* 课程推荐标题 */
.recommendation-section-header {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 16px;
}

.recommendation-icon-box {
    display: none;
}

.recommendation-section-title {
    color: #ff3b30;
    font-size: 28px;
    font-weight: bold;
}

.recommendation-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .recommendation-image {
        height: 220px;
    }

    .recommendation-content {
        padding: 25px;
    }
}

/* 桌面设备优化 */
@media (min-width: 1025px) {
    .container {
        max-width: 1000px;
        padding: 40px;
    }

    .header {
        padding: 80px 40px;
        border-radius: 25px;
    }

    .search-section {
        padding: 50px;
        border-radius: 25px;
    }

    .info-card {
        padding: 40px;
        border-radius: 25px;
    }

    .renewal-section {
        padding: 50px;
        border-radius: 25px;
    }

    .renewal-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .recommendation-section {
        padding: 40px;
        border-radius: 25px;
    }

    
/* 课程推荐标题 */
.recommendation-section-header {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 16px;
}

.recommendation-icon-box {
    display: none;
}

.recommendation-section-title {
    color: #ff3b30;
    font-size: 28px;
    font-weight: bold;
}

.recommendation-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .recommendation-image {
        height: 240px;
    }

    .recommendation-content {
        padding: 30px;
    }
}

/* 大型桌面设备优化 */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
        padding: 50px;
    }

    
/* 课程推荐标题 */
.recommendation-section-header {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 16px;
}

.recommendation-icon-box {
    display: none;
}

.recommendation-section-title {
    color: #ff3b30;
    font-size: 28px;
    font-weight: bold;
}

.recommendation-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }

    .recommendation-image {
        height: 260px;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #ff6b6b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff3b30;
}

/* 输入框自动填充样式 */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    border: 2px solid #ff3b30;
    -webkit-text-fill-color: #333;
    -webkit-box-shadow: 0 0 0 30px white inset;
    transition: background-color 5000s ease-in-out 0s;
}
