/* Reset default styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Courier New', Courier, monospace;
  overflow: hidden; /* Hide overflow to prevent scrolling */
  background-color: black; /* Set background color to black */
  transition: background-color 1s ease;
}

/* Define custom cursor */
.custom-cursor {
  cursor: url('./assets/cursor/pointer.png'), auto !important;
}

/* Terminal styles */
#terminal {
  position: fixed; /* Fixed position to keep it always visible */
  top: 50px; /* Adjust initial top position as needed */
  left: 50px; /* Adjust initial left position as needed */
  width: 600px; /* Fixed width */
  height: 400px; /* Fixed height */
  background-color: #1e1e1e; /* Terminal background color */
  color: #ffffff; /* Terminal text color */
  border-radius: 10px; /* Rounded corners */
  z-index: 1000; /* Ensure it's above other elements */
  border: 2px solid #4d4d4d; /* Terminal border color */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); /* Terminal shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

@media screen and (max-width: 600px) {
  /* Adjust styles for smaller screens, such as phones */
  #terminal {
      max-width: 90%; /* Increase width for smaller screens */
  }
}
/* Terminal header styles */
#terminal-header {
  background-color: #2d2d2d; /* Header background color */
  border-top-left-radius: 10px; /* Rounded corners for top left */
  border-top-right-radius: 10px; /* Rounded corners for top right */
  padding: 10px; /* Add padding */
  display: flex; /* Use flexbox for layout */
  justify-content: flex-start; /* Align buttons to the left */
  transition: background-color 0.3s; /* Smooth transition for background color */
}

/* Terminal header hover effect */
#terminal-header:hover {
  background-color: #333333; /* Darken header background on hover */
}

/* Terminal buttons styles */
#terminal-buttons {
  display: flex; /* Use flexbox for layout */
  gap: 10px; /* Add gap between buttons */
}

/* Individual terminal button styles */
.terminal-button {
  width: 15px; /* Adjust width as needed */
  height: 15px; /* Adjust height as needed */
  border-radius: 50%; /* Circular shape */
  cursor: pointer; /* Set cursor to pointer */
  transition: background-color 0.3s; /* Smooth transition for background color */
}

/* Terminal button hover effect */
.terminal-button:hover {
  background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent background on hover */
}

/* Close button styles */
#close-button {
  background-color: #FF5F57; /* Close button color */
}

/* Minimize button styles */
#minimize-button {
  background-color: #FFBD2E; /* Minimize button color */
}

/* Maximize button styles */
#maximize-button {
  background-color: #28CA42; /* Maximize button color */
}

/* Terminal content styles */
#terminal-content {
  padding: 20px; /* Add padding */
  height: calc(100% - 40px); /* Adjust for header height and padding */
  overflow-y: auto; /* Enable vertical scrolling if needed */
  user-select: none; /* Disable text selection */
}

/* Terminal text styles */
#terminal-text {
  margin: 0;
  padding: 0;
  font-size: 14px; /* Terminal text size */
  line-height: 1.5; /* Line height */
  overflow: hidden; /* Hide overflow */
  white-space: pre-line; /* Preserve line breaks */
}

/* Video background styles */
#video-background {
  position: fixed; /* Fixed position to cover the entire viewport */
  top: 0;
  left: 0;
  width: 100vw; /* 100% of viewport width */
  height: 100vh; /* 100% of viewport height */
  z-index: -1; /* Behind other content */
}

/* Scan lines effect */
#video-background::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 2px);
  z-index: 1;
  pointer-events: none;
}

/* Video styles */
#myVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.7);  /* Added brightness filter to make video darker */
}

/* Positioning classes */
.top-left {
  top: 0;
  left: 0;
}

.top-right {
  top: 0;
  right: 0;
}

.bottom-left {
  bottom: 0;
  left: 0;
}

.bottom-right {
  bottom: 0;
  right: 0;
}

/* Main blurred box */
#blurred-box {
  position: absolute;
  top: calc(50% - 95px);
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
      0 0 20px rgba(255, 255, 255, 0.3),
      0 15px 35px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(15px);
  padding: 20px;
  z-index: 999;
  text-align: center;
  transition: transform 0.2s ease;
}

#blurred-box:hover {
  transform: translate(-50%, -50%) scale(1.02);
}

/* Profile picture styles */
#blurred-box img {
  width: 80px; /* Adjust size as needed */
  height: 80px; /* Adjust size as needed */
  border-radius: 50%; /* Rounded corners */
  margin-bottom: 20px; /* Adjust margin as needed */
}

/* Links styles */
.links {
  display: none;
}

/* User Description styles */
.user-description {
  margin-top: -35px;
  margin-bottom: 20px;
}

.user-description p {
  margin: 0; /* Remove default margin */
  padding: 10px; /* Add padding */
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
  border-radius: 5px; /* Rounded corners */
  transition: background-color 0.3s; /* Smooth transition for background color */
}

/* User description hover effect */
.user-description:hover p {
  background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent background on hover */
}

