.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* When visible, override opacity */
.refresh-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.refresh-modal.show {
  opacity: 1;
  pointer-events: all;
}

.refresh-modal .modal-content {
  background: #111;
  color: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}
.device-alert {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Segoe UI', sans-serif;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  pointer-events: none;
}

.device-alert.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.device-alert-content {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #fff;
  padding: 2rem 2.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 30px rgba(255,255,255,0.1);
  animation: floatUp 1.2s ease;
}

.device-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.glow {
  color: white;
  text-shadow:
    0 0 5px #fff,
    0 0 10px #fff,
    0 0 20px #aaa,
    0 0 30px #fff;
}

@keyframes floatUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
        :root {
            --primary-color: #00000091;
            --secondary-color: #949494;
            --dark-color: #121212;
            --light-color: #f8f9fa;
            --accent-color: #000000;
            --text-color: #e0e0e0;
            --gradient-bg: linear-gradient(135deg, #a9a8aa 0%, #424242 100%);
        }
        body.allow-scroll {
  overflow-y: auto;
  overflow-x: hidden;
}
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}
body {
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE/Edge */
}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }
        
        body {
            margin: 0;
      background: var(--dark-color);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--text-color);
            min-height: 100vh;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */

            cursor: default;
            scrollbar-width: none; /* Firefox */
        }
        body::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
        /* Custom cursor */
        body.custom-cursor {
            cursor: url('media/1.cur'), auto;
        }
        
        /* Background video container */
        .bg-video-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
        }
        
        .bg-video-container::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.65);
        }
        
        .bg-video-container video {
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            object-fit: cover;
        }
        
        /* Preloader */
    .preloader {
      position: fixed;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-color: rgb(0, 0, 0);
      z-index: 1000;
      transition: opacity 0.5s ease, visibility 0.5s ease;
    }

    .preloader.hidden {
      opacity: 0;
      visibility: hidden;
    }
    .loader-bar {
      width: 300px;
      height: 10px;
      background: rgba(233, 233, 233, 0.082);
      border-radius: 5px;
      overflow: hidden;
      margin-bottom: 10px;
    }

    .loader-fill {
      height: 100%;
      width: 0%;
      background: rgba(233, 233, 233, 0.719);
      transition: width 0.3s ease;
    }


    .preloader-text {
      font-size: 1.2rem;
    }

        
.loader {
  width: 60px;
  height: 60px;
  border: 3px solid transparent;
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}


        .preloader-text {
            margin-top: 15px;
            font-size: 1.2rem;
            letter-spacing: 2px;
            color: var(--text-color);
        }
        

        /* Main container */
        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 10;
        }
        .section-padding {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}
        
        /* Header */
        header {
            padding: 20px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--light-color);
            text-decoration: none;
        }
        
        .logo span {
            color: rgba(228, 228, 228, 0.719);
        }
        
        .nav-toggle {
            display: none;
            background: transparent;
            border: none;
            color: var(--light-color);
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav ul li {
            margin-left: 30px;
        }
        
        nav ul li a {
            color: var(--text-color);
            text-decoration: none;
            font-size: 1rem;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }
        
        nav ul li a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-color);
            transition: width 0.3s ease;
        }
        
        nav ul li a:hover {
            color: var(--primary-color);
        }
        
        nav ul li a:hover::after {
            width: 100%;
        }
        
        /* Main content */
        .main-content {
            min-height: calc(100vh - 80px);
            display: flex;
            align-items: center;
            position: relative;
        }
        
        .profile-card {
            width: 100%;
            background:  var(--primary-color);
            backdrop-filter: blur(15px);
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
            overflow: hidden;
            padding: 40px;
            margin: 40px 0;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .profile-header {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 30px;
            width: 100%;
        }
        
.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}
        
        .profile-img:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 20px rgba(250, 250, 250, 0.4);
        }
        
        .profile-info {
            text-align: center;
            margin: 20px 0;
        }
        
        .profile-name {
            font-size: 2rem;
            font-weight: 700;
            color: var(--light-color);
            margin-bottom: 10px;
            letter-spacing: 1px;
        }
        
        .profile-tagline {
            font-size: 1.2rem;
            font-weight: 400;
            color: var(--secondary-color);
            margin-bottom: 20px;
        }
        
        .profile-bio {
            font-size: 1rem;
            line-height: 1.6;
            max-width: 700px;
            margin: 0 auto 30px;
            color: var(--text-color);
        }
