/* ============================================
   Portfolio - 渐变活力风格
   ============================================ */

:root {
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-6: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

body {
    font-family: 'Noto Sans SC', 'Poppins', sans-serif;
    color: var(--text-primary);
    background: var(--bg-light);
    line-height: 1.6;
}

/* ============================================
   Section Navigation
   ============================================ */
.section-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.section-nav ul {
    list-style: none;
}

.section-nav li {
    margin: 15px 0;
}

.section-nav a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.section-nav a::after {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.3);
    margin-left: 10px;
    transition: all 0.3s ease;
}

.section-nav a.active::after,
.section-nav a:hover::after {
    background: var(--gradient-1);
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.section-nav a span {
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
}

.section-nav a:hover span,
.section-nav a.active span {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   Scroll Hint
   ============================================ */
.scroll-hint {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 100;
    animation: fadeInUp 1s ease 1s both;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(102, 126, 234, 0.5);
    border-radius: 13px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gradient-1);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

.scroll-hint span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   Sections Base
   ============================================ */
.section {
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px 5%;
}

.section-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    background: var(--gradient-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(240, 147, 251, 0.2) 0%, transparent 40%);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.greeting {
    display: inline-block;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    animation: fadeInUp 0.8s ease;
}

.name {
    font-size: 5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.title {
    font-size: 1.8rem;
    font-weight: 400;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.btn-primary {
    padding: 15px 40px;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    padding: 15px 40px;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-avatar {
    position: relative;
    animation: fadeInRight 1s ease 0.5s both;
}

.avatar-ring {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: var(--gradient-1);
    padding: 5px;
    animation: rotate 20s linear infinite;
}

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

.avatar-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-placeholder i {
    font-size: 100px;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.avatar-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

/* ============================================
   About Section - Unified Creative Layout
   ============================================ */
.about-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* 装饰性卡通元素 */
.deco-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.deco-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    top: 5%;
    left: -5%;
    animation: floatDeco 8s ease-in-out infinite;
}

.deco-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: 10%;
    right: 5%;
    opacity: 0.3;
    animation: floatDeco 10s ease-in-out infinite 1s;
}

.deco-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    bottom: 15%;
    left: 10%;
    opacity: 0.4;
    animation: floatDeco 7s ease-in-out infinite 2s;
}

.deco-star {
    position: absolute;
    font-size: 2rem;
    color: #667eea;
    opacity: 0.5;
    animation: twinkle 3s ease-in-out infinite;
}

.deco-4 {
    top: 20%;
    left: 15%;
}

.deco-5 {
    bottom: 25%;
    right: 15%;
    font-size: 1.5rem;
    animation-delay: 1.5s;
}

.deco-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gradient-3);
}

.deco-6 {
    top: 30%;
    right: 20%;
    animation: floatDeco 5s ease-in-out infinite;
}

.deco-7 {
    bottom: 35%;
    left: 25%;
    animation: floatDeco 6s ease-in-out infinite 0.5s;
}

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

@keyframes twinkle {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

/* 统一布局容器 */
.about-unified {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

/* 顶部问候语 */
.about-header {
    margin-bottom: 30px;
}

.greeting-text {
    display: block;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.about-name {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 悬浮标签区域 */
.tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    max-width: 700px;
}

.floating-tag {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    border: 1px solid rgba(102, 126, 234, 0.1);
    animation: floatTag 6s ease-in-out infinite;
}

.floating-tag:nth-child(odd) { animation-delay: 0s; }
.floating-tag:nth-child(even) { animation-delay: 0.5s; }
.floating-tag:nth-child(3n) { animation-delay: 1s; }

.floating-tag:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.25);
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
}

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

/* 核心介绍 */
.about-core {
    margin-bottom: 50px;
}

.about-role {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.about-role strong {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-motto {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* 统计数据行 */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.stat-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 25px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    border: 1px solid rgba(102, 126, 234, 0.08);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.stat-card .stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* 语言标签行 */
.lang-row {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.lang-badge {
    background: var(--gradient-1);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.lang-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* ============================================
   Experience Section
   ============================================ */
.experience-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.experience-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 50%;
    pointer-events: none;
}

.experience-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -10%;
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.06) 0%, rgba(102, 126, 234, 0.04) 100%);
    border-radius: 50%;
    pointer-events: none;
}

.experience-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.exp-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    border-image: var(--gradient-1) 1;
}

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

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.exp-company {
    display: flex;
    align-items: center;
    gap: 15px;
}

.exp-company i {
    font-size: 2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.exp-company h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.exp-location {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.exp-period {
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: var(--bg-light);
    padding: 5px 15px;
    border-radius: 20px;
}

.exp-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.exp-details {
    list-style: none;
}

.exp-details li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.exp-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient-1);
}

/* ============================================
   Education Section
   ============================================ */
.education-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.education-section::before {
    content: '';
    position: absolute;
    top: 15%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.08) 0%, rgba(245, 87, 108, 0.05) 100%);
    border-radius: 50%;
    pointer-events: none;
}

.education-section::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: -5%;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.06) 0%, rgba(56, 249, 215, 0.04) 100%);
    border-radius: 50%;
    pointer-events: none;
}

.edu-timeline {
    position: relative;
    padding-left: 100px;
}

.edu-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.edu-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: flex-start;
}

.edu-marker {
    position: absolute;
    left: -50px;
    width: 100px;
    display: flex;
    justify-content: center;
}

.edu-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-1);
    box-shadow: 0 0 0 5px rgba(102, 126, 234, 0.2);
}

.edu-content {
    flex: 1;
}

