.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 1000;
}

* {
  text-transform: uppercase;
}


.modal-content {
    position: relative;
    background: #000000;
    color: #fff;
    margin: 15% auto;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
}

.modal-content.large {
    max-width: 700px;
    margin: 10% auto;
    padding: 40px;
}

.close-btn {
    position: absolute;
    right: 12px;
    top: 12px;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.close-btn:hover {
    color: #ccc;
}

.cards-collection-display {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 32px 0;
    flex-wrap: wrap;
}

.collection-block {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #000;
    font-weight: bold;
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.initials-input {
    margin: 32px 0;
}

.initials-input p {
    margin-bottom: 16px;
    font-size: 20px;
}

.initials-input input {
    background: transparent;
    border: none;
    border-bottom: 3px solid #fff;
    color: #fff;
    font-family: 'Press Start 2P', monospace;
    font-size: 32px;
    text-align: center;
    width: 160px;
    letter-spacing: 14px;
    outline: none;
}

.modal-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.pixel-button {
    background: #fff;
    color: #000;
    border: none;
    padding: 15px 30px;
    font-family: 'Press Start 2P', monospace;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.pixel-button:hover {
    background: #ccc;
}

.timer {
    font-size: 16px;
    color: #fff;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 30% auto;
        width: 95%;
        padding: 15px;
    }

    .modal-content.large {
        margin: 20% auto;
        padding: 20px;
    }

    .collection-block {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}