@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300;400;500;700&display=swap');

:root {
    --amoled-black: #000000;
    --amoled-dark: #121212;
    --amoled-light: #1e1e1e;
    --accent-color: #ff6700; /* Oranye Membara */
    --accent-secondary: #ffc300; /* Kuning Emas */
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --fire-orange: #ff4500; /* Oranye Kemerahan */
    --fire-yellow: #ffd700; /* Emas */
}

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

body {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    background-color: var(--amoled-black);
    color: var(--text-primary);
    overflow-x: hidden;
    height: 100vh;
}

@media (min-width: 1025px) {
    body {
        cursor: none;
    }
}

.container {
    display: flex;
    width: 100%;
    height: 100vh;
}

.left-panel {
    width: 350px;
    min-width: 350px;
    position: relative;
    border-right: 1px solid var(--amoled-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.right-panel {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--amoled-dark);
}

.right-panel::-webkit-scrollbar {
    width: 8px;
}

.right-panel::-webkit-scrollbar-track {
    background: var(--amoled-dark);
}

.right-panel::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 4px;
}

.profile-container {
    position: relative;
    flex-shrink: 0;
    height: 250px;
}

.banner {
    height: 180px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: var(--amoled-black);
}

.banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.banner-video.loaded {
    opacity: 1;
}

.banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0) 100%);
  z-index: 2;
  pointer-events: none;
}


.profile-pic-container {
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid var(--amoled-dark);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
    z-index: 10;
    background-color: var(--amoled-dark);
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 50%;
}

.profile-pic-container:hover .profile-pic {
    transform: scale(1.1);
}

.profile-pic-container::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 6px solid transparent;
    background: conic-gradient(from 180deg at 50% 50%, var(--fire-orange), var(--fire-yellow), var(--accent-secondary), var(--fire-orange)) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotate-fire 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.profile-pic-container:hover::before {
    opacity: 1;
}

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

.left-content {
    padding-top: 60px;
}

.content {
    max-width: 930px;
    margin: 0 auto;
    width: 100%;
    padding-bottom: 2rem;
    display: grid;
    gap: 1.5rem;
}

.header-section {
    text-align: center;
    margin-bottom: 0;
    grid-column: 1 / -1;
}

.name {
    font-size: 2.5rem;
    margin-bottom: 0.2rem;
    background: linear-gradient(45deg, var(--fire-orange), var(--fire-yellow));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    animation: slideUp 0.8s ease;
}

.pronouns {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: normal;
}

.title {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 300;
    animation: slideUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.section {
    margin-bottom: 0;
    padding: 1.2rem;
    background-color: var(--amoled-dark);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 3px solid var(--accent-color);
    animation: slideUp 0.8s ease forwards;
    opacity: 0;
}

.section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 103, 0, 0.3);
}

.section-title {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--accent-color);
    padding-left: 0.5rem;
}

.section-content {
    line-height: 1.6;
    color: var(--text-secondary);
}

.link-section .section-title {
    padding-left: 1.2rem;
    margin-bottom: 0.5rem; 
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1.2rem;
}

.link-category {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 0.8rem;
}

.category-title {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: var(--accent-secondary);
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--amoled-light);
}

.link-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.link-item {
    display: flex;
    align-items: center;
    padding: 0.6rem;
    background-color: var(--amoled-light);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 103, 0, 0.2), transparent);
    transition: all 0.5s ease;
}

.link-item:hover {
    transform: translateX(5px);
    background-color: rgba(255, 103, 0, 0.1);
}

.link-item:hover::before {
    left: 100%;
}

.link-item i {
    margin-right: 0.8rem;
    font-size: 1rem;
    color: var(--accent-color);
}

.link-item span {
    flex-grow: 1;
    font-size: 0.9rem;
}

.anime-spotlight {
    margin: 1rem;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid var(--amoled-light);
}

.spotlight-title {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    text-align: center;
}

.character-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.character {
    font-size: 0.8rem;
    padding: 0.5rem;
    background-color: rgba(255, 103, 0, 0.1);
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.character:hover {
    background-color: var(--accent-color);
    color: var(--amoled-black);
}

.weather-widget {
    margin: 1rem;
    margin-top: 0;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid var(--amoled-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 120px;
}

.weather-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.5rem;
}

.weather-temp {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-primary);
}

.weather-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.weather-location {
    font-size: 0.7rem;
    color: var(--accent-color);
}

.spark {
    position: absolute;
    background-color: var(--accent-color);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    opacity: 0;
    animation: sparkle-fall linear infinite;
    z-index: 12;
    pointer-events: none;
    box-shadow: 0 0 8px var(--accent-color), 0 0 12px var(--fire-yellow);
}

@keyframes sparkle-fall {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
}

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

.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--accent-color);
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
}

.cursor.active {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 103, 0, 0.3);
}

@media (max-width: 1024px) {
    .cursor { display: none; }
    .container { flex-direction: column; height: auto; }
    .left-panel { width: 100%; min-width: auto; border-right: none; border-bottom: 1px solid var(--amoled-light); }
    .profile-pic-container { top: 120px; }
    .right-panel { overflow-y: visible; height: auto; }
    .content { grid-template-columns: 1fr; }
    body { overflow-y: auto; }
}

@media (max-width: 768px) {
    .name { font-size: 2rem; }
    .title { font-size: 1rem; }
    .profile-pic-container { width: 120px; height: 120px; top: 100px; }
    .intro-text { font-size: 2rem; }
}

@media (max-width: 480px) {
    .right-panel { padding: 1rem; }
    .section { padding: 1rem; }
    .intro-text { font-size: 1.5rem; }
    .link-section { padding: 0.5rem; }
    .link-grid { padding: 0.5rem; }
}

.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.5s ease-out forwards;
    transition: opacity 1s ease, backdrop-filter 1s ease;
    cursor: pointer;
}

.intro-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease;
    text-align: center;
    animation: pulse 2s infinite;
}

.intro-text {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--accent-color);
}

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

@keyframes fadeIn {
    from { opacity: 0 !important; }
    to { opacity: 1 !important; }
}

.intro-subtext {
    font-size: 1rem;
    color: var(--text-secondary);
}

.small-subtext {
  transform: scale(0.8);
  position: relative;
  top: -5px; 
}

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

.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--amoled-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-color);
    z-index: 100;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.music-control:hover {
    transform: scale(1.2);
    background-color: var(--accent-color);
    color: var(--amoled-black);
}

.music-control i {
    transition: transform 0.3s ease;
}

.music-control:hover i {
    transform: scale(1.2);
}

.link-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--amoled-light);
    color: var(--text-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--accent-color);
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-effect 1s ease-out;
    pointer-events: none;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}