:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a24;
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b0;
    --accent: #6366f1;
    --accent-hover: #818cf8;
    --accent-2: #06b6d4;
    --accent-3: #8b5cf6;
    --border-color: #2a2a3a;
    --tag-bg: #1e1e2a;
    --tag-border: #3a3a4a;
    --success: #10b981;
}

body {
    font-family: 'Kanit', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    background: var(--bg-primary);
    overflow-x: hidden;
    cursor: none;
}

/* AI Background - Floating Orbs */
.ai-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.ai-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: floatOrb 20s ease-in-out infinite;
}

.ai-orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.ai-orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #06b6d4 0%, #6366f1 50%, #8b5cf6 100%);
    top: 50%;
    right: -150px;
    animation-delay: -5s;
}

.ai-orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #06b6d4 100%);
    bottom: -100px;
    left: 30%;
    animation-delay: -10s;
}

.ai-orb-4 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #6366f1 100%);
    top: 30%;
    left: 50%;
    animation-delay: -15s;
    opacity: 0.4;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, 50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 80px) scale(0.95);
    }
    75% {
        transform: translate(80px, -40px) scale(1.05);
    }
}

/* Grid Lines */
.ai-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

/* Glow Effect */
.ai-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    z-index: 1;
    animation: pulseGlow 4s ease-in-out infinite;
}

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

/* Floating Particles Enhancement */
.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: float-particle 15s infinite;
    box-shadow: 0 0 10px currentColor;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

