:root {
  --primary: #00ffcc;
  --primary-dark: #00cca3;
  --primary-transparent: rgba(0, 255, 204, 0.2);
  --primary-glow: rgba(0, 255, 204, 0.4);
  --error: #ff6b6b;
  --success: #00cc7a;
  --bg-dark: #0a0a12;
  --bg-darker: #050508;
  --bg-black: #000000;
  --text-light: #f0f0f0;
  --text-lighter: #ffffff;
  --text-gray: #a0a0a0;
  --text-dark: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* Background Elements */
.bg-blob-1,
.bg-blob-2 {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  animation: float 15s ease-in-out infinite alternate;
}

.bg-blob-1 {
  width: 400px;
  height: 400px;
  top: -200px;
  left: -200px;
  background: radial-gradient(
    circle,
    var(--primary-transparent) 0%,
    transparent 70%
  );
}

.bg-blob-2 {
  width: 300px;
  height: 300px;
  bottom: -150px;
  right: -150px;
  background: radial-gradient(
    circle,
    var(--primary-transparent) 0%,
    transparent 70%
  );
  animation-direction: alternate-reverse;
}

.bg-grid {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -2;
}

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

.particle {
  position: absolute;
  background: var(--primary-transparent);
  border-radius: 50%;
  pointer-events: none;
  animation: float-particle 15s infinite linear;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-30px, 30px) rotate(2deg);
  }
}

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

/* Main Content */
main {
  padding: 2rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 0;
  gap: 2rem;
}

.hero-content {
  max-width: 600px;
}

.logo {
  font-size: 3rem;
  font-weight: 800;
  font-family: "Kanit", sans-serif;
  margin-bottom: 1rem;
}

.logo .vr {
  color: var(--primary);
}

.logo .link {
  color: var(--text-lighter);
}

.logo .me {
  color: var(--text-gray);
  font-size: 2.5rem;
}

.tagline {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.highlight {
  color: var(--primary);
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
}

.cta-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cta-button {
  position: relative;
  background: var(--primary);
  color: var(--bg-black);
  padding: 1rem 2rem;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px var(--primary-glow);
  overflow: hidden;
  width: fit-content;
}

.cta-button span {
  position: relative;
  z-index: 2;
}

.button-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px var(--primary-glow);
}

.cta-button:hover .button-glow {
  opacity: 0.4;
}

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

.example-link span {
  color: var(--text-gray);
}

.example-url {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.example-url::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.example-url:hover::after {
  width: 100%;
}

.hero-illustration {
  position: relative;
  width: 50%;
  max-width: 500px;
  min-width: 300px;
  height: 300px;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  transition: all 0.5s ease;
}

.card-content {
  position: relative;
  z-index: 2;
}

.card-shadow {
  position: absolute;
  width: 90%;
  height: 15px;
  background: rgba(0, 0, 0, 0.3);
  bottom: -8px;
  left: 5%;
  border-radius: 50%;
  filter: blur(8px);
  z-index: 1;
}

.card-1 {
  width: 75%;
  top: 0;
  right: 0;
  animation: float-card-1 8s ease-in-out infinite;
  transform: rotateZ(-5deg);
}

.card-2 {
  width: 75%;
  top: 50%;
  right: 10%;
  animation: float-card-2 10s ease-in-out infinite;
  transform: rotateZ(3deg);
}

.card-3 {
  width: 75%;
  top: 90%;
  right: 5%;
  animation: float-card-3 9s ease-in-out infinite;
  transform: rotateZ(-2deg);
}

.scroll-hint {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 0.9rem;
  animation: pulse 2s infinite;
  grid-column: 1 / -1;
}

.card-content {
  position: relative;
  z-index: 2;
  text-align: center;
  word-break: break-word;
  padding: 0 0.5rem;
}

/* Update checkbox group */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
}

.checkbox-group input[type="checkbox"] {
  flex-shrink: 0;
  margin: 0;
}

.checkbox-group label {
  margin: 0;
}

@keyframes float-card-1 {
  0%,
  100% {
    transform: translateY(0) rotateZ(-5deg);
  }
  50% {
    transform: translateY(-10px) rotateZ(-8deg);
  }
}

