* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0f0f1e;
}

/* Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Content */
.modal-content {
    background: #1e2139;
    border-radius: 16px;
    padding: 40px;
    max-width: 440px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: #8b8b9f;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Logo */
.modal-logo {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

/* Title */
.modal-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Text */
.modal-text {
    color: #8b8b9f;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Steam Button */
.steam-button {
    width: 100%;
    background: #84cc16;
    color: #ffffff;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s ease, transform 0.1s ease;
}

.steam-button:hover {
    background: #9be421;
}

.steam-button:active {
    transform: scale(0.98);
}

/* Responsive */
@media (max-width: 480px) {
    .modal-content {
        padding: 32px 24px;
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-text {
        font-size: 14px;
    }
}