body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.main-content {
    width: 100%;
    max-width: 1200px; /* Allow content to be wider */
    padding: 20px;
}

.main-content h1 {
    font-family: 'Jersey 10', cursive;
    font-size: 3.5rem;
    color: #0f172a;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.settings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
}

@media (min-width: 992px) {
    .settings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* Settings Sections */
.settings-section {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 24px;
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    /* transition removed for accessibility */
}

/* Hover transform effect removed for accessibility */

.settings-section h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.settings-section .setting-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.settings-section .setting-item:first-of-type {
    padding-top: 0;
}


.setting-item-content {
    flex: 1;
    padding-right: 16px;
}

.setting-item-content > label {
    font-family: 'Baloo 2', cursive;
    font-size: 1rem;
    font-weight: 700;
    color: #334155;
    margin: 0;
    display: block;
}

.setting-description {
    font-family: 'Baloo 2', cursive;
    font-size: 0.85rem;
    color: #64748b;
    margin: 4px 0 0 0;
}

/* Volume Slider */
.volume-control {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.volume-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    outline: none;
    border-radius: 3px;
    transition: background 0.2s;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #10b981;
    cursor: pointer;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #10b981;
    cursor: pointer;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

#volume-percentage {
    font-family: 'Baloo 2', cursive;
    font-weight: 700;
    color: #475569;
    min-width: 40px;
    text-align: right;
    font-size: 0.9rem;
}

/* Reset Button */
.reset-btn {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: 'Baloo 2', cursive;
}
.reset-btn:hover {
    background-color: #ef4444;
    border-color: #ef4444;
    color: #fff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.action-btn {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: 'Baloo 2', cursive;
    text-decoration: none;
    text-align: center;
}
.action-btn:hover {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .4s;
  border-radius: 24px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
input:checked + .slider {
  background-color: #3b82f6;
}
input:checked + .slider:before {
  transform: translateX(20px);
} 