@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;800&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

:root {
  --bg-color: #060608;
  --text-color: #f8fafc;
  --text-muted: #88888c;

  /* Brand colors */
  --color-gold: #c89352;
  --color-gold-glow: rgba(200, 147, 82, 0.15);

  /* Card colors */
  --card-bg: rgba(15, 15, 20, 0.55);
  --card-border: rgba(255, 255, 255, 0.05);
  --card-glow: rgba(200, 147, 82, 0.1);

  /* Buttons */
  --btn-bg: rgba(255, 255, 255, 0.015);
  --btn-border: rgba(255, 255, 255, 0.04);
  --btn-hover-bg: rgba(255, 255, 255, 0.06);

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --viewport-height: 100dvh;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-color);
  min-height: var(--viewport-height);
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  line-height: 1.5;
  -webkit-text-size-adjust: none;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

/* Video Background */
.video-background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.video-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 6, 8, 0.72);
  z-index: 1;
}

/* Background Animated Glows */
.bg-glows {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  mix-blend-mode: screen;
}

.orb-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  top: -10%;
  left: -10%;
  opacity: 0.25;
  animation: floatOrb1 25s ease-in-out infinite alternate;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  bottom: -15%;
  right: -10%;
  opacity: 0.2;
  animation: floatOrb2 30s ease-in-out infinite alternate;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.15;
  animation: floatOrb3 20s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(80px, 60px) scale(1.1);
  }

  100% {
    transform: translate(40px, -40px) scale(0.95);
  }
}

@keyframes floatOrb2 {
  0% {
    transform: translate(0, 0) scale(1.05);
  }

  50% {
    transform: translate(-100px, -80px) scale(0.9);
  }

  100% {
    transform: translate(50px, 30px) scale(1.15);
  }
}

@keyframes floatOrb3 {
  0% {
    transform: translate(-50%, -50%) translate(-30px, 40px);
  }

  50% {
    transform: translate(-50%, -50%) translate(50px, -50px);
  }

  100% {
    transform: translate(-50%, -50%) translate(-10px, -10px);
  }
}

/* Site Wrapper */
.site-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 480px;
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-main {
  width: 100%;
}

/* Glassmorphism Card Container */
.inner-card {
  background: var(--card-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 0;
  overflow: hidden;
  text-align: center;
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.2),
    0 20px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.5s ease, border-color 0.5s ease;
}

.inner-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.2),
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 0 40px var(--card-glow),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

/* Card Video Header Banner */
.card-video-header {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--card-border);
}

.card-video-header video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card Content Area */
.card-content {
  width: 100%;
  padding: 40px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.95);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.15);
    opacity: 0.8;
  }
}

@keyframes logoFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-4px) rotate(3deg);
  }
}

/* Headings */
h1.text-component {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  color: #ffffff;
}

h1.text-component span.accent {
  color: var(--color-gold);
}

h1.text-component span.p {
  display: block;
}

p.text-component {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 32px;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

p.text-component::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
}

/* Button Lists */
ul.buttons-component {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

ul.buttons-component li {
  width: 100%;
}

/* Styling Buttons */
ul.buttons-component a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px 24px;
  text-decoration: none;
  color: var(--text-color);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

ul.buttons-component a svg {
  width: 20px;
  height: 20px;
  fill: var(--color-gold);
  color: var(--color-gold);
  margin-right: 14px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

ul.buttons-component a span.label {
  flex-grow: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
}

ul.buttons-component a span.sub-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
  transition: color 0.3s ease;
}

ul.buttons-component a:hover span.sub-label {
  color: inherit;
  opacity: 0.85;
}

/* Chevron arrow on right */
ul.buttons-component a::after {
  content: '→';
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--color-gold);
  opacity: 0.6;
  transform: translateX(-5px);
  transition: all 0.3s ease;
  margin-left: 8px;
}

/* Hover States */
ul.buttons-component a:hover {
  background: rgba(200, 147, 82, 0.08);
  border-color: rgba(200, 147, 82, 0.45);
  color: #ffffff;
  box-shadow:
    0 8px 25px rgba(200, 147, 82, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

ul.buttons-component a:hover {
  transform: translateY(-2px);
}

/* Custom Animations for Button Icons */

/* 1. Operator (Bubble) hover shake */
#btn-operator:hover svg {
  animation: bubbleShake 0.6s ease-in-out;
}

/* 2. Buy 24/7 (Cart) hover roll */
#btn-shop:hover svg {
  animation: cartRoll 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Opt (Box) hover bounce */
#btn-opt:hover svg {
  animation: boxBounce 0.6s ease-in-out;
}

