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

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

.container {
    max-width: 600px;
    width: 100%;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 3px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

h1 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.wager-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.question-box {
    background: #f8f9fa;
    padding: 2px;
    border-radius: 10px;
    margin-bottom: 20px;
    width: 100%;
}

p {
    font-size: 16px;
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 15px;
}

label {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 10px;
    display: block;
}

select {
    width: 100%;
    max-width: 250px;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #dfe6e9;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

select:focus {
    outline: none;
    border-color: #3498db;
}

.submit-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.submit-btn:active::after {
    width: 200px;
    height: 200px;
}

.dialog {
    max-width: 500px;
    width: 100%;
    background: #fff;
    border-radius: 15px;
    padding: 3px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
    display: none;
}

.dialog p {
    font-size: 18px;
    color: #2c3e50;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .container, .dialog {
        padding: 2px;
    }

    h1 {
        font-size: 24px;
    }

    p {
        font-size: 14px;
    }

    .submit-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
