/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0f172a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Background Pattern */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    z-index: -2;
}

.bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            linear-gradient(45deg, transparent 25%, rgba(68, 68, 68, 0.1) 50%, transparent 75%),
            linear-gradient(-45deg, transparent 25%, rgba(68, 68, 68, 0.1) 50%, transparent 75%);
    background-size: 60px 60px;
    z-index: -1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px 0;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 10;
}

.hero-logo {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.logo {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 10px 30px rgba(59, 130, 246, 0.3));
    transition: all 0.3s ease;
    animation: logoFloat 3s ease-in-out infinite;
}

.logo:hover {
    transform: scale(1.05) rotate(5deg);
    filter: drop-shadow(0 15px 40px rgba(139, 92, 246, 0.4));
}

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

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa, #a855f7, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #cbd5e1;
    font-weight: 300;
    margin-bottom: 2rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cursor {
    animation: blink 1s infinite;
}

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

.hero-description {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 1.125rem;
    padding: 1.25rem 2.5rem;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #94a3b8;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    color: rgba(59, 130, 246, 0.6);
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.floating-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.floating-2 {
    top: 25%;
    right: 15%;
    animation-delay: 1s;
}

.floating-3 {
    bottom: 25%;
    left: 15%;
    animation-delay: 2s;
}

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

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #60a5fa, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Technologies Showcase */
.technologies {
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(10px);
}

.tech-showcase {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.tech-section {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.tech-section:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.tech-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.tech-section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.tech-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tech-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--level-color), transparent);
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-3px);
    border-color: var(--level-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tech-card.expert {
    --level-color: #10b981;
}

.tech-card.advanced {
    --level-color: #3b82f6;
}

.tech-card.intermediate {
    --level-color: #f59e0b;
}

.tech-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--level-color), rgba(255, 255, 255, 0.1));
    border-radius: 16px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

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

.tech-icon i {
    color: white;
    width: 28px;
    height: 28px;
}

.tech-info {
    flex: 1;
}

.tech-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
}

.tech-level {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--level-color);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--level-color);
    margin-bottom: 0.5rem;
}