.toast {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(-30px);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  padding: 16px 28px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.device-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 1rem 1.25rem;
  border: 1px solid white;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255,255,255,0.2);
  z-index: 9999;
  opacity: 0;
  transition: all 0.5s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  backdrop-filter: blur(8px);
  font-family: 'Segoe UI', sans-serif;
  text-align: left;
  max-width: 90%;
  font-size: 0.95rem;
}

.device-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}



/* CSS PC icon */
.pc-icon {
  width: 24px;
  height: 16px;
  border: 2px solid white;
  border-radius: 3px;
  background: transparent;
  position: relative;
  box-shadow:
    0 0 6px rgba(255,255,255,0.3),
    0 0 10px rgba(255,255,255,0.15);
  animation: pulse 1.4s infinite ease-in-out;
  flex-shrink: 0;
}

.pc-icon::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 2px;
  width: 80%;
  height: 4px;
  background: white;
  border-radius: 2px;
}

.toast-text {
  line-height: 1.4;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 4px white; }
  50% { box-shadow: 0 0 8px white; }
}




/* Pure CSS PC icon */
.pc-icon {
  width: 36px;
  height: 24px;
  border: 2px solid white;
  border-radius: 4px;
  position: relative;
  background: transparent;
  box-shadow:
    0 0 8px rgba(255,255,255,0.4),
    0 0 16px rgba(255,255,255,0.2);
  animation: pulse 1.5s infinite;
}

.pc-icon::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 6px;
  background: white;
  border-radius: 0 0 4px 4px;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 4px white; }
  50%  { box-shadow: 0 0 8px white; }
  100% { box-shadow: 0 0 4px white; }
}


        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 24px;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            margin: 0 10px 10px 0;
        }
        #dynamic-typewriter::after {
  content: '|';
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

        .btn-primary {
            background: var(--gradient-bg);
            color: white;
            border: none;
            box-shadow: 0 5px 15px rgba(158, 158, 158, 0.3);
        }
        
        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(180, 180, 180, 0.4);
        }
        
        .btn-outline {
            background: transparent;
            color: var(--light-color);
            border: 2px solid var(--primary-color);
        }
        
        .btn-outline:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-3px);
        }
        
        .btn i {
            margin-right: 8px;
        }
        
        /* Social links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: -10px; /* Pull it up slightly */
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: -10px; /* Pull it up slightly */
}

.social-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 10px 10px 0 10px; /* Reduce top margin */
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.1); /* Default glow */
    color: #fff; /* Set icon color to white */
}

.social-button:hover {
    transform: scale(1.2); /* Increase size slightly */
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); /* Apply stronger glow */
}

.social-button i {
    font-size: 1.8rem;
    color: white; /* Ensure icons are white */
}

