@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    background: #fafafa;
    color: #24292e;
}

.container {
    flex: 1 0 auto;
    padding: 0 16px;
    margin: 0 auto;
    text-align: center;
}

.header {
    margin-top: 50px;
    margin-bottom: 30px;
}

#title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ff6600;
}

#tag-line {
    font-size: 1.5rem;
    opacity: 0.8;
    font-weight: 300;
}

.score-section {
    margin-bottom: 50px;
}

.score {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ff6600;
}

.instruction {
    font-size: 1.1rem;
}

.game-container {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    margin-top: 40px;
    background: white;
    border-radius: 15px;
    padding: 30px;
    width: 350px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #c9d1d9;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #ff6600;
    box-shadow: 0 4px 20px rgba(255, 102, 0, 0.5);
}

.card.correct {
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
}

.card.incorrect {
    border-color: #f87171;
    background: rgba(248, 113, 113, 0.1);
}

.card.disabled {
    pointer-events: none;
    opacity: 0.7;
}

.startup-name {
    text-decoration: underline;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ff6600;
}

.startup-description {
    font-size: 1rem;
    line-height: 1.5;
}

.funding-info {
    color: #ff6600;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 6px;
    padding: 4px 8px;
    display: inline-block;
    margin-top: 10px;
}

.result-section {
    margin: 0 auto 30px;
}

.result-message {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 10px;
}

.result-message.correct {
    background: rgba(74, 222, 128, 0.2);
    border: 2px solid #4ade80;
}

.result-message.incorrect {
    background: rgba(248, 113, 113, 0.2);
    border: 2px solid #f87171;
}

.next-btn {
    background: #ff6600;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.next-btn:hover {
    background: #bd4400;
}

.score-summary {
    display: none;
    text-align: center;
    padding: 20px 10px;
    border-radius: 15px;
    border: 2px solid #c9d1d9;
    max-width: 600px;
    background: white;
}

.final-score {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #ff6600;
}

.score-message {
    font-size: 1.5rem;
    opacity: 0.8;
    font-weight: 300;
    margin-bottom: 30px;
}

.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.share-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn.twitter {
    background: #1d9bf0;
    color: white;
}

.share-btn.twitter:hover {
    background: #1a8cd8;
    transform: translateY(-2px);
}

.share-btn.whatsapp {
    background: #25d366;
    color: white;
}

.share-btn.whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.continue-btn {
    background: #ff6600;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.continue-btn:hover {
    background: #bd4400;
    transform: translateY(-2px);
}

.footer {
    width: 100%;
    text-align: center;
    padding: 20px 0;
}

.footer a {
    color: #ff6600;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        min-height: 100dvh;
    }

    .container {
        padding: 0 12px;
        min-height: calc(100dvh - 400px);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #title {
        font-size: 2rem;
        margin-bottom: 5px;
    }

    #tag-line {
        font-size: 1rem;
    }

    .score {
        font-size: 1.4rem;
        margin-bottom: 5px;
    }

    .instruction {
        font-size: 0.9rem;
        padding: 0 8px;
        line-height: 1.3;
    }

    .header {
        margin-top: 15px;
        margin-bottom: 10px;
        flex-shrink: 0;
    }

    .score-section {
        margin-bottom: 15px;
        flex-shrink: 0;
    }

    .game-container {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 15px;
        align-items: center;
        flex: 1;
        display: flex;
        justify-content: center;
        min-height: 0;
    }

    .card {
        margin-top: 0;
        width: 100%;
        max-width: 320px;
        padding: 16px;
        min-height: 44px;
        flex-shrink: 0;
    }

    .startup-name {
        font-size: 1.1rem;
        line-height: 1.1;
        margin-bottom: 8px;
    }

    .startup-description {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .funding-info {
        font-size: 0.75rem;
        padding: 4px 6px;
        margin-top: 8px;
    }

    .result-section {
        padding: 0 8px;
        flex-shrink: 0;
        margin-bottom: 10px;
    }

    .result-message {
        font-size: 1rem;
        padding: 12px;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .next-btn {
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        min-height: 44px;
    }


    .final-score {
        font-size: 1.4rem;
    }

    .score-message {
        font-size: 1rem;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
        font-size: 0.9rem;
    }

    .continue-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .footer {
        padding: 10px 8px;
        flex-shrink: 0;
        margin-top: 0;
    }

    .footer a {
        font-size: 0.9rem;
    }
}