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

:root {
    --primary: #6C63FF;
    --secondary: #4A44C6;
    --accent: #FF6584;
    --dark: #0F0E17;
    --darker: #0A0A12;
    --light: #FFFFFF;
    --gray: #A7A9BE;
    --gradient: linear-gradient(135deg, #6C63FF 0%, #FF6584 100%);

    /* Modernisasi: glass + glow tokens */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-bg-hover: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-hover: rgba(108, 99, 255, 0.45);
    --glow-primary: 0 8px 40px rgba(108, 99, 255, 0.28);
    --glow-accent: 0 8px 40px rgba(255, 101, 132, 0.22);
    --radius: 18px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--darker);
    background-image: url(assets/background.svg);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}
/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--darker) 0%, #000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Spaceship Animation */
.spaceship-container {
    margin-bottom: 3rem;
    perspective: 1000px;
}

.spaceship {
    position: relative;
    width: 80px;
    height: 120px;
    margin: 0 auto;
    animation: float 3s ease-in-out infinite;
}

.spaceship-body {
    width: 60px;
    height: 80px;
    background: linear-gradient(45deg, #6C63FF, #4A44C6);
    border-radius: 50% 50% 40% 40%;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.5);
}

.spaceship-window {
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #87CEEB, #E0F7FF);
    border-radius: 50%;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid #fff;
}

.spaceship-wings {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
}

.wing {
    width: 20px;
    height: 40px;
    background: linear-gradient(45deg, #FF6584, #FF4D6D);
    border-radius: 10px 10px 0 0;
    position: relative;
}

.left-wing {
    transform: rotate(-30deg);
}

.right-wing {
    transform: rotate(30deg);
}

.spaceship-engine {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.engine-fire {
    width: 15px;
    height: 30px;
    background: linear-gradient(to top, #FFD700, #FF6B6B, #6C63FF);
    border-radius: 50% 50% 0 0;
    animation: engineBurn 0.8s ease-in-out infinite alternate;
    filter: blur(2px);
}

@keyframes engineBurn {
    0% {
        height: 20px;
        opacity: 0.8;
    }
    100% {
        height: 35px;
        opacity: 1;
    }
}

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

/* Loading Text */
.loading-text h2 {
    color: var(--light);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.loading-bar {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin: 0 auto 1rem;
    overflow: hidden;
    position: relative;
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
    transition: width 0.3s ease;
    position: relative;
}

.loading-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shimmer 1.5s infinite;
}

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

.loading-percentage {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Loading Stars */
.loading-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

.star:nth-child(1) {
    width: 2px;
    height: 2px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.star:nth-child(2) {
    width: 3px;
    height: 3px;
    top: 60%;
    left: 80%;
    animation-delay: 0.5s;
}

.star:nth-child(3) {
    width: 2px;
    height: 2px;
    top: 40%;
    left: 60%;
    animation-delay: 1s;
}

.star:nth-child(4) {
    width: 4px;
    height: 4px;
    top: 80%;
    left: 30%;
    animation-delay: 1.5s;
}

.star:nth-child(5) {
    width: 2px;
    height: 2px;
    top: 10%;
    left: 50%;
    animation-delay: 2s;
}

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

/* Pulsing effect for entire loading screen */
.loading-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(108, 99, 255, 0.1) 100%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Responsive Design for Loading */
@media (max-width: 768px) {
    .loading-text h2 {
        font-size: 1.3rem;
    }
    
    .loading-bar {
        width: 250px;
    }
    
    .spaceship {
        width: 60px;
        height: 100px;
    }
    
    .spaceship-body {
        width: 50px;
        height: 70px;
    }
}

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

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 14, 23, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--light);
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.floating-astronaut {
    animation: float 3s ease-in-out infinite;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--gradient);
    color: var(--light);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}

.arrow {
    width: 2px;
    height: 20px;
    background: var(--primary);
    margin: 5px auto 0;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===== COMMON SECTION STYLES ===== */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

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

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--gray);
    font-size: 0.9rem;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.planet {
    width: 200px;
    height: 200px;
    background: var(--gradient);
    border-radius: 50%;
    position: relative;
    animation: rotate 20s linear infinite;
}

.planet::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    width: 40px;
    height: 40px;
    background: var(--darker);
    border-radius: 50%;
}

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

/* ===== SKILLS SECTION ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.skill-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.skill-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== PROJECTS SECTION ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.project-image {
    height: 200px;
    background-image: var(--gradient);
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 14, 23, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-btn {
    padding: 10px 20px;
    background: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.project-btn:hover {
    background: var(--secondary);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.project-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 6rem 0;
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.2);
}

.contact-icon {
    font-size: 1.5rem;
    background: var(--gradient);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.contact-details p {
    color: var(--gray);
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--light);
    font-weight: 500;
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--light);
    font-family: 'Poppins', sans-serif;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--gray);
    opacity: 0.7;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    margin-top: 1rem;
}

/* ===== WHATSAPP CARD ===== */
.whatsapp-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.whatsapp-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.whatsapp-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(108, 99, 255, 0.3);
    border-color: rgba(108, 99, 255, 0.3);
}

.whatsapp-icon-large {
    font-size: 4rem;
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.whatsapp-card h3 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--light);
    position: relative;
    z-index: 1;
}