/* 3. Catalog (Grid) hover rotate */
#btn-assortment:hover svg {
  animation: gridRotate 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 4. Signal Group (Globe) infinite rotation & hover speed up */
#btn-group svg {
  animation: globeRotate 24s linear infinite;
  transform-origin: center;
}

#btn-group:hover svg {
  animation: globeRotateHover 1s ease-in-out infinite alternate;
}

ul.buttons-component a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Inline gift icon for Signal Group */
.main-label-text {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.inline-gift-icon {
  display: inline-block !important;
  vertical-align: middle;
  width: 18px !important;
  height: 18px !important;
  fill: var(--color-gold) !important;
  color: var(--color-gold) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#btn-group:hover .inline-gift-icon {
  animation: giftWiggle 0.6s ease-in-out;
}

@keyframes giftWiggle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  20%, 60% { transform: scale(1.25) rotate(-12deg); }
  40%, 80% { transform: scale(1.25) rotate(12deg); }
}

/* Click feedback */
ul.buttons-component a:active {
  transform: translateY(1px);
}

/* Entry Animation Classes */
.animate-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Animation Delays */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

.delay-6 {
  transition-delay: 0.6s;
}

.delay-7 {
  transition-delay: 0.7s;
}

.delay-8 {
  transition-delay: 0.8s;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .site-wrapper {
    padding: 16px;
  }

  .inner-card {
    border-radius: 24px;
  }

  .card-video-header {
    height: 150px;
  }

  .card-content {
    padding: 32px 20px 24px 20px;
  }

  h1.text-component {
    font-size: 1.85rem;
  }

  ul.buttons-component a {
    padding: 14px 18px;
    font-size: 0.95rem;
  }
}

/* Icon Animation Keyframes */
@keyframes bubbleShake {
  0%, 100% { transform: scale(1) rotate(0deg); }
  20%, 60% { transform: scale(1.15) rotate(-10deg); }
  40%, 80% { transform: scale(1.15) rotate(10deg); }
}

@keyframes cartRoll {
  0% { transform: translateX(0) scale(1); }
  25% { transform: translateX(-3px) scale(0.95); }
  60% { transform: translateX(5px) scale(1.1); }
  100% { transform: translateX(0) scale(1); }
}

@keyframes gridRotate {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.2) rotate(45deg); }
  100% { transform: scale(1) rotate(90deg); }
}

@keyframes globeRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes globeRotateHover {
  0% { transform: scale(1.05) rotate(0deg); }
  100% { transform: scale(1.2) rotate(45deg); }
}

@keyframes boxBounce {
  0%, 100% { transform: translateY(0) scale(1) rotate(0); }
  30% { transform: translateY(-4px) scale(1.1) rotate(-5deg); }
  50% { transform: translateY(-4px) scale(1.1) rotate(5deg); }
  80% { transform: translateY(1px) scale(0.95); }
}

/* --- Catalog Modal Overlay Styles --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 6, 8, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 92%;
  max-width: 900px;
  height: 82vh;
  background: rgba(18, 18, 24, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 50px rgba(200, 147, 82, 0.1);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-header {
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-header h2 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.modal-header .close-btn {
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-header .close-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  transform: rotate(90deg);
}

.modal-header .close-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.modal-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 28px;
  -webkit-overflow-scrolling: touch;
}

/* Grid Layout */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.catalog-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: #000;
  cursor: pointer;
  transition: all 0.3s ease;
}

.catalog-item:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 147, 82, 0.4);
  box-shadow: 
    0 10px 20px rgba(0, 0, 0, 0.5),
    0 0 15px rgba(200, 147, 82, 0.15);
}

.catalog-item img, 
.catalog-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.catalog-item:hover img, 
.catalog-item:hover video {
  transform: scale(1.06);
}

.catalog-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.catalog-item:hover .catalog-item-overlay {
  opacity: 1;
}

.catalog-item-overlay span {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.catalog-item:hover .catalog-item-overlay span {
  background: var(--color-gold);
  border-color: var(--color-gold);
}

/* Lightbox View Overlay */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.close-lightbox-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.close-lightbox-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.lightbox-content {
  width: 100%;
  max-width: 90%;
  height: 100%;
  max-height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content img, 
.lightbox-content video {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  object-fit: contain;
  display: block;
}

/* Custom scrollbar for catalog list */
.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

@media (max-width: 480px) {
  .modal-container {
    height: 90vh;
    border-radius: 20px;
  }
  
  .modal-header {
    padding: 16px 20px;
  }
  
  .modal-content {
    padding: 16px;
  }
  
  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
  }
}