/* ===================================
   USTED SEÑALEMELO - Main Styles
   =================================== */

/* Local Font - Eurostile Bold Extended */
@font-face {
  font-family: 'Eurostile';
  src: url('./font/EurostileLTStd-BoldEx2.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* CSS Custom Properties */
:root {
  /* Colors */
  --bg-grey: #8E8E8E;
  --bg-black: #000000;
  --text-black: #000000;
  --text-white: #FFFFFF;
  --accent-pink: #FF0080;
  --accent-cyan: #00BFFF;
  --glow-cyan: rgba(0, 191, 255, 0.6);

  /* Typography */
  --font-primary: 'receipt-narrow', 'Eurostile', sans-serif;
  --font-secondary: 'receipt-narrow', 'Eurostile', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
}

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

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

ul {
  list-style: none;
}

/* ===================================
   BLUE GLOW VIGNETTE EFFECT
   =================================== */
.vignette {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
  box-shadow:
    inset 0 0 100px 30px var(--glow-cyan),
    inset 0 0 200px 60px rgba(0, 191, 255, 0.3);
}

/* ===================================
   PAGE WRAPPER
   =================================== */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.page-wrapper--grey {
  background-color: var(--bg-grey);
  color: var(--text-black);
}

.page-wrapper--black {
  background-color: var(--bg-black);
  color: var(--text-white);
}

/* ===================================
   HEADER / NAVIGATION
   =================================== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) var(--spacing-lg);
  position: relative;
  z-index: 10;
}

.nav-left,
.nav-right {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  flex: 1;
}

.nav-left {
  justify-content: flex-start;
}

.nav-right {
  justify-content: flex-end;
}

.nav-link {
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-primary);
  font-size: 1rem;
  letter-spacing: 0.2em;
  white-space: nowrap;
  z-index: 1;
}

.social-icons {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}

.social-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* ===================================
   MAIN CONTENT
   =================================== */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-md);
  text-align: center;
}

/* ===================================
   HERO SECTION (Homepage)
   =================================== */
.hero-numbers {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: 0.3em;
  line-height: 1.4;
  margin-bottom: var(--spacing-lg);
}

.hero-numbers span {
  display: inline-block;
  margin: 0 0.2em;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  opacity: 1;
}

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

.btn--pink {
  background-color: var(--accent-pink);
  color: var(--text-white);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  padding: var(--spacing-md) var(--spacing-lg);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  position: relative;
  z-index: 10;
}

.footer-icons {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.footer-icon {
  height: 24px;
  display: flex;
  align-items: center;
}

.footer-icon svg {
  height: 100%;
  width: auto;
  fill: currentColor;
}

.footer-text {
  font-family: var(--font-secondary);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 768px) {
  .header {
    flex-wrap: wrap;
    padding: var(--spacing-sm);
    gap: var(--spacing-sm);
  }

  .nav-center {
    position: static;
    transform: none;
    order: -1;
    width: 100%;
    text-align: center;
    margin-bottom: var(--spacing-sm);
  }

  .nav-left,
  .nav-right {
    gap: var(--spacing-sm);
  }

  .hero-numbers {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    letter-spacing: 0.2em;
  }

  .footer {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .footer-icons {
    gap: var(--spacing-md);
  }
}

/* ===================================
   HACKER TEXT SCRAMBLE EFFECT
   =================================== */
.hacker-text {
  cursor: crosshair;
}

/* Preserve nav-center absolute positioning even with hacker-text class */
.nav-center.hacker-text {
  position: absolute;
}

.hacker-text.scrambling {
  animation: text-flicker 0.05s infinite;
}

@keyframes text-flicker {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.95;
  }
}