.social-button img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.social-button:hover img {
    transform: scale(1.2);
}

        
        .social-button:nth-child(1) {
            color: #c2c2c2; /* Discord */
        }
        
        .social-button:nth-child(2) {
            color: #c2c2c2; /* OF */
        }
        
        .social-button:nth-child(3) {
            color: #c2c2c2; /* Spotify */
        }
        
        .social-button:nth-child(4) {
            color: #c2c2c2; /* Telegram */
        }
        
        .social-button::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            transform: scale(0);
            transition: all 0.3s ease;
        }

        
        .social-button:hover::before {
            transform: scale(1.3);
            opacity: 0;
        }
        /* Features section */
        .features {
            margin: 30px 0;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }
        
        .feature-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            padding: 25px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }
        
        .feature-icon {
            width: 60px;
            height: 60px;
            background: var(--gradient-bg);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 15px;
            margin-bottom: 20px;
            font-size: 1.8rem;
            color: white;
        }
        
        .feature-title {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 15px;
            color: var(--light-color);
        }
        
        .feature-text {
            font-size: 0.95rem;
            line-height: 1.6;
            color: var(--text-color);
        }
        
        /* Message form */
        .message-form {
            background: var(--primary-color);
            padding: 30px;
            border-radius: 15px;
            margin: 30px 0;
        }
        
        .form-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 20px;
            color: var(--light-color);
        }
        
        .input-group {
            margin-bottom: 20px;
            position: relative;
        }
        
        .input-group label {
            display: block;
            margin-bottom: 8px;
            font-size: 0.9rem;
            color: var(--text-color);
        }
        
        .input-group input,
        .input-group textarea {
            width: 100%;
            padding: 12px 15px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            color: var(--light-color);
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .input-group input:focus,
        .input-group textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            background: rgba(255, 255, 255, 0.08);
        }
        
        .input-group textarea {
            min-height: 100px;
            resize: vertical;
        }
        
        /* Music player */
        .music-player {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            padding: 25px;
            margin: 30px 0;
        }
        
        .music-player-title {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 20px;
            color: var(--light-color);
        }
        
        .player-controls {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 15px;
        }
        
        .control-button {
            background: transparent;
            border: none;
            color: var(--light-color);
            font-size: 1.5rem;
            cursor: pointer;
            transition: color 0.3s ease;
        }
        
        .control-button:hover {
            color: var(--primary-color);
        }
        
        .play-pause {
            width: 50px;
            height: 50px;
            background: var(--gradient-bg);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .play-pause:hover {
            transform: scale(1.1);
        }
        
        .progress-container {
            height: 5px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 5px;
            margin: 15px 0;
            cursor: pointer;
        }
        
        .progress {
            height: 100%;
            width: 0;
            background: var(--primary-color);
            border-radius: 5px;
            transition: width 0.1s linear;
        }
        
        .song-info {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .song-img {
            width: 60px;
            height: 60px;
            border-radius: 8px;
            object-fit: cover;
            margin-right: 15px;
        }
        
        .song-details {
            flex: 1;
        }
        
        .song-name {
            font-size: 1.1rem;
            font-weight: 500;
            margin-bottom: 5px;
            color: var(--light-color);
        }
        
        .song-artist {
            font-size: 0.9rem;
            color: var(--text-color);
        }
        
        /* Gallery */
        .gallery {
            margin: 30px 0;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
        }
        
        .gallery-item {
            height: 200px;
            border-radius: 12px;
            overflow: hidden;
            position: relative;
            cursor: pointer;
        }
        
        .gallery-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .gallery-item:hover .gallery-img {
            transform: scale(1.1);
        }
        
        .gallery-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }
        
        .overlay-icon {
            color: white;
            font-size: 2rem;
        }
        
        /* Modal */
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 9999;
            display: flex;
            align-items: center;
            pointer-events: auto;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s;
        }
        
        .modal.open {
            opacity: 1;
            visibility: visible;
        }
        
        .modal-content {
            max-width: 80%;
            max-height: 80%;
            position: relative;
        }
        
        .modal-img {
            max-width: 100%;
            max-height: 80vh;
            border-radius: 8px;
        }
        
        .close-modal {
            position: absolute;
            top: -30px;
            right: -30px;
            font-size: 2rem;
            color: white;
            background: transparent;
            border: none;
            cursor: pointer;
        }
        
        /* Footer */
        footer {
            background: rgba(0, 0, 0, 0.3);
            padding: 30px 0;
            margin-top: 50px;
            text-align: center;
        }
        
        .footer-content {
            max-width: 600px;
            margin: 0 auto;
        }
        
        .footer-text {
            font-size: 0.9rem;
            line-height: 1.6;
            color: var(--text-color);
            margin-bottom: 20px;
        }
        
        .copyright {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.5);
        }
        

        
        /* Animated background */
        .animated-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
            overflow: hidden;
        }
        
        .animated-bg span {
            position: absolute;
            display: block;
            width: 20px;
            height: 20px;
            background:  #000000ce;
            animation: animate 25s linear infinite;
            bottom: -150px;

            border-radius: 50%;
        }
        
        @keyframes animate {
            0% {
                transform: translateY(0) rotate(0deg);
                opacity: 1;
                border-radius: 0;
            }
            100% {
                transform: translateY(-1000px) rotate(720deg);
                opacity: 0;
                border-radius: 50%;
            }
        }
        
        /* Night mode toggle */
        .night-mode-toggle {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 100;
            transition: all 0.3s ease;
        }
        
        .night-mode-toggle:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        
        .night-mode-toggle i {
            font-size: 1.5rem;
            color: var(--light-color);
        }
        
        /* Typewriter effect */
        .typewrite {
            overflow: hidden;
            border-right: 2px solid var(--primary-color);
            white-space: nowrap;
            margin: 0 auto;
            animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
            display: inline-block;
        }
        
        @keyframes typing {
            from { width: 0 }
            to { width: 100% }
        }
        
        @keyframes blink-caret {
            from, to { border-color: transparent }
            50% { border-color: var(--primary-color) }
        }
        
        /* Mobile responsive */
        @media (max-width: 992px) {
            .nav-toggle {
                display: block;
            }
            
            nav {
                position: fixed;
                top: 0;
                right: -100%;
                width: 70%;
                height: 100vh;
                background: rgba(18, 18, 18, 0.95);
                backdrop-filter: blur(10px);
                z-index: 1000;
                transition: right 0.3s ease;
            }
            
            nav.active {
                right: 0;
            }
            
            nav ul {
                flex-direction: column;
                justify-content: center;
                align-items: center;
                height: 100%;
            }
            
            nav ul li {
                margin: 15px 0;
            }
            
            nav ul li a {
                font-size: 1.2rem;
            }
            
            .close-nav {
                position: absolute;
                top: 20px;
                right: 20px;
                font-size: 1.5rem;
                background: transparent;
                border: none;
                color: var(--light-color);
                cursor: pointer;
            }
            
            .profile-header {
                flex-direction: column;
                text-align: center;
            }
            
            .profile-img {
                margin-bottom: 20px;
            }
            
            .social-links {
                justify-content: center;
            }
        }
        
        @media (max-width: 768px) {
            .profile-name {
                font-size: 1.8rem;
            }
            
            .profile-tagline {
                font-size: 1rem;
            }
            
            .btn {
                padding: 10px 20px;
                font-size: 0.9rem;
            }
            
            .feature-card {
                padding: 20px;
            }
            
            .feature-title {
                font-size: 1.1rem;
            }
            
            .gallery {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }
        }
        
        /* Dark mode / Light mode */
        body.light-mode {
            background-color: #f0f2f5;
            color: #333;
        }
        
        body.light-mode .profile-card {
            background: rgba(255, 255, 255, 0.85);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        }
        
        body.light-mode .profile-name {
            color: #333;
        }
        
        body.light-mode .profile-bio {
            color: #555;
        }
        
        body.light-mode .feature-card,
        body.light-mode .message-form,
        body.light-mode .music-player {
            background: rgba(255, 255, 255, 0.7);
        }
        
        body.light-mode .feature-title,
        body.light-mode .form-title,
        body.light-mode .music-player-title {
            color: #333;
        }
        
        body.light-mode .feature-text,
        body.light-mode .input-group label {
            color: #555;
        }
        
        body.light-mode .input-group input,
        body.light-mode .input-group textarea {
            background: rgba(255, 255, 255, 0.5);
            border: 1px solid rgba(0, 0, 0, 0.1);
            color: #333;
        }
        
        body.light-mode .control-button {
            color: #333;
        }
        
        body.light-mode .song-name {
            color: #333;
        }
        
        body.light-mode .song-artist {
            color: #555;
        }
        
        body.light-mode .animated-bg span {
            background:  #000000ce;
        }
        
        body.light-mode footer {
            background:  #000000ce;
        }
        
        body.light-mode .footer-text {
            color: #555;
        }
        
        body.light-mode .copyright {
            color: rgba(0, 0, 0, 0.5);
        }
        
        body.light-mode .night-mode-toggle i {
            color: #333;
        }
