
* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Tahoma, Arial, sans-serif;
    background: #080f1f;
    color: #f4f7ff;
    min-height: 100vh;
}

.container {
    max-width: 780px;
    margin: 45px auto;
    padding: 22px;
}

.card {
    background: linear-gradient(
        140deg, #162548, #10192f
    );
    border: 1px solid #334a72;
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 20px 65px #0005;
}

h1 {
    color: #f8cb63;
    margin-top: 0;
}

.subtitle {
    color: #c8d5ed;
    line-height: 2;
}

.reward {
    background: #132c32;
    border: 1px solid #247f6c;
    padding: 20px;
    border-radius: 16px;
    margin: 25px 0;
    font-size: 20px;
    text-align: center;
}

.progress {
    background: #253451;
    border-radius: 15px;
    height: 18px;
    overflow: hidden;
    margin: 15px 0;
}

.bar {
    height: 100%;
    background: linear-gradient(
        90deg, #13a588, #f8cb63
    );
    width: 0%;
    transition: width .5s;
}

.count {
    text-align: center;
    font-size: 25px;
    font-weight: bold;
    color: #f8cb63;
}

.link-box {
    display: flex;
    gap: 10px;
    margin: 25px 0;
}

input {
    flex: 1;
    min-width: 0;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #40577e;
    background: #091326;
    color: white;
    direction: ltr;
}

button, .back {
    border: 0;
    border-radius: 12px;
    padding: 14px 19px;
    cursor: pointer;
    font-weight: bold;
    background: #f4c65c;
    color: #152039;
    text-decoration: none;
}

button:hover, .back:hover {
    filter: brightness(1.08);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

#message {
    min-height: 30px;
    color: #8ee2c6;
    margin-top: 20px;
}

.note {
    color: #acbedb;
    font-size: 13px;
    margin-top: 25px;
    line-height: 2;
}

@media(max-width: 550px) {
    .container { margin: 12px auto; }
    .card { padding: 20px; }
    .link-box { flex-direction: column; }
}