.tech-years {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Experience Section */
.experience {
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(10px);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #3b82f6, #8b5cf6);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 120px;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #60a5fa;
    background: rgba(30, 41, 59, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.timeline-content {
    flex: 1;
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 0 2rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.timeline-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.timeline-company {
    font-size: 1rem;
    font-weight: 500;
    color: #10b981;
    margin-bottom: 0.75rem;
}

.timeline-description {
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

/* Timeline Parallel */
.timeline-parallel {
    position: relative;
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 2.5rem;
}

.timeline-parallel::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 4rem;
    bottom: 2rem;
    width: 2px;
    background: linear-gradient(180deg, #8b5cf6, #3b82f6);
}

.parallel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.parallel-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #a855f7;
    margin: 0;
}

.parallel-date {
    font-size: 0.875rem;
    font-weight: 600;
    color: #60a5fa;
    background: rgba(30, 41, 59, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    overflow: hidden;
    position: relative;
}

.skills-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

.parallel-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    padding-left: 3rem;
}

.parallel-item::before {
    content: '';
    position: absolute;
    left: 1.75rem;
    top: 0.75rem;
    width: 12px;
    height: 12px;
    background: #8b5cf6;
    border-radius: 50%;
    border: 3px solid #0f172a;
}

.parallel-year {
    flex: 0 0 80px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #a855f7;
    text-align: center;
    background: rgba(139, 92, 246, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.parallel-content {
    flex: 1;
}

.parallel-project {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.parallel-description {
    color: #cbd5e1;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.education-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
}

.education-card:hover {
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-5px);
}

.education-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.education-icon i {
    color: white;
    width: 32px;
    height: 32px;
}

.hobby-text h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #60a5fa, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hobby-text p {
    font-size: 1.125rem;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.hobby-disclaimer {
    font-size: 0.95rem !important;
    color: #94a3b8 !important;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem !important;
    border-left: 3px solid #f59e0b;
    margin-bottom: 0.5rem;
}

.education-institution {
    font-size: 1rem;
    color: #10b981;
    margin-bottom: 0.75rem;
}

.education-year {
    font-size: 0.875rem;
    color: #94a3b8;
}

/* Specialties Section */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.specialty-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
}

.specialty-card:hover {
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-5px);
}

.specialty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.specialty-icon i {
    color: white;
    width: 32px;
    height: 32px;
}

.specialty-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.specialty-description {
    color: #94a3b8;
    line-height: 1.6;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    position: relative;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(71, 85, 105, 0.3);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Kamehameha Theme - Dragon Ball */
.kamehameha-theme {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(255, 69, 0, 0.1), rgba(30, 41, 59, 0.9));
    border: 2px solid rgba(255, 140, 0, 0.3);
}

.kamehameha-theme:hover {
    border-color: rgba(255, 140, 0, 0.6);
    box-shadow: 0 20px 60px rgba(255, 140, 0, 0.2);
}

.kamehameha-theme .project-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 80%, rgba(255, 140, 0, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255, 69, 0, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.kamehameha-icon {
    background: linear-gradient(135deg, #ff8c00, #ff4500);
    animation: energyPulse 2s ease-in-out infinite;
}

@keyframes energyPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 30px rgba(255, 140, 0, 0.8);
    }
}

.kamehameha-btn {
    background: linear-gradient(135deg, #ff8c00, #ff4500);
    border: 2px solid rgba(255, 140, 0, 0.5);
}

.kamehameha-btn:hover {
    background: linear-gradient(135deg, #ff4500, #ff6347);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.4);
}

/* Space Theme - Stars for Stars Likers */
.space-theme {
    background: linear-gradient(135deg, rgba(25, 25, 112, 0.2), rgba(72, 61, 139, 0.2), rgba(30, 41, 59, 0.9));
    border: 2px solid rgba(138, 43, 226, 0.3);
}

.space-theme:hover {
    border-color: rgba(138, 43, 226, 0.6);
    box-shadow: 0 20px 60px rgba(138, 43, 226, 0.2);
}

.space-pattern {
    background:
            radial-gradient(2px 2px at 20px 30px, #fff, transparent),
            radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.8), transparent),
            radial-gradient(1px 1px at 90px 40px, #fff, transparent),
            radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.6), transparent),
            radial-gradient(2px 2px at 160px 30px, #fff, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.floating-stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    animation: starFloat 3s ease-in-out infinite;
}

.star-1 { top: 20%; left: 15%; animation-delay: 0s; }
.star-2 { top: 40%; right: 20%; animation-delay: 0.5s; }
.star-3 { top: 60%; left: 25%; animation-delay: 1s; }
.star-4 { top: 30%; right: 15%; animation-delay: 1.5s; }
.star-5 { bottom: 30%; left: 70%; animation-delay: 2s; }

@keyframes starFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) scale(1.2);
        opacity: 1;
    }
}

.space-icon {
    background: linear-gradient(135deg, #8a2be2, #4b0082);
    animation: starGlow 3s ease-in-out infinite;
}

@keyframes starGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(138, 43, 226, 0.8);
    }
}

.space-btn {
    background: linear-gradient(135deg, #8a2be2, #4b0082);
    border: 2px solid rgba(138, 43, 226, 0.5);
}

.space-btn:hover {
    background: linear-gradient(135deg, #9932cc, #6a0dad);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.4);
}

/* Comics Theme - Comics Inventory */
.comics-theme {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1), rgba(255, 215, 0, 0.1), rgba(30, 41, 59, 0.9));
    border: 2px solid rgba(220, 20, 60, 0.3);
}

.comics-theme:hover {
    border-color: rgba(220, 20, 60, 0.6);
    box-shadow: 0 20px 60px rgba(220, 20, 60, 0.2);
}

.comics-pattern {
    background:
            repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 215, 0, 0.1) 10px, rgba(255, 215, 0, 0.1) 20px),
            repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(220, 20, 60, 0.1) 10px, rgba(220, 20, 60, 0.1) 20px);
}

