@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

:root {
    --primary-color: #ff00ff;
    --secondary-color: #00ffff;
    --accent-color: #ffff00;
    --background-color: #1a001a;
    --box-bg-color: rgba(0, 0, 0, 0.5);
    --border-color: #ff00ff;
    --glow-color: rgba(255, 0, 255, 0.8);
    --text-color: #ffffff;
}

body {
    background-image: url('https://images.stockcake.com/public/9/1/9/919aa861-36ef-427d-ab27-d2885a3f9858_large/royal-purple-pattern-stockcake.jpg'); /* Repeating background texture */
    font-family: 'VT323', monospace;
    overflow-x: hidden;
}

#cursor-glow {
    position: fixed;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--glow-color);
    filter: blur(15px);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    z-index: 9999;
}

#sparkles {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
}

.sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: url('https://www.freeiconspng.com/uploads/sparkle-png-24.png'); /* Sparkle graphic */
    background-size: contain;
    animation: sparkle-anim 0.6s forwards;
}

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


.main-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 1rem;
    border: none;
    background-color: transparent;
    box-shadow: none;
    position: relative;
}

.main-title {
    font-size: 4rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--glow-color), 0 0 5px var(--secondary-color);
    text-align: center;
    margin-bottom: 1rem;
    animation: glitch 1.5s linear infinite;
    position: relative;
}

.main-title:before,
.main-title:after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  overflow: hidden;
}

.main-title:before {
  left: 2px;
  text-shadow: -2px 0 var(--secondary-color);
  animation: glitch-anim-1 2s linear infinite reverse;
}

.main-title:after {
  left: -2px;
  text-shadow: -2px 0 var(--primary-color);
  animation: glitch-anim-2 2s linear infinite reverse;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.main-nav a, .main-nav button {
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    color: var(--background-color);
    font-family: 'VT323', monospace;
    font-size: 1rem;
    padding: 0.25rem 0.75rem;
    cursor: pointer;
    text-shadow: 0 0 3px var(--background-color);
    transition: background-color 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.main-nav a:hover, .main-nav button:hover {
    background-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

#desktop {
    position: relative;
    height: 90vh;
    padding: 0;
    border: none;
}

.window {
    position: absolute;
    border: 2px solid var(--border-color);
    background-color: rgba(26, 0, 26, 0.6); /* Semi-transparent background */
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px var(--glow-color);
    display: flex;
    flex-direction: column;
    resize: both;
    overflow: auto;
    min-width: 200px;
    min-height: 150px;
}

.title-bar {
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 0.25rem 0.5rem;
    cursor: move;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    text-shadow: 0 0 3px var(--background-color);
}

.title {
    font-weight: bold;
}

.buttons {
    display: flex;
    gap: 0.3rem;
}

.button {
    width: 12px;
    height: 12px;
    border: 1px solid var(--background-color);
    cursor: pointer;
}

.close { background-color: #ff5f56; }
.minimize { background-color: #ffbd2e; }
.maximize { background-color: #27c93f; }


.content-box {
    padding: 1rem;
    flex-grow: 1;
}

.content-box h2 {
   display: none;
}

.about-me p {
    font-size: 1.1rem;
    line-height: 1.4;
}

.interests ul {
    list-style: none;
    padding: 0;
}

.interests li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.interests li::before {
    content: '>';
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.friend-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.friend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.friend-icon {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 1px solid var(--secondary-color);
}

.friend a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
}

.friend a:hover {
    text-decoration: underline;
}

.comment {
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.comment:last-child {
    border-bottom: none;
}

.comment-author {
    font-weight: bold;
    color: var(--accent-color);
}

/* --- Gallery Window --- */
.content-box.gallery {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
}

.gallery-image-container {
    width: 100%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
}

#gallery-window-image {
    max-width: 100%;
    max-height: 100%;
    border: 1px solid var(--secondary-color);
}

.gallery-controls {
    display: flex;
    gap: 1rem;
}

.gallery-controls button {
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    color: var(--background-color);
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    padding: 0.1rem 0.6rem;
    cursor: pointer;
}
.gallery-controls button:hover {
    background-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}







.prev:hover, .next:hover {



    background-color: var(--primary-color);



}







/* --- Terminal --- */



.content-box.terminal {



    background-color: #000;



    color: #0f0;



    font-family: 'VT323', monospace;



    padding: 0.5rem;



    display: flex;



    flex-direction: column;



    height: 100%;



}







#terminal-output {



    flex-grow: 1;



    overflow-y: auto;



    white-space: pre-wrap;



    word-break: break-all;



    font-size: 1.1rem;



}







#terminal-output .terminal-line {



    margin-bottom: 0.25rem;



}







#terminal-output .terminal-input-echo {



    color: #0f0; /* Green for echoed command */



}







#terminal-output .terminal-response {



    color: var(--secondary-color); /* Cyan for response */



}







.terminal-input-line {



    display: flex;



    align-items: center;



}







.prompt {



    margin-right: 0.5rem;



    color: var(--primary-color);



}







#terminal-input {



    background: transparent;



    border: none;



    color: #0f0;



    font-family: 'VT323', monospace;



    font-size: 1.1rem;



    flex-grow: 1;



    outline: none;



    caret-color: #0f0;



}







