:root {
    --primary-color: #6e44ff;
    --secondary-color: #ff44a8;
    --dark-bg: #121212; 
    --dark-secondary: #1e1e1e; 
    --grey-title:#4e0e0e;
    --light-bg: #f8f9fa;
    --black-o:#000000;
    --skrol:#8a6969;
    --transition-speed: 0.4s;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--light-bg);
    color: #333;
    transition: background-color var(--transition-speed), color var(--transition-speed);
    padding-top: 70px;
}

body.dark-mode {
    background-color: var(--dark-bg);
    color: #fff;
}

/* Navbar Styles */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(248, 249, 250, 0.85) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed);
}

.dark-mode .navbar {
    /* background-color: rgba(15, 12, 41, 0.85) !important; */
    background-color:var(--dark-secondary)0.85 !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--grey-title);
}
.dark-mode .navbar-brand,
.dark-mode .nav-link {
    color: #ffffff !important; 
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--grey-title);
    transition: width var(--transition-speed);
}
.dark-mode .nav-link::after{
    background-color: var(--primary-color);

}

.nav-link:hover::after {
    width: 100%;
}

/* Dark Mode Toggle */
#darkModeToggle {
    display: none;
}

.toggle-slider {
    width: 60px;
    height: 20px;
    background-color: #ddd;
    border-radius: 30px;
    position: relative;
    cursor: pointer;
    transition: background-color var(--transition-speed);
    background: url('asset/images2k.gif') no-repeat center center / cover;
}

.toggle-slider::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 17px;
    background-color: white;
    border-radius: 50%;
    top: 1.5px;
    left: 1px;
    right: 0px;
    transition: transform var(--transition-speed);
}

#darkModeToggle:checked + .toggle-slider {
    /* background-color: var(--primary-color); */
    background: url('asset/images3.gif') no-repeat center center / cover;

}

