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

:root {
    --primary-black: #000000;
    --secondary-black: #111111;
    --tertiary-black: #1a1a1a;
    --primary-white: #ffffff;
    --secondary-white: #f0f0f0;
    --accent-gray: #333333;
    --light-gray: #666666;
    --border-gray: #444444;
    --glow-white: rgba(255, 255, 255, 0.8);
    --glow-soft: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--primary-black);
    color: var(--primary-white);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--primary-white) 2px, transparent 2px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #000000 0%, #111111 50%, #000000 100%);
}

.particle {
    position: absolute;
    background: var(--primary-white);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 8px;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--primary-white), #888);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s infinite;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: var(--accent-gray);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-white), #888);
    width: 0%;
    animation: loadProgress 3s ease-in-out;
}

.loading-text {
    font-size: 1.2rem;
    color: var(--light-gray);
    letter-spacing: 2px;
}

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

@keyframes loadProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-gray);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-brand {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
}

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

.nav-link {
    color: var(--primary-white);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
}

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

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

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-white);
    margin: 3px 0;
    transition: 0.3s;
}

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

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1000px;
}

.profile-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-ring {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--primary-white), transparent, var(--primary-white));
    padding: 4px;
    animation: rotate 10s linear infinite;
}

.profile-image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: var(--primary-black);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    transition: filter 0.5s ease;
}

.profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.profile-ring:hover .profile-image {
    filter: grayscale(0%) contrast(1);
}

.profile-ring:hover .profile-overlay {
    opacity: 1;
}

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

.hero-text {
    text-align: left;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 1rem;
    overflow: hidden;
}

.title-line {
    display: block;
    transform: translateY(100%);
    animation: slideUp 1s ease 0.5s forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.7s;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--light-gray);
    margin-bottom: 3rem;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 1.2s forwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-white);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-gray);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--light-gray);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--primary-white);
    margin: 0 auto 0.5rem;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--primary-white);
    border-bottom: 2px solid var(--primary-white);
    transform: rotate(45deg);
}

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

section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.section-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-white), transparent);
    margin: 0 auto;
}

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

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-intro {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--secondary-white);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--light-gray);
}

.skills-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-item {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--secondary-black), var(--tertiary-black));
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    border-color: var(--primary-white);
}

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

.skill-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

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

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: linear-gradient(135deg, var(--secondary-black), var(--tertiary-black));
    border: 1px solid var(--border-gray);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.product-card::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;
    z-index: 1;
}

.product-card:hover::before {
    left: 100%;
}

.product-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.15);
    border-color: var(--primary-white);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.product-card:hover .product-image {
    filter: brightness(1.1) contrast(1.1);
}

.product-info {
    padding: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.product-info p {
    color: var(--light-gray);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-price {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--primary-white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.buy-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-white);
    color: var(--primary-black);
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.buy-btn:hover {
    background: transparent;
    color: var(--primary-white);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.music-player-container {
    max-width: 600px;
    margin: 0 auto;
}

.music-player {
    background: linear-gradient(135deg, var(--secondary-black), var(--tertiary-black));
    border: 2px solid var(--border-gray);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.player-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.05), transparent);
    pointer-events: none;
}

.music-visualizer {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 2rem;
    height: 60px;
    align-items: end;
}

.visualizer-bar {
    width: 4px;
    background: linear-gradient(to top, var(--primary-white), var(--light-gray));
    border-radius: 2px;
    animation: visualize 1s ease-in-out infinite alternate;
}

.visualizer-bar:nth-child(1) { animation-delay: 0s; height: 20px; }
.visualizer-bar:nth-child(2) { animation-delay: 0.1s; height: 35px; }
.visualizer-bar:nth-child(3) { animation-delay: 0.2s; height: 50px; }
.visualizer-bar:nth-child(4) { animation-delay: 0.3s; height: 30px; }
.visualizer-bar:nth-child(5) { animation-delay: 0.4s; height: 45px; }
.visualizer-bar:nth-child(6) { animation-delay: 0.5s; height: 25px; }
.visualizer-bar:nth-child(7) { animation-delay: 0.6s; height: 40px; }
.visualizer-bar:nth-child(8) { animation-delay: 0.7s; height: 15px; }

@keyframes visualize {
    0% { height: 10px; opacity: 0.3; }
    100% { opacity: 1; }
}

.music-info {
    text-align: center;
    margin-bottom: 2rem;
}

.song-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.artist {
    font-size: 1.1rem;
    color: var(--light-gray);
    margin-bottom: 0.3rem;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.control-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--accent-gray);
    color: var(--primary-white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn {
    width: 70px;
    height: 70px;
    background: var(--primary-white);
    color: var(--primary-black);
    font-size: 1.5rem;
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.progress-section {
    margin-bottom: 1.5rem;
}

.progress-container {
    width: 100%;
    height: 8px;
    background: var(--accent-gray);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    margin-bottom: 1rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-white), var(--light-gray));
    border-radius: 4px;
    width: 0%;
    transition: width 0.1s ease;
}

.progress-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 16px;
    height: 16px;
    background: var(--primary-white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--light-gray);
    font-family: 'Orbitron', monospace;
}

.volume-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.volume-icon {
    font-size: 1.2rem;
}

.volume-slider {
    width: 100px;
}

.volume-slider input {
    width: 100%;
    height: 4px;
    background: var(--accent-gray);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

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

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.contact-intro p {
    font-size: 1.2rem;
    color: var(--light-gray);
}

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

.social-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--secondary-black), var(--tertiary-black));
    border: 1px solid var(--border-gray);
    border-radius: 15px;
    text-decoration: none;
    color: var(--primary-white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-card::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;
}

.social-card:hover::before {
    left: 100%;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.1);
    border-color: var(--primary-white);
}

.social-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.social-info {
    flex: 1;
}

.social-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

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

.social-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-card:hover .social-arrow {
    transform: translateX(5px);
}

.footer {
    border-top: 1px solid var(--border-gray);
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-brand {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.footer-text p {
    color: var(--light-gray);
    margin-bottom: 0.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

.custom-cursor {
    transition: transform 0.1s ease;
}

.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    padding: 1rem;
    gap: 1rem;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .profile-ring {
        width: 250px;
        height: 250px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .profile-ring {
        width: 200px;
        height: 200px;
    }
    
    .music-player {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

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

    .product-card {
        margin: 0 auto;
        max-width: 350px;
    }
    /* Loading screen container */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000; /* misalnya hitam */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.loading-content {
    width: 100%;
    max-width: 400px; /* biar ga terlalu lebar */
}

.loading-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem; /* default */
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    word-wrap: break-word;
}

.loading-bar {
    width: 100%;
    height: 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background: #00ffcc;
    transition: width 0.3s ease;
}

.loading-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    color: #ccc;
}

/* === MEDIA QUERY UNTUK MOBILE === */
@media (max-width: 480px) {
    .loading-logo {
        font-size: 1.8rem; /* diperkecil agar muat */
    }

    .loading-text {
        font-size: 0.85rem;
    }

    .loading-bar {
        height: 8px;
    }
}

}