.light body {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border-color: #e2e8f0;
    --tag-bg: #f1f5f9;
    --tag-border: #cbd5e1;
    background: linear-gradient(-45deg, #f0f9ff, #e0f2fe, #f8fafc, #fafafa);
    background-size: 400% 400%;
    animation: gradientBGLight 15s ease infinite;
}

@keyframes gradientBGLight {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.light .ai-bg {
    opacity: 0.3;
}

.light .ai-grid {
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
}

.light .ai-glow {
    opacity: 0.3;
}

.light .subtitle {
    background: linear-gradient(90deg, #4f46e5, #0891b2, #7c3aed, #059669);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.light .profile-image {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.light .profile-ring {
    border-color: rgba(99, 102, 241, 0.4);
}

.light .tag {
    color: #4f46e5;
}

.light .typing-cursor {
    background: #4f46e5;
}

.light .section h2 {
    background: linear-gradient(135deg, #1e293b, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.light .about-description strong {
    color: #4f46e5;
}

.light .stat-number {
    background: linear-gradient(135deg, #4f46e5, #0891b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.light .time {
    background: linear-gradient(135deg, #4f46e5, #0891b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.light .music-toggle {
    background: linear-gradient(135deg, #f472b6, #ec4899);
    border: none;
}

.light .footer {
    background: rgba(241, 245, 249, 0.5);
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.light .space-btn-filled {
    background: linear-gradient(135deg, #4f46e5, #0891b2);
}

.light .space-btn-outlined {
    border-color: #4f46e5;
    color: #4f46e5;
}

.light .space-btn-outlined:hover {
    background: rgba(79, 70, 229, 0.1);
}

.light .social-btn {
    border-color: #cbd5e1;
    color: #1e293b;
}

.light .social-btn:hover {
    background: linear-gradient(135deg, #4f46e5, #0891b2);
    border-color: #4f46e5;
}

.light .contact-item:hover {
    background: rgba(79, 70, 229, 0.1);
}

/* Mobile hover states */
@media (hover: none) {
    .skill-tag:hover {
        transform: none !important;
    }
    
    .social-btn:hover {
        transform: none !important;
    }
    
    .about-card:hover {
        transform: none !important;
    }
    
    .contact-card:hover {
        transform: none !important;
    }
    
    .music-toggle:hover {
        transform: none !important;
    }
    
    .back-to-top:hover {
        transform: none !important;
    }
    
    .a:hover {
        opacity: 0.8;
    }
}

/* Custom Cursor */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.1s;
    box-shadow: 0 0 10px var(--accent);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
}

.light .cursor-follower {
    border: 1px solid rgba(99, 102, 241, 0.3);
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #06b6d4, #8b5cf6, #10b981);
    background-size: 200% 100%;
    z-index: 10000;
    transition: width 0.1s;
    animation: shimmer 3s linear infinite;
    box-shadow: 0 0 10px #6366f1, 0 0 20px #06b6d4;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.5;
    animation: float-particle 15s infinite;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

main {
    max-width: 48rem;
    margin: 0 auto;
    min-height: 100vh;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

.sigmar-ff {
    font-family: 'Sigmar', sans-serif;
    font-weight: 400;
}

.kanit-regular {
    font-weight: 300;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    transition: background 0.3s;
}

.light header {
    background: rgba(255, 255, 255, 0.8);
}

.light header {
    background: rgba(255, 255, 255, 0.8);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo span {
    font-size: 1.25rem;
}

.nav-links-desktop {
    display: flex;
    gap: 2rem;
}

.nav-links-desktop a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s;
    font-size: 0.9rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links-desktop a:hover,
.nav-links-desktop a.active {
    color: var(--accent);
}

.nav-links-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transition: width 0.3s;
}

.nav-links-desktop a:hover::after,
.nav-links-desktop a.active::after {
    width: 100%;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: rotate(180deg);
}

.sun-icon {
    display: none;
}

.light .moon-icon {
    display: none;
}

.light .sun-icon {
    display: block;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.mobile-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-secondary);
    padding: 2rem;
    flex-direction: column;
    gap: 1rem;
    z-index: 200;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.3s;
}

.mobile-links.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

.mobile-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 300;
    padding: 1rem 0;
}

.close-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
}

/* Hero Section */
.jumbo-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 1rem 3rem;
    gap: 1.5rem;
    min-height: 100vh;
}

.profile-image-container {
    position: relative;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent);
    animation: fadeIn 1s ease, float 3s ease-in-out infinite, glow 2s ease-in-out infinite alternate;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

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

@keyframes glow {
    0% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.5); }
    100% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.8), 0 0 60px rgba(6, 182, 212, 0.4); }
}

.profile-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    transform: translate(-50%, -50%);
    border: 2px dashed rgba(99, 102, 241, 0.6);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
    z-index: 1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.tag {
    background: var(--tag-bg);
    border: 1px solid var(--tag-border);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    color: var(--accent);
    animation: pulse 2s infinite;
}

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

.jumbo-banner h1 {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--text-primary);
    min-height: 3.5rem;
}

.typewriter {
    background: linear-gradient(135deg, var(--text-primary), var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.light .typewriter {
    background: linear-gradient(135deg, #1e293b, #4f46e5, #0891b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typing-cursor {
    width: 3px;
    height: 2.5rem;
    background: var(--accent);
    animation: blink 1s infinite;
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.jumbo-banner > p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 25rem;
    animation: fadeIn 1s ease 0.5s both;
}

.subtitle {
    background: linear-gradient(90deg, #6366f1, #06b6d4, #8b5cf6, #10b981);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s linear infinite;
    font-weight: 500;
}

@keyframes gradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    animation: fadeIn 1s ease 0.7s both;
}

.hero-buttons .button-link i {
    margin-right: 0.5rem;
}

/* Scroll Indicator */


/* Buttons */
.button-link {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.button-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.button-link:hover::before {
    width: 300px;
    height: 300px;
}

.space-btn-filled {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
}

.space-btn-filled:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.space-btn-outlined {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.space-btn-outlined:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(99, 102, 241, 0.1);
}

/* Page Content */
.page-content {
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

.section {
    padding: 4rem 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    position: relative;
    z-index: 10;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section h2 {
    text-align: center;
    padding-bottom: 2rem;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Card */
.about-card {
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 1.5rem;
    padding: 2rem;
    background: rgba(26, 26, 36, 0.4);
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.1);
}

.light .about-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.about-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.about-header {
    margin-bottom: 1.5rem;
}

.about-info {
    display: grid;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    transform: translateX(-20px);
    opacity: 0;
    animation: slideIn 0.5s forwards;
}

.info-item:nth-child(1) { animation-delay: 0.1s; }
.info-item:nth-child(2) { animation-delay: 0.2s; }
.info-item:nth-child(3) { animation-delay: 0.3s; }
.info-item:nth-child(4) { animation-delay: 0.4s; }
.info-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.info-item i {
    color: var(--accent);
    width: 20px;
}

.info-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-item strong {
    color: var(--text-primary);
}

.about-description {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 1.5rem 0;
    line-height: 1.8;
}

.highlight {
    color: var(--accent);
    font-weight: 600;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 1.5rem;
}

.stat-item {
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: scale(1.1);
}

.stat-item:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Tooltip */
.skill-tag .tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.8rem;
    white-space: normal;
    max-width: 200px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
    margin-bottom: 10px;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.skill-tag .tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--accent);
}

.skill-tag .tooltip.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.skill-tag {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 1rem;
    font-size: 0.9rem;
    background: rgba(26, 26, 36, 0.4);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.1);
}

.skill-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.skill-tag:hover::before {
    left: 100%;
}

.skill-tag:hover {
    border-color: var(--accent);
    color: white;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.skill-tag:hover .tooltip,
.skill-tag .tooltip.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

.skill-tag:hover .skill-bar .skill-progress {
    width: var(--progress);
}

.skill-tag i {
    font-size: 1.5rem;
    transition: all 0.3s;
}

.skill-tag:hover i {
    color: white !important;
    transform: scale(1.2);
}

.light .skill-tag i {
    filter: brightness(0.9);
}

.light .skill-tag:hover {
    background: linear-gradient(135deg, #4f46e5, #0891b2);
}

.light .skill-tag:hover i {
    color: white !important;
}

.light .skill-bar {
    background: rgba(0, 0, 0, 0.1);
}

.light .skill-progress {
    background: linear-gradient(90deg, #4f46e5, #0891b2);
}

.light .skill-tag:hover .skill-progress {
    background: white;
}

.skill-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.skill-progress {
    height: 100%;
    background: white;
    border-radius: 2px;
    width: 0;
    transition: width 1s ease 0.3s;
}

/* Contact Card */
.contact-card {
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 1.5rem;
    padding: 2rem;
    background: rgba(26, 26, 36, 0.4);
    backdrop-filter: blur(20px);
    text-align: center;
    transition: all 0.5s;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.1);
}

.light .contact-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.contact-card:hover {
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-secondary);
    transition: all 0.3s;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.contact-item:hover {
    color: var(--accent);
    background: rgba(99, 102, 241, 0.1);
}

.contact-item i {
    font-size: 1.5rem;
    animation: iconPulse 2s infinite;
}

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

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.4s;
    font-size: 1rem;
}

.social-btn:hover {
    border-color: var(--accent);
    color: white;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.social-btn i {
    font-size: 1.25rem;
}

/* Time Display */
.time-display {
    text-align: center;
    padding: 2rem;
    margin: 2rem 0;
    background: rgba(26, 26, 36, 0.4);
    backdrop-filter: blur(20px);
    border-radius: 1rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.1);
}

.time {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.date {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Telegram Section */
.telegram-section {
    margin: 2rem 0;
    position: relative;
    z-index: 10;
}

.telegram-card {
    border: 1px solid rgba(0, 136, 204, 0.3);
    border-radius: 1.5rem;
    padding: 2.5rem;
    background: rgba(26, 26, 36, 0.4);
    backdrop-filter: blur(20px);
    text-align: center;
    transition: all 0.5s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 136, 204, 0.1);
}

.telegram-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: pulse-bg 3s infinite;
}

@keyframes pulse-bg {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.telegram-card:hover {
    border-color: #0088cc;
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 136, 204, 0.3);
}

.telegram-icon {
    font-size: 4rem;
    color: #0088cc;
    margin-bottom: 1.5rem;
    animation: telegramFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

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

.telegram-card h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.telegram-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.telegram-card strong {
    color: #0088cc;
}

.telegram-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.telegram-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 136, 204, 0.1);
    border: 1px solid rgba(0, 136, 204, 0.3);
    border-radius: 2rem;
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: all 0.3s;
}

.telegram-features span:hover {
    background: rgba(0, 136, 204, 0.2);
    transform: scale(1.05);
}

.telegram-features i {
    color: #0088cc;
}

.telegram-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #0088cc, #00a2ff);
    color: white;
    text-decoration: none;
    border-radius: 3rem;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(0, 136, 204, 0.4);
}

.telegram-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.5);
}

.telegram-btn i {
    font-size: 1.25rem;
}

/* Footer */
.footer {
    margin-top: 2rem;
    padding: 3rem 1rem;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    background: rgba(26, 26, 36, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: all 0.3s;
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-5px) rotate(360deg);
}

.footer-copy {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.made-with {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.made-with i {
    color: #e74c3c;
    animation: heartbeat 1s infinite;
}

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

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 2000;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.5);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Music Toggle */
.music-container {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2000;
    background: rgba(26, 26, 36, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.5rem;
    border-radius: 50px;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.music-toggle {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #f472b6, #ec4899, #db2777);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(244, 114, 182, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(244, 114, 182, 0.6);
}

.music-toggle.playing {
    animation: pulse 1s infinite;
}

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

.music-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 80px;
}

.music-label {
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    animation: fadeIn 0.5s ease;
}

.music-status {
    color: var(--text-secondary);
    font-size: 0.65rem;
    animation: fadeIn 0.5s ease;
}

.music-controls {
    display: flex;
    gap: 0.25rem;
}

.music-prev, .music-next {
    width: 32px;
    height: 32px;
    background: rgba(99, 102, 241, 0.2);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-prev:hover, .music-next:hover {
    background: rgba(99, 102, 241, 0.4);
    transform: scale(1.1);
}

.light .music-container {
    background: rgba(255, 255, 255, 0.9);
}

.light .music-prev, .light .music-next {
    background: rgba(99, 102, 241, 0.1);
}

/* Skill Modal */
.skill-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.skill-modal.active {
    display: flex;
}

.skill-modal-content {
    background: linear-gradient(135deg, rgba(30, 30, 50, 0.95), rgba(20, 20, 40, 0.95));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalSlide 0.3s ease;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

@keyframes modalSlide {
    from {
        transform: scale(0.8) translateY(50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.skill-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.skill-modal-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.skill-modal-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: iconBounce 1s ease infinite;
}

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

.skill-modal-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.skill-modal-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.skill-modal-link {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s;
}

.skill-modal-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.light .skill-modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
}

@media (max-width: 480px) {
    .skill-modal-content {
        padding: 2rem;
    }
    
    .skill-modal-icon {
        font-size: 4rem;
    }
    
    .skill-modal-title {
        font-size: 1.5rem;
    }
}

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

/* Mobile Responsive - Telefon */
@media screen and (max-width: 768px), screen and (max-device-width: 768px) {
    /* Umumiy */
    * {
        max-width: 100% !important;
    }
    
    body {
        cursor: auto;
        overflow-x: hidden;
    }
    
    .cursor, .cursor-follower {
        display: none !important;
    }
    
    /* Header */
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 0.75rem 1rem;
    }
    
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .logo span {
        font-size: 1rem;
    }
    
    .nav-links-desktop {
        display: none !important;
    }
    
    .hamburger {
        display: block !important;
        font-size: 1.25rem;
    }
    
    .theme-toggle {
        display: none !important;
    }
    
    /* Mobile Menu */
    .mobile-links {
        padding-top: 3rem;
    }
    
    .mobile-links a {
        font-size: 1.25rem;
        padding: 0.75rem 0;
    }
    
    /* Main */
    main {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* AI Background */
    .ai-bg {
        opacity: 0.3;
    }
    
    .ai-orb {
        opacity: 0.3;
    }
    
    /* Hero */
    .jumbo-banner {
        padding: 5rem 1rem 2rem !important;
        min-height: auto !important;
    }
    
    .profile-image {
        width: 110px !important;
        height: 110px !important;
    }
    
    .profile-ring {
        width: 130px !important;
        height: 130px !important;
    }
    
    .jumbo-banner h1 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    .subtitle {
        font-size: 0.7rem !important;
        max-width: 100% !important;
        padding: 0 0.5rem !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        padding: 0 1rem;
    }
    
    .hero-buttons .button-link {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
    }
    
    /* Sections */
    .page-content {
        padding: 0 1rem !important;
    }
    
    .section {
        padding: 2rem 0 !important;
    }
    
    .section h2 {
        font-size: 1.35rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* About Card */
    .about-card {
        padding: 1.25rem !important;
        border-radius: 1rem !important;
    }
    
    .info-item {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.85rem !important;
    }
    
    .about-description {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem !important;
    }
    
    /* Skills Grid */
    .skills-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }
    
    .skill-tag {
        padding: 0.75rem 0.5rem !important;
        font-size: 0.8rem !important;
    }
    
    .skill-tag i {
        font-size: 1.25rem !important;
    }
    
    .skill-tag span:not(.tooltip):not(.skill-bar) {
        font-size: 0.75rem !important;
    }
    
    .skill-tag .tooltip {
        bottom: auto !important;
        top: 100% !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(10px) !important;
        max-width: 150px !important;
        font-size: 0.7rem !important;
        padding: 0.5rem !important;
        margin-top: 10px;
        margin-bottom: 0 !important;
    }
    
    .skill-tag .tooltip::after {
        top: auto !important;
        bottom: 100% !important;
        border-top-color: transparent !important;
        border-bottom-color: var(--accent) !important;
    }
    
    .skill-tag .tooltip.active {
        transform: translateX(-50%) translateY(5px) !important;
    }
    
    /* Contact */
    .contact-card {
        padding: 1.25rem !important;
    }
    
    .contact-item {
        padding: 0.5rem !important;
        font-size: 0.85rem !important;
    }
    
    .contact-item i {
        font-size: 1.25rem !important;
    }
    
    .social-links {
        flex-direction: column !important;
    }
    
    .social-btn {
        justify-content: center !important;
        padding: 0.75rem 1rem !important;
    }
    
    /* Time Display */
    .time-display {
        padding: 1.5rem !important;
    }
    
    .time {
        font-size: 1.75rem !important;
    }
    
    .date {
        font-size: 0.8rem !important;
    }
    
    /* Telegram Card */
    .telegram-card {
        padding: 1.5rem 1rem !important;
    }
    
    .telegram-icon {
        font-size: 2.5rem !important;
    }
    
    .telegram-card h3 {
        font-size: 1rem !important;
    }
    
    .telegram-card p {
        font-size: 0.85rem !important;
    }
    
    .telegram-features {
        flex-direction: column !important;
        gap: 0.5rem;
    }
    
    .telegram-features span {
        font-size: 0.75rem !important;
    }
    
    .telegram-btn {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 1rem !important;
    }
    
    .footer-logo {
        font-size: 1.5rem !important;
    }
    
    .footer-links {
        flex-direction: column !important;
        gap: 0.75rem;
    }
    
    .footer-social a {
        width: 40px !important;
        height: 40px !important;
    }
    
    /* Fixed Buttons */
    .music-container {
        bottom: 1rem !important;
        left: 1rem !important;
    }
    
    .music-toggle {
        width: 45px !important;
        height: 45px !important;
        font-size: 1rem !important;
    }
    
    .music-label {
        display: none !important;
    }
    
    .back-to-top {
        bottom: 1rem !important;
        right: 1rem !important;
        width: 45px !important;
        height: 45px !important;
    }
    
    /* Scroll Progress */
    .scroll-progress {
        height: 2px !important;
    }
}