#darkModeToggle:checked + .toggle-slider::after {
    transform: translateX(39px);
    background: #ffefef;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.dark-mode .toggle-slider {
    background-color: #444;
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--grey-title), var(--dark-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.dark-mode .hero-title{
    background: linear-gradient(45deg, var(--light-bg), var(--primary-color), var(--light-bg));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.8;
}



.profile-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.profile-pic {
    width: 100%;
    aspect-ratio: 1/1; 
    border-radius: 50%; 
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* Biar pas responsif */
@media (max-width: 768px) {
    .container.d-flex {
        flex-direction: column;
        align-items: center;
    }

    .social-icons {
        margin-bottom: 20px;
    }
}
body.dark-mode .profile-pic {
    border: 2px solid var(--light-bg); 
    background: rgb(19, 19, 19);
    box-shadow: 
        0 0 10px var(--primary-color),
        0 0 20px var(--light-bg); 
    animation: glow-pulse 3s infinite alternate;
    transition: all 0.4s ease-in-out;
}

@keyframes glow-pulse {
    0% {
        box-shadow: 
            0 0 10px var(--light-bg),
            0 0 15px var(--primary-color);
    }
    50% {
        box-shadow: 
            0 0 15px var(--light-bg),
            0 0 25px var(--primary-color);
    }
    100% {
        box-shadow: 
            0 0 20px var(--primary-color),
            0 0 35px var(--light-bg);
    }
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    right: 1px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
}
@media (max-width: 768px) and (min-width: 577px) {
    .floating-elements {
      width: 60px;
      height: 60px;
    }
    .element-1 { top: 5px; right: 5px; }
    .element-2 { top: 30px; right: 20px; }
    .element-3 { top: 15px; right: 40px; }
  }
  
  @media (max-width: 576px) {
    .floating-elements {
      display: none;
    }
  }
.floating-elements div {
    position: absolute;
    border-radius: 50%;
    opacity: 0.7;
    transition: all 0.5s ease;
}

.element-1 {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    top: 10px;
    right: 10px;
    animation: float 4s ease-in-out infinite;
}

.element-2 {
    width: 15px;
    height: 15px;
    background: var(--secondary-color);
    top: 40px;
    right: 30px;
    animation: float 5s ease-in-out infinite 0.5s;
}

.element-3 {
    width: 10px;
    height: 10px;
    background: var(--light-bg);
    top: 20px;
    right: 50px;
    animation: float 3.5s ease-in-out infinite 1s;
}
.element-1,
.element-3 {
    background: linear-gradient( var(--black-o), var(--grey-title));
}
.element-2{
    background: var(--black-o); 
}
.dark-mode .element-1 { background: var(--light-bg); opacity: 0.9; }
.dark-mode .element-2 { background: var(--primary-color); opacity: 0.7; }
.dark-mode .element-3 { background: var(--secondary-color); opacity: 0.5; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Dark mode */
body.dark-mode .floating-elements div {
    opacity: 0.9;
    box-shadow: 0 0 10px rgba(255,255,255,0.2);
}

/* ===== Social Icons ===== */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;                
    height: 50px;              
    aspect-ratio: 1;           
    border-radius: 50%;         
    background-color: rgba(0, 0, 0, 0.05);
    color: #333;
    font-size: 1.5rem;
    transition: all var(--transition-speed);
}

/* .Dark Mode artinya saaat DARK MODE */
.dark-mode .social-icons a {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgb(245, 245, 245);
}

.social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white !important;
}

/* GitHub */
.social-icons a[href*="github"]:hover { background-color: #414141  }

/* LinkedIn */
.social-icons a[href*="linkedin"]:hover { background-color: #0A66C2  }

/* YouTube */
.social-icons a[href*="youtube"]:hover { background-color: #FF0000  }

/* Discord */
.social-icons a[href*="discord"]:hover { background-color: #5865F2  }

/* Instagram */
.social-icons a[href*="instagram"]:hover { background-color: #E4405F  }

/* TikTok */
.social-icons a[href*="tiktok"]:hover { background-color: #000000  }

/* Facebook */
.social-icons a[href*="facebook"]:hover { background-color: #1877F2  }

/* Twitter/X */
.social-icons a[href*="twitter"]:hover,
.social-icons a[href*="x.com"]:hover { background-color: #000000  }

/* ===== Social Icons ======*/
@media (max-width: 768px) {
    .social-icons {
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 10px; 
        max-width: 300px; 
        margin-left: auto;
        margin-right: auto;
    }
    
    .social-icons a {
        width: 44px; 
        height: 44px;
        font-size: 1.3rem;
    }
}

@media (max-width: 400px) {
    .social-icons {
        max-width: 250px;
        gap: 8px;
    }
    
    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* ===== ABOUT SECTION STYLES ===== */
.about-section {
    position: relative; 
    overflow: hidden; 
    padding: 100px 0; 
    background-color: var(--light-bg); 
}

.dark-mode .about-section {
    background-color: var(--dark-bg); 
}

/* ===== PARTICLE DECORATIONS ===== */
.about-section .about-bg-particles::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at center, #6c757d 0.5px, transparent 1px);
    background-size: 200px 200px;
    background-position: 0 0;
    opacity: 0.3;
    animation: particleMove 120s linear infinite;
}

@keyframes particleMove {
    0% { background-position: 0 0; }
    100% { background-position: 1000px 1000px; } 
}


.dark-mode .about-section .about-bg-particles::before {
    background-image: radial-gradient(circle at center, #adb5bd 0.5px, transparent 1px);
    opacity: 0.4;
}

/* Responsif */
@media (max-width: 768px) {
    .about-section .about-bg-particles::before {
        animation-duration: 180s; 
        background-size: 150px 150px;
    }
}


.about-section .about-dust {
    position: absolute;
    inset: 0;
    z-index: 0;
    padding-top: 50%;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(255,193,7,0.1) 0%, transparent 20%),
        radial-gradient(circle at 60% 30%, rgba(32,201,151,0.1) 0%, transparent 20%);
    animation: dustPulse 20s alternate infinite;
}

.about-section .about-planet-1 {
    position: absolute;
    width: clamp(80px, 10vw, 120px);
    height: clamp(80px, 10vw, 120px);
    left: clamp(5%, 8vw, 10%);
    top: 15%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(173, 216, 230, 0.8) 0%,
        rgba(224, 255, 255, 0.6) 50%,
        rgba(173, 216, 230, 0.4) 100%);
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0.6;
    z-index: 0;
    animation: float 15s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(173, 216, 230, 0.3);
}

.about-section .about-planet-2 {
    position: absolute;
    width: clamp(60px, 8vw, 80px);
    height: clamp(60px, 8vw, 80px);
    right: clamp(5%, 8vw, 15%);
    bottom: 20%;
    background: radial-gradient(circle at 70% 30%, 
        rgba(255, 218, 185, 0.8) 0%,
        rgba(255, 239, 213, 0.6) 50%,
        rgba(255, 218, 185, 0.4) 100%);
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0.6;
    z-index: 0;
    animation: float 12s ease-in-out infinite reverse;
    box-shadow: 0 0 15px rgba(255, 218, 185, 0.3);
}

/* ===== ANIMATIONS ===== */

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes dustPulse {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.7; transform: scale(1.05); }
}

/* ===== DARK MODE ===== */
.dark-mode .about-section .about-planet-1 {
    background: radial-gradient(circle at 30% 30%, #0d6efd, #0dcaf0);
    box-shadow: 0 0 40px rgba(13, 110, 253, 0.3);
}

.dark-mode .about-section .about-planet-2 {
    background: radial-gradient(circle at 70% 30%, #dc3545, #fd7e14);
    box-shadow: 0 0 30px rgba(220, 53, 69, 0.3);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, var(--grey-title), var(--dark-secondary));
    border-radius: 2px;
}
.dark-mode .section-title::after{
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));

}
.about-section, .collection-section, .contact-section {
    padding: 100px 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}





/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 80px 0;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .profile-container {
        margin-top: 50px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Wattpad Custom Icon */
.wattpad-icon {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 1.8rem;
    line-height: 1;
    color: inherit;
    transition: color var(--transition-speed);
}

.social-icons a[href*="wattpad"]:hover {
    background-color: #ff8800 !important;
}

.social-icons a[href*="wattpad"]:hover .wattpad-icon {
    color: white !important;
}

/* Dark mode adjustments */
.dark-mode .social-icons .wattpad-icon {
    color: #f5f5f5 !important;
}

.dark-mode .social-icons a:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
body.dark-mode .social-icons a {
    color: rgb(245, 245, 245) !important;
}
.social-icons a[href*="wattpad"]:hover .wattpad-icon {
    color: #ff8800;
}
body.dark-mode .social-icons .wattpad-icon {
    color: rgb(245, 245, 245) !important;
}
.nav-logo {
    width: 30px;
  }
.dark-mode .nav-logo{
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transition: all 0.5s ease;
}
  .nav-logo:hover {
    filter: drop-shadow(0 0 15px rgba(77, 18, 13, 0.7));
  }
  .dark-mode .nav-logo:hover{
    filter: drop-shadow(0 0 15px rgba(231, 158, 226, 0.7));

  }
  /* scroll */
  ::-webkit-scrollbar {
    width: 8px; 
    transition: width 0.3s ease; 
  }
  
  ::-webkit-scrollbar-track {
    background: transparent;
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: var(--skrol);
    border-radius: 6px;
    border: 3px solid var(--skrol);
    transition: background-color 0.3s ease, transform 0.3s ease; 
    box-shadow: 0 0 8px rgba(255, 97, 247, 0.7), 0 0 20px rgba(255, 97, 247, 0.4); 
    animation: glowing 1.5s ease-in-out infinite alternate; 
  }
  ::-webkit-scrollbar-thumb:hover {
    background-color: var(--skrol);
    transform: none; 
  }
  
  body.dark ::-webkit-scrollbar-thumb {
    box-shadow: 0 0 8px rgba(199, 57, 204, 0.7), 0 0 20px rgba(255, 97, 255, 0.4); 
    animation: glowing 1.5s ease-in-out infinite alternate; 
  }
  @keyframes glowing {
    0% {
      box-shadow: 0 0 8px rgba(255, 97, 229, 0.74), 0 0 20px rgba(255, 97, 242, 0.4); 
    }
    100% {
      box-shadow: 0 0 12px rgb(223, 97, 255), 0 0 25px rgba(255, 97, 234, 0.6); 
    }
  }
  