#terminal-input:focus {



    animation: blink 1s step-end infinite;



}















@keyframes blink {







  from, to {







    background-color: transparent;







  }







  50% {







    background-color: #0f0; /* Blinking cursor block */







  }







}















/* --- Audio Player --- */







#audio-player {







    display: flex;







    align-items: center;







    justify-content: center;







    gap: 1rem;







    padding: 0.5rem;







}















#play-pause-btn {







    background-color: var(--primary-color);







    border: 1px solid var(--border-color);







    color: var(--background-color);







    font-family: 'VT323', monospace;







    font-size: 1rem;







    padding: 0.25rem 0.75rem;







    cursor: pointer;







    text-shadow: 0 0 3px var(--background-color);







    transition: background-color 0.3s, box-shadow 0.3s;







}















#play-pause-btn:hover {







    background-color: var(--accent-color);







    box-shadow: 0 0 10px var(--accent-color);







}















#volume-slider {







    -webkit-appearance: none;







    appearance: none;







    width: 100px;







    height: 5px;







    background: var(--secondary-color);







    outline: none;







    opacity: 0.7;







    transition: opacity .2s;







    border: 1px solid var(--border-color);







}















#volume-slider:hover {







    opacity: 1;







}















#volume-slider::-webkit-slider-thumb {







    -webkit-appearance: none;







    appearance: none;







    width: 15px;







    height: 15px;







    background: var(--primary-color);







    cursor: pointer;







    border: 1px solid var(--border-color);







    box-shadow: 0 0 5px var(--glow-color);







}































#volume-slider::-moz-range-thumb {















    width: 15px;















    height: 15px;















    background: var(--primary-color);















    cursor: pointer;















    border: 1px solid var(--border-color);















    box-shadow: 0 0 5px var(--glow-color);















}































/* --- CRT & Glitch Effects --- */















body::before {















    content: " ";















    display: block;















    position: fixed;















    top: 0;















    left: 0;















    width: 100%;















    height: 100%;















    background: repeating-linear-gradient(















        0deg,















        rgba(0, 0, 0, 0.3),















        rgba(0, 0, 0, 0.3) 1px,















        transparent 1px,















        transparent 2px















    );















    pointer-events: none;















    z-index: 10000;















}































.header-banner h1 {















    animation: glitch 1.5s linear infinite;















}































@keyframes glitch {















  2%,64% {















    transform: translate(2px,0) skew(0deg);















  }















  4%,60% {















    transform: translate(-2px,0) skew(0deg);















  }















  62% {















    transform: translate(0,0) skew(5deg); 















  }















}































.header-banner h1:before,















.header-banner h1:after {















  content: attr(data-text);















  position: absolute;















  left: 0;















  top: 0;















  width: 100%;















  height: 100%;















  background: black;















  overflow: hidden;















}































.header-banner h1:before {















  left: 2px;















  text-shadow: -2px 0 var(--secondary-color);















  animation: glitch-anim-1 2s linear infinite reverse;















}































.header-banner h1:after {















  left: -2px;















  text-shadow: -2px 0 var(--primary-color);















  animation: glitch-anim-2 2s linear infinite reverse;















}































@keyframes glitch-anim-1 {















  0% {















    clip-path: inset(15% 0 86% 0);















  }















  25% {















    clip-path: inset(55% 0 1% 0);















  }















  50% {















    clip-path: inset(23% 0 50% 0);















  }















  75% {















    clip-path: inset(80% 0 1% 0);















  }















  100% {















    clip-path: inset(45% 0 50% 0);















  }















}































@keyframes glitch-anim-2 {















  0% {















    clip-path: inset(83% 0 3% 0);















  }















  25% {















    clip-path: inset(20% 0 30% 0);















  }















  50% {















    clip-path: inset(50% 0 23% 0);















  }















  75% {















    clip-path: inset(3% 0 83% 0);















  }















  100% {















    clip-path: inset(95% 0 1% 0);















  }















}




























