/* ========================================
   TYSHAWN ALLISON — PERSONAL HUB
   ======================================== */

/* --- RESET & BASE --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0A0A0A;
  --surface: #141414;
  --surface-hover: #1A1A1A;
  --text: #FFFFFF;
  --text-secondary: #999999;
  --accent: #C8A84E;
  --accent-glow: rgba(200, 168, 78, 0.15);
  --radius: 14px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- LAYOUT --- */
.hero,
.links,
.about,
.contact,
.footer {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  padding-top: 72px;
  padding-bottom: 48px;
  text-align: center;
}

.hero-inner {
  animation: fadeUp 0.8s ease both;
}

.profile-image {
  width: 110px;
  height: 110px;
  margin: 0 auto 28px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--accent);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 2px;
}

.name {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.tagline {
  font-size: 15px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ========================================
   LINK CARDS
   ======================================== */
.links {
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  animation: fadeUp 0.8s ease both;
}

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

.link-card:hover,
.link-card:focus-visible {
  background: var(--surface-hover);
  border-color: rgba(200, 168, 78, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow);
}

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

.link-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 168, 78, 0.08);
  border-radius: 10px;
  color: var(--accent);
}

.link-icon svg {
  width: 20px;
  height: 20px;
}

.link-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.link-title {
  font-size: 16px;
  font-weight: 600;
}

.link-sub {
  font-size: 13px;
  color: var(--text-secondary);
}

.link-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  transition: color var(--transition), transform var(--transition);
}

.link-arrow svg {
  width: 100%;
  height: 100%;
}

.link-card:hover .link-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  padding-bottom: 48px;
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.4s;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.about-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  padding-bottom: 64px;
  text-align: center;
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.5s;
}

.contact .section-label {
  margin-bottom: 12px;
}

.contact-text {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.contact-btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--accent);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.contact-btn:hover,
.contact-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200, 168, 78, 0.3);
  background: #d4b45a;
}

.contact-btn:active {
  transform: translateY(0);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding-top: 32px;
  padding-bottom: 40px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: color var(--transition), transform var(--transition);
}

.footer-socials a svg {
  width: 20px;
  height: 20px;
}

.footer-socials a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Slightly larger screens */
@media (min-width: 520px) {
  .hero,
  .links,
  .about,
  .contact,
  .footer {
    padding-left: 32px;
    padding-right: 32px;
  }

  .name {
    font-size: 36px;
  }
}

/* Tablet+ */
@media (min-width: 768px) {
  .hero {
    padding-top: 96px;
    padding-bottom: 56px;
  }

  .profile-image {
    width: 120px;
    height: 120px;
  }

  .name {
    font-size: 40px;
  }

  .tagline {
    font-size: 16px;
    letter-spacing: 4px;
  }
}

/* --- SAFE AREA (iPhone notch) --- */
@supports (padding-top: env(safe-area-inset-top)) {
  .hero {
    padding-top: calc(72px + env(safe-area-inset-top));
  }
  .footer {
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
  }
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
