* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    font-family: "Roboto", sans-serif;
    background: url("../bg.jpg") no-repeat center center fixed;
    background-size: cover;
    color: #f4f4f7;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
}

.container {
    background: linear-gradient(145deg, rgba(22, 22, 27, 0.9), rgba(37, 37, 48, 0.85));
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7), inset 0 0 20px rgba(255, 140, 0, 0.3);
    border-radius: 20px;
    max-width: 620px;
    width: 100%;
    padding: 50px 45px 60px 45px;
    text-align: center;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: relative;
}

h1,
h2 {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ff8c00;
    text-shadow: 0 2px 6px rgba(255, 140, 0, 0.9);
}

p {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 35px;
    color: #ddd;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

button,
.answer-btn,
#thank-you a {
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    background: linear-gradient(90deg, #ff9500, #ff6600);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 16px 40px;
    font-size: 1.15rem;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(255, 102, 0, 0.4);
    transition: all 0.3s ease;
    user-select: none;
    letter-spacing: 0.04em;
}

button:hover,
.answer-btn:hover,
#thank-you a:hover {
    background: linear-gradient(90deg, #ffb347, #ff7f50);
    box-shadow: 0 10px 20px rgba(255, 127, 80, 0.6);
    transform: translateY(-3px) scale(1.03);
}

button:active,
.answer-btn:active,
#thank-you a:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 5px 10px rgba(255, 102, 0, 0.5);
}

.contact-info {
    font-size: 0.95rem;
    color: #bbb;
    margin-top: 40px;
    line-height: 1.6;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.7);
}

.answer-btn {
    width: 100%;
    max-width: 460px;
    margin: 12px auto;
    padding: 14px 25px;
    background: linear-gradient(145deg, #22222a, #2d2d3a);
    box-shadow: inset 2px 2px 6px rgba(255, 255, 255, 0.1), 3px 3px 10px rgba(0, 0, 0, 0.7);
    border-radius: 18px;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.answer-btn:hover {
    background: linear-gradient(145deg, #ff6600, #ff8c00);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.7), inset 0 0 12px rgba(255, 255, 255, 0.3);
    color: #fff;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(255, 140, 0, 0.9);
}

form {
    max-width: 520px;
    margin: 0 auto;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #ffb366;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.03em;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 14px 18px;
    font-size: 1.05rem;
    border-radius: 14px;
    border: none;
    background: linear-gradient(145deg, #1c1c24, #2c2c38);
    color: #eee;
    box-shadow: inset 3px 3px 7px rgba(0, 0, 0, 0.9), inset -3px -3px 7px rgba(255, 140, 0, 0.4);
    margin-bottom: 25px;
    transition: box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus {
    outline: none;
    box-shadow: 0 0 10px 3px rgba(255, 140, 0, 0.8);
    background: #311a00;
}

.form-checkbox-label {
    color: #d6b175;
    font-size: 0.95rem;
    user-select: none;
    display: flex;
    gap: 6px;
    align-items: center;
    cursor: pointer;
    line-height: 1.3;
    margin-bottom: 35px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.7);
}

.form-checkbox-label a {
    color: #ff9a33;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.form-checkbox-label a:hover {
    color: #ffb347;
    text-decoration: underline;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #ff8c00;
}

#thank-you h2 {
    color: #ffd580;
    text-shadow: 0 2px 8px rgba(255, 183, 77, 0.85);
}

#thank-you p {
    font-size: 1.2rem;
    color: #ffe7b1;
    margin-bottom: 40px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

@media (max-width: 700px) {
    .container {
        padding: 40px 30px 50px 30px;
    }

    button,
    .answer-btn {
        padding: 14px 25px;
        font-size: 1rem;
    }
}
