/* ============================================
   CARD INTERFACE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --primary-color: #007AFF;
    --secondary-color: #5856D6;
    --dark-bg: #000000;
    --light-bg: #F2F2F7;
    --card-bg: #1C1C1E;
    --text-primary: #FFFFFF;
    --text-secondary: #8E8E93;
    --border-color: #38383A;
    --accent-gradient: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow: hidden;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.hidden {
    display: none !important;
}

/* ============================================
   MAIN MENU
   ============================================ */

.main-menu {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--dark-bg);
}

.menu-content {
    max-width: 600px;
    width: 100%;
}

.menu-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.menu-subtitle {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.4;
    color: var(--text-secondary);
}

.menu-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-button {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    color: var(--text-primary);
}

.menu-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.menu-button.primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.menu-button.primary:hover {
    background: #0066DD;
}

.menu-button .icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.menu-button h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.menu-button p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.menu-button.primary p {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   GUIDE SECTIONS
   ============================================ */

.guide-section {
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    padding: 20px;
    background: var(--dark-bg);
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    position: sticky;
    top: 0;
    background: var(--dark-bg);
    padding: 10px 0;
    z-index: 100;
}

.guide-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
}

.guide-content {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.step-card.completed {
    border-color: #34C759;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-header h3 {
    flex: 1;
    font-size: 1.2rem;
}

.check-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--text-secondary);
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.step-card.completed .check-circle {
    background: #34C759;
    border-color: #34C759;
}

.step-card.completed .check-circle::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-body ul {
    list-style-position: inside;
    line-height: 1.8;
}

.step-body li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.step-body strong {
    color: var(--text-primary);
}

.step-body p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* Progress Bars */
.progress-bars {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    gap: 4px;
    z-index: 1000;
}

.progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar.completed {
    background: var(--text-primary);
}

.progress-bar.active {
    background: var(--primary-color);
}

/* Cards Container */
.cards-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.cards-container.hidden {
    display: none;
}

/* Individual Cards */
.card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    padding: 60px 30px 30px;
}

.card.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

.card-content {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.card h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -2px;
}

.card h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.big-text {
    font-size: 1.8rem;
    margin: 30px 0;
    font-weight: 600;
    line-height: 1.4;
}

.small-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.tiny {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.highlight {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 30px 0;
}

.clean-list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 400px;
    margin: 30px auto;
}

.clean-list li {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    border-radius: 12px;
    font-size: 1.1rem;
}

/* Layout Options */
.layout-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.layout-option {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.layout-option.active {
    border-color: var(--primary-color);
    background: rgba(0, 122, 255, 0.1);
}

.layout-option:hover {
    background: rgba(255, 255, 255, 0.08);
}

.layout-preview {
    margin-bottom: 15px;
}

.preview-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preview-screen {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
}

.preview-dock-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 10px;
}

.preview-dock,
.preview-home {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.preview-home {
    flex-direction: column;
    align-items: flex-start;
}

.preview-dock span,
.preview-home span {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.8rem;
}

.preview-dock span {
    background: var(--primary-color);
    font-size: 0.75rem;
}

.preview-home span {
    width: 100%;
    text-align: left;
}

/* Toggle Group */
.toggle-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.toggle-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.toggle-option.active {
    border-color: var(--primary-color);
    background: rgba(0, 122, 255, 0.1);
}

.toggle-option .icon {
    font-size: 2.5rem;
}

.toggle-option .note {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* App Selector */
.app-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.app-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.app-option.active {
    border-color: var(--primary-color);
    background: rgba(0, 122, 255, 0.1);
}

.app-option .app-icon {
    font-size: 2rem;
}

.app-option .app-name {
    font-size: 0.95rem;
    font-weight: 500;
}

.custom-input-wrapper {
    grid-column: 1 / -1;
}

.custom-app-input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    text-align: center;
}

.custom-app-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 122, 255, 0.05);
}

/* Handedness Toggle */
.handedness-toggle {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    justify-content: center;
}

.hand-option {
    flex: 1;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.hand-option.active {
    border-color: var(--primary-color);
    background: rgba(0, 122, 255, 0.1);
}

.hand-option .icon {
    font-size: 2rem;
}

/* Color Controls */
.color-controls {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    justify-content: center;
}

.color-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.color-input label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.color-input input[type="color"] {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    background: transparent;
}

/* Generate Button */
.generate-button {
    margin-top: 30px;
    padding: 18px 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.generate-button:hover {
    background: #0066DD;
    transform: translateY(-2px);
}

/* Wallpaper Generator */
.wallpaper-generator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--dark-bg);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
}

.wallpaper-generator.hidden {
    display: none;
}

.generator-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.back-button {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.15);
}

.generator-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

#wallpaperCanvas {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

