/* ===================================
   RSTAR CLOTHING — GLOBAL STYLES
=================================== */

:root {
  --black: #080808;
  --off-black: #111111;
  --dark: #181818;
  --dark-2: #222222;
  --border: #2a2a2a;
  --white: #ffffff;
  --off-white: #f0f0f0;
  --muted: #888888;
  --accent: #e8001d;
  --accent-dim: rgba(232, 0, 29, 0.12);
  --blue: #1457ff;
  --blue-dim: rgba(20, 87, 255, 0.14);

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;

  --nav-h: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ===================================
   BUTTONS
=================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--black);
}
.btn--primary:hover { background: #d4e800; transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }

.btn--white {
  background: var(--white);
  color: var(--black);
}
.btn--white:hover { background: var(--off-white); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}
.btn--outline:hover { background: var(--white); color: var(--black); }

.btn--sm { padding: 10px 20px; font-size: 11px; }

/* ===================================
   NAV
=================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(8, 8, 8, 0.98);
}

.nav__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  cursor: pointer;
}

.logo-placeholder__text {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, var(--accent) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.logo-placeholder__sub {
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

.logo-placeholder--footer .logo-placeholder__text { font-size: 36px; }
.logo-placeholder--footer .logo-placeholder__sub { font-size: 9px; }

.nav__links {
  display: flex;
  gap: 40px;
}

.nav__links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  transition: width var(--transition);
}

.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__icon {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 8px;
  display: flex;
  transition: color var(--transition);
}
.nav__icon:hover { color: var(--white); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

.nav__mobile {
  display: none;
  background: var(--off-black);
  border-top: 1px solid var(--border);
  padding: 24px 32px;
}
.nav__mobile.open { display: block; }
.nav__mobile ul { display: flex; flex-direction: column; gap: 20px; }
.nav__mobile a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
  transition: color var(--transition);
}
.nav__mobile a:hover { color: var(--blue); }

/* ===================================
   HERO
=================================== */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  position: relative;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,0,29,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20,87,255,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(200px, 30vw, 420px);
  color: rgba(255,255,255,0.025);
  letter-spacing: 0.05em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.hero__content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 32px;
  position: relative;
  z-index: 1;
}

.hero__logo-placeholder {
  margin-bottom: 48px;
}

.hero__logo-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 32px;
  border: 1px dashed rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.03);
  text-align: center;
  min-width: 180px;
}

.hero__logo-box p {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-top: 4px;
}

.hero__logo-box span {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  padding: 3px 8px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 180px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
}

.hero__title--line { display: block; }

.hero__title .accent {
  background: linear-gradient(90deg, var(--accent) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.25em;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), var(--blue), transparent);
  animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ===================================
   TICKER MARQUEE
=================================== */
.ticker {
  overflow: hidden;
  background: linear-gradient(90deg, var(--accent) 0%, #a0003c 35%, #6b00b0 60%, var(--blue) 100%);
  padding: 14px 0;
  border-top: 1px solid rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(0,0,0,0.15);
}

.ticker__inner {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: ticker 20s linear infinite;
}

.ticker__inner span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  white-space: nowrap;
}

.ticker__dot { font-size: 16px !important; }

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================================
   SECTIONS
=================================== */
.section {
  padding: 100px 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.section--dark {
  max-width: 100%;
  background: var(--off-black);
  padding: 100px 0;
}

.section--dark .section__header,
.section--dark .filter-bar,
.section--dark .products-grid,
.section--dark .section__cta {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

.section__header {
  margin-bottom: 60px;
}

.section__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  letter-spacing: 0.04em;
  line-height: 0.95;
}

.section__cta {
  text-align: center;
  margin-top: 60px;
}

/* ===================================
   IMAGE PLACEHOLDER
=================================== */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--dark);
  border: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.2);
  text-align: center;
}

.img-placeholder span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

.img-placeholder__size {
  font-size: 9px !important;
  color: rgba(255,255,255,0.15) !important;
}

.img-placeholder--large {
  min-height: 500px;
}

/* ===================================
   PRODUCT CARDS
=================================== */
.products-featured {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  cursor: pointer;
}

.product-card__image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--dark);
}

