/* === RETRO GLOBAL STYLES === */
* {
  color: #00ff29;
  text-shadow: 0 0 4px #00ff3c;
  font-family: 'Press Start 2P', monospace;
}

body {
  font-family: 'Press Start 2P', monospace;
  margin: 0;
  padding: 0;
  background-color: #000;
  background-image: radial-gradient(
    rgba(10, 20, 10, 0.5) 1px, 
    transparent 4px
  );
  background-size: 30px 30px;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* === CRT EFFECT === */
.crt-filter {
  position: relative;
  overflow: hidden;
}

.scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 60, 0, 0.05) 0%,
    rgba(0, 60, 0, 0.05) 50%,
    rgba(0, 0, 0, 0.05) 51%,
    transparent 100%
  );
  background-size: 100% 4px;
  z-index: 999;
  pointer-events: none;
  animation: scanline 8s linear infinite;
}

.glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 998;
  pointer-events: none;
  box-shadow: 
    inset 0 0 80px rgba(0, 255, 50, 0.1),
    inset 0 0 30px rgba(0, 255, 50, 0.15),
    inset 0 0 15px rgba(0, 255, 50, 0.2);
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  background: rgba(0, 255, 50, 0.7) !important;
  border-radius: 0 !important;
  pointer-events: none;
  box-shadow: 0 0 5px rgba(0, 255, 50, 0.8);
}

.profile {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
  padding: 30px;
  border: 3px solid #00ff29 !important;
  background: none !important;
  box-shadow: 
    0 0 15px rgba(0, 255, 50, 0.5),
    inset 0 0 15px rgba(0, 255, 50, 0.3) !important;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #00ff29, #00ff29, #00ff29);
}

.avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #00ff29;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.avatar-container {
  position: relative;
}

.verified-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: #00ff29 !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #00ff29;
  z-index: 2;
}

.verified-icon {
  width: 18px;
  height: 18px;
}

.stat-container {
  flex: 1;
}

h1 {
  font-size: 3rem;
  margin: 0 0 10px;
  position: relative;
  display: inline-block;
  background: linear-gradient(to right, #00ff29, #00ff29);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.username {
  font-size: 1.5rem;
  opacity: 0.8;
  margin-bottom: 20px;
  display: block;
  color: #008811;
}

.stats {
  display: flex;
  gap: 30px;
  margin-bottom: 0;
  background: rgba(0, 30, 0, 0.7) !important;
  padding: 15px;
  border-radius: 15px;
  width: fit-content;
  border: 2px solid #00ff29 !important;
  box-shadow: none !important;
}

.stat {
  text-align: center;
  min-width: 100px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(0, 30, 0, 0.7) !important;
  border: 2px solid #00ff29 !important;
  box-shadow: none !important;
}

.stat-value {
  font-size: 24px;
  font-weight: bold;
  color: #00ff29;
  margin-bottom: 5px;
}

.stat-label {
  color: #008811;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2rem;
  margin: 40px 0 20px;
  position: relative;
  padding-bottom: 10px;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background: #00ff29 !important;
  border-radius: 2px;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.project-card {
  background: rgba(0, 30, 0, 0.7) !important;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 2px solid #00ff29 !important;
  box-shadow: none !important;
}

.project-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: #00ff29;
}

.project-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.5s ease;
  image-rendering: pixelated;
  border-bottom: 2px solid #00ff29;
}

.project-card:hover .project-thumb {
  transform: scale(1.05);
}

.project-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-title:hover {
  color: #00ff29;
}

.project-stats {
  display: flex;
  gap: 15px;
  margin-top: auto;
  padding-top: 15px;
}

.project-stat {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.project-stat-badge {
  font-size: 0.7rem;
  background: rgba(0, 114, 255, 0.3);
  padding: 2px 8px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 3px;
  color: #00ff29;
}

.followers-section {
  margin-bottom: 80px;
}

.followers-container {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 5px;
}

.followers-container::-webkit-scrollbar {
  width: 8px;
}

.followers-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.followers-container::-webkit-scrollbar-thumb {
  background: rgba(0, 198, 255, 0.4);
  border-radius: 10px;
}

.followers-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.overflow-message {
  font-size: 0.9rem;
  opacity: 0.7;
  text-align: right;
  padding-left: 10px;
}

.followers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.follower {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: rgba(0, 30, 0, 0.7) !important;
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 2px solid #00ff29 !important;
  box-shadow: none !important;
}

.follower:hover {
  background: rgba(0, 30, 0, 0.9) !important;
  transform: translateX(5px);
}

.follower img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00ff29 !important;
  image-rendering: pixelated;
}

.follower div {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.follower-username {
  transition: color 0.3s;
  display: block;
  color: #008811;
}

.follower:hover .follower-username {
  color: #00ff29;
}

.time-weather-controls {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px;
  border-radius: 15px;
  backdrop-filter: blur(5px);
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.volume-container label {
  font-size: 1.5rem;
  opacity: 0.8;
}

.volume-slider {
  width: 120px;
  height: 5px;
  -webkit-appearance: none;
  background: #485669;
  border-radius: 5px;
  outline: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 0 !important;
  background: #00ff29 !important;
  cursor: pointer;
  box-shadow: none !important;
}

.volume-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 0 !important;
  background: #00ff29 !important;
  cursor: pointer;
  box-shadow: none !important;
  border: none;
}

.audio-controls,
.visualizer,
.bar,
.control-button {
  display: none;
}

.time-controls {
  display: none;
}

/* === FOOTER BUTTONS CONTAINER === */
.footer-buttons {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* === WISHES BUTTON === */
.wishes-container {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 80px;
}

.wish-button {
  display: inline-block;
  position: relative;
  padding: 15px 30px;
  border: 3px solid #00ff29;
  background: rgba(0, 30, 0, 0.7);
  color: #00ff29;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-family: 'Press Start 2P', monospace;
}

.wish-button:hover {
  background: rgba(0, 60, 0, 0.9);
  text-shadow: 0 0 10px rgba(0, 255, 50, 0.8);
  transform: translateY(-3px);
}

.pulse-button {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #00ff29;
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 0 0 rgba(0, 255, 50, 0.7);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 50, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 255, 50, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 50, 0);
  }
}

/* === MODAL STYLES === */
.retro-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.retro-modal {
  width: 90%;
  max-width: 600px;
  background: rgba(0, 30, 0, 0.9);
  border: 4px solid #00ff29;
  box-shadow: 0 0 30px rgba(0, 255, 50, 0.4);
  padding: 20px;
  font-family: 'Press Start 2P', monospace;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #00ff29;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.modal-header h3 {
  margin: 0;
  color: #00ff29;
  font-size: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  color: #00ff29;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.modal-body p {
  color: #00ff29;
  margin-bottom: 20px;
  line-height: 1.6;
}

.signature {
  text-align: right;
  font-weight: bold;
  color: #00ff29;
  margin-top: 20px;
}

.pixel-flair {
  background-image: 
    radial-gradient(#00ff29 20%, transparent 20%),
    radial-gradient(#00ff29 20%, transparent 20%);
  background-size: 10px 10px;
  background-position: 0 0, 5px 5px;
  height: 30px;
  margin-top: 20px;
}

.modal-footer {
  text-align: center;
  color: #008811;
  margin-top: 20px;
  font-size: 0.9rem;
}