/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;800&display=swap');

:root {
  --primary: #8a2be2;
  --primary-glow: rgba(138, 43, 226, 0.4);
  --secondary: #00f2fe;
  --secondary-glow: rgba(0, 242, 254, 0.4);
  --bg-dark: #0a0a0f;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(138, 43, 226, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0, 242, 254, 0.15) 0%, transparent 40%);
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.5;
}

.title-container {
  text-align: center;
  margin-bottom: 3rem;
  z-index: 1;
}

.logo {
  width: 120px;
  height: 120px;
  margin-bottom: 1rem;
  border-radius: 20px;
  box-shadow: 0 0 30px var(--primary-glow);
  animation: logo-glow 3s infinite alternate;
}

@keyframes logo-glow {
  from { box-shadow: 0 0 20px var(--primary-glow); }
  to { box-shadow: 0 0 40px var(--primary-glow), 0 0 60px rgba(138, 43, 226, 0.2); }
}

h1 {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(to right, #8a2be2, #00f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
}

p.subtitle {
  font-size: 1.2rem;
  opacity: 0.7;
  font-weight: 300;
}

.choices-wrapper {
  display: flex;
  gap: 2rem;
  perspective: 1000px;
  z-index: 1;
}

.card {
  position: relative;
  width: 280px;
  height: 380px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: white;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left:0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px var(--primary-glow);
}

.card.desktop:hover {
  border-color: var(--secondary);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px var(--secondary-glow);
}

.icon-wrapper {
  font-size: 4rem;
  margin-bottom: 1rem;
  transition: transform 0.5s;
}

.card:hover .icon-wrapper {
  transform: scale(1.2) rotate(5deg);
}

.card h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.card p {
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.6;
  line-height: 1.4;
}

.btn {
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  background: white;
  color: black;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  transition: background 0.3s;
}

.card:hover .btn {
  background: var(--primary);
  color: white;
}

.card.desktop:hover .btn {
  background: var(--secondary);
  color: black;
}

@media (max-width: 650px) {
  .choices-wrapper {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .card {
    width: 320px;
    height: 180px;
    flex-direction: row;
    padding: 1.5rem;
  }
  
  .icon-wrapper {
    font-size: 2.5rem;
    margin-bottom: 0;
    margin-right: 1.5rem;
  }
  
  .card h2 { font-size: 1.4rem; margin-bottom: 0.2rem; }
  .card p { display: none; }
  .btn { display: none; }
  
  h1 { font-size: 2.5rem; }
}