.comic-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.comic-bubble {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffd700;
    color: #dc143c;
    font-weight: bold;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 50%;
    border: 2px solid #dc143c;
    animation: comicPop 2s ease-in-out infinite;
    transform: rotate(-15deg);
}

@keyframes comicPop {
    0%, 100% {
        transform: rotate(-15deg) scale(1);
    }
    50% {
        transform: rotate(-10deg) scale(1.1);
    }
}

.comic-lines {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 40px;
    background:
            linear-gradient(90deg, #dc143c 2px, transparent 2px),
            linear-gradient(90deg, #ffd700 2px, transparent 2px);
    background-size: 8px 2px, 12px 2px;
    background-position: 0 0, 0 8px;
    opacity: 0.6;
}

.comics-icon {
    background: linear-gradient(135deg, #dc143c, #ffd700);
    animation: comicBounce 2s ease-in-out infinite;
}

@keyframes comicBounce {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.05) rotate(2deg);
    }
    75% {
        transform: scale(1.05) rotate(-2deg);
    }
}

.comics-btn {
    background: linear-gradient(135deg, #dc143c, #ffd700);
    border: 2px solid rgba(220, 20, 60, 0.5);
}

.comics-btn:hover {
    background: linear-gradient(135deg, #b91c3c, #eab308);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.4);
}

/* Music Theme - Music for Starters */
.music-theme {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(59, 130, 246, 0.1), rgba(30, 41, 59, 0.9));
    border: 2px solid rgba(147, 51, 234, 0.3);
}

.music-theme:hover {
    border-color: rgba(147, 51, 234, 0.6);
    box-shadow: 0 20px 60px rgba(147, 51, 234, 0.2);
}

.music-pattern {
    background:
            repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(147, 51, 234, 0.1) 8px, rgba(147, 51, 234, 0.1) 10px),
            repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(59, 130, 246, 0.05) 20px, rgba(59, 130, 246, 0.05) 22px);
}

.music-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.music-note {
    position: absolute;
    color: rgba(147, 51, 234, 0.7);
    font-size: 1.5rem;
    animation: musicFloat 4s ease-in-out infinite;
}

.note-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.note-2 {
    top: 40%;
    right: 20%;
    animation-delay: 1.5s;
}

.note-3 {
    bottom: 30%;
    left: 25%;
    animation-delay: 3s;
}

@keyframes musicFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-15px) rotate(10deg);
        opacity: 1;
    }
}

.music-wave {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 20px;
    background: repeating-linear-gradient(
            90deg,
            rgba(147, 51, 234, 0.6) 0px,
            rgba(147, 51, 234, 0.6) 2px,
            transparent 2px,
            transparent 6px
    );
    border-radius: 2px;
    animation: soundWave 2s ease-in-out infinite;
}

@keyframes soundWave {
    0%, 100% {
        transform: scaleY(1);
        opacity: 0.6;
    }
    50% {
        transform: scaleY(1.5);
        opacity: 1;
    }
}

.music-icon {
    background: linear-gradient(135deg, #9333ea, #3b82f6);
    animation: musicPulse 3s ease-in-out infinite;
}

@keyframes musicPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(147, 51, 234, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(147, 51, 234, 0.7);
    }
}

.music-btn {
    background: linear-gradient(135deg, #9333ea, #3b82f6);
    border: 2px solid rgba(147, 51, 234, 0.5);
}

.music-btn:hover {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.4);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

.project-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

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

.project-icon i {
    color: white;
    width: 28px;
    height: 28px;
}

.project-info {
    flex: 1;
    position: relative;
    z-index: 10;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    z-index: 10;
    position: relative;
}

.project-description {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 2rem;
    z-index: 10;
    position: relative;
}

.project-actions {
    display: flex;
    gap: 1rem;
    z-index: 10;
    position: relative;
}

.btn-project {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.btn-project:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-project-disabled {
    background: rgba(71, 85, 105, 0.5);
    color: #94a3b8;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: not-allowed;
    border: 2px solid rgba(71, 85, 105, 0.3);
}

.status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hobby-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #3b82f6, #10b981);
}

.contact-description {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 3rem;
}

.footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(71, 85, 105, 0.3);
    text-align: center;
}

