*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root{
    --background: #1c1511; 
    --second-background: rgba(38, 28, 22, 0.85);
    --dragon-orange: #ff6600;
    --aura-yellow: #ffcc00;
    --ki-blue: #00d9ff;
}

body{
    min-height: 100vh;
    background: linear-gradient(rgba(28, 21, 17, 0.75), rgba(28, 21, 17, 0.85)), url('dbz-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

nav{
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5em 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(28, 21, 17, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid rgba(255, 102, 0, 0.4);
}

ul{
    display: flex;
    align-items: center;
    gap: 3em;
}

nav ul a{
    color: white;
    opacity: 0.8;
    transition: 0.2s ease-in-out;
}

nav ul a:hover{
    opacity: 1;
    color: var(--aura-yellow);
    text-shadow: 0 0 10px var(--aura-yellow);
}

.logo{
    font-size: 2em;
    color: white;
    font-weight: 800;
    letter-spacing: 2px;
}

.btn{
    padding: 0.5em 1.5em;
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 5px;
    font-size: 1em;
    border: 2px solid var(--dragon-orange);
    background: linear-gradient(135deg, #ff6600, #ffaa00);
    cursor: pointer;
    transition: 0.3s ease-in-out;
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.4);
    display: inline-block;
    text-align: center;
}

.btn:hover{
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--aura-yellow);
    background: linear-gradient(135deg, #ffcc00, #ff6600);
    color: #1c1511;
}

span{
    background: linear-gradient(to right, #ffcc00, #ff5500);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

#menu{
    color: white;
    font-size: 3em;
    display: none;
    cursor: pointer;
}

section{
    min-height: 100vh;
    padding: 8% 10%;
    border-bottom: 2px dashed rgba(255, 102, 0, 0.15);
}

#home{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2em;
    text-align: center;
    position: relative;
}

#home img{
    width: 18vw;
    min-width: 150px;
    border-radius: 50%;
    border: 4px solid var(--aura-yellow);
    box-shadow: 0 0 30px var(--dragon-orange), inset 0 0 15px var(--aura-yellow);
    margin-top: 2em;
}

.info-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8em;
    max-width: 700px;
}

.info-box h1{
    font-size: 4.5em;
    font-weight: 700;
}

.info-box h3{
    font-size: 1.8em;
    font-weight: 400;
}

.info-box h3 span{
    background: none;
    color: white;
}

.info-box h3 span:first-child{
    background: linear-gradient(to right, #ffcc00, #ff5500);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.info-box p{
    opacity: 0.9;
    line-height: 1.6;
}

.btn-box{
    display: flex;
    gap: 1.5em;
}

::-webkit-scrollbar{
    width: 12px;
    background-color: var(--background);
}

::-webkit-scrollbar-thumb{
    background: linear-gradient(to bottom, #ffcc00, #ff6600);
    border-radius: 6px;
}

#about{
    background-color: var(--second-background);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5em;
}

#about img{
    width: 28vw;
    min-width: 250px;
    border-radius: 1em;
    border: 3px solid var(--dragon-orange);
    box-shadow: 0 0 25px rgba(255, 102, 0, 0.4);
}

.about-box{
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    max-width: 650px;
}

.about-box h1{
    font-size: 4em;
}

.about-box p{
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.hobbies{
    display: flex;
    gap: 5em;
}

.hobbies ul{
    font-size: 1.1em;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    color: white;
    gap: 0.5em;
    align-items: flex-start;
}

.hobbies ul li span{
    display: flex;
    align-items: center;
    gap: 0.5em;
    transition: 0.3s ease-in-out;
}

.hobbies ul li span:hover{
    transform: translateX(8px);
    color: var(--aura-yellow);
}

.about-box h2{
    font-size: 2.2em;
}

#project{
    background: transparent;
}

.header{
    text-align: center;
    font-size: 4em;
    margin-bottom: 2em;
}

.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 2rem;
}

