:root {
  --bg: #0b1220;
  --panel: #111827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #22c55e;
  --danger: #ef4444;
  --primary-gradient: linear-gradient(135deg, #0b1220 0%, #1a2333 100%);
  --glass: rgba(17, 24, 39, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  background-image: var(--primary-gradient);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 800px;
  padding: 20px;
  box-sizing: border-box;
}

.hero-image {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.2));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.title {
  font-size: 3rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(to right, #fff, #9ca3af);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.subtitle {
  font-size: 2rem;
  font-weight: 700;
  margin: 2rem 0 1rem 0;
  background: linear-gradient(to right, #fff, #9ca3af);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.readvolley-card {
  max-width: 300px;
  width: 100%;
}

.main-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  width: 100%;
  max-width: 600px;
}

.option-card {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.option-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px -10px rgba(34, 197, 94, 0.3);
}

.option-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.option-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.sub-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 18, 32, 0.95);
  backdrop-filter: blur(20px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sub-menu.active {
  opacity: 1;
  pointer-events: all;
}

.close-menu {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.close-menu:hover {
  opacity: 1;
}

.menu-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 1000px;
  padding: 2rem;
}

.menu-item {
  /* Flex properties */
  flex: 1 1 200px;
  max-width: 300px;
  width: 100%;

  background: var(--panel);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  transform: translateY(20px);
  opacity: 0;
}

.menu-item:hover {
  border-color: var(--accent);
  transform: translateY(-5px) !important;
  background: rgba(34, 197, 94, 0.05);
}

.menu-item.highlight {
  flex: 1 1 100%;
  max-width: 800px;

  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
  border-color: rgba(34, 197, 94, 0.3);
  flex-direction: row;
  justify-content: center;
  padding: 2rem;
}

.menu-item.highlight .item-icon {
  font-size: 2.5rem;
}

.menu-item.highlight .item-title {
  font-size: 1.5rem;
}

.item-icon {
  font-size: 3rem;
  height: 48px;
  width: auto;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: contain;
}

.item-title {
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
}

.item-desc {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 600px) {
  .main-options {
    grid-template-columns: 1fr;
  }

  .title {
    font-size: 2rem;
  }

  .menu-item.highlight {
    flex-direction: column;
  }
}