.footer p {
    color: #94a3b8;
    margin-bottom: 1rem;
}

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

.footer-contact span {
    color: #cbd5e1;
    font-size: 0.875rem;
}

/* Skills Carousel */
.complementary-skills {
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

/* Featured Project */
.featured-project {
    margin-bottom: 4rem;
}

.featured-project-card {
    position: relative;
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(71, 85, 105, 0.3);
    border-radius: 24px;
    padding: 3rem;
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
    max-width: 900px;
    margin: 0 auto;
}

.featured-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

/* Blog Theme - Tech/AWS */
.blog-theme {
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.1), rgba(35, 47, 62, 0.1), rgba(30, 41, 59, 0.95));
    border: 2px solid rgba(255, 153, 0, 0.3);
}

.blog-theme:hover {
    border-color: rgba(255, 153, 0, 0.6);
    box-shadow: 0 24px 80px rgba(255, 153, 0, 0.2);
}

.blog-pattern {
    background:
            radial-gradient(circle at 15% 85%, rgba(255, 153, 0, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 85% 15%, rgba(35, 47, 62, 0.2) 0%, transparent 50%),
            linear-gradient(45deg, transparent 25%, rgba(255, 153, 0, 0.05) 50%, transparent 75%);
}

.floating-code {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.code-snippet {
    position: absolute;
    color: rgba(255, 153, 0, 0.6);
    font-family: 'Fira Code', monospace;
    font-weight: 500;
    font-size: 1.5rem;
    animation: codeFloat 4s ease-in-out infinite;
}

.code-snippet:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.code-snippet:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.code-snippet:nth-child(3) {
    bottom: 40%;
    left: 20%;
    animation-delay: 2s;
}

.code-snippet:nth-child(4) {
    bottom: 25%;
    right: 25%;
    animation-delay: 3s;
}

@keyframes codeFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
        opacity: 1;
    }
}

.blog-icon {
    background: linear-gradient(135deg, #ff9900, #232f3e);
    animation: techPulse 3s ease-in-out infinite;
}

@keyframes techPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 153, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(255, 153, 0, 0.7);
    }
}

.blog-btn {
    background: linear-gradient(135deg, #ff9900, #232f3e);
    border: 2px solid rgba(255, 153, 0, 0.5);
}

.blog-btn:hover {
    background: linear-gradient(135deg, #e68a00, #1a252f);
    box-shadow: 0 10px 30px rgba(255, 153, 0, 0.4);
}

.featured-content {
    position: relative;
    z-index: 10;
}

.featured-content .project-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.featured-content .project-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.blog-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(255, 153, 0, 0.2);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    border-color: rgba(255, 153, 0, 0.4);
    transform: translateY(-2px);
}

.highlight-item i {
    color: #ff9900;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.highlight-item span {
    font-weight: 600;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.status-badge.featured {
    background: linear-gradient(135deg, #ff9900, #232f3e);
    color: white;
    margin-left: 0.5rem;
}

/* Projects Divider */
.projects-divider {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 4rem 0;
    opacity: 0.7;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

.divider-text {
    font-size: 1rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0 1rem;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.3);
}
.projects-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.skills-subtitle {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.projects-humor {
    font-size: 1rem;
    color: #cbd5e1;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    font-style: italic;
    position: relative;
}

.projects-humor::before {
    content: '💡';
    position: absolute;
    top: -10px;
    left: 20px;
    background: #0f172a;
    padding: 0 8px;
    font-size: 1.2rem;
}

.skills-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

.skills-carousel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.carousel-row {
    display: flex;
    gap: 1rem;
    white-space: nowrap;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.carousel-row-right {
    animation-name: scrollRight;
    animation-duration: 60s;
}

.carousel-row-left {
    animation-name: scrollLeft;
    animation-duration: 65s;
}

@keyframes scrollRight {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    color: #cbd5e1;
    position: relative;
    overflow: hidden;
    min-width: fit-content;
    white-space: nowrap;
}

.skill-pill::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 ease;
}

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

.skill-pill:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--skill-color);
    background: rgba(15, 23, 42, 0.9);
}

.skill-pill.expert {
    --skill-color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}

.skill-pill.advanced {
    --skill-color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.3);
}

.skill-pill.intermediate {
    --skill-color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
}

.skill-pill i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--skill-color);
}