.animate-on-scroll{
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.show{
    opacity: 1;
    transform: translateY(0);
}

.box{
    border: 2px solid rgba(255, 102, 0, 0.4);
    background-color: var(--second-background);
    backdrop-filter: blur(5px);
    border-radius: 0.8em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5em;
    gap: 1.5em;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.box:hover{
    transform: translateY(-10px);
    border-color: var(--aura-yellow);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.4);
}

.box p{
    opacity: 0.9;
    line-height: 1.5;
    text-align: center;
    color: white;
}

.box h1{
    font-size: 3rem;
    text-align: center;
}

.box img{
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 0.5em;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#contact{
    background-color: var(--second-background);
    backdrop-filter: blur(5px);
}

form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5em;
    max-width: 600px;
    margin: 0 auto;
}

form .input-box{
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.5em;
}

.input-box span{
    font-size: 1.2em;
    font-weight: 600;
}

form input{
    font-size: 1.1em;
    padding: 1em;
    border-radius: 0.5em;
    border: 1px solid rgba(255, 102, 0, 0.5);
    background: rgba(28, 21, 17, 0.9);
    color: white;
    outline: none;
    width: 100%;
    transition: 0.3s;
}

form input:focus{
    border-color: var(--aura-yellow);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.4);
}

/* Kame House Footer Background Applied Here */
footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5% 10%;
    background: linear-gradient(rgba(18, 13, 10, 0.8), rgba(18, 13, 10, 0.9)), url('kamehouse-bg.jpg');
    background-size: cover;
    background-position: center;
    border-top: 2px solid rgba(255, 102, 0, 0.4);
    gap: 4em;
    flex-wrap: wrap;
}

.col-left {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
}

.col-box {
    display: flex;
    align-items: center;
    gap: 1em;
    font-size: 1.1em;
}

.col-right {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.col-right span {
    font-size: 1.5em;
    font-weight: 600;
}

.col-right p {
    opacity: 0.9;
}

.social-icons {
    display: flex;
    gap: 1.5em;
    font-size: 1.8em;
    cursor: pointer;
}

.social-icons span:hover {
    color: var(--aura-yellow);
    text-shadow: 0 0 10px var(--aura-yellow);
}

body {
  cursor: none;
}

.db-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 2px solid var(--aura-yellow);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--dragon-orange), inset 0 0 6px var(--aura-yellow);
  z-index: 9999;
}

.db-cursor-hover {
  width: 52px;
  height: 52px;
  background-color: rgba(0, 217, 255, 0.15);
  border-color: var(--ki-blue);
  box-shadow: 0 0 20px var(--ki-blue), inset 0 0 10px var(--ki-blue);
}

.ki-blast {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #ffffff 0%, var(--ki-blue) 50%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: explode 0.35s ease-out forwards;
  z-index: 9998;
}

@keyframes explode {
  0% {
    width: 10px;
    height: 10px;
    opacity: 1;
    box-shadow: 0 0 10px var(--ki-blue), 0 0 20px var(--ki-blue);
  }
  100% {
    width: 90px;
    height: 90px;
    opacity: 0;
    box-shadow: 0 0 30px var(--dragon-orange), 0 0 60px var(--aura-yellow);
  }
}

#home img {
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#home img.super-saiyan {
  transform: scale(1.12);
  border-color: #ffffff;
  box-shadow: 0 0 50px var(--aura-yellow), 0 0 100px var(--dragon-orange), inset 0 0 25px #ffffff;
  filter: brightness(1.2) saturate(1.4) drop-shadow(0 0 15px var(--aura-yellow));
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-goku {
    height: 55px; 
    width: auto;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 12px var(--aura-yellow)) drop-shadow(0 0 4px var(--dragon-orange));
}

@media (max-width: 768px) {
    #menu {
        display: block;
    }
    .links {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        background-color: var(--second-background);
        width: 100%;
        text-align: center;
        padding: 2em 0;
        transition: 0.3s;
        border-bottom: 2px solid var(--dragon-orange);
    }
    .links.active {
        right: 0;
    }
    #about {
        flex-direction: column;
    }
    #about img {
        width: 60vw;
    }
}