#avatar-frame {
  position: absolute; /* Overlay on top of the profile picture */
  top: 15%; /* Adjust to move it higher (e.g., reduce from 50% to 40%) */
  left: 50%; /* Center horizontally within #blurred-box */
  transform: translate(-50%, -50%); /* Adjust for proper centering */
  width: 15% ; /* Slightly larger than the profile picture */
  height: 20%; /* Slightly larger than the profile picture */
  z-index: 1000; /* Ensure it is above the profile picture */
  pointer-events: none; /* Prevent interaction with the frame */
  display: none; /* Initially hidden */
}

.blurred-box-small {
  padding: 8px 15px;
  line-height: 1;
  min-width: fit-content;
  background-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 20px;
  right: 20px;
  transform: none;
  z-index: 1000;
  display: block;
  border-radius: 15px;
}

.heart {
  display: inline-block;
  filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.7));
  text-shadow: 0 0 8px rgba(255, 0, 0, 0.5);
}

#made-with-love {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
      0 0 20px rgba(255, 255, 255, 0.3),
      0 15px 35px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(15px);
  padding: 6px 12px;
  transition: transform 0.2s ease;
  width: fit-content;
  height: fit-content;
  display: inline-block;
}

#made-with-love:hover {
  transform: scale(1.1) rotate(-2deg);
}

#made-with-love p:first-child {
  color: white;
  margin: 2px 0;
  font-size: 0.9em;
  text-align: center;
}

#made-with-love p:last-child {
  color: #888888;
  font-size: 0.7em;
  margin: 0;
  text-align: center;
  font-style: italic;
}

/* Profile container styles */
.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 20px 40px;
}

/* Remove the sparkle effect classes since they're no longer needed */
.sparkle,
.sparkle::after,
@keyframes sparkle {
    /* removing these */
}

.star-effect {
    position: relative;
}

.star-effect::after {
    content: '★';
    position: absolute;
    color: cyan;
    opacity: 0;
    font-size: 0.5em;
    animation: starTwinkle 2s infinite;
}

@keyframes starTwinkle {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        top: 0;
        right: -15px;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
        top: -15px;
        right: 0;
        opacity: 0;
    }
}

/* Add multiple stars with different delays */
.star-effect::before {
    content: '⋆';
    position: absolute;
    color: cyan;
    opacity: 0;
    font-size: 0.6em;
    animation: starTwinkle 2s infinite 1s;
    left: -10px;
}

.sprinkle-effect {
    position: relative;
    overflow: hidden;
}

.sprinkle-effect::before {
    display: none;
}

.sparkle-name {
    position: relative;
    z-index: 2;
}

@keyframes continuousSparkle {
    0% {
        opacity: 0;
        transform: translate(0, 0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: 
            translate(
                calc(cos(var(--base-angle)) * var(--distance)),
                calc(sin(var(--base-angle)) * var(--distance))
            );
    }
}

/* Ensure dots are crisp */
.sparkle-name span {
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: none;
}

.sparkle-name::after,
.sparkle-name::before {
    display: none;
}

/* Additional sparkles using pseudo elements of child spans */
.sparkle-name span {
    position: absolute;
    top: 0;
    left: 30%;
}

.sparkle-name span::after {
    display: none;
}

.sparkle-name span:last-child {
    left: 70%;
}

.sparkle-name span:last-child::after {
    animation-delay: 1s;
}

.sparkle-text {
    background-image: none;
    color: inherit;
}

.terminal:hover {
    transform: scale(1.02) rotate3d(1, 1, 0, 2deg);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 255, 255, 0.1);
}

#background-video {
    opacity: 0;
    transition: opacity 1s ease;
}

.content {
    opacity: 0;
    transition: opacity 1s ease;
}

