:root {
    --gold: #C9A03A;
    --gold-light: #E8CD6E;
    --gold-dark: #9B7A20;
    --gold-pale: #F5EDD6;
    --bg-start: #FCFAF5;
    --bg-mid: #F9F4E8;
    --bg-end: #F5EFDC;
    --text-dark: #2D2416;
    --text-muted: #6B5E48;
    --white: #FFFFFF;
    --soft-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    --gold-shadow: 0 15px 35px rgba(180, 135, 35, 0.2);
    --navy-dark: #1A2435;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
    background: linear-gradient(175deg, var(--bg-start) 0%, var(--bg-mid) 30%, var(--bg-end) 100%);
    background-attachment: fixed;
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.8;
    position: relative;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #F5EDD6;
}

::-webkit-scrollbar-thumb {
    background: #C9A03A;
    border-radius: 10px;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle at 12% 18%, rgba(201, 160, 58, 0.04) 1px, transparent 1px),
        radial-gradient(circle at 85% 35%, rgba(201, 160, 58, 0.03) 2px, transparent 2px),
        radial-gradient(circle at 65% 75%, rgba(201, 160, 58, 0.05) 1px, transparent 1px);
    background-size: 220px 220px, 280px 280px, 200px 200px;
    pointer-events: none;
    z-index: 0;
}

.main-content {
    position: relative;
    z-index: 1;
}

.text-gold {
    color: var(--gold) !important;
}

/* Hero & Voucher (keep original design) */
.hero-section {
    padding: 3rem 0 4.5rem;
    position: relative;
    z-index: 1;
    overflow-x: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.hero-left {
    flex: 1 1 450px;
}

.hero-right {
    flex: 0 0 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-badge-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 160, 58, 0.1);
    border: 1px solid rgba(201, 160, 58, 0.3);
    border-radius: 40px;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    color: var(--gold-dark);
    font-weight: 500;
    backdrop-filter: blur(8px);
}

.sponsor-logos {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.sponsor-logo {
    height: 42px;
    width: auto;
    max-width: 110px;
    opacity: 0.8;
    border-radius: 12px;
    padding: 4px 6px;
    object-fit: contain;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0.5rem 0 0.8rem;
    background: linear-gradient(125deg, #8B6914 0%, #C9A03A 35%, #E8CD6E 65%, #9B7A20 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 480px;
    line-height: 1.9;
}

/* GOLDEN VOUCHER */
.voucher-wrapper {
    position: relative;
    filter: drop-shadow(0 20px 35px rgba(180, 135, 35, 0.3));
    animation: voucherFloat 4s ease-in-out infinite;
}

@keyframes voucherFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-8px) rotate(0.6deg);
    }

    75% {
        transform: translateY(-4px) rotate(-0.4deg);
    }
}

.voucher {
    width: 300px;
    height: 380px;
    background: linear-gradient(155deg, #F9EEC1 0%, #E8CD6E 20%, #C9A03A 45%, #B89028 65%, #F5E6B0 80%, #D4A83C 100%);
    border-radius: 22px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 8px 0 #8B6914;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.8rem;
    border: 2px solid #FFF3D0;
}

.voucher::before,
.voucher::after {
    content: '';
    position: absolute;
    width: 34px;
    height: 34px;
    background: var(--bg-start);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid #B89028;
    z-index: 2;
}

.voucher::before {
    left: -18px;
}

.voucher::after {
    right: -18px;
}

.voucher-inner {
    width: 100%;
    height: 100%;
    border: 1.5px dashed rgba(155, 122, 32, 0.4);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    position: relative;
}

.voucher-book-icon {
    font-size: 5rem;
    color: #8B6914;
    margin-bottom: 1rem;
    filter: drop-shadow(0 3px 6px rgba(139, 105, 20, 0.4));
    animation: bookGlow 2.5s ease-in-out infinite;
}

@keyframes bookGlow {

    0%,
    100% {
        filter: drop-shadow(0 3px 6px rgba(139, 105, 20, 0.4));
    }

    50% {
        filter: drop-shadow(0 6px 18px rgba(201, 160, 58, 0.7));
    }
}

.voucher-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: #5C3E0A;
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .voucher {
        width: 260px;
        height: 340px;
    }

    .hero-right {
        flex: 1 1 auto;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .voucher {
        width: 280px;
        /* ← افزایش عرض از 230 به 280 */
        height: 330px;
        /* ← تنظیم ارتفاع متناسب */
    }

    .voucher-amount {
        font-size: 1.3rem;
        /* ← کوچک‌تر کردن فونت مبلغ */
    }

    .voucher-book-icon {
        font-size: 3.5rem;
        /* ← کوچک‌تر کردن آیکون کتاب */
    }

    .voucher-label {
        font-size: 0.85rem;
        /* ← کوچک‌تر کردن متن برچسب */
    }

    .hero-right {
        max-width: 100%;
    }
}

/* Explanation */
.explanation-section {
    padding: 3.5rem 0;
    position: relative;
    z-index: 1;
}

.explanation-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 28px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(201, 160, 58, 0.18);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
}

