.hint-btn {
    width: 100%;
    padding: 12px;
    margin-top: 18px;
    font-size: 1em;
    font-weight: 600;
    background: #f6e05e;
    color: #744210;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}
.hint-btn:hover {
    background: #ecc94b;
    color: #744210;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(246, 224, 94, 0.3);
}
.hint {
    margin-top: 18px;
    padding: 16px;
    background: #fefcbf;
    border-left: 4px solid #ecc94b;
    border-radius: 5px;
    line-height: 1.5;
    color: #744210;
    font-size: 1.05em;
}
.hint.hidden {
    display: none;
}

.hidden {
    display: none;
}

.hint-buttons {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}
.hint-small-btn {
    flex: 1;
    padding: 10px;
    font-weight: 700;
    background: #f6ad55;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}
.hint-small-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(246, 173, 83, 0.25);
}
.hint-small-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.hint-part {
    margin-top: 12px;
    padding: 12px;
    background: #fffaf0;
    border-left: 3px solid #f6ad55;
    border-radius: 6px;
    color: #744210;
}
.penalties {
    margin-top: 12px;
    font-weight: 700;
    color: #d69e2e;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

header {
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.1em;
    opacity: 0.95;
}

.streak-info {
    text-align: center;
    color: white;
    font-size: 1.2em;
    margin-bottom: 20px;
    font-weight: 600;
}

.game-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-bottom: 30px;
}

.date {
    color: #667eea;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author {
    color: #4a5568;
    font-size: 0.9em;
    margin-bottom: 14px;
}

.meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.clue {
    font-size: 1.8em;
    line-height: 1.4;
    margin-bottom: 30px;
    color: #2d3748;
    font-weight: 500;
}

.answer-section {
    margin-top: 30px;
}

.letter-count {
    color: #718096;
    font-size: 0.95em;
    margin-bottom: 10px;
    font-weight: 500;
}

#answer-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.2em;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 15px;
    text-transform: uppercase;
    transition: border-color 0.3s;
}

#answer-input:focus {
    outline: none;
    border-color: #667eea;
}

#answer-input:disabled {
    background-color: #f7fafc;
    cursor: not-allowed;
}

#submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

#submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

#submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    font-size: 1.1em;
}

.result.success {
    background: #c6f6d5;
    color: #22543d;
    border: 2px solid #48bb78;
}

.result.error {
    background: #fed7d7;
    color: #742a2a;
    border: 2px solid #fc8181;
}

.explanation {
    margin-top: 20px;
    padding: 20px;
    background: #edf2f7;
    border-left: 4px solid #667eea;
    border-radius: 5px;
    line-height: 1.6;
}

.explanation.hidden {
    display: none;
}

.explanation strong {
    color: #667eea;
}

.share-btn {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    font-size: 1.05em;
    font-weight: 600;
    background: #48bb78;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.share-btn:hover {
    background: #38a169;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.4);
}

.share-btn.hidden {
    display: none;
}

.navigation {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
}

.nav-btn {
    padding: 12px 24px;
    font-size: 1em;
    font-weight: 600;
    background: white;
    color: #667eea;
    border: 2px solid white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-btn:hover:not(:disabled) {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.archive {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.archive h2 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.archive-list {
    display: grid;
    gap: 10px;
}

.archive-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f7fafc;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.archive-item:hover {
    background: #edf2f7;
    border-color: #667eea;
    transform: translateX(5px);
}

.archive-item.solved {
    border-left: 4px solid #48bb78;
}

.archive-item.current {
    border: 2px solid #667eea;
    background: #ebf4ff;
}

.archive-date {
    font-weight: 600;
    color: #2d3748;
}

.archive-author {
    font-size: 0.9em;
    color: #718096;
    margin-left: 10px;
}

.archive-status {
    font-size: 0.9em;
    color: #718096;
}

.archive-status.solved {
    color: #22543d;
    font-weight: 600;
}

@media (max-width: 600px) {
    header h1 {
        font-size: 2em;
    }
    
    .game-card {
        padding: 25px;
    }
    
    .clue {
        font-size: 1.4em;
    }
    
    .navigation {
        flex-direction: column;
    }
}
