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

body {
    font-family: Arial, sans-serif;
    background: #f0f0f0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 900px;
}

h1 {
    font-size: 40px;
    margin-bottom: 10px;
    color: #333;
}

.subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.tariffs {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.tariff {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    flex: 1;
    max-width: 250px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tariff h2 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #333;
}

.tariff p {
    color: #777;
    margin-bottom: 20px;
}

.price {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

button {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

button:hover {
    background: #333;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    max-width: 350px;
    width: 90%;
    text-align: center;
}

.modal-content h2 {
    margin-bottom: 15px;
    color: #333;
}

.modal-content p {
    margin-bottom: 10px;
    color: #666;
}

.card-number {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    letter-spacing: 1px;
    margin: 15px 0;
}

.timer {
    font-size: 48px;
    font-weight: bold;
    color: #000;
    margin: 20px 0;
}

.key-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 12px;
    margin: 10px 0;
}

@media (max-width: 768px) {
    .tariffs {
        flex-direction: column;
        align-items: center;
    }
    
    .tariff {
        width: 100%;
        max-width: 300px;
    }
}
