:root {
    --bg: #050a18;
    --bg-soft: #0b1730;
    --card: rgba(12, 24, 52, 0.72);
    --line: rgba(110, 168, 255, 0.18);
    --text: #f4f7ff;
    --muted: #9bb0d4;
    --blue: #3b82f6;
    --blue-2: #60a5fa;
    --green: #22f08a;
    --green-2: #7cffc0;
    --danger: #ff6b81;
    --shadow: 0 24px 70px rgba(2, 8, 24, 0.45);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: "Noto Sans Bengali", Inter, system-ui, sans-serif;
    background: radial-gradient(1200px 600px at 50% -10%, #16356e 0%, transparent 55%), var(--bg);
    color: var(--text);
}

.bg-glow {
    position: fixed;
    pointer-events: none;
    filter: blur(80px);
    z-index: 0;
}

.bg-glow-top {
    width: 420px;
    height: 420px;
    left: 50%;
    top: -80px;
    transform: translateX(-50%);
    background: rgba(59, 130, 246, 0.22);
}

.bg-glow-green {
    width: 280px;
    height: 280px;
    left: 8%;
    bottom: 8%;
    background: rgba(34, 240, 138, 0.12);
}

.bg-glow-right {
    width: 260px;
    height: 260px;
    right: 6%;
    top: 30%;
    background: rgba(56, 189, 248, 0.1);
}

.page {
    position: relative;
    z-index: 1;
    width: min(880px, calc(100% - 40px));
    margin: 0 auto;
    padding: 56px 0 80px;
}

.hero {
    text-align: center;
    padding-bottom: 8px;
}

#feedback-form {
    scroll-margin-top: 24px;
}

.logo {
    width: 92px;
    height: auto;
    display: block;
    margin: 0 auto 22px;
    mix-blend-mode: lighten;
    filter: drop-shadow(0 10px 28px rgba(37, 99, 235, 0.35));
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(12, 28, 58, 0.85);
    border: 1px solid var(--line);
    color: #cfe0ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px var(--green);
}

h1 {
    margin: 22px 0 12px;
    font-size: clamp(32px, 5.4vw, 56px);
    line-height: 1.2;
    letter-spacing: 0;
}

h1 span {
    color: #7dd3fc;
}

.subtitle {
    margin: 0 auto;
    max-width: 34rem;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.subtitle strong {
    color: var(--green-2);
    font-weight: 700;
}

.campaign-card,
.release-card,
.form-card,
.success-card,
.login-card,
.admin-shell {
    margin-top: 28px;
    padding: 28px;
    background: linear-gradient(180deg, rgba(18, 36, 72, 0.78), rgba(10, 18, 40, 0.88));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero .btn-hero {
    display: inline-flex;
    width: auto;
    min-width: 220px;
    margin: 28px auto 0;
    padding: 14px 28px;
}

.release-card {
    display: grid;
    grid-template-columns: 1.1fr 0.7fr;
    gap: 20px 28px;
    align-items: center;
    border-color: rgba(34, 240, 138, 0.28);
    background:
        radial-gradient(500px 180px at 90% 0%, rgba(34, 240, 138, 0.16), transparent 60%),
        linear-gradient(180deg, rgba(18, 36, 72, 0.78), rgba(10, 18, 40, 0.88));
}

.release-card .countdown {
    grid-column: 1 / -1;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(34, 240, 138, 0.12);
    color: var(--green-2);
    font-size: 13px;
    font-weight: 700;
}

.release-copy h2 {
    margin: 0 0 6px;
    font-size: 28px;
    color: #fff;
    letter-spacing: 0;
    text-transform: none;
}

.release-bangla {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--green-2);
}

.release-note {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.release-date {
    text-align: center;
    padding: 16px 12px 20px;
    border-radius: 22px;
    background: rgba(5, 14, 32, 0.55);
    border: 1px solid rgba(125, 211, 252, 0.18);
    box-shadow: 0 0 40px rgba(34, 240, 138, 0.12);
}

.release-month,
.release-year {
    display: block;
    color: var(--green-2);
    font-size: 13px;
    font-weight: 700;
    /* letter-spacing: 0.08em; */
}

.release-day {
    display: block;
    font-size: 72px;
    line-height: 1;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 28px rgba(96, 165, 250, 0.45);
}

.campaign-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: center;
}

.reward-aside {
    margin: 0;
    padding: 18px 18px 18px 20px;
    border-radius: 16px;
    background: rgba(5, 14, 32, 0.45);
    border-left: 3px solid var(--green);
    color: #d7e6ff;
    line-height: 1.7;
    font-weight: 600;
}

.reward-points {
    margin: 0;
    padding: 0;
    list-style: none;
}

.reward-points li {
    position: relative;
    padding: 8px 0 8px 28px;
    color: #d7e6ff;
    font-weight: 600;
}

.reward-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 20px;
}

.step {
    padding: 20px;
    border-radius: 20px;
    background: rgba(12, 24, 52, 0.55);
    border: 1px solid var(--line);
}

.step-num {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    font-weight: 800;
}

