/* 2XT Website Styles */

:root {
  --bg-orange: #ff3f1a;
  --bg-orange-light: #ff5733;
  --bg-orange-dark: #e55a1f;
  --logo-blue: #002cff;
  --text-primary: #ffffff;
  --text-dark: #1a1a1a;
}

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

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

body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  background: url('assets/background.jpg') no-repeat center center;
  background-size: 100% 100%;
  background-color: var(--bg-orange);
  color: var(--text-primary);
}

/* Noise Texture Overlay */
.noise-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  padding-bottom: 3rem;
  gap: 2rem;
}

/* Logo */
.logo {
  max-width: 546px;
  width: 100%;
  height: auto;
  display: block;
  animation: 
    glitch-blur 9s ease-in-out infinite,
    spin-random 30s ease-in-out infinite;
}

@keyframes glitch-blur {
  0%, 88%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  90% {
    transform: translate(-2px, 0) rotate(0deg);
  }
  91% {
    transform: translate(2px, 0) rotate(0deg);
  }
  92% {
    transform: translate(-1px, 0) rotate(0deg);
  }
  93% {
    transform: translate(1px, 0) rotate(0deg);
  }
  94% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes spin-random {
  0%, 96%, 100% {
    transform: rotate(0deg);
  }
  97% {
    transform: rotate(180deg);
  }
  98% {
    transform: rotate(360deg);
  }
}

.logo-text {
  font-size: 4rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-primary);
  opacity: 0.9;
}

/* Video Wrapper */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 
    0 4px 30px rgba(0, 0, 0, 0.3),
    0 0 60px rgba(255, 63, 26, 0.3);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-orange-light) 0%, var(--bg-orange) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-placeholder span {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.video-placeholder p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Social Links */
.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0 1rem;
  max-width: 100%;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-primary);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.socials a:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 1.5rem 1rem;
    padding-bottom: 2.5rem;
    gap: 1.5rem;
  }

  .logo {
    max-width: 390px;
  }

  .logo-text {
    font-size: 2.5rem;
  }

  .video-wrapper {
    border-radius: 2px;
  }

  .socials {
    gap: 0.75rem;
    padding: 0 0.5rem;
  }

  .socials a {
    width: 40px;
    height: 40px;
  }
  
  .socials svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .logo {
    max-width: 312px;
  }

  .video-wrapper {
    max-width: 100%;
  }
  
  .socials {
    gap: 0.5rem;
  }
  
  .socials a {
    width: 36px;
    height: 36px;
  }
  
  .socials svg {
    width: 16px;
    height: 16px;
  }
}
