/* =============================================
   RANDOMIZERWHEEL – SPIN THE WHEEL
   style.css
   ============================================= */

:root {
  --primary: #ff5733;
  --primary-dark: #e03e1f;
  --secondary: #ffd600;
  --accent: #00c2ff;
  --dark: #1a1025;
  --dark2: #2b1f40;
  --light: #fff9f0;
  --card-bg: #ffffff;
  --border: #e8e0f5;
  --text: #2d2040;
  --text-light: #6b5f80;
  --shadow: 0 8px 32px rgba(60,20,120,0.12);
  --shadow-lg: 0 20px 60px rgba(60,20,120,0.18);
  --radius: 20px;
  --radius-sm: 12px;
  --font-head: 'Lilita One', cursive;
  --font-body: 'Nunito', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- UTILITY ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  color: var(--dark);
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 52px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.gradient-text {
  background: linear-gradient(135deg, #ff5733, #ffd600, #00c2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 800;
  border: none; border-radius: 50px; cursor: pointer;
  transition: all 0.25s ease; text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #ff8c00);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255,87,51,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,87,51,0.55); }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-danger { background: #ff4444; color: #fff; box-shadow: 0 4px 12px rgba(255,68,68,0.3); }
.btn-danger:hover { background: #cc0000; }
.btn-add { background: #28a745; color: #fff; box-shadow: 0 4px 12px rgba(40,167,69,0.3); }
.btn-add:hover { background: #1e7e34; }
.btn-sm { font-size: 0.85rem; padding: 8px 18px; }
.btn-lg { font-size: 1.1rem; padding: 16px 36px; }
.btn-xl { font-size: 1.25rem; padding: 20px 52px; }
.full-width { width: 100%; justify-content: center; }
.pulse-btn { animation: pulse 2.2s infinite; }
@keyframes pulse {
  0%,100% { box-shadow: 0 6px 20px rgba(255,87,51,0.4); }
  50% { box-shadow: 0 6px 40px rgba(255,87,51,0.75), 0 0 0 10px rgba(255,87,51,0.1); }
}

/* =============================================
   HEADER
   ============================================= */
#site-header { position: sticky; top: 0; z-index: 1000; }
.site-header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border);
  padding: 0 24px;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 20px rgba(60,20,120,0.08);
}
.header-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 1.5rem; color: var(--primary);
}
.logo-icon { font-size: 1.8rem; animation: spin-slow 8s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.header-nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  font-weight: 700; font-size: 0.95rem; color: var(--text);
  text-decoration: none; padding: 8px 16px; border-radius: 50px;
  transition: all 0.2s;
}
.nav-link:hover { background: rgba(255,87,51,0.1); color: var(--primary); }
.header-cta { margin-left: 12px; }
.hamburger {
  display: none; background: none; border: none;
  font-size: 1.6rem; cursor: pointer; color: var(--text);
}
.mobile-nav {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: #fff; border-bottom: 2px solid var(--border);
  padding: 20px; flex-direction: column; gap: 8px;
  box-shadow: var(--shadow);
}
.mobile-nav.open { display: flex; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1a1025 0%, #2d1b4e 50%, #1a2a3a 100%);
  overflow: hidden;
  padding: 80px 0 100px;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 10% 50%, rgba(255,87,51,0.15) 0%, transparent 50%),
    radial-gradient(circle at 90% 20%, rgba(0,194,255,0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(255,214,0,0.1) 0%, transparent 50%);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: #fff; line-height: 1.1; margin-bottom: 20px;
}
.hero-sub { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 32px; max-width: 500px; }
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 32px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-head); font-size: 1.8rem; color: var(--secondary); }
.stat-lbl { font-size: 0.8rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.05em; }
.hero-wheel-preview {
  position: relative;
  display: flex; justify-content: center; align-items: center;
}
.mini-wheel-container {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.mini-wheel-container canvas {
  filter: drop-shadow(0 20px 50px rgba(255,87,51,0.4));
  border-radius: 50%;
}
.mini-spin-btn {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #ff5733, #ff8c00);
  color: #fff; font-family: var(--font-head);
  font-size: 1.1rem; border: 4px solid #fff;
  border-radius: 50%; width: 72px; height: 72px;
  cursor: pointer; transition: transform 0.2s;
  box-shadow: 0 8px 25px rgba(255,87,51,0.5);
}
.mini-spin-btn:hover { transform: translate(-50%, -50%) scale(1.1); }
.floating-card {
  position: absolute;
  background: #fff; border-radius: 50px;
  padding: 10px 18px; font-weight: 800; font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  animation: float 3s ease-in-out infinite;
  color: var(--text);
}
.fc1 { top: 10%; left: -20px; animation-delay: 0s; }
.fc2 { bottom: 15%; right: -10px; animation-delay: 1.5s; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* =============================================
   WHEEL APP SECTION
   ============================================= */
.wheel-app-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8f2ff 0%, #fff9f0 100%);
}
.app-layout {
  display: grid;
  grid-template-columns: 280px 1fr 220px;
  gap: 28px;
  align-items: start;
}

/* Controls Panel */
.app-controls {
  background: var(--card-bg); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px; display: flex;
  flex-direction: column; gap: 20px;
}
.wheel-type-tabs {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.tab-btn {
  flex: 1 1 auto; font-family: var(--font-body); font-weight: 700;
  font-size: 0.8rem; padding: 8px 10px; border-radius: 50px;
  border: 2px solid var(--border); background: #f5f0ff;
  color: var(--text-light); cursor: pointer; transition: all 0.2s;
  min-width: 80px;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.entries-panel { display: flex; flex-direction: column; gap: 10px; }
.entries-header {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 800; font-size: 0.9rem;
}
.entry-count {
  background: var(--primary); color: #fff;
  border-radius: 50%; width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800;
}
.entries-list { max-height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.entries-list::-webkit-scrollbar { width: 4px; }
.entries-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.entry-row {
  display: flex; align-items: center; gap: 8px;
}
.entry-color-dot {
  width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
}
.entry-input {
  flex: 1; border: 1.5px solid var(--border); border-radius: 8px;
  padding: 6px 10px; font-family: var(--font-body); font-size: 0.85rem;
  color: var(--text); background: #f9f6ff; transition: border 0.2s;
}
.entry-input:focus { outline: none; border-color: var(--primary); }
.entry-delete {
  background: none; border: none; cursor: pointer;
  color: #ccc; font-size: 1rem; transition: color 0.2s; flex-shrink: 0;
}
.entry-delete:hover { color: #ff4444; }
.entries-actions { display: flex; gap: 8px; }

/* Settings toggles */
.spin-settings { display: flex; flex-direction: column; gap: 10px; }
.setting-row {
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: 0.88rem; cursor: pointer; padding: 4px 0;
}
.setting-row input[type=checkbox] { display: none; }
.toggle {
  width: 40px; height: 22px; border-radius: 50px;
  background: #ddd; position: relative; transition: background 0.25s; flex-shrink: 0;
}
.toggle::after {
  content: ''; position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; transition: left 0.25s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
input:checked + .toggle { background: var(--primary); }
input:checked + .toggle::after { left: 21px; }

/* Results history */
.results-history { background: #f9f6ff; border-radius: var(--radius-sm); padding: 14px; }
.results-title { font-weight: 800; font-size: 0.9rem; margin-bottom: 10px; }
.history-list { display: flex; flex-direction: column; gap: 6px; max-height: 160px; overflow-y: auto; }
.history-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; padding: 5px 8px;
  background: #fff; border-radius: 8px;
  border-left: 3px solid var(--primary);
}
.history-num { font-weight: 800; color: var(--text-light); font-size: 0.75rem; }
.history-empty { font-size: 0.82rem; color: var(--text-light); text-align: center; padding: 8px 0; }

/* Wheel Center */
.wheel-center {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.wheel-wrapper {
  position: relative; display: flex; flex-direction: column; align-items: center;
}
.wheel-pointer {
  font-size: 2.2rem; color: #2d2040; text-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 10; position: absolute; top: -20px; left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3));
}
#mainWheel {
  border-radius: 50%;
  box-shadow: 0 0 0 8px #fff, 0 0 0 12px #f0e8ff, 0 20px 60px rgba(60,20,120,0.25);
  cursor: pointer;
}
#mainWheel:hover { transform: scale(1.01); }
.spin-main-btn { margin-top: 8px; }
.winner-display {
  background: linear-gradient(135deg, #fff8e1, #fff3cd);
  border: 3px solid var(--secondary);
  border-radius: var(--radius);
  padding: 28px; text-align: center;
  box-shadow: 0 10px 40px rgba(255,214,0,0.3);
  animation: winner-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes winner-pop {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.winner-emoji { font-size: 2.5rem; margin-bottom: 4px; }
.winner-label { font-weight: 800; color: var(--text-light); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; }
.winner-name {
  font-family: var(--font-head); font-size: 2rem;
  color: var(--primary); margin: 6px 0 16px;
}

/* Right Panel */
.app-right {
  background: var(--card-bg); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px;
  display: flex; flex-direction: column; gap: 20px;
}
.theme-title { font-weight: 800; font-size: 0.9rem; margin-bottom: 10px; }
.theme-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.theme-btn {
  background: #f5f0ff; border: 2px solid var(--border); border-radius: 12px;
  font-size: 1.4rem; padding: 10px; cursor: pointer; transition: all 0.2s;
  aspect-ratio: 1;
}
.theme-btn:hover, .theme-btn.active {
  border-color: var(--primary); background: rgba(255,87,51,0.1);
  transform: scale(1.1);
}

/* Presets */
.preset-btn {
  width: 100%; padding: 8px 12px; border: 1.5px solid var(--border);
  border-radius: 50px; background: #f5f0ff; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 0.82rem;
  color: var(--text); transition: all 0.2s; margin-bottom: 6px;
  text-align: left;
}
.preset-btn:hover { border-color: var(--primary); background: rgba(255,87,51,0.08); color: var(--primary); }

/* =============================================
   WHEEL TYPES
   ============================================= */
.wheel-types-section {
  padding: 80px 0;
  background: #fff;
}
.types-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px;
}
.type-card {
  background: var(--light); border-radius: var(--radius);
  padding: 28px 24px; border: 2px solid var(--border);
  transition: all 0.3s; position: relative; overflow: hidden;
}
.type-card::before {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.type-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.type-card:hover::before { transform: scaleX(1); }
.type-card.featured { border-color: var(--primary); background: linear-gradient(135deg, #fff5f2, #fff); }
.type-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--primary); color: #fff;
  border-radius: 50px; padding: 3px 12px; font-size: 0.75rem; font-weight: 800;
}
.type-icon { font-size: 2.5rem; margin-bottom: 12px; }
.type-card h3 { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 8px; }
.type-card p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 16px; }

/* =============================================
   FEATURES
   ============================================= */
.features-section { padding: 80px 0; background: #f8f2ff; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px;
}
.feature-item {
  background: #fff; border-radius: var(--radius); padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(60,20,120,0.07);
  transition: all 0.3s;
}
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat-icon { font-size: 2.2rem; margin-bottom: 12px; }
.feature-item h3 { font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 8px; }
.feature-item p { color: var(--text-light); font-size: 0.9rem; }

/* =============================================
   USE CASES
   ============================================= */
.usecases-section { padding: 80px 0; background: #fff; }
.usecase-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px;
}
.usecase-card {
  display: flex; gap: 18px; padding: 24px;
  background: var(--light); border-radius: var(--radius);
  border: 2px solid var(--border); transition: all 0.3s;
}
.usecase-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.uc-emoji { font-size: 2.2rem; flex-shrink: 0; }
.usecase-card h3 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 6px; }
.usecase-card p { color: var(--text-light); font-size: 0.88rem; }

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-section { padding: 80px 0; background: var(--dark); }
.how-section .section-title { color: #fff; }
.how-section .section-sub { color: rgba(255,255,255,0.65); }
.steps-row {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap;
}
.step {
  display: flex; align-items: flex-start; gap: 16px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 28px 24px;
  max-width: 280px; transition: all 0.3s;
}
.step:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.3rem; color: #fff; flex-shrink: 0;
}
.step-content h3 { font-family: var(--font-head); font-size: 1.1rem; color: #fff; margin-bottom: 6px; }
.step-content p { color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.step-arrow { font-size: 2rem; color: rgba(255,255,255,0.3); }

/* =============================================
   SEO SECTION
   ============================================= */
.seo-section { padding: 80px 0; background: var(--light); }
.seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.seo-text h2 {
  font-family: var(--font-head); font-size: 1.5rem; color: var(--dark);
  margin-bottom: 16px;
}
.seo-text p { color: var(--text-light); margin-bottom: 16px; line-height: 1.75; }
.seo-text strong { color: var(--primary); }

/* =============================================
   FAQ
   ============================================= */
.faq-section { padding: 80px 0; background: #fff; }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 2px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: #f9f6ff; padding: 18px 20px; font-family: var(--font-body);
  font-weight: 800; font-size: 1rem; color: var(--text); cursor: pointer; border: none;
  text-align: left; transition: background 0.2s;
}
.faq-q:hover { background: #f0e8ff; }
.faq-q.active { background: var(--primary); color: #fff; }
.faq-icon { font-size: 1.2rem; font-weight: 400; transition: transform 0.3s; flex-shrink: 0; margin-left: 12px; }
.faq-q.active .faq-icon { transform: rotate(45deg); }
.faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-a.open { max-height: 300px; padding: 16px 20px; }
.faq-a p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #ff5733, #ff8c00, #ffd600);
}
.cta-inner {
  text-align: center;
}
.cta-inner h2 {
  font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); color: #fff;
  margin-bottom: 16px;
}
.cta-inner p {
  color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 32px;
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.cta-section .btn-primary {
  background: #fff; color: var(--primary);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.cta-section .btn-primary:hover { background: var(--dark); color: #fff; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-top: 12px; max-width: 260px; }
.footer-col h4 {
  font-family: var(--font-head); font-size: 1rem; color: #fff; margin-bottom: 14px;
}
.footer-link {
  display: block; color: rgba(255,255,255,0.55); text-decoration: none;
  font-size: 0.88rem; margin-bottom: 8px; transition: color 0.2s;
}
.footer-link:hover { color: var(--secondary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px; display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--font-head); font-size: 1.3rem; color: var(--secondary);
}

/* =============================================
   TOAST
   ============================================= */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--dark); color: #fff; padding: 12px 24px;
  border-radius: 50px; font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  opacity: 0; transition: all 0.35s ease; z-index: 9998;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .app-layout { grid-template-columns: 1fr 1fr; }
  .app-right { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .seo-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-stats { justify-content: center; }
  .hero-cta-row { justify-content: center; }
  .hero-wheel-preview { order: -1; }
  .app-layout { grid-template-columns: 1fr; }
  .app-right { grid-template-columns: 1fr; }
  .header-nav, .header-cta { display: none; }
  .hamburger { display: block; }
  .steps-row { flex-direction: column; align-items: stretch; }
  .step-arrow { display: none; }
  .step { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  #mainWheel { width: 320px !important; height: 320px !important; }
}

@media (max-width: 480px) {
  .hero { padding: 50px 0 60px; }
  .types-grid, .features-grid, .usecase-grid { grid-template-columns: 1fr; }
  .wheel-type-tabs { flex-direction: column; }
  .tab-btn { text-align: center; }
}
/* Mobile: Wheel on top - FIXED VERSION */
@media (max-width: 768px) {
  .app-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px;
  }
  
  /* Center the wheel */
  .wheel-center {
    order: 0 !important;
    margin-bottom: 20px;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }
  
  /* Make wheel canvas responsive and centered */
  .wheel-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
  }
  
  #mainWheel {
    display: block !important;
    margin: 0 auto !important;
    width: 280px !important;
    height: 280px !important;
  }
  
  /* Controls - full width */
  .app-controls {
    order: 1 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Right panel - full width */
  .app-right {
    order: 2 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Fix entries list width */
  .entries-list {
    width: 100%;
  }
  
  .entry-row {
    width: 100%;
  }
  
  .entry-input {
    width: 100%;
    min-width: 0;
  }
}