@keyframes float-card-2 {
  0%,
  100% {
    transform: translateY(0) rotateZ(3deg);
  }
  50% {
    transform: translateY(-15px) rotateZ(0deg);
  }
}

@keyframes float-card-3 {
  0%,
  100% {
    transform: translateY(0) rotateZ(-2deg);
  }
  50% {
    transform: translateY(-8px) rotateZ(-5deg);
  }
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 3rem 0;
}

.feature {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-align: center;
}

.feature:hover {
  transform: translateY(-5px);
  border-color: var(--primary-transparent);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-lighter);
}

.feature p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* How It Works */
.how-it-works {
  padding: 3rem 0;
  text-align: center;
}

.how-it-works h2 {
  margin-bottom: 2rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--bg-black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 15px var(--primary-glow);
}

.step p {
  color: var(--text-gray);
  font-size: 1rem;
}

/* Contact Section */
.contact-section {
  padding: 3rem 0;
  text-align: center;
}

.contact-section h2 {
  margin-bottom: 1.5rem;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-content p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.contact-button {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.discord-btn {
  background: var(--primary);
  color: var(--bg-black);
}

.website-btn {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-note {
  font-size: 0.9rem;
  color: var(--text-gray);
  max-width: 500px;
  margin: 0 auto;
}

/* Link Database Section */
.database-header {
  text-align: center;
  width: 100%;
}

.database-toggle {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.database-toggle:hover {
  color: var(--primary);
}

.toggle-icon {
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

.database-content {
  margin-top: 1.5rem;
  animation: fadeIn 0.5s ease;
}

.database-search {
  display: flex;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.database-search input {
  flex: 1;
  background: var(--bg-darker);
  border: 1px solid var(--primary-transparent);
  border-radius: 50px;
  padding: 0.8rem 1.2rem;
  color: var(--text-light);
  font-family: "Space Grotesk", sans-serif;
  transition: all 0.3s ease;
}

.database-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.database-search button {
  background: var(--primary);
  color: var(--bg-black);
  border: none;
  border-radius: 50px;
  padding: 0 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.database-search button:hover {
  background: var(--primary-dark);
}

.database-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.link-card {
  background: var(--bg-darker);
  border-radius: 8px;
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 1rem;
  align-items: start;
}

.link-platform {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-transparent); /* Light blue from your theme */
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary);
}

/* Make black icons visible by inverting colors */
.link-platform img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: brightness(0) /* Make black */ invert(1); /* Invert to white */
}

.link-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.link-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  width: 100%;
}

.link-short {
  color: var(--primary);
  font-weight: 700;
}

.link-arrow {
  color: var(--text-gray);
  flex-shrink: 0;
}

.link-url {
  color: var(--text-light);
  word-break: break-all;
  overflow-wrap: break-word;
  hyphens: auto;
  display: inline;
  text-decoration: none;
  transition: color 0.2s ease;
}

.link-description {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.link-timestamp {
  color: var(--text-gray);
  font-size: 0.8rem;
  margin-top: 0.5rem;
  opacity: 0.7;
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 204, 0.1);
}

.link-short:hover,
.link-url:hover {
  text-decoration: underline;
}

.database-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.pagination-button {
  background: var(--bg-darker);
  color: var(--text-light);
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-button:hover:not(:disabled) {
  background: var(--primary);
  color: var(--bg-black);
}

.pagination-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-info {
  color: var(--text-gray);
}

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

.database-header {
  margin-bottom: 1.5rem;
}

.scroll-hint {
  margin-top: 1rem;
  color: var(--primary);
  font-size: 0.9rem;
  animation: pulse 2s infinite;
}

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

.database-placeholder {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 1rem;
}

.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.placeholder-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  font-weight: 600;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1rem;
  overflow-y: auto;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-darker);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-gray);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: var(--primary);
}

/* Form Warning */
.form-warning {
  background: rgba(255, 215, 0, 0.15);
  border-left: 4px solid gold;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 5px;
  display: flex;
  gap: 0.75rem;
}

.form-warning p {
  margin: 0 0 0.5rem 0;
  color: #ffcc00;
  text-align: left;
  font-size: 0.9rem;
}

.form-warning p:last-child {
  margin-bottom: 0;
}

.warning-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Form Styles */
#vrlinkForm {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.95rem;
}