.explanation-card:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06);
    border-color: rgba(201, 160, 58, 0.35);
    transform: translateY(-4px);
}

.explanation-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 205, 110, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.explanation-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FDF4D0, #F0D060);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #8B6914;
    box-shadow: 0 10px 25px rgba(201, 160, 58, 0.25);
}

.explanation-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.explanation-divider {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1rem auto 1.2rem;
    border-radius: 4px;
}

.explanation-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 2;
}

/* Form Styles */
.form-section {
    padding: 2rem 0 4rem;
    z-index: 1;
}

.form-custom-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(201, 160, 58, 0.2);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.custom-input-group {
    margin-bottom: 1.8rem;
    position: relative;
}

.custom-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
}

.custom-label i {
    color: var(--gold);
    width: 22px;
}

.custom-input {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: 1.5px solid #E0D8C5;
    border-radius: 14px;
    font-size: 0.95rem;
    font-family: 'Vazirmatn', monospace;
    background: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    color: var(--text-dark);
    text-align: right;
}

.custom-input:focus {
    outline: none;
    border-color: #C9A03A;
    box-shadow: 0 0 0 5px rgba(201, 160, 58, 0.08);
    background: white;
}

.custom-input.is-invalid {
    border-color: #DC3545;
    background: #FFF8F8;
}

.custom-error {
    color: #DC3545;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.4rem;
    display: none;
}

.custom-error.show {
    display: block;
}

.btn-golden {
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(125deg, #C9A03A 0%, #E8CD6E 50%, #B89028 100%);
    background-size: 200% auto;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    color: #2D2416;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(180, 135, 35, 0.25);
    margin-top: 0.5rem;
}

.btn-golden:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(180, 135, 35, 0.4);
    background-position: right center;
}

.btn-golden:active {
    transform: translateY(-1px);
}

.btn-golden:disabled {
    opacity: 0.7;
    transform: none;
    cursor: not-allowed;
}

/* Step2 header */
.step2-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #FDF8EA;
    border-radius: 60px;
    padding: 0.6rem 1.2rem;
    margin-bottom: 1.8rem;
    border-right: 4px solid var(--gold);
    font-weight: 600;
    color: #6B5E48;
}

.step2-header i {
    color: var(--gold);
    font-size: 1.2rem;
}

.back-to-step1 {
    background: none;
    border: none;
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.85rem;
    transition: 0.2s;
    border-radius: 30px;
    padding: 0.3rem 1rem;
}

.back-to-step1:hover {
    background: rgba(201, 160, 58, 0.1);
    color: #8B6914;
}

/* Birthday row: desktop horizontal, mobile vertical */
.birthday-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.birthday-item {
    flex: 1;
    min-width: 100px;
}

.birthday-select {
    width: 100%;
    padding: 0.85rem 0.8rem;
    border: 1.5px solid #E0D8C5;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.7);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: 0.2s;
    cursor: pointer;
    text-align: right;
}

.birthday-select:focus {
    border-color: #C9A03A;
    box-shadow: 0 0 0 4px rgba(201, 160, 58, 0.1);
    outline: none;
}

@media (max-width: 768px) {
    .birthday-item {
        min-width: 100%;
        flex: auto;
    }

    .birthday-row {
        gap: 0.8rem;
    }
}

/* Card number field: numbers on the right, LTR for digits but right-aligned */
.card-number-field {
    direction: ltr;
    text-align: right;
    font-family: 'Vazirmatn', monospace;
    letter-spacing: 0.5px;
}

.card-number-field::placeholder {
    text-align: right;
    direction: rtl;
}

/* Modal & Toast */
.modal-custom .modal-content {
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px);
    border: none;
}