.step h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.label-hint {
    margin-left: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}

.campaign-kicker {
    margin: 0 0 8px;
    color: var(--green-2);
    font-size: 13px;
    font-weight: 800;
}

.campaign-card h2,
.form-card h2,
.success-card h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.campaign-card p,
.form-head p,
.closed-state p,
.success-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.countdown-item {
    text-align: center;
    padding: 14px 8px;
    border-radius: 16px;
    background: rgba(5, 14, 32, 0.55);
    border: 1px solid rgba(125, 211, 252, 0.12);
}

.countdown-item strong {
    display: block;
    font-size: 24px;
    color: #fff;
}

.countdown-item span {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.pill {
    flex-shrink: 0;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(34, 240, 138, 0.12);
    color: var(--green-2);
    font-size: 12px;
    font-weight: 700;
}

.field {
    margin-bottom: 22px;
}

label {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.field-help {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

input[type="text"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(110, 168, 255, 0.2);
    border-radius: 16px;
    background: rgba(6, 14, 32, 0.72);
    color: var(--text);
    font: inherit;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(96, 165, 250, 0.7);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #9bb0d4 50%),
        linear-gradient(135deg, #9bb0d4 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(50% - 3px), calc(100% - 14px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.upload {
    display: block;
    padding: 22px;
    border: 1px dashed rgba(125, 211, 252, 0.35);
    border-radius: 18px;
    background: rgba(8, 20, 44, 0.55);
    text-align: center;
    cursor: pointer;
}

.upload input {
    display: none;
}

.upload-title {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.upload-hint {
    color: var(--muted);
    font-size: 13px;
}

.preview {
    margin-top: 12px;
}

.preview img,
.preview video {
    display: block;
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    border-radius: 16px;
    background: #000;
}

.form-error {
    margin: 0 0 14px;
    color: var(--danger);
    font-size: 14px;
}

.btn-primary,
.btn-ghost,
.btn-valid,
.btn-invalid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 52px;
    padding: 12px 18px;
    border: 0;
    border-radius: 16px;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(90deg, #1d7dff, #4aa3ff);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.38);
}

.btn-primary:hover,
.btn-valid:hover,
.btn-invalid:hover {
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: wait;
}

.footer-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.check {
    color: var(--green);
}

.success-card {
    text-align: center;
    border-color: rgba(34, 240, 138, 0.28);
}

.success-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(34, 240, 138, 0.16);
    color: var(--green);
    font-size: 24px;
}

.closed-state {
    text-align: center;
    padding: 24px 8px;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 20;
    padding: 12px 18px;
    border-radius: 999px;
    background: #11301f;
    color: var(--green-2);
    border: 1px solid rgba(34, 240, 138, 0.3);
    box-shadow: var(--shadow);
}

.toast-error {
    background: #3a1420;
    color: #ffd0d6;
    border-color: rgba(255, 107, 129, 0.35);
}

.admin-header,
.filters,
.stats,
.row-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-header {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.admin-header h1 {
    margin: 0;
    font-size: 28px;
}

.btn-ghost {
    width: auto;
    min-height: 42px;
    background: transparent;
    border: 1px solid var(--line);
}

.stats {
    margin-bottom: 20px;
}

.stat {
    flex: 1;
    min-width: 140px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(5, 14, 32, 0.45);
    border: 1px solid var(--line);
}

.stat strong {
    display: block;
    font-size: 26px;
}

.stat span {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.filters {
    margin-bottom: 18px;
}

.filters select,
.filters button {
    width: auto;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(110, 168, 255, 0.12);
    text-align: left;
    vertical-align: top;
    font-size: 14px;
}

th {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.message-cell {
    max-width: 280px;
    color: #d5e3ff;
}

.status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: capitalize;
}

.status-pending {
    background: rgba(96, 165, 250, 0.15);
    color: #93c5fd;
}

.status-valid {
    background: rgba(34, 240, 138, 0.15);
    color: var(--green-2);
}

.status-invalid {
    background: rgba(255, 107, 129, 0.15);
    color: #ffb4c0;
}

.btn-valid,
.btn-invalid {
    width: auto;
    min-height: 36px;
    font-size: 13px;
}

.btn-valid {
    background: #128a55;
}

.btn-invalid {
    background: #b4233c;
}

.note-input {
    width: 160px;
    min-height: 36px;
    padding: 8px 10px;
    border-radius: 10px;
}

.login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-card {
    width: min(420px, 100%);
    margin: 0;
    text-align: center;
}

.login-card .logo {
    width: 76px;
}

.login-card .form-error {
    margin: 16px 0 0;
}

.login-card form {
    text-align: left;
    margin-top: 20px;
}

.evidence-link {
    color: var(--blue-2);
}

@media (max-width: 800px) {
    .campaign-card,
    .release-card,
    .form-head,
    .admin-header {
        grid-template-columns: 1fr;
        display: block;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .countdown,
    .release-date {
        margin-top: 18px;
    }

    .release-day {
        font-size: 56px;
    }

    .pill {
        display: inline-block;
        margin-top: 12px;
    }
}