.input-prefix {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.input-prefix span {
  padding: 0 1rem;
  color: var(--text-gray);
  font-size: 0.9rem;
  background: transparent;
}

.input-prefix input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-light);
  padding: 0.75rem 1rem;
  font-family: inherit;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-light);
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-transparent);
}

.form-group input:invalid:not(:focus):not(:placeholder-shown) {
  border-color: var(--error);
}

.form-group input:valid:not(:focus):not(:placeholder-shown) {
  border-color: var(--success);
}

textarea {
  min-height: 100px;
  resize: vertical;
}

/* Form Notice */
.form-notice {
  background: rgba(0, 255, 204, 0.1);
  border-left: 4px solid var(--primary);
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 5px;
}

.form-notice p {
  margin-bottom: 0.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.form-notice ol {
  padding-left: 1.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.form-notice strong {
  color: var(--primary);
}

/* Input Hints */
.input-hint {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-top: 0.25rem;
}

/* Checkbox Group */
.checkbox-group {
  display: block;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1rem 0;
  max-width: 100%;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 0.9rem;
  line-height: 1.4;
  flex: 1 1 auto;
}

.checkbox-group a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

.form-discord {
  color: #00ffcc;
  text-decoration: none;
}

/* Submit Button */
.submit-button {
  position: relative;
  background: var(--primary);
  color: var(--bg-black);
  padding: 1rem;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px var(--primary-glow);
  overflow: hidden;
  margin-top: 0.5rem;
}

.submit-button.disabled {
  background: var(--text-gray);
  box-shadow: none;
  cursor: not-allowed;
}

.submit-button:not(.disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--primary-glow);
}

.submit-button span {
  position: relative;
  z-index: 2;
}

.submit-button .button-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--primary-glow);
}

.submit-button:not(.disabled):hover .button-glow {
  opacity: 0.4;
}

.submit-button:hover .button-glow {
  opacity: 0.4;
}

.submit-button.validating {
  position: relative;
  color: transparent !important;
}
.submit-button.validating::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid white;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Success Message */
#thankYouMessage {
  display: none;
  text-align: center;
  padding: 1rem 0;
}

.success-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: bounce 0.5s ease;
}

#thankYouMessage h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

#thankYouMessage p {
  color: var(--text-gray);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.new-message {
  background: none;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  margin-top: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.new-message:hover {
  background: var(--primary-transparent);
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
  }

  .cta-button {
    margin: 0 auto;
  }

  .example-link {
    justify-content: center;
  }

  .hero-illustration {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .logo {
    font-size: 2.5rem;
  }

  .logo .me {
    font-size: 2rem;
  }

  .tagline {
    font-size: 2rem;
  }

  .features,
  .steps {
    grid-template-columns: 1fr;
  }

  .contact-methods {
    flex-direction: column;
    align-items: center;
  }

  .contact-button {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }

  .modal {
    padding: 1.5rem;
  }
}

/* Management Modal Styles */
#managementModal .modal {
  max-width: 800px;
}

.modal-tabs {
  display: flex;
  border-bottom: 1px solid #334155;
  margin-bottom: 1.5rem;
}

.tab-button {
  background: none;
  border: none;
  color: #94a3b8;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  position: relative;
}

.tab-button.active {
  color: white;
}

.tab-button.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #4a6cf7;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.links-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.create-link-button {
  background: #4a6cf7;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
}

.create-link-button.disabled {
  background: #64748b !important;
  cursor: not-allowed;
  opacity: 0.7;
}

.create-link-button.disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}

.links-container {
  max-height: 400px;
  overflow-y: auto;
}

.link-item {
  background: #1e293b;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
}

.link-info {
  flex-grow: 1;
}

.link-actions {
  display: flex;
  gap: 0.5rem;
}

.account-info {
  background: #1e293b;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.info-row {
  display: flex;
  margin-bottom: 0.5rem;
}

.info-label {
  font-weight: bold;
  width: 120px;
}

.account-actions {
  display: flex;
  gap: 1rem;
}