.modal-success-icon {
    font-size: 4.5rem;
    color: #C9A03A;
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    70% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.btn-modal-close {
    background: linear-gradient(125deg, #C9A03A, #E8CD6E);
    border: none;
    border-radius: 14px;
    padding: 0.7rem 2rem;
    font-weight: 700;
    transition: 0.2s;
}

.failure-icon {
    font-size: 4rem;
    color: #e07c3c;
    animation: shake 0.4s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-6px);
    }

    75% {
        transform: translateX(6px);
    }
}

/* About daric */
.about-section {
    background: var(--navy-dark);
    padding: 4rem 0;
    position: relative;
}

.about-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px);
    border-radius: 28px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
}

.about-title {
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.about-title i {
    color: var(--gold);
}

.about-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin-bottom: 1.5rem;
}

.about-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 2.1;
}

.about-text .highlight {
    color: #F0D060;
    font-weight: 600;
}

@media (max-width: 768px) {
    .form-custom-card {
        padding: 1.8rem;
    }

    .about-title {
        font-size: 1.5rem;
    }
}

* {
    text-align: justify;
}

.svg-big {
    height: 80px !important;
    width: auto !important;
    max-width: 200px !important;
}

/* --- Container و انیمیشن شناور --- */
.book-wrapper {
    position: relative;
    width: 300px;
    height: 380px;
    perspective: 1200px;
    filter: drop-shadow(0 20px 35px rgba(180, 135, 35, 0.35));
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    animation: voucherFloat 4s ease-in-out infinite;
    overflow: visible;
}

.book-wrapper:active {
    transform: scale(0.97);
}

@media (max-width: 576px) {
    .book-wrapper {
        width: 260px;
        height: 330px;
    }
}

/* --- ساختار کتاب سه‌بعدی --- */
.book {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- جلد کتاب (ظاهر بن طلایی) --- */
.book-cover {
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, #F9EEC1 0%, #E8CD6E 20%, #C9A03A 45%, #B89028 65%, #F5E6B0 80%, #D4A83C 100%);
    border-radius: 22px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 8px 0 #8B6914, 0 0 30px rgba(232, 205, 110, 0.3);
    border: 2px solid #FFF3D0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: left center;
    /* لولا از سمت چپ */
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
    z-index: 2;
}

.cover-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
}

/* --- وقتی کتاب باز می‌شود، جلد می‌چرخد --- */
.book.opened .book-cover {
    transform: rotateY(-170deg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 4px 0 #8B6914, 0 0 60px rgba(201, 160, 58, 0.6);
}

/* --- داخل کتاب (صفحات و شمش) --- */
.book-inside {
    position: absolute;
    inset: 0;
    background: #FDF5E6;
    border-radius: 22px;
    border: 2px solid #D4A83C;
    box-shadow: inset 0 0 30px rgba(180, 135, 35, 0.2), 0 6px 0 #8B6914;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transform: translateZ(-2px);
    backface-visibility: hidden;
    overflow: visible;
}

.inner-pages {
    position: absolute;
    inset: 8px;
    background: repeating-linear-gradient(to bottom,
            #FFF9E6,
            #FFF9E6 1px,
            #F5E6B0 2px);
    border-radius: 16px;
    opacity: 0.7;
}

/* --- شمش طلا داخل کتاب --- */
.gold-bar-container {
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translate(-50%, 0) scale(0);
    z-index: 10;
    pointer-events: none;
    transition: none;
}

.gold-bar-container.rising {
    animation: barEmerge 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.gold-bar {
    width: 130px;
    height: 40px;
    background: linear-gradient(175deg, #FDF4D0 0%, #E8CD6E 18%, #C9A03A 40%, #B89028 55%, #F5E6B0 70%, #D4A83C 85%, #A07818 100%);
    border-radius: 5px;
    clip-path: polygon(6% 0, 94% 0, 98% 100%, 2% 100%);
    box-shadow: 0 0 25px rgba(232, 205, 110, 0.7), 0 0 50px rgba(201, 160, 58, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.gold-bar::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 50%;
    height: 160%;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.5) 48%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.5) 52%, transparent 65%);
    animation: shineSweep 0.9s ease-in-out forwards;
    transform: skewX(-15deg);
}

@keyframes shineSweep {
    0% {
        left: -60%;
    }

    100% {
        left: 120%;
    }
}

@keyframes barEmerge {
    0% {
        transform: translate(-50%, 25px) scale(0);
        opacity: 0;
    }

    30% {
        transform: translate(-50%, -10px) scale(0.5);
        opacity: 0.7;
    }

    55% {
        transform: translate(-50%, -55px) scale(1.12);
        opacity: 1;
    }

    75% {
        transform: translate(-50%, -65px) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -70px) scale(0.95);
        opacity: 0.9;
    }
}

@media (max-width: 576px) {
    .gold-bar {
        width: 100px;
        height: 32px;
    }

    @keyframes barEmerge {
        0% {
            transform: translate(-50%, 20px) scale(0);
            opacity: 0;
        }

        30% {
            transform: translate(-50%, -5px) scale(0.5);
            opacity: 0.7;
        }

        55% {
            transform: translate(-50%, -40px) scale(1.12);
            opacity: 1;
        }

        75% {
            transform: translate(-50%, -50px) scale(1);
            opacity: 1;
        }

        100% {
            transform: translate(-50%, -55px) scale(0.95);
            opacity: 0.9;
        }
    }
}

/* ذرات و حلقه طلایی (مانند قبل) */
.sparkle-particle {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    background: #FFD700;
    box-shadow: 0 0 6px 2px rgba(255, 215, 0, 0.8), 0 0 14px 4px rgba(232, 205, 110, 0.5);
    animation: sparkleFly var(--duration) ease-out forwards;
}

@keyframes sparkleFly {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(var(--dx), var(--dy)) scale(0);
        opacity: 0;
    }
}