.download-btn {
    padding: 18px 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.download-btn:hover {
    background: #0066DD;
    transform: translateY(-2px);
}

.setup-instructions {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.setup-instructions h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.setup-instructions ol {
    list-style-position: inside;
    line-height: 2;
}

.setup-instructions li {
    margin-bottom: 10px;
}

.setup-instructions strong {
    color: var(--primary-color);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .menu-title {
        font-size: 2.2rem;
    }
    
    .menu-subtitle {
        font-size: 1.2rem;
    }
    
    .menu-button {
        padding: 15px;
    }
    
    .menu-button .icon {
        font-size: 2rem;
    }
    
    .menu-button h3 {
        font-size: 1.1rem;
    }
    
    .card h1 {
        font-size: 2.2rem;
    }
    
    .card h2 {
        font-size: 1.8rem;
    }
    
    .big-text {
        font-size: 1.4rem;
    }
    
    .app-selector {
        grid-template-columns: 1fr;
    }
    
    .layout-options {
        gap: 15px;
    }
}

/* ============================================
   OLD STYLES (HIDDEN)
   ============================================ */

body:not(.card-interface) {
    overflow-y: auto;
    height: auto;
}

* {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: var(--accent-gradient);
    padding: 100px 20px 80px;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--text-primary);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Generator Section */
.generator-section {
    padding: 80px 20px;
    background-color: var(--dark-bg);
}

.generator-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.section-intro {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.generator-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.control-group {
    margin-bottom: 25px;
}

.control-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-primary);
}

.control-group input[type="text"] {
    width: 100%;
    padding: 12px;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 8px;
    transition: border-color 0.2s;
}

.control-group input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.control-group input[type="color"] {
    width: 100%;
    height: 50px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    background: var(--dark-bg);
}

.toggle-switch {
    display: flex;
    gap: 10px;
}

.toggle-btn {
    flex: 1;
    padding: 12px;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.toggle-btn.active {
    background: var(--primary-color);
    color: var(--text-primary);
    border-color: var(--primary-color);
}

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

.generate-btn {
    width: 100%;
    padding: 16px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.3);
}

.preview-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#wallpaperCanvas {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.download-btn {
    width: 100%;
    padding: 16px;
    background: var(--secondary-color);
    border: none;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(88, 86, 214, 0.3);
}

/* Setup Section */
.setup-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--dark-bg) 0%, #0A0A0A 100%);
}

.setup-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.steps {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
}

.step:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.step.completed {
    background: #0A3A0A;
    border-color: #2E7D32;
    opacity: 0.7;
}

.step.completed .step-number {
    background: #2E7D32;
}

.step.completed .step-content h3,
.step.completed .step-content p,
.step.completed .step-content ul li {
    text-decoration: line-through;
    opacity: 0.6;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.step-content ul {
    list-style: none;
    padding-left: 0;
}

.step-content ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.step-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.step-content ul li strong {
    color: var(--text-primary);
}

/* Best Practices Section */
.best-practices-section {
    padding: 80px 20px;
    background-color: var(--dark-bg);
}

.best-practices-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
}

.practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.practice-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, border-color 0.2s;
}

.practice-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.practice-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.practice-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Settings Section */
.settings-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--dark-bg) 0%, #0A0A0A 100%);
}

.settings-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
}

.settings-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.settings-category {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.settings-category h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.settings-category ul {
    list-style: none;
    padding-left: 0;
}

.settings-category ul li {
    padding: 10px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.settings-category ul li:last-child {
    border-bottom: none;
}

.settings-category ul li strong {
    color: var(--text-primary);
}

/* Bingo Section */
.bingo-section {
    padding: 80px 20px;
    background-color: var(--dark-bg);
}

.bingo-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.bingo-card {
    max-width: 900px;
    margin: 0 auto 40px;
    background: var(--card-bg);
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 50px rgba(0, 122, 255, 0.2);
}

.bingo-header {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.bingo-letter {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    padding: 10px;
}

.bingo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.bingo-cell {
    aspect-ratio: 1;
    background: #FFFFFF;
    border: 3px solid #333333;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.cell-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.cell-text {
    font-size: 0.7rem;
    line-height: 1.3;
    color: #333333;
    font-weight: 500;
}

.bingo-cell:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.bingo-cell.completed {
    background: #333333 !important;
    position: relative;
    border-color: #FF3B30 !important;
}

.bingo-cell.completed::before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: #00FF00;
    font-weight: bold;
    z-index: 3;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    pointer-events: none;
}

.bingo-cell.completed .cell-number {
    color: #FFFFFF !important;
    opacity: 0.6;
}

.bingo-cell.completed .cell-text {
    color: #FFFFFF !important;
    opacity: 0.5;
    text-decoration: line-through;
}

.bingo-cell.free {
    background: var(--accent-gradient);
    border-color: var(--primary-color);
    cursor: default;
}

.bingo-cell.free .cell-number {
    font-size: 2rem;
    margin-bottom: 8px;
}

.bingo-cell.free .cell-text {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.85rem;
}

.bingo-cell.free:hover {
    transform: none;
}

.bingo-actions {
    text-align: center;
}

.reset-bingo-btn {
    padding: 12px 30px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.reset-bingo-btn:hover {
    border-color: var(--primary-color);
    color: var(--text-primary);
}

.bingo-note {
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    padding: 60px 20px 40px;
    text-align: center;
    background-color: var(--dark-bg);
    border-top: 1px solid var(--border-color);
}

.footer p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.footer-note {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {

    .bingo-card {
        padding: 15px;
    }

    .bingo-letter {
        font-size: 1.8rem;
    }

    .bingo-grid {
        gap: 6px;
    }

    .cell-number {
        font-size: 0.6rem;
        margin-bottom: 4px;
    }

    .cell-text {
        font-size: 0.55rem;
    }

    .bingo-cell {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .bingo-card {
        padding: 10px;
    }
    
    .bingo-letter {
        font-size: 1.5rem;
    }
    
    .bingo-grid {
        gap: 4px;
    }
    
    .cell-number {
        font-size: 0.5rem;
    }
    
    .cell-text {
        font-size: 0.5rem;
    }
    
    .bingo-cell {
        padding: 6px;
    }
        font-size: 1.2rem;
    }

    .generator-card {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        gap: 20px;
    }

    .practices-grid {
        grid-template-columns: 1fr;
    }

    .settings-categories {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: var(--primary-color);
    color: white;
}