.account-button {
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  border: none;
}

.account-button.danger {
  background: #f74a4a;
  color: white;
}

/* Management links list */
.account-link-item {
  background: rgba(30, 41, 59, 0.7);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.75rem 1.5rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.account-link-item:hover {
  background: rgba(30, 41, 59, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.account-link-info {
  grid-column: 1;
  grid-row: 1 / span 2;
  overflow: hidden;
}

.account-link-short {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #4a6cf7;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-link-destination {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-link-description {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.4;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.account-link-timestamp {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.75rem;
  color: #64748b;
  text-align: right;
  white-space: nowrap;
  padding-top: 0.1rem;
}

.account-link-actions {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  align-items: center;
}

.account-edit-link,
.account-delete-link {
  background: none;
  border: none;
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.account-edit-link {
  background: rgba(74, 108, 247, 0.2);
  border: 1px solid rgba(74, 108, 247, 0.4);
}

.account-edit-link:hover {
  background: rgba(74, 108, 247, 0.4);
}

.account-delete-link {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.account-delete-link:hover {
  background: rgba(239, 68, 68, 0.4);
}

/* Empty state styling */
.empty-links-message {
  text-align: center;
  padding: 2rem;
  color: #64748b;
  font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .account-link-item {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto; /* Added extra row */
    gap: 0.5rem;
  }

  .account-link-info {
    grid-row: 1;
  }

  .account-link-timestamp {
    grid-column: 1;
    grid-row: 2; /* Moved to dedicated row */
    text-align: left;
    padding-top: 0;
    margin-top: -0.25rem; /* Tighten spacing */
    margin-bottom: 0.25rem;
    font-size: 0.7rem; /* Slightly smaller */
  }

  .account-link-actions {
    grid-column: 1;
    grid-row: 3; /* Now appears after timestamp */
    justify-content: flex-start;
    margin-top: 0.25rem;
  }

  .account-link-description {
    grid-row: 4; /* Pushed to new row */
    -webkit-line-clamp: 3; /* Show more lines if needed */
    line-clamp: 3;
    margin-top: 0.5rem;
  }
}

/* Notification System */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 400px;
  z-index: 10000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateX(150%);
  transition: transform 0.3s ease-out;
}

.notification.active {
  transform: translateX(0);
}

.notification-success {
  background: #10b981;
  border-left: 4px solid #059669;
}

.notification-error {
  background: #ef4444;
  border-left: 4px solid #dc2626;
}

.notification-warning {
  background: #f59e0b;
  border-left: 4px solid #d97706;
}

.notification-info {
  background: #3b82f6;
  border-left: 4px solid #2563eb;
}

.notification-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  margin-left: auto;
}

.notification-icon {
  font-size: 1.2rem;
}

/* Loading states */
.loading-state {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.button-loading .button-text {
  visibility: hidden;
  position: relative;
}

.button-loading::after {
  content: "";
  position: absolute;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

/* Add to your existing CSS */
#thankYouMessage {
  text-align: center;
  padding: 1.5rem;
}

.success-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.success-link {
  color: #4a6cf7;
  font-weight: bold;
  text-decoration: none;
}

.ty-close-message {
  background: #4a6cf7;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  margin-top: 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

.ty-close-message:hover {
  background: #3a5ce0;
}

.legal-notice-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.legal-notice-content {
  background: var(--bg-darker);
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  border: 1px solid var(--primary-transparent);
}

.legal-notice-content h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.legal-notice-content ul {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.legal-notice-content li {
  margin-bottom: 0.5rem;
}

.legal-notice-content a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-notice-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.legal-notice-buttons button {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  flex: 1;
  transition: all 0.2s ease;
}

.legal-notice-cancel {
  background: transparent;
  border: 1px solid var(--text-gray);
  color: var(--text-light);
}

.legal-notice-confirm {
  background: #5865f2; /* Discord brand color */
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.legal-notice-confirm img {
  filter: brightness(0) invert(1); /* Forces white color */
  width: 20px;
  height: 20px;
}

.legal-notice-confirm:hover {
  background: #4752c4;
}

.legal-notice-cancel:hover {
  background: rgba(255, 255, 255, 0.05);
}
