:root {
    --primary-color: #ffb6c1;
    --primary-dark: #ff91a4;
    --accent-color: #ffc0cb;
    --accent-light: #ffe4ec;
    --bg-gradient-start: #fce4ec;
    --bg-gradient-end: #f8bbd9;
    --text-dark: #5a4a4a;
    --text-light: #8a7a7a;
    --white: #ffffff;
    --shadow-light: 0 4px 6px rgba(255, 182, 193, 0.2);
    --shadow-medium: 0 10px 25px rgba(255, 182, 193, 0.3);
    --shadow-hover: 0 20px 40px rgba(255, 182, 193, 0.4);
}

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

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #fff5f7 0%, #ffeef2 100%);
    min-height: 100vh;
    color: var(--text-dark);
    line-height: 1.6;
}

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

.header {
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    padding: 80px 20px;
    text-align: center;
    color: #5a4a4a;
    border-radius: 0 0 50px 50px;
    margin-bottom: 60px;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.hero {
    position: relative;
    z-index: 1;
}

.name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    letter-spacing: 4px;
    animation: fadeInUp 0.8s ease-out;
}

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

.info {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.school {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 0.95;
}

.college {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.9;
}

.main {
    padding-bottom: 60px;
}

.courses-section {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 50px;
    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 0;
    border-radius: 2px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.course-card {
    background: linear-gradient(135deg, #fff5f7, #ffeef2);
    border-radius: 25px;
    padding: 35px 30px;
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid #ffe4ec;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ffb6c1, #ff91a4);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.course-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 15px 40px rgba(255, 182, 193, 0.3);
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.4s ease;
    animation: helloKittyIcon 3s ease-in-out infinite;
}

@keyframes helloKittyIcon {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

.course-card:hover .course-icon {
    transform: scale(1.15) rotate(8deg);
}

.course-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.course-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.course-link-hint {
    margin-top: 15px;
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.course-card:hover .course-link-hint {
    opacity: 1;
    transform: translateX(0);
}

.clickable-card {
    cursor: pointer;
}

.footer {
    text-align: center;
    padding: 40px 20px;
    color: #8a7a7a;
    font-size: 0.95rem;
    border-top: 2px solid #ffe4ec;
    margin-top: 60px;
    background: linear-gradient(135deg, #fff5f7 0%, #ffeef2 100%);
}

@media (max-width: 768px) {
    .header {
        padding: 60px 20px;
        border-radius: 0 0 30px 30px;
    }
    
    .name {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .school {
        font-size: 1.2rem;
    }
    
    .college {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .course-card {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}