.skill-pill span {
    font-weight: 600;
    letter-spacing: 0.025em;
    font-size: 1rem;
}

/* Pause animation on hover */
.skills-carousel:hover .carousel-row {
    animation-play-state: paused;
}

/* Gradient fade effects on sides */
.skills-carousel-container::before,
.skills-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 10;
    pointer-events: none;
}

.skills-carousel-container::before {
    left: 0;
    background: linear-gradient(90deg, rgba(30, 41, 59, 1), transparent);
}

.skills-carousel-container::after {
    right: 0;
    background: linear-gradient(270deg, rgba(30, 41, 59, 1), transparent);
}

.skills-footer {
    margin-top: 3rem;
    text-align: center;
}

.skill-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #94a3b8;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.expert {
    background: #10b981;
}

.legend-dot.advanced {
    background: #3b82f6;
}

.legend-dot.intermediate {
    background: #f59e0b;
}

/* Project Wishlist Styling */
.project-wishlist {
    margin-top: 4rem;
    padding: 3rem 0;
    position: relative;
}

.wishlist-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.wishlist-title {
    font-size: 2rem;
    font-weight: 700;
    color: #a855f7;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.wishlist-subtitle {
    font-size: 1.125rem;
    color: #cbd5e1;
    font-weight: 500;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 1rem;
    line-height: 1.6;
    background: rgba(15, 23, 42, 0.4);
    padding: 1rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(10px);
}

.wishlist-content {
    color: #94a3b8;
    font-size: 1rem;
    text-align: center;
    max-width: 100%;
    margin: 0 auto 3rem;
    line-height: 1.7;
    font-style: italic;
    background: rgba(139, 92, 246, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 3px solid #a855f7;
    position: relative;
}

.wishlist-content::before {
    content: '💭';
    position: absolute;
    top: -10px;
    left: 20px;
    background: #0f172a;
    padding: 0 8px;
    font-size: 1.2rem;
}

.thought-bubbles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    padding: 2rem 0;
    position: relative;
}

.thought-bubble {
    position: relative;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 30px;
    padding: 0;
    transition: all 0.4s ease;
    overflow: hidden;
    animation: thoughtFloat 4s ease-in-out infinite;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    min-height: 200px;
}

.thought-bubble:nth-child(1) { animation-delay: 0s; }
.thought-bubble:nth-child(2) { animation-delay: 0.8s; }
.thought-bubble:nth-child(3) { animation-delay: 1.6s; }
.thought-bubble:nth-child(4) { animation-delay: 2.4s; }
.thought-bubble:nth-child(5) { animation-delay: 3.2s; }

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

.thought-bubble:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

/* Thought bubble tail */
.thought-bubble::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 30px;
    width: 20px;
    height: 20px;
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    backdrop-filter: blur(15px);
}

