/* Jahlon Landing Page - Mobile-First CSS */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  color: #dddddd;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
}

/* Main Container */
.container {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 16px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Profile Section */
.profile-section {
  margin-bottom: 5px;
}

.avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid #e4b343;
  display: block;
  margin: 0 auto 15px;
  object-fit: cover;
}

.profile-name {
  text-align: center;
  color: #e4b343;
  font-size: 2.5rem;
  margin: 0 0 0 0;
  font-weight: 700;
  font-variant: small-caps;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.content-creator-text {
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  margin: 0 0 0 0;
  font-weight: 400;
  font-variant: small-caps;
}

h1 {
  font-size: 2.5rem;
  color: #e4b343;
  margin-bottom: 10px;
  font-weight: 700;
  font-variant: small-caps;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.bio {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #bbbbbb;
  font-weight: 300;
  line-height: 1.4;
}

/* Links Section */
.links-section {
  margin-bottom: 40px;
}

.section-group {
  margin-bottom: 40px;
}

.section-title {
  font-size: 1.8rem;
  color: #e4b343;
  margin-bottom: 10px;
  font-weight: 600;
  font-variant: small-caps;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.section-description {
  text-align: center;
  margin: -10px 0 20px 0;
  color: #888;
  font-size: 0.85rem;
  font-variant: small-caps;
}

.dmca-free-text {
  font-weight: 500;
  color: #aaa;
}

.music-subtitle {
  font-style: normal !important;
  color: #777;
}

.paradox-subtitle {
  font-style: normal;
  color: #777;
}

.support-subtitle {
  font-style: normal;
  color: #777;
}

.link-button {
  display: block;
  background: linear-gradient(135deg, #222222, #2a2a2a);
  border: 2px solid #e4b343;
  color: #e4b343;
  text-decoration: none;
  padding: 16px 20px;
  border-radius: 12px;
  margin: 12px 0;
  font-size: 1.1rem;
  font-weight: 600;
  font-variant: small-caps;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 100%;
}

.link-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(228, 179, 67, 0.2), transparent);
  transition: left 0.5s ease;
}

.link-button:hover::before {
  left: 100%;
}

.link-button:hover {
  background: linear-gradient(135deg, #e4b343, #f5c960);
  color: #0d0d0d;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(228, 179, 67, 0.4);
}

.link-button:active {
  transform: translateY(0);
}

/* Platform-specific hover colors */
.link-button.platform-twitch:hover {
  background: linear-gradient(135deg, #9146FF, #a855f7);
  color: #ffffff;
  border-color: #9146FF;
}

.link-button.platform-youtube:hover {
  background: linear-gradient(135deg, #FF0000, #dc2626);
  color: #ffffff;
  border-color: #FF0000;
}

.link-button.platform-spotify:hover {
  background: linear-gradient(135deg, #1DB954, #22c55e);
  color: #ffffff;
  border-color: #1DB954;
}

.link-button.platform-bandcamp:hover {
  background: linear-gradient(135deg, #4C9EBF, #5fb3d3);
  color: #ffffff;
  border-color: #4C9EBF;
}

.link-button.platform-instagram:hover {
  background: linear-gradient(135deg, #E1306C, #f43f5e);
  color: #ffffff;
  border-color: #E1306C;
}

.link-button.platform-twitter:hover {
  background: linear-gradient(135deg, #1DA1F2, #3b82f6);
  color: #ffffff;
  border-color: #1DA1F2;
}

.link-button.platform-discord:hover {
  background: linear-gradient(135deg, #5865F2, #6366f1);
  color: #ffffff;
  border-color: #5865F2;
}

.link-button.platform-patreon:hover {
  background: linear-gradient(135deg, #F96854, #f87171);
  color: #ffffff;
  border-color: #F96854;
}

.link-button.platform-amazon:hover {
  background: linear-gradient(135deg, #FF9900, #fbbf24);
  color: #0d0d0d;
  border-color: #FF9900;
}

.link-button.platform-email:hover {
  background: linear-gradient(135deg, #34495e, #475569);
  color: #ffffff;
  border-color: #34495e;
}

.link-button.platform-donate:hover {
  background: linear-gradient(135deg, #10B981, #22c55e);
  color: #ffffff;
  border-color: #10B981;
}

.link-button.platform-extralife:hover {
  background: linear-gradient(135deg, #43C2E3, #0ea5e9);
  color: #ffffff;
  border-color: #43C2E3;
}

.link-button.platform-homepage:hover {
  background: linear-gradient(135deg, #e4b343, #f59e0b);
  color: #0d0d0d;
  border-color: #e4b343;
}

.link-button.platform-politics:hover {
  background: linear-gradient(135deg, #8B5A3C, #a0522d);
  color: #ffffff;
  border-color: #8B5A3C;
}

.link-button.platform-kick:hover {
  background: linear-gradient(135deg, #53FC18, #22c55e);
  color: #ffffff;
  border-color: #53FC18;
}

/* Footer */
.footer {
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid rgba(228, 179, 67, 0.2);
}

.ct-footer-copyright {
  font-size: 0.85rem;
  color: #777777;
  line-height: 1.5;
  text-align: center;
}

.ct-footer-copyright p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 480px) {
  .container {
    padding: 16px 12px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .bio {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .link-button {
    padding: 14px 16px;
    font-size: 1rem;
  }
  
  /* .avatar styles removed */
}

@media (max-width: 320px) {
  .container {
    padding: 12px 8px;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  .bio {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .link-button {
    padding: 12px 14px;
    font-size: 0.95rem;
  }
}

/* Larger screens */
@media (min-width: 768px) {
  .container {
    padding: 40px 20px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  .bio {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .link-button {
    padding: 18px 24px;
    font-size: 1.2rem;
  }
  
  /* .avatar styles removed */
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states for accessibility */
.link-button:focus {
  outline: 2px solid #e4b343;
  outline-offset: 2px;
}

/* Loading animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container > * {
  animation: fadeInUp 0.6s ease-out;
}

.container > *:nth-child(1) { animation-delay: 0.1s; }
.container > *:nth-child(2) { animation-delay: 0.2s; }
.container > *:nth-child(3) { animation-delay: 0.3s; }
.container > *:nth-child(4) { animation-delay: 0.4s; }