/* Common styles for pages */
body::before,
body::after {
  display: none;
}

body {
  overflow-y: auto;
  background-color: #000000;
}

/* Common container styles */
.page-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #000000;
  padding: 80px 20px 20px;
}

/* Header styles */
.back-button {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 100;
  color: #FF4800;
  text-decoration: none;
  border: 1px solid #FF4800;
  padding: 8px 16px;
  font-size: 0.9rem;
  background-color: rgba(0, 0, 0, 0.7);
  transition: all 0.3s ease;
}

.back-button:hover {
  background-color: rgba(255, 72, 0, 0.2);
  color: #00FFFF;
  border-color: #00FFFF;
}

/* Link card styles */
.link-container {
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
  position: relative;
}

.link-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px 15px 15px;
  background-color: rgba(0, 0, 0, 0.7);
  border: 1px solid #333;
  border-radius: 4px;
  color: #00FFFF;
  text-decoration: none;
  transition: all 0.3s ease;
  overflow: visible;
}

.link-card:hover {
  background-color: rgba(0, 255, 255, 0.2);
  border-color: #FF4800;
  color: #FF4800;
}

.link-icon {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 1;
}

.link-content {
  flex: 1;
  position: relative;
}

.link-title {
  font-size: 1rem;
  margin-bottom: 4px;
  padding-right: 80px;
}

.link-description {
  font-size: 0.8rem;
  color: #888;
}

/* Profile section */
.profile-section {
  text-align: center;
  margin-bottom: 40px;
}

.profile-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.profile-name {
  color: #FFF;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.profile-bio {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* Hover indicator styles */
.hover-indicator {
  position: absolute;
  left: -40px;
  top: 105px;
  transition: transform 0.3s ease;
  z-index: 2;
}

.neon-arrow {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 18px solid #00FFFF;
  position: relative;
  filter: drop-shadow(0 0 5px #00FFFF)
         drop-shadow(0 0 10px #00FFFF)
         drop-shadow(0 0 20px rgba(0, 255, 255, 0.5));
  animation: pulse 2s ease-in-out infinite,
             float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(10px); }
}

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

/* Remove the existing active state styles and replace with these */
.link-card.active {
  background-color: rgba(0, 255, 255, 0.2);
  border-color: #FF4800;
  color: #FF4800;
}

.link-card.active .link-icon {
  width: 280px;
  height: 200px;
  margin-right: -50px;
}

.link-card.active .link-content {
  margin-left: 45px;
}

/* Keep the base styles */
.link-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
  .page-container {
    padding: 60px 15px 15px;
  }

  .back-button {
    font-size: 0;
    padding: 6px 12px;
  }

  .back-button::after {
    content: "← BACK";
    font-size: 0.8rem;
  }

  .link-card {
    padding: 25px 12px 12px;
  }

  .hover-indicator {
    display: none;
  }

  .card-tag {
    top: 12px;
    right: 12px;
  }

  .link-card.active .link-icon {
    width: 120px;
    height: 100px;
    margin-right: -40px;
  }
  
  .link-card.active .link-content {
    margin-left: 40px;
  }
}

.card-tag {
  position: absolute;
  top: -10px;
  right: -1px;
  background-color: #FF4800;
  color: #000;
  padding: 4px 8px;
  font-size: 0.7rem;
  border-radius: 4px;
  font-weight: bold;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(255, 72, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 1;
}

.link-card:hover .card-tag {
  background-color: #00FFFF;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

/* Scrollbar styles */
::-webkit-scrollbar {
  width: 8px;  /* Made slightly thinner */
}

::-webkit-scrollbar-track {
  background: rgba(20, 20, 20, 0.3);  /* Matching your other background colors */
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 72, 0, 0.3);  /* Semi-transparent #FF4800 */
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 72, 0, 0.9);  /* More opaque on hover */
}

/* Firefox compatibility */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 72, 0, 0.3) rgba(20, 20, 20, 0.3);
}

/* Social icons styles */
.social-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 15px;
}

.social-icon {
  width: 24px;
  height: 24px;
  color: #888;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: #00FFFF;
  filter: drop-shadow(0 0 5px #00FFFF)
         drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
  transform: scale(1.1);
}

.social-icon svg {
  width: 100%;
  height: 100%;
}