.overlay {
  --primary-color: #c7c7c7;
  --text-color: #ffffff;
  --dark-color: #1a1a1a;
  --accent-color: #202020;      
  position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at center, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.95));
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      z-index: 999;
      transition: opacity 1s ease, visibility 1s ease;
    }
    .overlay.hidden {
      opacity: 0;
      visibility: hidden;
    }

    .overlay h1 {
      font-size: 3rem;
      animation: fadeInMove 1s ease forwards;
      margin-bottom: 1rem;
      color: var(--primary-color);
    }

    .overlay p {
      font-size: 1.2rem;
      opacity: 0.8;
      animation: fadeInMove 1.5s ease forwards;
      color: var(--text-color);
      margin-bottom: 2rem;
    }
.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1); /* Normal size */
    background-color: rgba(0, 0, 0, 0.0); /* Subtle dark background with transparency */
    color: #FFFFFF; /* Bright white text */
    font-family: 'Montserrat', sans-serif; /* Clean modern font */
    font-size: 2rem;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 10px; /* Smooth corners for a polished look */
    letter-spacing: 1px; /* Subtle spacing for clarity */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Soft shadow for depth */
    opacity: 1; /* Fully visible */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

/* Animation on hover */
.overlay-text:hover {
    transform: translate(-50%, -50%) scale(1.1); /* Scale up slightly on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4); /* Stronger shadow on hover */
}

