/* ===== SKILLS PAGE SPECIFIC STYLES ===== */

/* Hero Section */
.skills-hero {
    padding: 100px 20px 60px;
    text-align: center;
    position: relative;
    min-height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skills-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.skills-hero-content .main-name {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #0f0, #0ff, #f0f, #0ff, #0f0);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 8s ease infinite;
    font-weight: 800;
}

.skills-hero-content .role {
    font-size: 1.2rem;
    color: #0ff;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.skills-hero-content .role::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #0f0, #0ff);
    animation: expandWidth 1.5s ease forwards;
}

/* Stats Container */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 30px 0 20px;
}

.stat-item {
    text-align: center;
    background: rgba(0, 255, 255, 0.05);
    padding: 15px 25px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    min-width: 120px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: #0ff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #0ff;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: #aaa;
}

.hero-decoration {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #0ff, #f0f);
    margin: 30px auto 0;
    animation: expandWidthDecoration 1.5s ease forwards;
}

/* ===== ANIMATION CLASSES ===== */
.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1.0s; }
.delay-6 { animation-delay: 1.2s; }
.delay-7 { animation-delay: 1.4s; }
.delay-8 { animation-delay: 1.6s; }

.slide-up {
    animation: slideUp 0.5s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.scale-in {
    animation: scaleIn 0.5s ease forwards;
    opacity: 0;
    transform: scale(0.8);
}

.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Main Container */
.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px 80px;
}

/* Section Styles */
.skills-section {
    margin-bottom: 50px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.skills-section:hover {
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.05);
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header i {
    font-size: 2.5rem;
    color: #0ff;
    margin-bottom: 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.section-header:hover i {
    transform: scale(1.1);
}

.section-header h2 {
    font-size: 1.8rem;
    color: #0ff;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #0ff, #f0f);
}

.section-header p {
    color: #888;
    font-size: 0.9rem;
    margin-top: 15px;
}

/* Skills Tags - Clean List Style */
.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.skill-tag {
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.2);
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 0.85rem;
    color: #ccc;
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    background: rgba(0, 255, 255, 0.15);
    border-color: #0ff;
    color: #0ff;
    transform: translateY(-2px) scale(1.02);
}

/* Soft Skills Grid */
.soft-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.soft-skill-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.soft-skill-card:hover {
    transform: translateY(-5px);
    border-color: #0ff;
    background: rgba(0, 255, 255, 0.05);
}

.soft-skill-card i {
    font-size: 2rem;
    color: #0ff;
    margin-bottom: 12px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.soft-skill-card:hover i {
    transform: scale(1.1);
}

.soft-skill-card h3 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.soft-skill-card:hover h3 {
    color: #0ff;
}

.soft-skill-card p {
    font-size: 0.75rem;
    color: #aaa;
    line-height: 1.4;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: rgba(0, 255, 255, 0.9);
    color: #000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    background: #0ff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

/* Animations */
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}

@keyframes expandWidthDecoration {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100px;
        opacity: 1;
    }
}

/* ===== LIGHT MODE ===== */
body.light .skills-hero-content .main-name {
    background: linear-gradient(45deg, #1a1a1a, #0066ff, #ff00ff, #1a1a1a);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
}

body.light .skills-hero-content .role {
    color: #0066ff;
}

body.light .skills-section {
    background: rgba(245, 245, 245, 0.3);
    border-color: rgba(0, 102, 255, 0.1);
}

body.light .skills-section:hover {
    border-color: rgba(0, 102, 255, 0.3);
}

body.light .section-header i,
body.light .section-header h2 {
    color: #0066ff;
}

body.light .stat-item {
    background: rgba(0, 102, 255, 0.05);
    border-color: rgba(0, 102, 255, 0.2);
}

body.light .stat-number {
    color: #0066ff;
}

body.light .stat-label {
    color: #555;
}

body.light .skill-tag {
    background: rgba(0, 102, 255, 0.05);
    border-color: rgba(0, 102, 255, 0.15);
    color: #1a1a1a;
}

body.light .skill-tag:hover {
    background: rgba(0, 102, 255, 0.1);
    border-color: #0066ff;
    color: #0066ff;
}

body.light .soft-skill-card {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 102, 255, 0.2);
}

body.light .soft-skill-card h3 {
    color: #1a1a1a;
}

body.light .soft-skill-card:hover h3 {
    color: #0066ff;
}

body.light .soft-skill-card i {
    color: #0066ff;
}

body.light .soft-skill-card p {
    color: #666;
}

body.light .back-to-top {
    background: rgba(0, 102, 255, 0.9);
    color: #fff;
}

body.light .back-to-top:hover {
    background: #0066ff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .skills-hero {
        padding: 80px 20px 40px;
    }
    
    .skills-hero-content .main-name {
        font-size: 2.5rem;
    }
    
    .stats-container {
        gap: 15px;
    }
    
    .stat-item {
        padding: 10px 15px;
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .skills-container {
        padding: 20px;
    }
    
    .skills-section {
        padding: 20px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .skill-tag {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .soft-skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .skills-hero-content .main-name {
        font-size: 2rem;
    }
    
    .skills-hero-content .role {
        font-size: 1rem;
    }
    
    .stat-item {
        padding: 8px 12px;
        min-width: 70px;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .soft-skills-grid {
        grid-template-columns: 1fr;
    }
}