/* Game specific styles */
.game-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 80vh;
}

.game-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-family: var(--font-family-mono);
    color: var(--color-text-sub);
    margin-bottom: 2rem;
}

#game-area {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.score-tally {
    font-family: var(--font-family-mono);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-sub);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

#card-stack {
    width: 100%;
    max-width: 400px;
}

.card {
    position: relative;
    width: 100%;
    background-color: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, opacity 0.3s ease;
    user-select: none;
}

.card h2 {
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 600;
}

.controls {
    display: flex;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
    justify-content: center;
}

.btn-decision {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.1s;
}

.btn-decision:active {
    transform: scale(0.95);
}

.real {
    background-color: var(--color-secondary);
    color: #121212;
}

.fake {
    background-color: var(--color-accent);
    color: #121212;
}

.feedback {
    margin-top: 1rem;
    font-weight: bold;
    min-height: 1.5em;
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.feedback.correct {
    color: var(--color-secondary);
}

.feedback.incorrect {
    color: var(--color-accent);
}

.source-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.source-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-secondary);
}

.hidden {
    display: none !important;
}

/* Animations */
.swipe-left {
    transform: translateX(-150%) rotate(-20deg) !important;
    opacity: 0;
}

.swipe-right {
    transform: translateX(150%) rotate(20deg) !important;
    opacity: 0;
}

#game-over {
    background-color: var(--color-surface);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.5s ease;
    width: 100%;
    max-width: 400px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#game-over h2 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

#game-over p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin: 0.5rem;
    width: 100%;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-text-sub);
    color: var(--color-text-main);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin: 0.5rem;
    width: 100%;
}

/* Real Stories List */
.real-stories-section {
    width: 100%;
    max-width: 600px;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.real-stories-section h3 {
    font-size: 1rem;
    color: var(--color-text-sub);
    margin-bottom: 1rem;
    text-align: left;
}

.real-stories-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.real-story-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border-left: 3px solid transparent;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.real-story-item.correct {
    border-left-color: var(--color-secondary);
}

.real-story-item.missed {
    border-left-color: var(--color-accent);
}

.real-story-item .story-indicator {
    flex-shrink: 0;
    font-weight: bold;
    width: 1.2rem;
}

.real-story-item.correct .story-indicator {
    color: var(--color-secondary);
}

.real-story-item.missed .story-indicator {
    color: var(--color-accent);
}

.real-story-item a {
    color: var(--color-text-main);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    flex: 1;
}

.real-story-item a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.real-story-item .story-source {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: var(--color-text-sub);
    opacity: 0.7;
}