/* Keyframes for fade-in and scale-up on load */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8); /* Start smaller and invisible */
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1); /* End at full size and visible */
    }
}
        @import"https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap";


    .overlay button {
      padding: 0.8rem 1.5rem;
      font-size: 1rem;
      color: white;
      background: var(--primary-color);
      border: none;
      border-radius: 30px;
      cursor: pointer;
      box-shadow: 0 4px 15px rgba(192, 192, 192, 0.2);
      transition: transform 0.3s ease;
    }

    .overlay button:hover {
      transform: scale(1.1);
    }

    @keyframes fadeInMove {
      0% { opacity: 0; transform: translateY(20px); }
      100% { opacity: 1; transform: translateY(0); }
    }
.blur-box {
  width: 340px;
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.07),
    0 0 40px rgba(255, 255, 255, 0.05),
    inset 0 0 10px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeInScale 1s ease forwards;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}


.blur-box h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

.blur-box p {
  font-size: 1.05rem;
  color: #ccc;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #aaa;
  animation: typing 2.8s steps(30, end), blink 0.8s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  0%, 100% { border-color: transparent }
  50% { border-color: #aaa }
}


/* Glow effect for the button */
.blur-box button {
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #222, #111);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  animation: pulse-glow 2s ease-in-out infinite alternate;
  transition: all 0.3s ease;
}

.blur-box button:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, #333, #111);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.4),
              0 0 30px rgba(255, 255, 255, 0.2);
}

@keyframes pulse-glow {
  from {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
  }
  to {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  }
}

/* Entrance animation */
@keyframes fadeInScale {
  0% {
    transform: scale(0.9) translateY(30px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.warning-text {
  color: red !important;
text-shadow: 0 0 1px red, 0 0 2px red !important;
  font-weight: bold !important;
}


@keyframes glow {
  from {
    text-shadow: 0 0 5px red, 0 0 10px red;
  }
  to {
    text-shadow: 0 0 20px red, 0 0 30px red;
  }
}


.blur-box button {
  animation: pulse-glow 2s ease-in-out infinite alternate;
}


.profile-visualizer-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto;
}



#visualizer {
  position: absolute;
  top: 0;
  left: 0;
  width: 160px;
  height: 160px;
  z-index: 1;
  pointer-events: none;
}


/* Modern buttons */
.modern-btn {
  background: black;
  color: white;
  padding: 10px 20px;
  border: 2px solid white;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  font-size: 0.9rem;
}

.modern-btn:hover {
  background: white;
  color: black;
}

.modern-btn.outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.modern-btn.outline:hover {
  background: white;
  color: black;
}

/* Refresh Modal */
.refresh-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
}

.refresh-modal .modal-content {
  background: #111;
  color: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.modal-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
}