.edu-card {
    display: flex;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.edu-card:hover {
    transform: translateX(10px) translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.edu-image {
    width: 200px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.edu-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.edu-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.edu-info {
    flex: 1;
    padding: 25px 30px;
}

.edu-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.edu-info h4 {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.edu-period {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.edu-period i {
    margin-right: 8px;
    color: #667eea;
}

.edu-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.edu-honors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.honor-tag {
    background: var(--gradient-1);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.edu-year {
    position: absolute;
    left: -150px;
    width: 100px;
    text-align: right;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ============================================
   Skills Section
   ============================================ */
.skills-section {
    background: var(--gradient-dark);
}

.skills-section .section-title {
    background: var(--gradient-3);
    -webkit-background-clip: text;
    background-clip: text;
}

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

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-category:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

.skill-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-icon i {
    font-size: 1.8rem;
    color: white;
}

.skill-category h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.skill-tags span {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.skill-tags span:hover {
    background: var(--gradient-3);
    color: white;
}

/* ============================================
   Hobbies Section
   ============================================ */
.hobbies-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.hobbies-section::before {
    content: '';
    position: absolute;
    top: 5%;
    right: -8%;
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, rgba(250, 112, 154, 0.08) 0%, rgba(254, 225, 64, 0.05) 100%);
    border-radius: 50%;
    pointer-events: none;
}

.hobbies-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.06) 0%, rgba(0, 242, 254, 0.04) 100%);
    border-radius: 50%;
    pointer-events: none;
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.hobby-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hobby-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to top, rgba(102, 126, 234, 0.05), transparent);
    transition: height 0.4s ease;
}

.hobby-card:hover::before {
    height: 100%;
}

.hobby-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hobby-card:hover .hobby-icon {
    transform: scale(1.1) rotate(5deg);
}

.hobby-card:nth-child(1) .hobby-icon { background: var(--gradient-1); }
.hobby-card:nth-child(2) .hobby-icon { background: var(--gradient-2); }
.hobby-card:nth-child(3) .hobby-icon { background: var(--gradient-3); }
.hobby-card:nth-child(4) .hobby-icon { background: var(--gradient-4); }

.hobby-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
    justify-content: center;
    margin: 0 auto 20px;
}

.hobby-icon i {
    font-size: 2rem;
    color: white;
}

.hobby-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.hobby-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    background: var(--gradient-dark);
    flex-direction: column;
}

.contact-section .section-title {
    background: var(--gradient-5);
    -webkit-background-clip: text;
    background-clip: text;
}

.contact-intro {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    margin-bottom: 50px;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 30px;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-1);
    transform: scale(1.1);
}

.footer {
    position: absolute;
    bottom: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer i {
    color: #f5576c;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    /* About section responsive */
    .about-name {
        font-size: 2.8rem;
    }
    
    .tags-wrapper {
        gap: 12px;
    }
    
    .floating-tag {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .stats-row {
        gap: 20px;
    }
    
    .stat-card {
        padding: 20px 25px;
    }
    
    .deco-1 { width: 150px; height: 150px; }
    .deco-2 { width: 120px; height: 120px; }
    .deco-3 { width: 80px; height: 80px; }
    
    .experience-timeline {
        grid-template-columns: 1fr;
    }
    
    .edu-timeline {
        padding-left: 60px;
    }
    
    .edu-year {
        display: none;
    }
    
    .edu-card {
        flex-direction: column;
    }
    
    .edu-image {
        width: 100%;
        min-height: 150px;
    }
    
    .hobbies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .name {
        font-size: 3rem;
    }
    
    .title {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .avatar-ring {
        width: 250px;
        height: 250px;
    }
    
    .avatar-placeholder,
    .avatar-image {
        width: 210px;
        height: 210px;
    }
    
    .avatar-placeholder i {
        font-size: 70px;
    }
    
    /* About section mobile */
    .about-name {
        font-size: 2.2rem;
    }
    
    .tags-wrapper {
        gap: 10px;
    }
    
    .floating-tag {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .about-role {
        font-size: 1.2rem;
    }
    
    .about-motto {
        font-size: 1rem;
    }
    
    .stats-row {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .stat-card {
        padding: 18px 22px;
        min-width: 100px;
    }
    
    .stat-card .stat-number {
        font-size: 2.2rem;
    }
    
    .lang-row {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .lang-badge {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .deco-shapes {
        opacity: 0.5;
    }
    
    .contact-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .hobbies-grid {
        grid-template-columns: 1fr;
    }
    
    .scroll-hint {
        display: none;
    }
    
    .stat-item-new .stat-number {
        font-size: 2rem;
    }
    
    .contact-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .hobbies-grid {
        grid-template-columns: 1fr;
    }
    
    .scroll-hint {
        display: none;
    }
    
    /* Additional mobile optimizations */
    .section {
        padding: 50px 5%;
    }
    
    .exp-card {
        padding: 20px;
    }
    
    .edu-info {
        padding: 20px 25px;
    }
    
    .hobby-card {
        padding: 30px 20px;
    }
    
    .stat-item {
        padding: 20px;
    }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
    .name {
        font-size: 2.5rem;
    }
    
    .title {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .exp-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .exp-company {
        width: 100%;
    }
    
    .exp-period {
        align-self: flex-end;
    }
    
    .edu-timeline {
        padding-left: 30px;
    }
    
    .edu-image {
        min-height: 120px;
    }
    
    .edu-logo {
        font-size: 2rem;
    }
    
    .edu-badge {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
    
    .language-tags {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .lang-tag {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
}

/* ============================================
   Language Tags (About Section)
   ============================================ */
.language-tags {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.lang-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-1);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
}

.lang-tag i {
    font-size: 1rem;
}
