/**
 * CLASSIC-WHEEL-STYLES.CSS - Classic wheel page specific styles
 * Extracted from inline styles in classic-wheel
 */

/* ===== ROOT VARIABLES ===== */

/* ===== CARD STYLES ===== */
.card {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ===== SPIN MODE CARD ===== */
.spin-mode-card {
  padding: 1rem;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: white;
  text-decoration: none;
  color: inherit;
  display: block;
}

.spin-mode-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border-color: #0d6efd;
  text-decoration: none;
}

.spin-mode-card.active {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.spin-mode-card.active .mode-title,
.spin-mode-card.active small {
  color: white !important;
}

.mode-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.mode-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

/* ===== PRESET CARD ===== */
.preset-card {
  cursor: pointer;
  transition: all 0.2s;
  background: white;
  padding: 1rem;
  border-radius: 8px;
  border: 2px solid #e9ecef;
  text-align: center;
}

.preset-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color) !important;
}

.preset-card .preset-emoji {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.preset-card .preset-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #495057;
}

/* ===== ADVANCED TOGGLE ===== */
.advanced-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

#advancedOptions.show {
  display: block;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}


.btn-theme-color {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* ===== ACCORDION ===== */
.accordion-button:not(.collapsed) {
  background-color: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

/* ===== THEME COLOR CLASSES ===== */
.theme-food {
  --primary-color: #FF6F61;
  --secondary-color: #FFD5CC;
}

.theme-food-pizza {
  --primary-color: #FF6F61;
  --secondary-color: #FFB199;
}

.theme-family {
  --primary-color: #F6C947;
  --secondary-color: #FFF2C5;
}

.theme-kids {
  --primary-color: #7ED6F3;
  --secondary-color: #D6F6FF;
}

.theme-classroom {
  --primary-color: #667EEA;
  --secondary-color: #DDE3FF;
}

.theme-travel {
  --primary-color: #4CAF50;
  --secondary-color: #DFF5E1;
}

.theme-home {
  --primary-color: #B0BEC5;
  --secondary-color: #ECEFF1;
}

.theme-fitness {
  --primary-color: #FF8A65;
  --secondary-color: #FFDACC;
}

.theme-games {
  --primary-color: #9C27B0;
  --secondary-color: #F3D1FA;
}

.theme-crypto {
  --primary-color: #f7931a;
  --secondary-color: #345d9d;
}

.theme-wellness-mood {
  --primary-color: #A3D8F4;
  --secondary-color: #FFFFFF;
}

.theme-wellness-stress {
  --primary-color: #C8A2C8;
  --secondary-color: #F5F5DC;
}

.theme-wellness-gratitude {
  --primary-color: #FFDD44;
  --secondary-color: #FFFFFF;
}

.theme-wellness-habits {
  --primary-color: #77DD77;
  --secondary-color: #D3D3D3;
}

body[class*="theme-"] {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

/* ===== AD CONTAINER STYLES ===== */
.ad-container {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  position: relative;
}

.ad-container-middle {
  min-height: 150px;
  max-width: 100%;
}

.ad-label {
  position: absolute;
  top: 5px;
  left: 5px;
  font-size: 10px;
  color: #6c757d;
  text-transform: uppercase;
}

/* ===== STICKY SIDE ADS ===== */
.sticky-ad-left,
.sticky-ad-right {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 160px;
  z-index: 100;
  transition: all 0.3s ease;
}

.sticky-ad-left {
  left: 0;
}

.sticky-ad-right {
  right: 0;
}

.sticky-ad-left .ad-container,
.sticky-ad-right .ad-container {
  min-height: 600px;
  width: 160px;
}

.sticky-ad-left.collapsed {
  left: -150px;
}

.sticky-ad-right.collapsed {
  right: -150px;
}

.ad-close-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.ad-close-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* ===== BOTTOM STICKY AD ===== */
.bottom-sticky-ad {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.bottom-sticky-ad .ad-container {
  min-height: 90px;
}

.bottom-sticky-ad.collapsed {
  bottom: -100%;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1400px) {

  .sticky-ad-left,
  .sticky-ad-right {
    display: none;
  }
}

@media (max-width: 768px) {
  .bottom-sticky-ad {
    display: block;
  }

  .main-layout-row {
    display: flex;
    flex-direction: column;
  }

  .main-layout-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .advanced-toggle {
    position: static;
    margin-bottom: 1rem;
  }
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bg-purple {
  background-color: #9b59b6;
}

.text-purple {
  color: #9b59b6;
}

.bg-gradient-light {
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

.hover-lift {
  transition: transform 0.2s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

.use-case-item {
  height: 100%;
}