.reset-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.reset-btn {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid white;
  padding: 12px 24px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

.reset-btn:hover {
  background: white;
  color: black;
  transform: scale(1.05);
}



:root {

    --font-family: "Poppins", sans-serif;

    --color-background: hsl(0, 0%, 3%);

    --color-background-soft: hsl(0, 0%, 5%);

    --color-background-mute: hsl(0, 0%, 13%);

    --color-border: hsla(0, 0%, 33%, .65);

    --color-border-hover: hsla(0, 0%, 33%, .65);

    --color-heading: hsl(30, 50%, 98%);

    --color-text: hsla(0, 0%, 92%, .9);

    --color-discord: hsl(210, 100%, 50%)

}



body {

    font-family: var(--font-family);

    font-size: 16px;

    font-weight: 400;

    line-height: 1.5;

    color: var(--color-text);

    background-color: var(--color-background);

    margin: 0;

    padding: 0;

    -webkit-font-smoothing: antialiased;

    -moz-osx-font-smoothing: grayscale;

    scroll-behavior: smooth;

    overflow-x: hidden;

    user-select: none;

    overflow: -moz-scrollbars-none;

    -ms-overflow-style: none

}





/* Import Montserrat font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
.spinner-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 0.6s linear infinite; /* faster spin */
  animation: spin 0.6s linear infinite, glow 1.5s ease-in-out infinite alternate;
  box-shadow: 0 0 8px rgba(0, 255, 200, 0.4);
 margin-bottom: 20px;
  transform: translateY(-3px); /* moves it up 3 pixels */
}/* Makes the spinner rotate */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Adds a glow-pulse effect */
    @keyframes glow {
  from {
    box-shadow: 0 0 5px rgba(199, 199, 199, 0.3);
  }
  to {
    box-shadow: 0 0 15px rgba(233, 233, 233, 0.7);
  }
}

html, body {
  /* REMOVE overflow: hidden */
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
  scroll-behavior: smooth;
}

html::-webkit-scrollbar, 
body::-webkit-scrollbar {
  display: none;             /* Chrome, Safari, Opera */
}
.playlist-items-modern {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.playlist-items-modern {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.playlist-card {
  background: var(--primary-color);
  backdrop-filter: blur(6px);
  color: var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.playlist-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.playlist-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.track-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--light-color);
}

.track-artist {
  font-size: 0.9rem;
  color: var(--secondary-color);
}

.track-duration {
  font-size: 0.9rem;
  color: var(--text-color);
}

.track-links {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.track-links a {
  font-size: 1.4rem;
  color: white; /* solid white icons */
  opacity: 0.8;
  transition: color 0.3s, transform 0.3s, opacity 0.3s;
}

.track-links a:hover {
  color: white;
  transform: scale(1.15);
  opacity: 1;
}
        /* Reset and basic styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        /* Counter widget styles - compact for bio display */
        .visitor-counter {
            display: inline-flex;
            z-index: 999;
            align-items: center;
            background-color: black;
            color: white;
            border: 1px solid white;
            border-radius: 15px;
            padding: 4px 10px;
            font-family: 'Courier New', monospace;
            box-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
            max-width: 120px;
            margin: 0;
            overflow: hidden;
        }

        /* Mini eye container */
        .mini-eye {
            position: relative;
            width: 18px;
            z-index: 999;
            height: 18px;
            margin-right: 6px;
            overflow: hidden;
        }

        /* Eye design */
        .eye-ball {
            position: absolute;
            width: 18px;
            z-index: 999;
            height: 18px;
            background-color: white;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .pupil {
            width: 8px;
            z-index: 999;
            height: 8px;
            background-color: black;
            border-radius: 50%;
            position: relative;
            transition: all 0.2s ease;
        }

        /* Eyelids for blinking */
        .eyelid {
            position: absolute;
            width: 18px;
            height: 9px;
            z-index: 999;
            background-color: black;
            border-radius: 18px 18px 0 0;
            z-index: 2;
        }

        .eyelid-top {
            top: -9px;
            z-index: 999;
            transform-origin: bottom;
        }

        .eyelid-bottom {
          z-index: 999;
            bottom: -9px;
            transform-origin: top;
            border-radius: 0 0 18px 18px;
        }

        /* Counter number */
        .count {
          z-index: 999;
            font-size: 14px;
            letter-spacing: 1px;
            text-shadow: 0 0 3px rgba(255, 255, 255, 0.4);
        }

        /* Blinking animation */
        @keyframes blink {
            0%, 100% { transform: translateY(0); }
            95% { transform: translateY(0); }
            98% { transform: translateY(5px); }
        }

        @keyframes blink-bottom {
            0%, 100% { transform: translateY(0); }
            95% { transform: translateY(0); }
            98% { transform: translateY(-5px); }
        }

        .blinking .eyelid-top {
            animation: blink 5s infinite;
        }

        .blinking .eyelid-bottom {
            animation: blink-bottom 5s infinite;
        }
        .visitor-counter-up {
  margin-top: -1000px; /* Adjust as needed */
}