/* Tilek jazıw beti — tiykarǵı sayt penen birgelikli stil */
@font-face {
    font-family: 'tstyle2';
    src: url('../texts/Hello\ Beauty\ Personal\ Use.ttf');
    font-display: swap;
}

:root {
    --bg: #0d0a0a;
    --card: #1a1414;
    --ink: #f3e8e4;
    --muted: #b39a93;
    --accent: #d63b2e;
    --accent-deep: #a31f17;
    --line: #3a2826;
}

* { box-sizing: border-box; }

body {
    font-family: Georgia, 'Times New Roman', serif;
    background: radial-gradient(circle at 50% 25%, #1a0f0e 0%, var(--bg) 70%);
    color: var(--ink);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 24px;
}

.container {
    position: relative;
    text-align: center;
    background: linear-gradient(180deg, #1f1716 0%, #160f0e 100%);
    padding: 44px 30px 34px;
    border-radius: 20px;
    border: 1px solid var(--line);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.6), 0 0 26px rgba(214, 59, 46, 0.12);
    width: 100%;
    max-width: 540px;
    animation: cardIn .7s ease-out;
}

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

.wish-orn {
    display: block;
    font-size: 30px;
    color: var(--accent);
    margin-bottom: 10px;
    animation: heartBeat 1.6s ease-in-out infinite;
}
@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    30%      { transform: scale(1.18); }
    60%      { transform: scale(0.96); }
}

.wish-title {
    font-family: 'tstyle2', cursive;
    font-size: 52px;
    font-weight: normal;
    color: var(--accent);
    line-height: 1.05;
    margin: 0 0 8px;
    text-shadow: 0 2px 14px rgba(214, 59, 46, 0.3);
}

.wish-sub {
    color: var(--muted);
    font-size: 17px;
    margin: 0 0 28px;
}

h1 {
    color: var(--accent-deep);
    font-size: 26px;
    font-weight: normal;
    margin-bottom: 24px;
    line-height: 1.4;
}

input, textarea {
    width: 100%;
    padding: 13px 16px;
    margin: 10px 0;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #2a1f1e;
    font-size: 16px;
    font-family: inherit;
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}

input::placeholder, textarea::placeholder { color: #8a726c; }

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(214, 59, 46, 0.25);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

button {
    width: 100%;
    margin-top: 12px;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-family: inherit;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(214, 59, 46, 0.3);
    transition: filter 0.25s, transform .15s, box-shadow .25s;
}

button:hover { filter: brightness(1.12); box-shadow: 0 10px 26px rgba(214, 59, 46, 0.45); }
button:active { transform: translateY(1px); }
button:disabled { opacity: .6; cursor: not-allowed; }

/* «Raxmet» kórinisi */
.wish-thanks {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 0 6px;
}
.wish-thanks.show {
    display: flex;
    animation: cardIn .6s ease-out;
}
.wish-thanks-heart {
    font-size: 54px;
    animation: heartBeat 1.4s ease-in-out infinite;
}
.wish-thanks p {
    font-size: 21px;
    color: var(--ink);
    margin: 0;
}
.wish-again {
    margin-top: 6px;
    color: var(--accent);
    cursor: pointer;
    border-bottom: 1px solid var(--line);
    padding-bottom: 2px;
    transition: color .2s;
}
.wish-again:hover { color: #fff; }

.wish-back {
    display: inline-block;
    margin-top: 26px;
    color: var(--muted);
    text-decoration: none;
    font-size: 15px;
    transition: color .2s;
}
.wish-back:hover { color: var(--accent); }