.whatsapp-card p {
    color: var(--gray);
    margin: 0;
    position: relative;
    z-index: 1;
}

.whatsapp-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.5rem;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 12px;
    border-left: 3px solid var(--primary);
    position: relative;
    z-index: 1;
    width: 100%;
}

.whatsapp-details p {
    margin: 0;
    font-size: 0.95rem;
}

.whatsapp-btn {
    margin-top: 1rem;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    display: inline-block;
    position: relative;
    z-index: 1;
}

/* ===== SOCIAL LINKS ===== */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link, .social-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover, .social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.3);
}

/* ===== ENHANCED FOOTER ===== */
.footer {
    background: linear-gradient(135deg, rgba(15, 14, 23, 0.95) 0%, rgba(10, 10, 18, 0.98) 100%);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(108, 99, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--light);
    margin: 0;
}

.footer-brand p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient);
}

.footer-link {
    display: block;
    color: var(--gray);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-link:hover {
    color: var(--primary);
    padding-left: 10px;
    transform: translateX(5px);
}

.footer-link::before {
    content: '▸';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-link:hover::before {
    opacity: 1;
    left: -5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: var(--gray);
}

.heart {
    color: var(--accent);
    animation: heartbeat 2s infinite;
}

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

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

/* Footer background effects */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(108, 99, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 101, 132, 0.1) 0%, transparent 50%);
    pointer-events: none;
}


/* ===== NOTIFICATION SYSTEM ===== */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--dark);
    color: var(--light);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-left: 4px solid var(--primary);
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.hide {
    transform: translateX(400px);
    opacity: 0;
}

.notification-success {
    border-left-color: #4CAF50;
}

.notification-error {
    border-left-color: #f44336;
}

.notification-loading {
    border-left-color: #FFD700;
}

.notification-close {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== CONFETTI ANIMATION ===== */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    top: -10px;
    opacity: 0;
    animation: confetti-fall 3s ease-in forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ===== PAGE SPECIFIC STYLES ===== */
.about-page,
.projects-page,
.experience-page {
    padding-top: 120px;
    min-height: 100vh;
}

.page-hero {
    text-align: center;
    padding: 4rem 0;
}

.page-hero .hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero .hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
}

/* Bio Section */
.bio-section {
    padding: 4rem 0;
}

.bio-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.bio-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.bio-text p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.bio-image {
    display: flex;
    justify-content: center;
}

.avatar-placeholder {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden; 
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
    background: var(--gradient);
}

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


/* Skills Detailed */
.skills-detailed {
    padding: 4rem 0;
}

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

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background: rgba(108, 99, 255, 0.2);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(108, 99, 255, 0.3);
}

/* Projects Page */
.projects-grid-detailed {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 4rem 0;
}

