/* Tragedy Chaos homepage composition */
html { color-scheme: dark; scroll-padding-top: 110px; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 3000; padding: 12px; background: var(--text); color: var(--background); }
.skip-link:focus { top: 10px; }
.navbar { gap: 28px; border-bottom: 1px solid var(--border); }
.navbar .logo { letter-spacing: 1px; font-size: 16px; }
.hero { min-height: 76vh; padding: 160px 7% 90px; }
.hero h1 { font-size: clamp(64px, 10vw, 136px); letter-spacing: -5px; }
.hero-description { max-width: 600px; }
.brand-section, .brand-about { padding: 88px 7%; scroll-margin-top: 110px; }
.brand-section { border-top: 1px solid var(--border); }
.brand-section h2 { font-size: clamp(32px, 5vw, 64px); line-height: 1.05; letter-spacing: -2px; }
.feature-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.text-link { color: var(--accent-text); font-weight: bold; font-size: 12px; letter-spacing: 1px; text-decoration: none; }
.text-link:hover { color: var(--text); }
.section-intro { color: var(--text-muted); line-height: 1.7; margin: 22px 0; }
.beatmaker-frame { display: block; width: 100%; height: 960px; border: 1px solid var(--border); background: var(--background); }
.merch-feature { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.merch-art img { display: block; width: 100%; height: auto; }
.merch-copy p:not(.eyebrow) { color: var(--text-muted); line-height: 1.8; margin: 24px 0; }
.brand-about .section-heading { margin-bottom: 24px; }
.brand-about .section-heading h2 { font-size: clamp(38px, 6vw, 72px); }
.brand-bio { max-width: 760px; color: var(--text-muted); font-size: 20px; line-height: 1.8; margin-bottom: 40px; }
.world-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.world-grid > section { padding: 26px; min-width: 0; background: var(--surface); border: 1px solid var(--border); overflow: hidden; isolation: auto; }
.world-grid > section::before, .world-grid > section::after { content: none; }
.world-grid .section-heading { margin-bottom: 22px; }
.world-grid .section-heading h3 { font-size: 26px; letter-spacing: -1px; }
.world-grid .eyebrow { font-size: 10px; letter-spacing: 2px; margin-bottom: 12px; }
.world-grid #watch { grid-column: 1 / -1; }
.world-grid .watch-card, .world-grid .now-playing, .world-grid .league-profile { padding: 0; max-width: none; border: 0; background: transparent; box-shadow: none; }
.world-grid .now-playing:hover, .world-grid .league-profile:hover { transform: none; box-shadow: none; }
.world-grid .now-playing::before, .world-grid .league-profile::before { content: none; }
.world-grid .spotify-content { flex-wrap: wrap; gap: 20px; }
.world-grid .spotify-content img { width: 120px; height: 120px; }
.world-grid .song-info { min-width: 170px; }
.world-grid .song-info h3 { font-size: 26px; }
.world-grid .league-account h3 { font-size: 24px; }
.world-grid .league-ranks { gap: 12px; margin: 20px 0; }
.world-grid .league-rank { padding: 16px; }
.world-grid .riot-notice { font-size: 11px; color: var(--text-muted); }
.world-grid .twitch-player { height: auto; aspect-ratio: 16 / 9; }
.site-footer { margin-top: 0; }
.shop-main { padding: 150px 7% 80px; min-height: 80vh; }
.shop-main h1 { font-size: clamp(48px, 9vw, 110px); letter-spacing: -3px; }
.shop-main .section-intro { max-width: 650px; }
.shop-banner { width: 100%; height: auto; display: block; margin: 40px 0; }
.shop-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 30px 0; }
.shop-item { padding: 28px; background: var(--surface); border: 1px solid var(--border); }
.shop-item h2 { font-size: 24px; margin-bottom: 12px; }
.shop-item p { line-height: 1.8; color: var(--text-muted); }
.shop-status { display: inline-block; color: var(--accent-text); font-size: 11px; font-weight: bold; letter-spacing: 2px; margin-top: 18px; }
@media (max-width: 850px) {
 .world-grid, .merch-feature { grid-template-columns: 1fr; }
 .hero { min-height: auto; padding-top: 190px; }
 .brand-section, .brand-about { padding: 60px 6%; }
 .beatmaker-frame { height: 1700px; }
 .shop-items { grid-template-columns: 1fr; }
 .shop-main { padding-top: 160px; }
}
@media (max-width: 750px) {
 .navbar .nav-links { flex: 0 0 100%; justify-content: space-between; gap: 10px; padding: 12px 0 0; }
 .navbar { gap: 14px; }
 .nav-auth { gap: 10px; }
 .navbar .signup-nav { padding: 8px; }
 .navbar .logo { font-size: 13px; }
 .world-grid > section { padding: 20px; }
 .world-grid .league-ranks { grid-template-columns: 1fr; }
 .hero h1 { letter-spacing: -3px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { animation: none !important; transition: none !important; }
}

.navbar .logo img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 750px) {
  .navbar .logo img {
    width: 140px;
  }
}
/* Primary logo in the hero. */
.hero .hero-brand { width: min(680px, 100%); line-height: 1; }
.hero-brand img { display: block; width: 100%; height: auto; }
