﻿*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding-bottom: 6rem;
  background: #0a0a0a;
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

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

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

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

.logo-frame {
  display: flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 0.25rem;
}

.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-title,
.section-title,
.friend-name,
.spotlight-content h1 {
  font-family: "Playfair Display", serif;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.75rem;
  letter-spacing: 0.025em;
}

.text-gold-gradient {
  background: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa8c2c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.online-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.375rem 0.75rem;
  color: #d1d5db;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
}

.status-dot {
  position: relative;
  display: flex;
  width: 0.625rem;
  height: 0.625rem;
}

.status-ping,
.status-core {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
}

.status-ping {
  background: #4ade80;
  opacity: 0.75;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.status-core {
  background: #22c55e;
}

.page-main {
  max-width: 32rem;
  padding-top: 1rem;
}

.section {
  padding: 0 1rem;
  margin-bottom: 2rem;
}

.section:first-child {
  margin-bottom: 0;
}

.section-kicker {
  margin: 0 0 0.75rem;
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stories {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.hide-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.hide-scroll::-webkit-scrollbar {
  display: none;
}

.story-item {
  display: flex;
  width: 72px;
  flex: 0 0 auto;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  transition: transform 150ms ease;
}

.story-item:hover {
  transform: scale(1.05);
}

.story-ring {
  display: block;
  margin-bottom: 0.375rem;
  padding: 2px;
  border-radius: 50%;
  background: linear-gradient(45deg, #d4af37, #ff2a2a);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.story-avatar {
  display: block;
  width: 4rem;
  height: 4rem;
  overflow: hidden;
  border: 2px solid #0a0a0a;
  border-radius: 9999px;
}

.story-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-name {
  width: 100%;
  overflow: hidden;
  color: #d1d5db;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.divider {
  width: calc(100% - 2rem);
  height: 1px;
  margin: 1rem;
  background: rgba(255, 255, 255, 0.1);
}

.spotlight-card {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
}

.spotlight-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.spotlight-card:hover .spotlight-image {
  transform: scale(1.05);
}

.overlay-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0.4) 50%, rgba(10, 10, 10, 0) 100%);
}

.badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  border-radius: 9999px;
  background: #d4af37;
  padding: 0.25rem 0.75rem;
  color: #000;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spotlight-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
}

.spotlight-content h1 {
  margin: 0 0 0.25rem;
  color: #fff;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.5rem;
  filter: drop-shadow(0 1px 1px #000);
}

.location-line {
  display: flex;
  align-items: center;
  margin: 0 0 1rem;
  color: #f3e5ab;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
  flex: 0 0 auto;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
  margin-right: 0.25rem;
}

.icon-xs {
  width: 0.75rem;
  height: 0.75rem;
  margin-right: 0.25rem;
}

.primary-action {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: #fff;
  padding: 0.875rem 1rem;
  color: #000;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transition: background-color 150ms ease;
}

.primary-action:hover {
  background: #d4af37;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.section-title {
  margin: 0;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.75rem;
}

.with-margin {
  margin-bottom: 1rem;
}

.magazine-list {
  display: grid;
  gap: 1rem;
}

.magazine-card {
  position: relative;
  display: flex;
  height: 9rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  background: #141414;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transition: border-color 150ms ease;
}

.magazine-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
}

.magazine-photo {
  position: relative;
  display: block;
  width: 40%;
  height: 100%;
  flex: 0 0 auto;
}

.magazine-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-fade {
  position: absolute;
  inset: 0;
}

.fade-right {
  background: linear-gradient(to right, #141414, transparent);
}

.fade-left {
  background: linear-gradient(to left, #141414, transparent);
}

.magazine-copy {
  display: flex;
  width: 60%;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
}

.magazine-card:not(.magazine-card-reverse) .magazine-copy {
  padding-left: 0.5rem;
}

.magazine-card-reverse .magazine-copy {
  padding-right: 0.5rem;
}

.live-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  color: #ff2a2a;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #ff2a2a;
  box-shadow: 0 0 8px #ff2a2a;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.friend-name {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.75rem;
}

.friend-role {
  margin-bottom: 0.5rem;
  color: #f3e5ab;
  font-size: 0.75rem;
  line-height: 1rem;
}

.friend-location {
  display: flex;
  align-items: center;
  color: #9ca3af;
  font-size: 10px;
  line-height: 1;
}

.final-section {
  margin-bottom: 2.5rem;
}

.grid-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.grid-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  background: #141414;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.grid-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
}

.grid-photo {
  position: relative;
  display: block;
  height: 11rem;
}

.grid-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid-copy {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  left: 0.5rem;
  display: block;
}

.grid-copy strong,
.grid-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.9));
}

.grid-copy strong {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1rem;
}

.grid-copy span {
  margin-top: 0.125rem;
  color: #f3e5ab;
  font-size: 10px;
  line-height: 1;
}

.fire-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 0.25rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.125rem 0.375rem;
  color: #f3e5ab;
  font-size: 10px;
  line-height: 1;
  backdrop-filter: blur(4px);
}

.message-button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem;
  color: #d1d5db;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.grid-card:hover .message-button {
  border-color: #d4af37;
  background: #d4af37;
  color: #000;
}

.icon-message {
  width: 0.875rem;
  height: 0.875rem;
  margin-right: 0.25rem;
}

.more-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 0.75rem;
  background: #141414;
  padding: 1rem;
  color: #f3e5ab;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25rem;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.05);
  transition: color 300ms ease, border-color 300ms ease, background-color 300ms ease, box-shadow 300ms ease;
}

.more-button:hover {
  background: #d4af37;
  color: #000;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}

@media (min-width: 640px) {
  .page-main {
    max-width: 36rem;
  }

  .grid-photo {
    height: 13rem;
  }
}

@media (min-width: 768px) {
  .page-main {
    max-width: 42rem;
  }
}

@media (min-width: 1024px) {
  .page-main {
    max-width: 56rem;
  }
}
