/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* CSS Variables */
:root {
  --font-sans: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
  
  /* Color Palette */
  --bg-primary: #050508;
  --accent-gold: #ffb703;
  --accent-gold-glow: rgba(255, 183, 3, 0.4);
  --accent-violet: #8a2be2;
  --accent-violet-glow: rgba(138, 43, 226, 0.25);
  --accent-crimson: #ff4d6d;
  
  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #ffd166 0%, #ffb703 50%, #fb8500 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  
  /* Styling Tokens */
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: #f3f3f6;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Background image with overlay */
.fullscreen-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/tech_background.png');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  filter: grayscale(20%) contrast(110%);
  z-index: -2;
  animation: zoom-bg 40s infinite alternate;
}

@keyframes zoom-bg {
  0% { transform: scale(1); }
  100% { transform: scale(1.06); }
}

/* Ambient background lights */
.ambient-glow-1 {
  position: absolute;
  top: -10%;
  left: 10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--accent-violet-glow) 0%, rgba(0,0,0,0) 75%);
  z-index: -1;
  pointer-events: none;
  animation: float-glow 20s infinite alternate;
}

.ambient-glow-2 {
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(255, 183, 3, 0.05) 0%, rgba(0,0,0,0) 75%);
  z-index: -1;
  pointer-events: none;
  animation: float-glow 25s infinite alternate-reverse;
}

@keyframes float-glow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(6%, 6%) scale(1.08); }
}

/* Pre-lander layout styling */
.prelander-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 480px;
  padding: 20px;
}

.prelander-card {
  background: 
    linear-gradient(rgba(6, 6, 12, 0.82), rgba(6, 6, 12, 0.82)) padding-box,
    linear-gradient(135deg, rgba(255, 183, 3, 0.5) 0%, rgba(138, 43, 226, 0.25) 50%, rgba(255, 183, 3, 0.05) 100%) border-box;
  border: 1.5px solid transparent;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 32px;
  padding: 55px 45px;
  text-align: center;
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.85),
    0 0 50px rgba(138, 43, 226, 0.12),
    0 0 30px rgba(255, 183, 3, 0.04),
    inset 0 0 20px rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.prelander-card:hover {
  transform: translateY(-6px);
  background: 
    linear-gradient(rgba(6, 6, 12, 0.82), rgba(6, 6, 12, 0.82)) padding-box,
    linear-gradient(135deg, rgba(255, 183, 3, 0.9) 0%, rgba(138, 43, 226, 0.6) 50%, rgba(255, 183, 3, 0.3) 100%) border-box;
  box-shadow: 
    0 35px 80px rgba(0, 0, 0, 0.95),
    0 0 60px rgba(138, 43, 226, 0.25),
    0 0 40px rgba(255, 183, 3, 0.15),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
}

/* Portal Icon */
.portal-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 183, 3, 0.05);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
  border: 1px solid rgba(255, 183, 3, 0.25);
  box-shadow: 
    0 0 20px rgba(255, 183, 3, 0.1),
    inset 0 0 10px rgba(255, 183, 3, 0.1);
  transition: var(--transition-smooth);
}

.prelander-card:hover .portal-icon {
  transform: scale(1.08) rotate(5deg);
  border-color: rgba(255, 183, 3, 0.5);
  box-shadow: 
    0 0 25px rgba(255, 183, 3, 0.3),
    inset 0 0 15px rgba(255, 183, 3, 0.2);
}

/* Portal Branding */
.portal-brand {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  letter-spacing: 0.3em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-block;
}

.portal-brand span {
  color: var(--accent-gold);
  font-weight: 700;
}

/* Titles & descriptions */
.portal-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 35px;
  letter-spacing: 0.02em;
}

/* Buttons */
.portal-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.btn {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 16px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--gradient-gold);
  color: #050508;
  box-shadow: 0 4px 20px var(--accent-gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-gold-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #a0a0b0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(255, 77, 109, 0.08);
  border-color: rgba(255, 77, 109, 0.4);
  color: var(--accent-crimson);
  transform: translateY(-2px);
}


/* ==========================================================================
   Responsive adjustments
   ========================================================================== */
@media (max-width: 480px) {
  .prelander-card {
    padding: 40px 25px;
    border-radius: 24px;
  }
  
  .portal-brand {
    font-size: 1.5rem;
  }
  
  .portal-title {
    font-size: 1.4rem;
  }
  
  .portal-desc {
    font-size: 0.85rem;
    margin-bottom: 25px;
  }
  
  .btn {
    padding: 14px 25px;
    font-size: 0.88rem;
  }
}