.terminal {
    background-color: black;
    color: #00ff00;
    font-family: monospace;
    padding: 20px;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.terminal-content {
    line-height: 1.5;
}

.line {
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.prefix {
    color: #00ff00;
    margin-right: 10px;
}

.command {
    color: #ffffff;
}

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

.box-width {
    position: relative;
    margin: 0 auto;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.1s ease;
}

.bg-style {
    background-color: var(--box-color);
    backdrop-filter: blur(var(--box-blur));
    border-radius: var(--box-radius);
    border: var(--border-width) var(--border-style) var(--border-color);
}

.page-enter-animation {
    animation: pageEnter 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

@keyframes pageEnter {
    0% {
        opacity: 0;
        transform: scale(0.94);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.table {
    position: relative;
    width: 100%;
    height: 100%;
    display: table;
}

.table-cell {
    display: table-cell;
    padding: 5rem 1rem;
    vertical-align: middle;
}

.discord-username {
  position: relative;
  z-index: 2;
}

.discord-username::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  height: 200%;
  background-image: url('https://r2.fakecrime.bio/assets/sparkles/lightblue.gif');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  opacity: 0.7;
}

/* Audio Player Styles */
.audio-player {
  margin-top: 40px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
      0 0 20px rgba(255, 255, 255, 0.3),
      0 15px 35px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(15px);
  color: white;
  text-align: left;
}

.player-content {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0;
  height: 100%;
}

.player-logo {
  width: 65px;
  height: 65px;
  border-radius: 12px;
  object-fit: cover;
  margin-top: -5px;
}

.player-info {
  flex: 1;
  position: relative;
}

.song-info {
  margin-bottom: 0;
  margin-top: 0;
  position: relative;
  z-index: 999;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin: 20px 0 6px 0;  /* Increased top margin to move timeline down */
  cursor: pointer;
  position: relative;
}

.progress {
  width: 0%;
  height: 100%;
  background-color: white;
  border-radius: 2px;
  transition: width 0.1s linear;
}

.time-info {
  position: absolute;
  bottom: 5px;
  font-size: 0.8em;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.current-time {
  order: 1;
  margin-left: 0;
}

.duration {
  order: 2;
  margin-right: 0;
}

/* Audio Player Box */
#spotify-box {
  position: fixed;
  top: calc(50% + 135px);  /* Changed from +60px to +135px */
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
      0 0 20px rgba(255, 255, 255, 0.3),
      0 15px 35px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(15px);
  padding: 12px 15px 3px 15px;  /* Reduced top and bottom padding */
  z-index: 999;
  display: none;
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.2s ease;
}

/* Adjust player content padding to account for new width */
.player-content {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0;  /* Removed padding since parent now matches main box width */
}

.player-logo {
  width: 65px;  /* Reduced from 70px */
  height: 65px;  /* Reduced from 70px */
  border-radius: 12px;
  object-fit: cover;
  margin-top: -5px;
  align-self: center;
}

#spotify-box:hover {
  transform: translate(-50%, 0) scale(1.02);
}

/* Small boxes container */
.small-boxes-container {
  position: fixed;
  top: calc(50% + 70px);  /* Changed from +75px to +70px */
  left: 50%;
  transform: translateX(-50%);
  width: calc(30% + 40px);
  display: flex;
  gap: 15px;
  z-index: 999;
  display: none;
}

/* Individual small boxes */
.small-box {
  flex: 1;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
      0 0 20px rgba(255, 255, 255, 0.3),
      0 15px 35px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(15px);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease;
  text-decoration: none;
}

.small-box i {
  color: white;
  font-size: 22px;
  transition: color 0.2s ease;
}

.small-box:hover {
  transform: scale(1.05);
}

.small-box:hover i {
  color: cyan;
}

/* Song title color */
.song-title {
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 1em;
  display: inline-block;
}

.song-title:hover {
  color: cyan;
  transform: scale(1.05);
}

/* Controls styling */
.player-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.pause-button {
  color: white;
  cursor: pointer;
  font-size: 20px;
  position: absolute;
  left: 50%;
  top: 0;  /* Adjusted from -3px to 0 */
  transform: translateX(-50%);
  z-index: 1000;
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  right: 15px;
  top: 0;
  flex-direction: row-reverse;
}

.volume-slider {
  width: 80px;
  height: 4px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  outline: none;
  margin: 0;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.5),
              0 0 10px rgba(255, 255, 255, 0.3);
  transition: box-shadow 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7),
              0 0 15px rgba(255, 255, 255, 0.5);
}

.volume-icon {
  color: white;
  font-size: 14px;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
}

.main-controls {
  position: relative;
  padding-top: 5px;
  height: 50px;
}

.status-box {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.8em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
}

/* Text colors */
.white {
  color: #ffffff;
}

.red {
  color: #ff4444;
}

.blue {
  color: #4477ff;
}

.light-blue {
  color: #66a3ff;
}

/* First status box */
.status-box:first-child {
  left: 20px;
  top: 20px;
}

/* Second status box */
.status-box-2 {
  left: 20px;
  top: 50px;
}

/* Third status box */
.status-box-3 {
  left: 20px;
  top: 80px;
}

/* Fourth status box */
.status-box-4 {
  left: 20px;
  top: 110px;
}

.status-separator {
  color: rgba(255, 255, 255, 0.7);
}

.view-counter {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.8em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.view-icon {
  color: white;
}

.view-count {
  color: white;
  font-weight: 500;
}

.ip-line {
    cursor: default;
    position: relative;
}

.ip-line:hover {
    color: transparent;
}

.ip-line:hover::after {
    content: attr(data-ip);
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
}

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

.terminal-text span:last-child {
    font-style: italic;
    animation: pulse 1.5s ease-in-out infinite;
}

.status-indicator {
    position: absolute;
    bottom: 25px;  /* Changed from 0 to 25px */
    right: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #18191c;
}

.status-indicator.online { background-color: #3ba55c; }
.status-indicator.idle { background-color: #faa81a; }
.status-indicator.dnd { background-color: #ed4245; }
.status-indicator.offline { background-color: #747f8d; }

.badge-container {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
}

.discord-badge {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Add this to your profile picture container */
.profile-picture-container {
    position: relative;
}

.status-text {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.status-text:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  transform: scale(1.05);
}