.golden-ring {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid rgba(232, 205, 110, 0.9);
    box-shadow: 0 0 20px rgba(201, 160, 58, 0.6), 0 0 50px rgba(232, 205, 110, 0.4);
    animation: ringExpand 1.2s ease-out forwards;
}

@keyframes ringExpand {
    0% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 0.9;
    }

    100% {
        transform: translate(-50%, -50%) scale(5);
        opacity: 0;
    }
}

/* --- شمش‌های پرتابی (بزرگ‌تر) --- */
.fly-gold-bar {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
    width: 75px;
    height: 30px;
    background: linear-gradient(175deg, #FDF4D0 0%, #E8CD6E 18%, #C9A03A 40%, #B89028 55%, #F5E6B0 70%, #D4A83C 85%, #A07818 100%);
    border-radius: 5px;
    box-shadow: 0 0 18px rgba(232, 205, 110, 0.9), 0 0 35px rgba(201, 160, 58, 0.7), 0 3px 10px rgba(0, 0, 0, 0.4);
    clip-path: polygon(6% 0, 94% 0, 98% 100%, 2% 100%);
    animation: goldBarShoot 2s ease-out forwards;
    transform-origin: center center;
}

.fly-gold-bar::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 8px;
    width: 25px;
    height: 24px;
    background: rgba(255, 255, 255, 0.55);
    transform: skewX(-15deg);
    border-radius: 3px;
}

@keyframes goldBarShoot {
    0% {
        transform: translate(0, 0) scale(0.3) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translate(var(--tx), var(--ty)) scale(0.8) rotate(var(--rot));
        opacity: 0;
    }
}

/* شمش مرکزی (بدون transform پیش‌فرض برای موقعیت‌دهی) */
.central-bar {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
    width: 90px;
    height: 36px;
    background: linear-gradient(175deg, #FDF4D0 0%, #E8CD6E 18%, #C9A03A 40%, #B89028 55%, #F5E6B0 70%, #D4A83C 85%, #A07818 100%);
    border-radius: 6px;
    box-shadow: 0 0 25px rgba(232, 205, 110, 0.9), 0 0 45px rgba(201, 160, 58, 0.7), 0 4px 12px rgba(0, 0, 0, 0.4);
    clip-path: polygon(6% 0, 94% 0, 98% 100%, 2% 100%);
    /* left و top توسط JS تنظیم می‌شوند */
    opacity: 0;
    transform: scale(0) translateY(0);
}

.central-bar::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 10px;
    width: 30px;
    height: 28px;
    background: rgba(255, 255, 255, 0.6);
    transform: skewX(-15deg);
    border-radius: 4px;
}

@keyframes riseAndHold {
    0% {
        transform: translateY(40px) scale(0);
        opacity: 0;
    }

    30% {
        transform: translateY(-70px) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(-70px) scale(1);
        opacity: 1;
    }
}

#retryButton {
    transition: all 0.3s ease;
}

#retryButton:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#retryButton i {
    margin-left: 8px;
}