.project-detail {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.project-header h2 {
    font-size: 2rem;
    color: var(--light);
}

.project-year {
    background: var(--gradient);
    color: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.project-image-large {
    height: auto;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    justify-content: center;
  
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.project-info p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.project-tech h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.tech-tag {
    background: rgba(255, 101, 132, 0.2);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 101, 132, 0.3);
}

.project-links {
    display: flex;
    gap: 1rem;
}

/* Other Projects */
.other-projects {
    padding: 4rem 0;
}

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

.mini-project-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.mini-project-card:hover {
    transform: translateY(-5px);
}

.mini-project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.mini-project-card p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.project-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--accent);
}

/* Experience Page */
.timeline {
    position: relative;
    padding: 4rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 22px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    border: 4px solid var(--darker);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-header {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.timeline-header-image-top {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.timeline-header-image-top .timeline-img {
    margin-right: 0;
}

.timeline-img {
    margin-right: 1rem;
    height: auto;
    object-fit: contain;
}

.timeline-header h3 {
    font-size: 1.3rem;
    color: var(--light);
    margin: 0;
}

.company {
    color: var(--primary);
    font-weight: 600;
}

.period {
    background: rgba(108, 99, 255, 0.2);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.timeline-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
}

.timeline-skills li {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

/* Education Section */
.education-section {
    padding: 4rem 0;
}

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

.education-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.education-card h3 {
    font-size: 1.3rem;
    color: var(--light);
    margin-bottom: 0.5rem;
}

.institution {
    color: var(--primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.year {
    background: rgba(255, 101, 132, 0.2);
    color: var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.score {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1rem;
    margin-left: 0.5rem;
    font-weight: 600;
}

.education-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    margin: 4rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Quick About Section */
.quick-about {
    padding: 6rem 0;
}

.quick-about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.quick-about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.quick-about-text p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.quick-about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Featured Projects Preview */
.featured-projects {
    padding: 6rem 0;
}

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

.project-preview-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.project-preview-card:hover {
    transform: translateY(-10px);
}

.preview-image {
    height: 200px;
    background: var(--gradient);
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.project-preview-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.project-preview-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.view-all {
    text-align: center;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .projects-preview {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark);
        width: 100%;
        text-align: center;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
        transform: translateY(0);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content,
    .bio-content,
    .quick-about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats,
    .quick-about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .quick-about-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .contact-content,
    .project-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .whatsapp-card {
        padding: 2rem;
    }
    
    .whatsapp-icon-large {
        font-size: 3rem;
    }
    
    .whatsapp-card h3 {
        font-size: 1.4rem;
    }
    
    .whatsapp-details {
        padding: 1rem;
    }
    
    .hero-buttons,
    .project-links,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 250px;
    }
    
    .about-page,
    .projects-page,
    .experience-page {
        padding-top: 100px;
    }

    .page-hero .hero-title {
        font-size: 2.5rem;
    }

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

    .timeline-item {
        padding-left: 50px;
        margin-bottom: 2rem;
    }

    .timeline-marker {
        left: 2px;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .timeline-img {
        display: none;
    }

    .timeline-header h3 {
        font-size: 1.1rem;
    }

    .company {
        font-size: 0.9rem;
    }

    .period {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .timeline-skills {
        gap: 0.3rem;
    }

    .timeline-skills li {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

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

    .education-card {
        padding: 1.5rem;
    }

    .education-card h3 {
        font-size: 1.1rem;
    }

    .institution {
        font-size: 0.9rem;
    }

    .year {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

    .score {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
        margin-left: 0.3rem;
    }

    .page-hero .hero-subtitle {
        font-size: 1rem;
    }

    .project-detail {
        padding: 1.5rem;
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .project-header h2 {
        font-size: 1.5rem;
    }

    .project-year {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .project-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-image-large {
        height: 250px;
    }

    .project-info h3 {
        font-size: 1.2rem;
    }

    .project-info p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .project-tech h4 {
        font-size: 1rem;
    }

    .tech-tags {
        gap: 0.6rem;
        margin-bottom: 1.5rem;
    }

    .tech-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .project-links {
        flex-direction: column;
        gap: 0.8rem;
    }

    .other-projects {
        padding: 2rem 0;
    }

    .projects-mini-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mini-project-card {
        padding: 1.5rem;
    }

    .mini-project-card h3 {
        font-size: 1.1rem;
    }

    .mini-project-card p {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
    
    .notification.hide {
        transform: translateY(-100px);
    }
}

/* Loading states for form */
.form-loading {
    position: relative;
    pointer-events: none;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== FAVORITES SECTION ===== */
.favorites-section {
    padding: 4rem 0;
}

.favorites-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

/* Music Player Styles */
.music-player {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.music-player h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--light);
    text-align: center;
}

/* Vinyl Player */
.vinyl-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.vinyl-container {
    position: relative;
    width: 200px;
    height: 200px;
}

.vinyl {
    width: 180px;
    height: 180px;
    background: linear-gradient(45deg, #000 0%, #333 100%);
    border-radius: 50%;
    position: relative;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.vinyl.playing {
    animation: rotate 4s linear infinite;
}

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

/* Enhanced Music Player Styles */
.vinyl-cover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    border: 3px solid var(--darker);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

.vinyl.playing .vinyl-cover img {
    animation: rotate 4s linear infinite;
}

/* Enhanced Progress Bar */
.progress-container {
    width: 100%;
    margin: 1rem 0;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    overflow: visible;
}

.progress {
    height: 100%;
    background: var(--gradient);
    border-radius: 3px;
    width: 0%;
    position: relative;
    transition: width 0.1s linear;
}

.progress-handle {
    position: absolute;
    top: 50%;
    right: -6px;
    width: 12px;
    height: 12px;
    background: var(--light);
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.progress-bar:hover .progress-handle {
    opacity: 1;
}

/* Time display enhancements */
.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

/* Additional controls */
.additional-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--light);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.skip-btn {
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

/* Seek tooltip */
.seek-tooltip {
    position: absolute;
    bottom: 25px;
    background: var(--dark);
    color: var(--light);
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-50%);
    transition: opacity 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.seek-tooltip.show {
    opacity: 1;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

/* Volume Control */
.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.volume-control span {
    color: var(--gray);
    font-size: 0.9rem;
}

#volume-slider {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
}

/* Playlist Enhancements */
.playlist-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
}

.playlist-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.playlist-item.active {
    background: rgba(108, 99, 255, 0.2);
    border-color: var(--primary);
}

.play-icon {
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--primary);
    font-size: 0.8rem;
}

.playlist-item:hover .play-icon {
    opacity: 1;
}

.playlist-item.active .play-icon {
    opacity: 1;
}

/* Loading State */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.vinyl-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    border: 4px solid var(--darker);
    z-index: 2;
}

.vinyl-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.vinyl-label span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--light);
    line-height: 1.2;
}

/* Tone Arm */
.tone-arm {
    position: absolute;
    top: -20px;
    right: 30px;
    transform-origin: top right;
    transition: transform 0.5s ease;
    z-index: 3;
}

.tone-arm.playing {
    transform: rotate(15deg);
}

.arm-base {
    width: 20px;
    height: 20px;
    background: #666;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
}

.arm {
    width: 80px;
    height: 4px;
    background: #888;
    position: absolute;
    top: 10px;
    right: 10px;
    transform: rotate(-45deg);
    transform-origin: right center;
}

.arm-head {
    width: 12px;
    height: 12px;
    background: #ff6584;
    border-radius: 50%;
    position: absolute;
    top: -4px;
    left: -6px;
}

/* Player Controls */
.player-controls {
    width: 100%;
    text-align: center;
}

.song-info h4 {
    font-size: 1.2rem;
    color: var(--light);
    margin-bottom: 0.5rem;
}

.song-info p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--light);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.play-btn {
    background: var(--primary);
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
}

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

.progress {
    width: 30%;
    height: 100%;
    background: var(--gradient);
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* Playlist */
.playlist {
    margin-top: 2rem;
}

.playlist-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.playlist-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.playlist-item.active {
    background: rgba(108, 99, 255, 0.2);
    border-color: var(--primary);
}

.song-number {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--light);
}

.song-details h5 {
    font-size: 1rem;
    color: var(--light);
    margin-bottom: 0.2rem;
}

.song-details p {
    font-size: 0.8rem;
    color: var(--gray);
    margin: 0;
}

/* Movies Section */
.movies-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.movies-section h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--light);
    text-align: center;
}

.movies-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.movie-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.movie-poster {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.poster-image {
    width: 100%;
    height: 100%;
    background: var(--gradient);
}

.movie-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
}

.rating {
    font-size: 0.8rem;
    color: #FFD700;
    font-weight: 600;
}

.movie-info {
    padding: 1.5rem;
}

.movie-info h4 {
    font-size: 1.1rem;
    color: var(--light);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.movie-info p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.movie-desc {
    font-size: 0.8rem !important;
    line-height: 1.4;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 968px) {
    .favorites-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .movies-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .music-player,
    .movies-section {
        padding: 1.5rem;
    }
    
    .vinyl-container {
        width: 150px;
        height: 150px;
    }
    
    .vinyl {
        width: 130px;
        height: 130px;
    }
}
/* ===== Utility classes (ekstrak dari inline style) ===== */
.project-detail-img {
    object-fit: cover;
    width: 100%;
    max-width: 1280px;
    aspect-ratio: 16 / 9;
    display: block;
    margin: 0 auto;
}

.preview-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

/* =========================================================
   MODERNISASI UI — Glassmorphism + Glow (2026)
   Blok ini sengaja di akhir file agar meng-override gaya lama
   lewat CSS cascade. Aman di-hapus untuk kembali ke versi lama.
   ========================================================= */

html { scroll-behavior: smooth; }

::selection {
    background: rgba(108, 99, 255, 0.35);
    color: #fff;
}

/* Scrollbar bertema */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--accent));
    border-radius: 10px;
    border: 2px solid var(--darker);
}

/* Aksesibilitas: focus ring yang jelas namun rapi */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---------- Navbar: lebih tipis, lebih kaca ---------- */
.navbar {
    background: rgba(10, 10, 18, 0.55);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid var(--glass-border);
}

/* ---------- Hero: judul lebih punchy + clamp responsif ---------- */
.hero-title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    letter-spacing: -0.02em;
}
.hero-subtitle {
    font-size: clamp(1.05rem, 2.5vw, 1.5rem);
    letter-spacing: 0.01em;
}
.gradient-text {
    background: linear-gradient(135deg, #8B85FF 0%, #FF6584 60%, #FFB199 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* Glow lembut di belakang hero */
.hero::before {
    content: '';
    position: absolute;
    top: 18%;
    left: 50%;
    width: min(680px, 90vw);
    height: 380px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(108, 99, 255, 0.18) 0%, transparent 70%);
    filter: blur(20px);
    z-index: 0;
    pointer-events: none;
}

/* ---------- Tombol: lebih halus + shimmer ---------- */
.btn-primary, .btn-secondary {
    padding: 13px 32px;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s ease;
    will-change: transform;
}
.btn-primary {
    box-shadow: var(--glow-primary);
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 36px rgba(108, 99, 255, 0.45);
}
.btn-secondary {
    border: 1.5px solid var(--glass-border-hover);
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
}
.btn-secondary:hover {
    background: rgba(108, 99, 255, 0.18);
    border-color: var(--primary);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--glow-primary);
}

/* ---------- Section title: aksen lebih ramping ---------- */
.section-title { letter-spacing: -0.01em; }
.section-title::after {
    width: 48px;
    height: 3px;
    box-shadow: 0 0 12px rgba(108, 99, 255, 0.6);
}

/* ---------- KARTU GLASS: pola seragam untuk semua card ---------- */
.project-detail,
.project-preview-card,
.timeline-content,
.contact-item,
.education-card,
.mini-project-card,
.skill-category,
.movie-card,
.music-player,
.whatsapp-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
                border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.project-detail:hover,
.project-preview-card:hover,
.timeline-content:hover,
.contact-item:hover,
.education-card:hover,
.mini-project-card:hover,
.skill-category:hover,
.movie-card:hover {
    transform: translateY(-6px);
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    box-shadow: var(--glow-primary);
}

/* Garis cahaya tipis di tepi atas kartu utama (efek "lit edge") */
.project-detail,
.project-preview-card,
.education-card {
    position: relative;
    overflow: hidden;
}
.project-detail::before,
.project-preview-card::before,
.education-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108,99,255,0.8), rgba(255,101,132,0.8), transparent);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}
.project-detail:hover::before,
.project-preview-card:hover::before,
.education-card:hover::before {
    opacity: 1;
}

/* ---------- Chip / tag: pill modern dengan hover ---------- */
.skill-tag, .tech-tag {
    transition: transform 0.25s var(--ease), background 0.25s ease, box-shadow 0.25s ease;
    cursor: default;
}
.skill-tag:hover, .tech-tag:hover {
    transform: translateY(-2px);
    background: rgba(108, 99, 255, 0.32);
    box-shadow: 0 4px 14px rgba(108, 99, 255, 0.3);
}

/* ---------- Stat angka: gradient + glow ---------- */
.stat h3 {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(108, 99, 255, 0.25);
}

/* ---------- CTA: panel glow ---------- */
.cta-section {
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    background:
        radial-gradient(circle at 30% 20%, rgba(108,99,255,0.15), transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(255,101,132,0.12), transparent 60%),
        var(--glass-bg);
    backdrop-filter: blur(14px);
}

/* ---------- Reveal animasi masuk (dipakai oleh scroll observer) ---------- */
.reveal-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Hormati preferensi reduce-motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   IKON SVG — pengganti emoji (ukuran & perataan)
   ========================================================= */

/* Default: ikutkan ukuran teks, sejajar baseline rapi */
svg { display: inline-block; vertical-align: middle; }

/* Ikon di dalam heading section (playlist, film) */
h3 .h-icon {
    width: 1.4em;
    height: 1.4em;
    margin-right: 0.4rem;
    color: var(--primary);
    vertical-align: -0.3em;
}

/* Logo roket navbar */
.logo-text { display: inline-flex; align-items: center; gap: 0.5rem; }
.logo-icon { width: 1.4em; height: 1.4em; }

/* Logo footer */
.footer-logo { line-height: 0; margin-bottom: 0.75rem; }
.footer-logo svg {
    width: 44px;
    height: 44px;
    color: var(--primary);
}

/* Ikon kontak (email/telepon/lokasi) di lingkaran gradient */
.contact-icon { font-size: 0; }
.contact-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

/* Ikon WhatsApp besar */
.whatsapp-icon-large { line-height: 0; }
.whatsapp-icon-large svg {
    width: 56px;
    height: 56px;
    color: var(--primary);
}

/* Tombol kontrol musik */
.control-btn svg { width: 18px; height: 18px; }
.play-btn svg { width: 20px; height: 20px; }

/* Ikon volume */
.volume-control span { line-height: 0; }
.volume-control span svg { width: 18px; height: 18px; color: var(--gray); }

/* Ikon play kecil di tiap item playlist */
.play-icon svg { width: 14px; height: 14px; }

/* Bintang rating */
.rating { display: inline-flex; align-items: center; gap: 0.3rem; }
.rating svg { width: 14px; height: 14px; color: #FFD700; }

/* Hati di footer */
.heart { line-height: 0; }
.heart svg { width: 16px; height: 16px; vertical-align: -0.2em; }

/* Ikon sosial footer: jadi tombol bulat halus */
.footer-social { display: flex; gap: 0.75rem; }
.social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--gray);
    transition: transform 0.3s var(--ease), color 0.3s ease,
                background 0.3s ease, border-color 0.3s ease;
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover {
    color: #fff;
    background: rgba(108, 99, 255, 0.2);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Contact item yang berupa link (GitHub) — samakan dengan div biasa */
a.contact-item {
    text-decoration: none;
    color: inherit;
}

/* =========================================================
   POLES PROFESIONAL — hero foto, tagline, dsb
   ========================================================= */
.hero-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.8rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--glass-border-hover);
    box-shadow: var(--glow-primary);
    animation: float 4s ease-in-out infinite;
}
.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.hero-tagline {
    max-width: 540px;
    margin: 0 auto 2rem;
    color: var(--gray);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.7;
}

/* Section "Di Luar Coding" — ringkas & profesional */
.beyond-text {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.8;
}
