﻿/* 
  HUNTTER WEB - PREMIUM DESIGN SYSTEM 
  Font: Outfit
  Theme: Dark Glassmorphism 
*/

:root {
  /* Colors */
  --color-red: #E60012;
  /* Slightly brighter premium red */
  --color-red-glow: rgba(230, 0, 18, 0.4);
  --color-bg: #050507;
  /* Deep rich black */
  --color-surface: #0f1014;
  --color-text-main: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.6);
  --color-border: rgba(255, 255, 255, 0.08);

  /* Glassmorphism */
  --glass-bg: rgba(15, 16, 20, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.12);
  --backdrop-blur: blur(16px);

  /* Layout */
  --header-height: 72px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Animation */
  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline-color: var(--color-red);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--color-bg);
  color: var(--color-text-main);
  min-height: 100vh;
  padding-bottom: 140px;
  /* Space for radio player */
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 15% 10%, rgba(230, 0, 18, 0.08), transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(30, 30, 40, 0.5), transparent 40%);
  background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hidden {
  display: none !important;
}

/* UTILS */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-red);
  margin-bottom: 0.5rem;
  display: block;
}

.view-section {
  width: 100%;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(5, 5, 7, 0.85);
  backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  z-index: 100;
  transition: background 0.3s ease;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: opacity 0.2s ease;
}

.logo-area:hover {
  opacity: 0.9;
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: white;
  object-fit: contain;
  padding: 2px;
}

.site-title {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.site-tagline {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Header Actions */
.header-right-group {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.social-header {
  display: flex;
  gap: 0.5rem;
}

.social-header a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--glass-highlight);
  color: var(--color-text-main);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.social-header a:hover {
  background: var(--color-red);
  box-shadow: 0 0 12px var(--color-red-glow);
  transform: translateY(-2px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#search-input {
  background: var(--glass-highlight);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 0.6rem 1.25rem;
  color: white;
  font-size: 0.9rem;
  width: 240px;
  transition: var(--transition-fast);
}

#search-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  outline: none;
}

.cart-btn {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.cart-btn:hover {
  background: var(--glass-highlight);
  border-color: white;
}

.cart-badge {
  background: var(--color-red);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: var(--transition-fast);
  text-transform: uppercase;
  border: none;
}

.btn.primary {
  background: var(--color-red);
  color: white;
  box-shadow: 0 4px 15px var(--color-red-glow);
}

.btn.primary:hover {
  background: #ff1a2b;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 30, 45, 0.4);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
}

.btn.full {
  width: 100%;
}

/* HERO SECTION */
.hero {
  position: relative;
  padding: 4rem 5vw 3rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 4rem;
  overflow: hidden;
}

.hero-content {
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff, #bbb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--glass-border);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.hero-media:hover img {
  transform: perspective(1000px) rotateY(0deg);
}

/* CAROUSEL */
.carousel-section {
  padding: 3rem 0;
  position: relative;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4), transparent);
}

.carousel-header {
  padding: 0 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.carousel-controls button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  margin-left: 0.5rem;
  transition: all 0.2s;
}

.carousel-controls button:hover {
  background: white;
  color: black;
}

.carousel-track-wrapper {
  padding-left: 5vw;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 2rem;
  /* space for scrollbar if any */
}

/* Hide scrollbar */
.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  min-width: 400px;
  width: 400px;
  height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  border: 1px solid var(--glass-border);
  background: #000;
}

.card-bg-blur {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.card-bg-blur img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(25px) brightness(0.4);
  transform: scale(1.2);
}

.carousel-card>img.card-main-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s ease;
  background: transparent;
}

.carousel-card:hover img {
  transform: scale(1.05);
}

.carousel-card p {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(to top, black, transparent);
  font-weight: 500;
  z-index: 2;
}

/* STREAM SECTION */
.stream-section {
  margin: 4rem 5vw;
  background: linear-gradient(145deg, rgba(20, 20, 30, 0.6), rgba(10, 10, 15, 0.8));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.stream-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(circle at center, rgba(230, 0, 18, 0.1), transparent 70%);
  pointer-events: none;
}

.stream-content {
  flex: 1;
}

.stream-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 250px;
}

.viewer-board {
  display: flex;
  gap: 1rem;
}

.viewer-stat {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  border: 1px solid var(--glass-border);
}

.viewer-stat strong,
.view-counter strong {
  font-size: 1.5rem;
  color: var(--color-red);
}

/* PRODUCTS */
.product-section {
  padding: 0 5vw 4rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--glass-border);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.product-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.15);
}

.product-image-zoom {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
  background: #111;
}

.product-image-zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-image-zoom img {
  transform: scale(1.1);
}

.zoom-loupe {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.product-card:hover .zoom-loupe {
  opacity: 1;
}

.product-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-red);
}

.add-to-cart-group {
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Quantity controls in card */
.quantity-controls {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
  padding: 2px;
}

.quantity-controls button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.quantity-controls button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.quantity-controls span {
  width: 24px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-add-cart {
  flex: 1;
  background: white;
  color: black;
  border: none;
  border-radius: 99px;
  padding: 0.6rem;
  font-weight: 700;
  font-size: 0.9rem;
  transition: 0.2s;
}

.btn-add-cart:hover {
  background: var(--color-red);
  color: white;
}

/* Updated Product Colors */
.product-colors {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.color-option {
  cursor: pointer;
}

.color-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s;
}

.color-option input:checked+.color-swatch {
  transform: scale(1.2);
  box-shadow: 0 0 0 2px var(--color-red);
}

.color-swatch[data-color="Preto"] {
  background: #000;
}

.color-swatch[data-color="Branco"] {
  background: #fee;
}

.color-swatch[data-color="Azul"] {
  background: #007bff;
}

/* PLAYER BAR */
.radio-player {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  background: rgba(20, 20, 25, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 1rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 900;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body.cart-active .radio-player {
  transform: translateX(-50%) translateY(150%);
}

.copyright-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

input[type=range] {
  accent-color: var(--color-red);
}

/* CART DRAWER */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: #111;
  border-left: 1px solid var(--glass-border);
  z-index: 1010;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--glass-border);
}

.drawer-content {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.drawer-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.drawer-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1rem;
  align-items: center;
}

.drawer-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* CHECKOUT & THANKS */
.checkout-page,
.thankyou-card {
  max-width: 1000px;
  margin: 3rem auto;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.checkout-branding {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--glass-border);
}

.checkout-form form {
  display: grid;
  gap: 1.5rem;
}

input,
select,
textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  color: white;
  font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-red);
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.order-summary {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

/* FOOTER LINKS */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 3rem 5vw 8rem;
  /* extra padding for player */
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  background: #000;
}

.footer-icons {
  display: flex;
  gap: 1rem;
}

.footer-icons a {
  width: 44px;
  height: 44px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.footer-icons a:hover {
  background: var(--color-red);
  border-color: var(--color-red);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .stream-section {
    flex-direction: column;
    text-align: center;
  }

  .stream-section::before {
    display: none;
  }

  .radio-player {
    width: 95%;
    bottom: 1rem;
    padding: 0.75rem 1rem;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
  }

  .copyright-text {
    display: none;
  }
}