body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    text-align: center;
    max-width: 380px;
    width: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    object-fit: contain;
    /* Ensure it doesn't blow up if something goes wrong */
    max-width: 100%; 
}

h1 {
    margin: 0;
    color: #1a202c;
    font-size: 1.75rem;
    font-weight: 800;
}

.subtitle {
    color: #718096;
    margin-top: 0.75rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    font-size: 1rem;
}

.hidden {
    display: none !important;
}

.invite-card {
    background: #f0fff4;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid #c6f6d5;
    width: 100%;
    box-sizing: border-box;
}

.invite-card h2 {
    margin-top: 0;
    font-size: 1.1rem;
    color: #2f855a;
    margin-bottom: 0.5rem;
}

#match-id-display {
    font-family: monospace;
    background: rgba(255,255,255,0.6);
    padding: 4px 8px;
    border-radius: 6px;
    color: #276749;
    font-size: 0.9rem;
}

.primary-btn {
    background: linear-gradient(to right, #48bb78, #38a169);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 700;
    width: 100%;
    margin-top: 1.2rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(56, 161, 105, 0.2);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(56, 161, 105, 0.3);
}

.primary-btn:active {
    transform: translateY(0);
}

.download-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #edf2f7;
    width: 100%;
}

.download-section p {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.store-badge img {
    height: 50px;
    transition: opacity 0.3s;
}

.store-badge:hover img {
    opacity: 0.8;
}

footer {
    margin-top: 2rem;
    font-size: 0.75rem;
    color: #a0aec0;
}
