/* Home Page Specific Styles */

/* Game Modes Section */
.home-game-modes {
    background: #fff8f0;
    padding: 60px 20px;
    border-top: 1px solid #ffe4c4;
}

.home-section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.home-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.home-section-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 16px;
}

.home-section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.home-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.home-game-card {
    text-decoration: none;
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
    border: 2px solid #f59e0b;
    transition: transform 0.3s ease;
}

.home-game-card:hover {
    transform: translateY(-4px);
}

.home-game-card.blue {
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.15);
    border-color: #1e40af;
}

.home-game-card.purple {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.home-game-card .icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.home-game-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.home-game-card.orange h3,
.home-game-card.orange .cta {
    color: #f59e0b;
}

.home-game-card.blue h3,
.home-game-card.blue .cta {
    color: #1e40af;
}

.home-game-card.purple h3,
.home-game-card.purple .cta {
    color: #667eea;
}

.home-game-card p {
    color: #666;
    margin-bottom: 16px;
    line-height: 1.6;
}

.home-game-card .cta {
    font-weight: 600;
}

.home-section-cta {
    text-align: center;
}

.home-btn-primary {
    display: inline-block;
    background: #f59e0b;
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.home-btn-primary:hover {
    background: #d97706;
}

/* Daily Hints Section */
.home-hints-section {
    background: #f8f9fa;
    padding: 40px 20px;
    border-top: 1px solid #e9ecef;
}

.home-hints-container {
    max-width: 1000px;
    margin: 0 auto;
}

.home-hints-header {
    text-align: center;
    margin-bottom: 24px;
}

.home-hints-title {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 8px;
}

.home-hints-subtitle {
    font-size: 0.95rem;
    color: #888;
    max-width: 500px;
    margin: 0 auto;
}

.home-hints-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.home-hint-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border-radius: 8px;
    padding: 10px 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.home-hint-link:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.home-hint-link.wordle:hover { border-color: #22c55e; }
.home-hint-link.connections:hover { border-color: #a855f7; }
.home-hint-link.strands:hover { border-color: #3b82f6; }
.home-hint-link.mini:hover { border-color: #f59e0b; }
.home-hint-link.nyt:hover { border-color: #dc2626; }
.home-hint-link.cryptic:hover { border-color: #667eea; }

.home-hint-link .emoji {
    font-size: 1.2rem;
}

.home-hint-link .text {
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
}

.home-hints-footer {
    text-align: center;
}

.home-hints-archive {
    color: #666;
    font-size: 0.85rem;
    text-decoration: none;
}

.home-hints-archive:hover {
    color: #333;
}

/* Learning Resources Section */
.home-learning-section {
    background: #f8f9ff;
    padding: 60px 20px;
    border-top: 1px solid #e0e4ff;
}

.home-learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.home-learning-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.home-learning-card:hover {
    transform: translateY(-4px);
}

.home-learning-card.purple { border-left: 4px solid #667eea; }
.home-learning-card.green { border-left: 4px solid #27ae60; }
.home-learning-card.orange { border-left: 4px solid #ff6b35; }

.home-learning-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.home-learning-card.purple h3,
.home-learning-card.purple a { color: #667eea; }
.home-learning-card.green h3,
.home-learning-card.green a { color: #27ae60; }
.home-learning-card.orange h3,
.home-learning-card.orange a { color: #ff6b35; }

.home-learning-card p {
    color: #666;
    margin-bottom: 16px;
    line-height: 1.6;
}

.home-learning-card a {
    font-weight: 600;
    text-decoration: none;
}

.home-btn-secondary {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.home-btn-secondary:hover {
    background: #5a67d8;
}