.thought-bubble::before {
    content: '';
    position: absolute;
    bottom: -45px;
    left: 25px;
    width: 12px;
    height: 12px;
    background: rgba(30, 41, 59, 0.6);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.bubble-content {
    padding: 2.5rem;
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bubble-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    border-radius: 15px;
    transition: all 0.3s ease;
    animation: iconFloat 3s ease-in-out infinite;
}

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

.thought-bubble:hover .bubble-icon {
    transform: scale(1.2) rotate(15deg);
    animation-play-state: paused;
}

.bubble-icon i {
    color: white;
    width: 24px;
    height: 24px;
}

.bubble-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: left;
    background: linear-gradient(135deg, #60a5fa, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-right: 70px;
}

.bubble-text {
    color: #cbd5e1;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
}

.bubble-status {
    display: inline-block;
    background: rgba(139, 92, 246, 0.2);
    color: #a855f7;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(139, 92, 246, 0.3);
    text-align: center;
    width: fit-content;
}

/* Themed bubbles */
.diary-theme {
    /*background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(30, 41, 59, 0.9));
    border-color: rgba(239, 68, 68, 0.3);*/
}

.diary-theme:hover {
    border-color: rgba(239, 68, 68, 0.6);
}

.diary-theme .bubble-icon {
    /*background: linear-gradient(135deg, #ef4444, #dc2626);*/
}

.chat-theme {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(30, 41, 59, 0.9));
    border-color: rgba(59, 130, 246, 0.3);
}

.chat-theme:hover {
    border-color: rgba(59, 130, 246, 0.6);
}

.chat-theme .bubble-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.blocks-theme {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(30, 41, 59, 0.9));
    border-color: rgba(16, 185, 129, 0.3);
}

.blocks-theme:hover {
    border-color: rgba(16, 185, 129, 0.6);
}

.blocks-theme .bubble-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.drawing-theme {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(30, 41, 59, 0.9));
    border-color: rgba(168, 85, 247, 0.3);
}

.drawing-theme:hover {
    border-color: rgba(168, 85, 247, 0.6);
}

.drawing-theme .bubble-icon {
    background: linear-gradient(135deg, #a855f7, #9333ea);
}

.fighting-theme {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(30, 41, 59, 0.9));
    border-color: rgba(245, 158, 11, 0.3);
}

.fighting-theme:hover {
    border-color: rgba(245, 158, 11, 0.6);
}

.fighting-theme .bubble-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.wishlist-disclaimer {
    margin-top: 3rem;
    text-align: center;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.wishlist-disclaimer i {
    color: #f59e0b;
    width: 24px;
    height: 24px;
    animation: coffeeFloat 2s ease-in-out infinite;
}

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

.wishlist-disclaimer p {
    color: #94a3b8;
    font-style: italic;
    margin-bottom: 1rem;
}

.thought-bubbles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    padding: 2rem 0;
    position: relative;
}

.thought-bubble {
    position: relative;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 30px;
    padding: 0;
    transition: all 0.4s ease;
    overflow: hidden;
    animation: thoughtFloat 4s ease-in-out infinite;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    min-height: 200px;
}

.thought-bubble:nth-child(1) { animation-delay: 0s; }
.thought-bubble:nth-child(2) { animation-delay: 0.8s; }
.thought-bubble:nth-child(3) { animation-delay: 1.6s; }
.thought-bubble:nth-child(4) { animation-delay: 2.4s; }
.thought-bubble:nth-child(5) { animation-delay: 3.2s; }

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

.thought-bubble:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

/* Thought bubble tail */
.thought-bubble::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 30px;
    width: 20px;
    height: 20px;
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    backdrop-filter: blur(15px);
}

.thought-bubble::before {
    content: '';
    position: absolute;
    bottom: -45px;
    left: 25px;
    width: 12px;
    height: 12px;
    background: rgba(30, 41, 59, 0.6);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.bubble-content {
    padding: 2.5rem;
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bubble-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    border-radius: 20px;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.thought-bubble:hover .bubble-icon {
    transform: scale(1.1) rotate(10deg);
}

.bubble-icon i {
    color: white;
    width: 28px;
    height: 28px;
}

.bubble-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, #60a5fa, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bubble-text {
    color: #cbd5e1;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bubble-status {
    display: inline-block;
    background: rgba(139, 92, 246, 0.2);
    color: #a855f7;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(139, 92, 246, 0.3);
    text-align: center;
    width: fit-content;
    margin: 0 auto;
}

/* Themed bubbles */
.diary-theme {
    /*background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(30, 41, 59, 0.9));
    border-color: rgba(239, 68, 68, 0.3);*/
}

.diary-theme:hover {
    border-color: rgba(239, 68, 68, 0.6);
}

.diary-theme .bubble-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.chat-theme {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(30, 41, 59, 0.9));
    border-color: rgba(59, 130, 246, 0.3);
}

