* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #1a1a1a;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    z-index: -1;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 5px solid #4CAF50;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.name {
    font-size: 3em;
    margin-bottom: 10px;
    color: #4CAF50;
    animation: glow 2s ease-in-out infinite alternate;
    position: relative;
}

@keyframes glow {
    from { text-shadow: 0 0 10px #4CAF50; }
    to { text-shadow: 0 0 20px #4CAF50, 0 0 30px #4CAF50; }
}

.title {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #888;
    animation: slideIn 1s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.gallery-section {
    padding: 80px 0;
    background: #2a2a2a;
    margin: 40px 0;
    border-radius: 20px;
}

.gallery-title {
    text-align: center;
    color: #4CAF50;
    margin-bottom: 40px;
    font-size: 2em;
    animation: glow 2s ease-in-out infinite alternate;
}

.gallery-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.gallery-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.experience-card {
    min-width: 300px;
    background: #333;
    border-radius: 15px;
    padding: 20px;
    margin: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    transform-origin: center;
    position: relative;
    overflow: hidden;
}

.experience-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
}

.experience-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(76, 175, 80, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.experience-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.experience-card:hover .experience-image {
    transform: scale(1.1);
}

.experience-title {
    color: #4CAF50;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.experience-date {
    color: #888;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.experience-description {
    color: #ddd;
    font-size: 0.95em;
    line-height: 1.6;
}

.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.gallery-btn {
    background: #4CAF50;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.gallery-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.section {
    padding: 80px 0;
    position: relative;
}

.about {
    background: #2a2a2a;
    border-radius: 20px;
    padding: 40px;
    margin: 20px 0;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(76, 175, 80, 0.1), transparent);
    transform: translateX(-100%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.about:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
}

.skill-item {
    background: #333;
    padding: 15px 30px;
    border-radius: 30px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.skill-item:hover {
    background: #4CAF50;
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.skill-icon {
    font-size: 1.2em;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.contact {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #333;
    border-radius: 30px;
    transition: all 0.3s;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
}

.contact-item:hover::before {
    animation: shine 1s;
}

.contact-item:hover {
    background: #4CAF50;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.social-links {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 100;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    cursor: pointer;
    animation: socialBounce 2s infinite;
}

@keyframes socialBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.social-icon:hover {
    background: #4CAF50;
    transform: scale(1.2);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    overflow: hidden;
}

.animated-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.1);
    animation: floatCircle 15s infinite linear;
}

@keyframes floatCircle {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(100px, 100px) rotate(360deg); }
}

/* Animasi untuk kartu pengalaman */
.experience-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.experience-card:hover {
    transform: rotateY(10deg) scale(1.05);
    box-shadow: 
        0 10px 20px rgba(76, 175, 80, 0.3),
        0 0 30px rgba(76, 175, 80, 0.2),
        0 0 50px rgba(76, 175, 80, 0.1);
}

.experience-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(76, 175, 80, 0.1) 50%,
        transparent 100%
    );
    transform: translateZ(20px);
    pointer-events: none;
    transition: all 0.3s ease;
}

.experience-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.experience-image {
    transition: transform 0.5s ease;
}

.experience-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(76, 175, 80, 0.2),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.experience-card:hover .experience-image-container::after {
    opacity: 1;
}

.experience-card:hover .experience-image {
    transform: scale(1.1) rotate(2deg);
}

/* Animasi untuk skills */
.skill-item {
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.skill-item:hover::before {
    animation: skillShine 1s forwards;
}

@keyframes skillShine {
    to {
        top: 100%;
        left: 100%;
    }
}

/* Animasi untuk kontak */
.contact-item {
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: translateX(-100%);
}

.contact-item:hover::before {
    animation: contactShine 1s forwards;
}

@keyframes contactShine {
    to {
        transform: translateX(100%);
    }
}

/* Animasi untuk scroll indicator */
.scroll-indicator {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    z-index: 1000;
}

.scroll-progress {
    width: 100%;
    background: #4CAF50;
    border-radius: 5px;
    transition: height 0.3s ease;
}

/* Animasi floating icons */
.floating-icon {
    position: absolute;
    font-size: 2em;
    opacity: 0.1;
    animation: floatIcon 10s infinite linear;
}

@keyframes floatIcon {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(100px, 100px) rotate(360deg);
    }
}

/* Tambahan animasi untuk gallery */
.gallery-btn {
    position: relative;
    overflow: hidden;
}

.gallery-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.gallery-btn:hover::after {
    animation: buttonGlow 1s forwards;
}

@keyframes buttonGlow {
    to {
        transform: rotate(45deg) translate(100%, 100%);
    }
}

.music-player {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(51, 51, 51, 0.9);
    padding: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.music-player:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.music-disc {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4CAF50, #2196F3);
    animation: rotate 3s linear infinite;
    animation-play-state: paused;
    position: relative;
    overflow: hidden;
}

.music-disc.playing {
    animation-play-state: running;
}

.music-disc::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 15px;
    background: #333;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.music-info {
    color: white;
    font-size: 0.9em;
}

.music-title {
    font-weight: bold;
    margin-bottom: 3px;
}

.music-artist {
    color: #888;
    font-size: 0.8em;
}

.music-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.music-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.music-btn:hover {
    color: #4CAF50;
    transform: scale(1.1);
}

/* Copyright Styles */
.footer {
    background: #1a1a1a;
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
}

.copyright {
    color: #888;
    font-size: 0.9em;
    animation: fadeIn 1s ease;
}

.copyright span {
    color: #4CAF50;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}