/* Homepage Styles */
.hero-section {
    background: linear-gradient(135deg, #5a3768 0%, #4a2d56 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s infinite ease-in-out;
}

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

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

@keyframes cursorBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-3px) scale(1.05);
    }
    75% {
        transform: translateY(-1px) scale(1.02);
    }
}

@keyframes cursorGlow {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(90, 55, 104, 0.4);
    }
    50% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), 0 0 0 4px rgba(90, 55, 104, 0.2);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.students-section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 15px auto;
    border-radius: 2px;
}

.students-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.student-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.student-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.student-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.student-card-image {
    width: 100%;
    height: auto;
    min-height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.student-card-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.student-card:hover .student-card-image img {
    transform: scale(1.1);
}

/* Click indicator - cursor icon with "更多" text */
.student-card-image::after {
    content: '更多';
    position: absolute;
    bottom: 15px;
    right: 15px;
    min-width: 60px;
    height: 36px;
    background: rgba(90, 55, 104, 0.9);
    border-radius: 8px;
    opacity: 0.85;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    /* Create cursor icon using CSS */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z'/%3E%3C/svg%3E");
    background-size: 16px 16px;
    background-position: right 6px center;
    background-repeat: no-repeat;
    /* Text styling */
    color: white;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 8px 0 10px;
    white-space: nowrap;
    /* Continuous animations to attract attention */
    animation: cursorPulse 2s ease-in-out infinite, cursorBounce 3s ease-in-out infinite, cursorGlow 2.5s ease-in-out infinite;
}

.student-card:hover .student-card-image::after {
    opacity: 1;
    transform: scale(1.1) translateY(-3px);
    background-color: rgba(90, 55, 104, 1);
    box-shadow: 0 4px 16px rgba(90, 55, 104, 0.5), 0 0 0 6px rgba(90, 55, 104, 0.15);
    animation: cursorPulse 1s ease-in-out infinite, cursorBounce 1.5s ease-in-out infinite, cursorGlow 1.5s ease-in-out infinite;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 18px;
}

.student-card-info {
    padding: 20px;
    text-align: center;
}

.student-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.student-title {
    color: var(--text-light);
    font-size: 1rem;
}

.no-students {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .students-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .student-card-image {
        height: auto;
        min-height: 200px;
    }
    
    .student-card-image img {
        object-fit: contain;
        height: auto;
        max-height: 300px;
    }
    
    .student-card-image::after {
        min-width: 60px;
        height: 32px;
        bottom: 12px;
        right: 12px;
        font-size: 12px;
        padding: 0 8px 0 8px;
        background-size: 14px 14px;
        background-position: right 5px center;
    }
}

@media (max-width: 480px) {
    .students-grid {
        grid-template-columns: 1fr;
    }
    
    .student-card-image {
        height: auto;
        min-height: 250px;
    }
    
    .student-card-image img {
        object-fit: contain;
        height: auto;
        max-height: 350px;
    }
    
    .student-card-image::after {
        min-width: 55px;
        height: 30px;
        bottom: 10px;
        right: 10px;
        font-size: 11px;
        padding: 0 7px 0 7px;
        background-size: 12px 12px;
        background-position: right 4px center;
    }
}