.product-card__image--tall {
  aspect-ratio: 4/5;
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover .product-card__overlay { opacity: 1; }
.product-card:hover .product-card__image { transform: scale(1.02); }
.product-card__image { transition: transform 0.5s ease; }

.product-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: var(--white);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  padding: 4px 10px;
  z-index: 1;
}

.product-card__badge--sold {
  background: var(--dark-2);
  color: var(--muted);
}

.product-card__info {
  padding: 16px 0 8px;
}

.product-card__category {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  line-height: 1.1;
}

.product-card__price {
  font-size: 15px;
  font-weight: 600;
  color: var(--off-white);
}

/* Shop Grid */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  padding: 10px 20px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn--active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===================================
   BANNER STRIP
=================================== */
.banner-strip {
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.banner-strip::before {
  content: 'RSTAR';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 20vw, 300px);
  color: rgba(255,255,255,0.02);
  letter-spacing: 0.05em;
  pointer-events: none;
}

.banner-strip__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.banner-strip__logo-placeholder {
  opacity: 0.5;
}

.banner-strip__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 96px);
  letter-spacing: 0.04em;
  line-height: 1;
}

.banner-strip__text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 400px;
}

/* ===================================
   ABOUT
=================================== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__visual {
  position: relative;
}

.about__accent-box {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.about__accent-box span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.75);
}

.about__accent-box strong {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: 0.04em;
  color: var(--white);
}

.about__text .section__label { margin-top: 0; }
.about__text .section__title { margin-bottom: 32px; }

.about__text p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.8;
}

.about__stats {
  display: flex;
  gap: 40px;
  margin: 40px 0;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about__stat strong {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about__stat span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--muted);
}

/* ===================================
   SOCIAL GRID
=================================== */
.social-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 240px;
  gap: 8px;
}

.social-tile {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.social-tile .img-placeholder {
  transition: transform 0.5s ease;
}

.social-tile:hover .img-placeholder { transform: scale(1.05); }

.social-tile--wide {
  grid-column: span 1;
}

/* ===================================
   NEWSLETTER
=================================== */
.newsletter {
  background: linear-gradient(135deg, var(--accent) 0%, #8b0026 40%, #2800a0 70%, var(--blue) 100%);
  padding: 100px 32px;
  text-align: center;
}

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

.newsletter__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.newsletter__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 40px;
}

.newsletter__form {
  display: flex;
  gap: 0;
  max-width: 500px;
  margin: 0 auto 16px;
}

.newsletter__input {
  flex: 1;
  padding: 16px 20px;
  background: rgba(0,0,0,0.25);
  border: 2px solid rgba(255,255,255,0.25);
  border-right: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition);
}

.newsletter__input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter__input:focus { border-color: rgba(255,255,255,0.7); }

.newsletter__form .btn--primary {
  background: var(--white);
  color: var(--accent);
  border: 2px solid var(--white);
}
.newsletter__form .btn--primary:hover { background: var(--off-white); }

.newsletter__fine {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
}

/* ===================================
   FOOTER
=================================== */
.footer {
  background: var(--off-black);
  border-top: 1px solid var(--border);
  padding: 80px 32px 40px;
}

.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.footer__brand p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 20px 0 28px;
  max-width: 240px;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__socials a {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: var(--transition);
}

.footer__socials a:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-dim);
}

.footer__col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--white);
  margin-bottom: 24px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__col a {
  font-size: 13px;
  color: var(--muted);
  transition: color var(--transition);
}

.footer__col a:hover { color: var(--white); }

.footer__bottom {
  max-width: 1400px;
  margin: 40px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__bottom p {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.12em;
}

/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 48px; }
  .about__visual { max-width: 480px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .social-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: 200px; }
  .social-tile--wide { grid-column: span 1; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .hero__title { font-size: clamp(60px, 16vw, 100px); }

  .products-featured { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .section { padding: 70px 20px; }
  .section--dark { padding: 70px 0; }

  .filter-bar { padding: 0 20px; }

  .about__stats { flex-wrap: wrap; gap: 24px; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__brand { grid-column: span 2; }

  .newsletter__form { flex-direction: column; }
  .newsletter__input { border-right: 2px solid rgba(0,0,0,0.2); }

  .social-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 160px 160px; padding: 0 20px; }

  .banner-strip { padding: 70px 20px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
}