.chat-theme:hover {
    border-color: rgba(59, 130, 246, 0.6);
}

.chat-theme .bubble-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.blocks-theme {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(30, 41, 59, 0.9));
    border-color: rgba(16, 185, 129, 0.3);
}

.blocks-theme:hover {
    border-color: rgba(16, 185, 129, 0.6);
}

.blocks-theme .bubble-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.drawing-theme {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(30, 41, 59, 0.9));
    border-color: rgba(168, 85, 247, 0.3);
}

.drawing-theme:hover {
    border-color: rgba(168, 85, 247, 0.6);
}

.drawing-theme .bubble-icon {
    background: linear-gradient(135deg, #a855f7, #9333ea);
}

.fighting-theme {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(30, 41, 59, 0.9));
    border-color: rgba(245, 158, 11, 0.3);
}

.fighting-theme:hover {
    border-color: rgba(245, 158, 11, 0.6);
}

.fighting-theme .bubble-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.wishlist-disclaimer {
    margin-top: 3rem;
    text-align: center;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.wishlist-disclaimer i {
    color: #f59e0b;
    width: 24px;
    height: 24px;
    animation: coffeeFloat 2s ease-in-out infinite;
}

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

.wishlist-disclaimer p {
    color: #94a3b8;
    font-style: italic;
    margin: 0;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .thought-bubbles-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem 0;
    }

    .bubble-content {
        padding: 2rem;
    }

    .bubble-title {
        font-size: 1.25rem;
    }

    .bubble-text {
        font-size: 0.9rem;
    }

    .bubble-tail {
        left: 20px;
    }
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .thought-bubbles-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem 0;
    }

    .bubble-content {
        padding: 2rem;
    }

    .bubble-title {
        font-size: 1.25rem;
    }

    .bubble-text {
        font-size: 0.9rem;
    }

    .bubble-tail {
        left: 20px;
    }

    .hero {
        padding: 60px 0;
    }

    .featured-project-card {
        padding: 2rem;
    }

    .featured-content .project-title {
        font-size: 1.5rem;
    }

    .featured-content .project-description {
        font-size: 1rem;
    }

    .blog-highlights {
        grid-template-columns: 1fr;
    }

    .projects-divider {
        gap: 1rem;
    }

    .divider-text {
        font-size: 0.875rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .specialties-grid {
        grid-template-columns: 1fr;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    section {
        padding: 3rem 0;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 50px;
    }

    .timeline-date {
        position: absolute;
        left: -10px;
        top: 0;
        flex: none;
        width: auto;
        min-width: 80px;
    }

    .timeline-content {
        margin: 1rem 0 0 0;
        width: 100%;
    }

    .timeline-parallel::before {
        left: 15px;
    }

    .parallel-item {
        padding-left: 2rem;
    }

    .parallel-item::before {
        left: 0.75rem;
    }

    .parallel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .tech-cards {
        grid-template-columns: 1fr;
    }

    .footer-contact {
        flex-direction: column;
        gap: 0.5rem;
    }

    .skill-legend {
        flex-direction: column;
        gap: 1rem;
    }

    .carousel-row {
        animation-duration: 40s;
    }

    .skill-pill {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .skill-pill i {
        width: 18px;
        height: 18px;
    }

    .skill-pill span {
        font-size: 0.875rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .wishlist-grid {
        grid-template-columns: 1fr;
    }

    .wishlist-card {
        padding: 1.5rem;
        min-height: 180px;
    }

    .wishlist-title {
        font-size: 1.5rem;
    }

    .wishlist-disclaimer {
        flex-direction: column;
        gap: 0.75rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .project-tech {
        gap: 0.25rem;
    }

    .tech-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }

    .hobby-message {
        padding: 1.5rem;
    }

    .skills-carousel-container::before,
    .skills-carousel-container::after {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .tech-category,
    .specialty-card,
    .education-card {
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}