/* =========================================
   ENERGY PARTNER — PREMIUM GREEN & GOLD
   Complete style.css
   ========================================= */

:root {
    color-scheme: dark;
    --gold: #e7c784;
    --cream: #f5f2e8;
    --muted: #a5b7ad;
    --line: rgba(209, 229, 214, 0.14);
    --panel: #112c23;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(
            ellipse at 85% 15%,
            #23553b50,
            transparent 48%
        ),
        radial-gradient(
            ellipse at 0% 70%,
            #88704213,
            transparent 40%
        ),
        #071a14;
    color: var(--cream);
    font: 15px/1.6 "Segoe UI", Arial, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image:
        linear-gradient(#c6d8bd04 1px, transparent 1px),
        linear-gradient(90deg, #c6d8bd04 1px, transparent 1px);
    background-size: 65px 65px;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    color: var(--muted);
}

h3 {
    font-size: 17px;
    margin: 12px 0;
}

main {
    width: 100%;
    max-width: 1450px;
    margin: auto;
    padding: 0 5.5%;
}

.small {
    color: #92a79a;
    font-size: 11px;
    line-height: 1.6;
}

/* HEADER */

header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background: #091e17ed;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 35px #00000015;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.mark {
    padding: 3px 12px;
    background: linear-gradient(140deg, #efdba5, #ba914d);
    color: #10271b;
    font: 26px/1.6 Georgia, serif;
    border-radius: 11px;
    box-shadow: 0 0 25px #d6b36218;
}

.muted {
    color: #93a496;
    font-size: 10px;
    font-weight: 400;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    position: relative;
    color: #bfcfc4;
    font-size: 12px;
    transition: color 0.25s;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s;
}

nav a:hover {
    color: var(--gold);
}

nav a:hover::after {
    width: 100%;
}

/* HERO */

.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 6%;
    min-height: 650px;
    padding: 85px 0 80px;
}

.hero > div:first-child {
    animation: enter 0.85s ease both;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--gold);
}

h1 {
    margin: 28px 0;
    font-size: clamp(45px, 5.2vw, 76px);
    font-weight: 500;
    line-height: 1.07;
    letter-spacing: -3px;
}

h1 em {
    background: linear-gradient(
        110deg,
        #ae8750,
        #f3dca2,
        #bf9a5b
    );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 400;
}

.lead {
    max-width: 440px;
    color: #aebfb2;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.9;
}

.hero .small {
    max-width: 390px;
}

/* BUTTONS */

.button,
button {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 17px 24px;
    background: linear-gradient(120deg, #ecd39c, #c9a463);
    color: #14251b;
    border: 1px solid #eeddb533;
    border-radius: 8px;
    font: 600 14px "Segoe UI", Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 8px 25px #0002;
    transition:
        transform 0.25s,
        box-shadow 0.25s,
        background 0.25s;
}

.button:hover,
button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px #d6b36222;
}

.button::after,
button::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -80%;
    width: 40%;
    height: 200%;
    transform: rotate(25deg);
    background: linear-gradient(
        90deg,
        transparent,
        #ffffff40,
        transparent
    );
    transition: left 0.65s;
    pointer-events: none;
}

.button:hover::after,
button:hover::after {
    left: 140%;
}

.button span,
button span {
    font-size: 20px;
}

.hero .button {
    min-width: 255px;
    margin: 24px 0 15px;
}

.secondary {
    background: #213f2d;
    color: #e1d5ac;
    border: 1px solid #9bad8233;
}

.danger {
    margin-top: 12px;
    background: #753e32;
    color: #ffe8d9;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 5px;
}

/* PRODUCT SHOWCASE */

.product-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 28px 30px;
    background:
        radial-gradient(
            ellipse at 50% 48%,
            #396c4260,
            transparent 67%
        ),
        linear-gradient(150deg, #1c392b, #10291f);
    border: 1px solid #b8c9a827;
    border-radius: 24px;
    text-align: center;
    box-shadow:
        0 30px 70px #0004,
        inset 0 1px 0 #e9e4bf0d;
    animation: enter 1s 0.12s ease both;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 17%;
    z-index: -1;
    border: 1px solid #d6c18416;
    border-radius: 50%;
    box-shadow:
        0 0 0 35px #d6c18405,
        0 0 0 70px #d6c18404;
    animation: halo 6s ease-in-out infinite;
}

.product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        115deg,
        transparent 25%,
        #f4dca307 50%,
        transparent 75%
    );
    background-size: 250% 100%;
    animation: lightwash 9s ease-in-out infinite;
}

.card-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #c4d0bf;
    font-size: 9px;
    font-weight: bold;
    letter-spacing: 2px;
}

.pill {
    padding: 4px 9px;
    background: #e6c78612;
    color: #ead099;
    border: 1px solid #d5bb7d33;
    border-radius: 5px;
    font-size: 8px;
}

.products {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    min-height: 320px;
    perspective: 800px;
}

.inverter {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 148px;
    height: 205px;
    padding: 29px 14px;
    background: linear-gradient(
        115deg,
        #fff,
        #e1e6df 60%,
        #acb6a9
    );
    color: #d83937;
    border: 1px solid #fff;
    border-radius: 17px 17px 22px 22px;
    box-shadow:
        9px 12px 0 #7c8a7a,
        15px 30px 35px #0006;
    transform: rotateY(-10deg);
    animation: float-inverter 6s ease-in-out infinite;
}

.inverter b {
    font-size: 19px;
    letter-spacing: -1px;
}

.screen {
    margin-top: 27px;
    padding: 7px 17px;
    background: #182c25;
    color: #97e1a4;
    border: 3px solid #c6d0c2;
    border-radius: 5px;
    font-size: 7px;
    letter-spacing: 1px;
    box-shadow: inset 0 0 10px #8fd5a330;
}

.inverter i {
    width: 70%;
    height: 24px;
    margin-top: 20px;
    background: repeating-linear-gradient(
        0deg,
        #909d9222 0 2px,
        transparent 2px 5px
    );
}

.battery {
    width: 132px;
    height: 233px;
    padding: 23px 15px;
    background: linear-gradient(
        110deg,
        #3b4640,
        #17221c 70%
    );
    color: #f8f8f0;
    border: 1px solid #778073;
    border-radius: 9px;
    box-shadow:
        8px 10px 0 #111e16,
        18px 30px 35px #0006;
    animation: float-battery 6s 1s ease-in-out infinite;
}

.battery b {
    color: #e1e5db;
    font-size: 11px;
    letter-spacing: 1px;
}

.battery i {
    position: relative;
    display: block;
    height: 31px;
    border-bottom: 1px solid #82927644;
}

.battery i::after {
    content: "";
    position: absolute;
    right: 2px;
    bottom: 8px;
    width: 3px;
    height: 3px;
    background: #b3e292;
    border-radius: 50%;
    box-shadow: 0 0 7px #a8e185;
}

.battery span {
    display: block;
    margin-top: 16px;
    color: var(--gold);
    font-size: 18px;
    letter-spacing: 2px;
}

.plus {
    color: #ddc58f;
    font-size: 24px;
    font-weight: 200;
}

.pair-caption {
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.pair-caption b,
.pair-caption span {
    display: block;
}

.pair-caption b {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.4px;
}

.pair-caption span {
    margin-top: 4px;
    color: #a0b29c;
    font-size: 11px;
}

.product-card > .small {
    margin-top: 18px;
    font-size: 9px;
    letter-spacing: 1px;
}

/* ELIGIBILITY CARDS */

#eligibility {
    scroll-margin-top: 125px;
}

.rules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    background: #112a2055;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.rules > div {
    position: relative;
    padding: 30px;
    transition: background 0.3s;
}

.rules > div + div {
    border-left: 1px solid var(--line);
}

.rules > div:hover {
    background: #cbb37a09;
}

.rules h3 {
    margin: 18px 0 10px;
    font-size: 17px;
    font-weight: 500;
}

.rules p {
    max-width: 280px;
    margin-bottom: 0;
    font-size: 12px;
    line-height: 1.9;
}

.step {
    margin-right: 7px;
    padding: 5px 8px;
    background: #dcc78b0c;
    color: #ddc48e;
    border: 1px solid #dcc78b25;
    border-radius: 5px;
    font-size: 10px;
}

/* REGISTRATION */

.registration {
    display: grid;
    grid-template-columns: 0.75fr 1.5fr;
    align-items: start;
    gap: 8%;
    padding: 100px 0;
    scroll-margin-top: 125px;
}

.registration aside {
    position: sticky;
    top: 135px;
}

.registration h2 {
    font-family: Georgia, serif;
    font-size: 43px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -1.2px;
}

.registration aside > p {
    font-size: 13px;
    line-height: 1.9;
}

.notice {
    margin: 25px 0;
    padding: 22px;
    background: linear-gradient(
        120deg,
        #d1b5730d,
        #1c39281a
    );
    border: 1px solid #d0b77825;
    border-left: 2px solid #d0b778;
    border-radius: 0 8px 8px 0;
}

.notice > b {
    color: #e2ce9f;
    font-size: 13px;
}

.notice p {
    margin-bottom: 0;
    color: #aabbab;
    font-size: 12px;
}

.form-card {
    min-width: 0;
    padding: 35px;
    background: linear-gradient(145deg, #133024, #0e261d);
    border: 1px solid #a0b89826;
    border-radius: 17px;
    box-shadow: 0 20px 50px #0002;
}

.form-card h3 {
    margin: 18px 0;
    padding-top: 20px;
    font-size: 16px;
    font-weight: 500;
}

.form-card h3:first-child {
    padding-top: 0;
}

.form-card form > h3:not(:first-of-type) {
    margin-top: 28px;
    border-top: 1px solid var(--line);
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
}

label {
    display: block;
    margin: 12px 0;
    color: #c7d4c6;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.15px;
}

input,
textarea,
select {
    display: block;
    width: 100%;
    min-width: 0;
    margin-top: 9px;
    padding: 14px 12px;
    background: #071c15a6;
    color: #eff2e9;
    border: 1px solid #a1b69a35;
    border-radius: 7px;
    font: 13px "Segoe UI", Arial, sans-serif;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

textarea {
    resize: vertical;
}

input:hover,
textarea:hover,
select:hover {
    border-color: #d3c08a70;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #d6bf86;
    outline: none;
    box-shadow: 0 0 0 3px #d6bf8614;
}

input::file-selector-button {
    margin-right: 12px;
    padding: 9px 12px;
    background: #294331;
    color: #e0d3ae;
    border: 1px solid #a2b28b44;
    border-radius: 5px;
    cursor: pointer;
}

.fixed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 0 10px;
    padding: 17px;
    background: linear-gradient(
        100deg,
        #c6ab6510,
        #b5c19405
    );
    border: 1px solid #c6ab6530;
    border-radius: 8px;
}

.fixed b {
    color: #e5cea0;
    font-size: 14px;
    font-weight: 500;
}

.fixed span {
    color: #a8ba9e;
    font-size: 9px;
    letter-spacing: 0.3px;
}

.fixed span::before {
    content: "● ";
    color: #9abc7c;
    font-size: 8px;
}

.upload {
    padding: 24px;
    background: #061b1444;
    border: 1px dashed #c1b27b66;
    border-radius: 9px;
    transition: background 0.25s;
}

.upload:hover {
    background: #c1b27b08;
}

.upload input {
    padding: 7px 0;
    background: transparent;
    border: 0;
}

.upload > .small {
    display: block;
    margin-top: 9px;
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 22px 0;
    color: #afc0ac;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.9;
}

.check input {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 4px;
    accent-color: #d3b578;
}

.form-card form > button {
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.form-card form > button span {
    margin-left: auto;
}

.alert {
    margin-bottom: 20px;
    padding: 18px;
    background: #44271e;
    color: #ffe4c8;
    border: 1px solid #a96b46;
    border-radius: 6px;
}

.success {
    padding: 25px;
    background: #25432d;
    border: 1px solid #819c62;
    border-radius: 10px;
}

.success h2 {
    font-size: 29px;
}

.success a {
    color: #f3d99c;
}

/* ADMIN PANEL */

.admin {
    padding-top: 50px;
    padding-bottom: 70px;
}

.admin h1 {
    font-size: 42px;
    font-weight: 400;
}

.admin h2 small {
    margin-left: 12px;
    font-size: 12px;
}

.login {
    max-width: 460px;
    margin: 40px auto;
    animation: enter 0.6s ease both;
}

.login h2 {
    font-size: 24px;
    font-weight: 400;
}

.login button {
    justify-content: center;
    width: 100%;
    margin-top: 15px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stats div {
    padding: 25px;
    background: linear-gradient(130deg, #193b2b, #11291e);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.stats strong {
    display: block;
    color: var(--gold);
    font-size: 36px;
    font-weight: 400;
}

.stats span {
    color: #a7b99e;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.table {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #10281d;
}

th,
td {
    padding: 17px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

th {
    background: #1a3325;
    color: #cbbd93;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

td {
    color: #c0d0bc;
    font-size: 13px;
}

td a {
    color: var(--gold);
}

td small {
    display: block;
    color: #91a389;
}

tr:hover td {
    background: #a5bd8610;
}

.badge {
    padding: 6px 10px;
    background: #614e27;
    color: #f6dda3;
    border-radius: 20px;
    font-size: 10px;
}

.approved {
    background: #294e33;
    color: #cae6b6;
}

.rejected {
    background: #60372e;
    color: #f1c5b6;
}

.admin .grid {
    padding: 15px 0;
}

.admin .grid b {
    font-size: 13px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.admin .form-card > a {
    color: #dfc78e;
    font-size: 12px;
}

.filters {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 20px;
}

.filters button {
    margin-bottom: 12px;
}

video {
    width: 100%;
    max-height: 450px;
    background: #15261d;
    border: 1px solid var(--line);
    border-radius: 8px;
}

/* FOOTER */

footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 35px 5.5%;
    color: #d6c99f;
    border-top: 1px solid var(--line);
    font-size: 9px;
    letter-spacing: 2px;
}

footer span {
    color: #94a78f;
    font-size: 10px;
    letter-spacing: 0;
}

/* ANIMATIONS */

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

@keyframes float-inverter {
    0%,
    100% {
        transform: translateY(0) rotateY(-10deg);
    }
    50% {
        transform: translateY(-10px) rotateY(-6deg);
    }
}

@keyframes float-battery {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes halo {
    0%,
    100% {
        transform: scale(0.96);
        opacity: 0.55;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes lightwash {
    0%,
    100% {
        background-position: 100% 0;
    }
    50% {
        background-position: 0 0;
    }
}

@supports (animation-timeline: view()) {
    .rules > div,
    .registration > .form-card {
        animation: enter linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 20%;
    }
}

/* LARGE SCREENS */

@media (min-width: 1500px) {
    .hero {
        min-height: 730px;
    }

    .products {
        min-height: 360px;
    }
}

/* TABLETS */

@media (max-width: 1000px) {
    .hero {
        gap: 30px;
    }

    .products {
        gap: 16px;
    }

    .inverter {
        width: 125px;
    }

    .battery {
        width: 110px;
    }

    .product-card {
        padding: 22px;
    }

    .registration {
        gap: 35px;
    }

    .form-card {
        padding: 25px;
    }

    .brand {
        font-size: 10px;
    }

    .muted {
        display: none;
    }

    .rules > div {
        padding: 23px;
    }
}

/* MOBILE */

@media (max-width: 800px) {
    header {
        position: relative;
        height: auto;
        flex-wrap: wrap;
        gap: 17px;
        padding: 19px 5%;
    }

    .brand {
        font-size: 11px;
    }

    nav {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
    }

    nav a {
        font-size: 11px;
    }

    main {
        padding: 0 5%;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 44px 0 38px;
        gap: 32px;
    }

    .hero h1 {
        font-size: clamp(42px, 9vw, 64px);
        letter-spacing: -2px;
    }

    .lead {
        font-size: 14px;
    }

    .hero .button {
        width: 100%;
        max-width: 380px;
    }

    .product-card {
        padding: 23px;
    }

    .products {
        min-height: 300px;
        gap: 27px;
    }

    .inverter {
        width: 135px;
        height: 195px;
    }

    .battery {
        width: 120px;
        height: 223px;
    }

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

    .rules > div {
        padding: 24px;
    }

    .rules > div + div {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .rules p {
        max-width: none;
    }

    .registration {
        grid-template-columns: 1fr;
        padding: 55px 0;
        gap: 25px;
        scroll-margin-top: 20px;
    }

    .registration aside {
        position: static;
    }

    .registration h2 {
        font-size: 36px;
    }

    .registration aside > p {
        max-width: 500px;
    }

    .notice {
        margin: 20px 0;
    }

    .form-card {
        padding: 23px 19px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .fixed {
        padding: 14px;
        gap: 15px;
    }

    .fixed b {
        font-size: 13px;
    }

    .fixed span {
        max-width: 140px;
        font-size: 8px;
        text-align: right;
    }

    .form-card h3 {
        font-size: 15px;
    }

    .upload {
        padding: 17px;
    }

    footer {
        display: block;
        line-height: 2;
    }

    footer span {
        display: block;
        margin-top: 10px;
    }

    .stats {
        gap: 10px;
    }

    .stats div {
        padding: 16px 12px;
    }

    .stats strong {
        font-size: 28px;
    }

    .stats span {
        font-size: 9px;
    }

    .admin h1 {
        font-size: 36px;
    }

    #eligibility {
        scroll-margin-top: 20px;
    }
}

@media (max-width: 360px) {
    .products {
        gap: 15px;
    }

    .inverter {
        width: 115px;
    }

    .battery {
        width: 105px;
    }

    .plus {
        font-size: 17px;
    }

    .pair-caption b {
        font-size: 20px;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .button:hover,
    button:hover {
        transform: none;
    }
}

/* ==========================================
   PREMIUM ADMIN PANEL
   Paste at the END of public/style.css
   ========================================== */

.admin {
    position: relative;
    max-width: 1450px;
    min-height: calc(100vh - 180px);
    padding-top: 55px;
    padding-bottom: 85px;
    animation: adminEnter 0.65s ease both;
}

.admin > .eyebrow {
    color: #e7c784;
    font-size: 10px;
    letter-spacing: 3px;
}

.admin > h1 {
    margin: 18px 0 30px;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 500;
    letter-spacing: -2px;
    line-height: 1.15;
}

/* SIGN OUT */

.admin > form[method="post"] {
    display: flex;
    justify-content: flex-end;
    margin: -75px 0 35px;
}

.admin > form[method="post"] .secondary {
    padding: 12px 22px;
    background: #203b2c;
    color: #e7d4a8;
    border: 1px solid #d8bd7e35;
    border-radius: 9px;
    font-size: 12px;
}

/* LOGIN CARD */

.admin > form.login {
    display: block;
    position: relative;
    width: 100%;
    max-width: 490px;
    margin: 45px auto 70px;
    padding: 45px 38px 38px;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at top right,
            #ad915322,
            transparent 55%
        ),
        linear-gradient(145deg, #19392a, #0b2218);
    border: 1px solid #d5bd7e38;
    border-radius: 24px;
    box-shadow:
        0 35px 80px #0005,
        inset 0 1px 0 #f4e4b512;
    animation: adminEnter 0.8s ease both;
}

.admin .login::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20%;
    width: 60%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        #eed59c,
        transparent
    );
}

.admin .login h2 {
    margin: 0 0 30px;
    padding-bottom: 23px;
    border-bottom: 1px solid #d4c69520;
    color: #f3ead6;
    font-size: 27px;
    font-weight: 400;
    letter-spacing: -0.7px;
}

.admin .login label {
    margin: 20px 0;
    color: #c3d0bc;
    font-size: 12px;
}

.admin .login input {
    padding: 16px;
    background: #061a12a6;
    border: 1px solid #a9ba942e;
    border-radius: 10px;
    font-size: 14px;
}

.admin .login button {
    width: 100%;
    justify-content: center;
    margin-top: 15px;
    padding: 17px;
    border-radius: 10px;
}

/* DASHBOARD STATISTICS */

.admin .stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 32px 0 40px;
}

.admin .stats > div {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 165px;
    padding: 30px;
    background: linear-gradient(135deg, #1c382a, #10261c);
    border: 1px solid #c5d2b51c;
    border-radius: 18px;
    box-shadow: 0 14px 35px #0002;
    transition:
        transform 0.3s,
        border-color 0.3s,
        box-shadow 0.3s;
}

.admin .stats > div::before {
    content: "";
    position: absolute;
    top: -45px;
    right: -35px;
    z-index: -1;
    width: 160px;
    height: 160px;
    border: 1px solid #dcc58b14;
    border-radius: 50%;
    box-shadow:
        0 0 0 25px #dcc58b05,
        0 0 0 50px #dcc58b03;
}

.admin .stats > div::after {
    content: "";
    position: absolute;
    top: 25px;
    right: 25px;
    width: 8px;
    height: 8px;
    background: #dfc080;
    border-radius: 50%;
    box-shadow: 0 0 15px #dfc08055;
}

.admin .stats > div:nth-child(2)::after {
    background: #9ddda5;
    box-shadow: 0 0 15px #9ddda555;
}

.admin .stats > div:nth-child(3)::after {
    background: #de9a87;
    box-shadow: 0 0 15px #de9a8755;
}

.admin .stats > div:hover {
    transform: translateY(-5px);
    border-color: #d5bd7e55;
    box-shadow: 0 20px 45px #0003;
}

.admin .stats strong {
    display: block;
    color: #edd5a0;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -2px;
}

.admin .stats > div:nth-child(2) strong {
    color: #b7dfb4;
}

.admin .stats > div:nth-child(3) strong {
    color: #e3b3a2;
}

.admin .stats span {
    display: block;
    margin-top: 15px;
    color: #b1c1a8;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* FILTER TOOLBAR */

.admin .filters {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    padding: 18px 22px;
    margin: 30px 0 18px;
    background: #122b2066;
    border: 1px solid #c4d1b51c;
    border-radius: 13px;
}

.admin .filters label {
    flex: 1;
    max-width: 280px;
    margin: 0;
    color: #b9c8ad;
    font-size: 11px;
}

.admin .filters select {
    min-height: 45px;
    margin-top: 7px;
    padding: 12px;
    background: #0a2017;
    border-radius: 8px;
}

.admin .filters button {
    min-height: 45px;
    margin: 0;
    padding: 12px 25px;
    border-radius: 8px;
}

/* REGISTRATION TABLE */

.admin .table {
    overflow-x: auto;
    background: #0e251b;
    border: 1px solid #c4d1b526;
    border-radius: 16px;
    box-shadow: 0 18px 45px #0002;
    scrollbar-width: thin;
    scrollbar-color: #65774f #11281c;
}

.admin table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.admin th {
    padding: 20px 22px;
    background: #1a3425;
    color: #d2c39a;
    border-bottom: 1px solid #d1c18b25;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.4px;
    white-space: nowrap;
}

.admin td {
    padding: 21px 22px;
    color: #d0dac7;
    border-bottom: 1px solid #c6d5b512;
    font-size: 12px;
    vertical-align: middle;
    transition: background 0.2s;
}

.admin tbody tr:last-child td {
    border-bottom: 0;
}

.admin tbody tr:nth-child(even) td {
    background: #d2dfb903;
}

.admin tbody tr:hover td {
    background: #c4b3720b;
}

.admin td:first-child {
    color: #e4d1a2;
    font-weight: 600;
    white-space: nowrap;
}

.admin td small {
    margin-top: 4px;
    color: #91a385;
    font-size: 10px;
}

.admin td:last-child a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    background: #d4bc7e0b;
    color: #e6cd93;
    border: 1px solid #d4bc7e33;
    border-radius: 7px;
    font-size: 11px;
    white-space: nowrap;
    transition:
        background 0.2s,
        border-color 0.2s;
}

.admin td:last-child a:hover {
    background: #d4bc7e1c;
    border-color: #d4bc7e88;
}

/* STATUS BADGES */

.admin .badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 11px;
    background: #d7b96a12;
    color: #e5ca8b;
    border: 1px solid #d7b96a30;
    border-radius: 30px;
    font-size: 10px;
    text-transform: capitalize;
    white-space: nowrap;
}

.admin .badge::before {
    content: "";
    width: 5px;
    height: 5px;
    background: currentColor;
    border-radius: 50%;
}

.admin .badge.approved {
    background: #97cd9010;
    color: #b3dfab;
    border-color: #97cd9030;
}

.admin .badge.rejected {
    background: #dc957d10;
    color: #e7b29e;
    border-color: #dc957d30;
}

/* INSTALLATION REVIEW */

.admin > section.form-card {
    margin: 30px 0;
    padding: 35px;
    background:
        radial-gradient(
            ellipse at top right,
            #8b794613,
            transparent 45%
        ),
        linear-gradient(145deg, #153023, #0c2319);
    border: 1px solid #c4c8982c;
    border-radius: 20px;
    box-shadow: 0 22px 55px #0002;
}

.admin > section.form-card > a {
    display: inline-block;
    margin-bottom: 8px;
    color: #dfc78e;
    font-size: 12px;
}

.admin .form-card > h2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
    color: #eee7d5;
    font-size: 25px;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.admin .form-card > h2 small {
    margin: 0;
    padding: 5px 10px;
    background: #cbb5770e;
    color: #dcc58e;
    border: 1px solid #cbb5772b;
    border-radius: 5px;
    font-size: 9px;
    letter-spacing: 1px;
}

.admin .form-card > .grid {
    gap: 12px;
    padding: 10px 0 25px;
}

.admin .form-card > .grid > div {
    min-width: 0;
    padding: 16px 18px;
    background: #061c1455;
    border: 1px solid #afbf9418;
    border-radius: 9px;
}

.admin .form-card > .grid .small {
    margin: 0 0 6px;
    color: #91a885;
    font-size: 10px;
}

.admin .form-card > .grid b {
    color: #e0e6d5;
    font-size: 13px;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.admin .form-card h3 {
    color: #e2d5b1;
    font-size: 16px;
    font-weight: 500;
}

.admin video {
    display: block;
    width: 100%;
    max-height: 480px;
    margin-top: 15px;
    background: #06130d;
    border: 1px solid #c6bb842e;
    border-radius: 13px;
    box-shadow: 0 15px 35px #0003;
}

.admin video + p a {
    display: inline-block;
    padding: 9px 14px;
    background: #c8b77b0a;
    color: #d8c38b;
    border: 1px solid #c8b77b25;
    border-radius: 7px;
    font-size: 11px;
}

/* VERIFICATION CHECKLIST */

.admin .form-card form .check {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: 10px 0;
    padding: 16px;
    background: #0a2117;
    border: 1px solid #b6c29b20;
    border-radius: 9px;
    color: #becdb1;
    font-size: 12px;
    line-height: 1.7;
    cursor: pointer;
    transition:
        border-color 0.2s,
        background 0.2s;
}

.admin .form-card form .check:hover {
    background: #173021;
    border-color: #c8b77b55;
}

.admin .form-card form .check:has(input:checked) {
    background: #203c2677;
    border-color: #9cbc6855;
    color: #e0e8c8;
}

.admin .check input {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin-top: 2px;
    accent-color: #d4b979;
}

.admin textarea {
    min-height: 120px;
    padding: 16px;
    background: #081d14;
    border: 1px solid #b6c29b30;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.7;
}

.admin .form-card form > button {
    min-height: 50px;
    margin-top: 12px;
    border-radius: 9px;
    font-size: 12px;
}

.admin .form-card form > .danger {
    background: linear-gradient(120deg, #6b392d, #4c2a22);
    color: #f2c8b9;
    border: 1px solid #c38a6433;
}

.admin .form-card form > .danger:hover {
    box-shadow: 0 10px 25px #aa56351a;
}

.admin .notice {
    border-radius: 0 10px 10px 0;
    overflow-wrap: anywhere;
}

.admin .notice small {
    color: #91a486;
    font-size: 10px;
}

/* MESSAGES & PAGINATION */

.admin .alert {
    padding: 18px 22px;
    background: #4b2b2044;
    color: #f0c9ac;
    border: 1px solid #bb825844;
    border-radius: 12px;
}

.admin > p:last-child {
    margin-top: 25px;
    color: #9daf92;
    font-size: 12px;
}

.admin > p:last-child a {
    display: inline-block;
    padding: 8px 13px;
    color: #ddc78f;
    border: 1px solid #c9b77a30;
    border-radius: 7px;
}

/* ANIMATION */

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

/* MOBILE */

@media (max-width: 800px) {
    .admin {
        padding-top: 30px;
        padding-bottom: 50px;
    }

    .admin > h1 {
        margin-bottom: 22px;
        font-size: 36px;
        letter-spacing: -1px;
    }

    .admin > form[method="post"] {
        margin: 0 0 25px;
    }

    .admin > form.login {
        display: block;
        margin: 25px auto 45px;
        padding: 32px 23px;
    }

    .admin .login h2 {
        font-size: 24px;
    }

    .admin .stats {
        gap: 10px;
        margin: 20px 0 28px;
    }

    .admin .stats > div {
        min-height: 125px;
        padding: 23px 14px;
        border-radius: 12px;
    }

    .admin .stats > div::after {
        top: 15px;
        right: 13px;
        width: 5px;
        height: 5px;
    }

    .admin .stats strong {
        font-size: 32px;
    }

    .admin .stats span {
        margin-top: 12px;
        font-size: 8px;
        letter-spacing: 1px;
    }

    .admin .filters {
        padding: 15px;
        gap: 10px;
    }

    .admin .filters button {
        padding: 12px 18px;
    }

    .admin th,
    .admin td {
        padding: 17px 16px;
    }

    .admin > section.form-card {
        padding: 24px 18px;
        border-radius: 15px;
    }

    .admin .form-card > h2 {
        font-size: 20px;
    }

    .admin .form-card > .grid {
        gap: 9px;
    }

    .admin .form-card > .grid > div {
        padding: 13px 15px;
    }

    .admin .form-card form .check {
        padding: 14px;
        font-size: 11px;
    }

    .admin video {
        max-height: 300px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .admin,
    .admin .login {
        animation: none;
    }

    .admin .stats > div:hover {
        transform: none;
    }
}
/* DIWAN NAVBAR LOGO */
header .diwan-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 175px;
    height: 65px;
    overflow: hidden;
    background: #fff;
    border-radius: 7px;
}

header .diwan-logo {
    display: block;
    width: 175px;
    height: 175px;
    max-width: none;
    object-fit: contain;
    flex-shrink: 0;
}

@media (max-width: 800px) {
    header .diwan-brand {
        width: 150px;
        height: 58px;
    }

    header .diwan-logo {
        width: 150px;
        height: 150px;
    }
}
/* Fix Diwan logo positioning */
header .diwan-brand {
    position: relative;
    display: block;
    width: 175px;
    height: 65px;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 7px;
}

header .diwan-brand img.diwan-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 175px;
    height: 175px;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    opacity: 1;
    visibility: visible;
    object-fit: contain;
    transform: translate(-50%, -50%);
}
/* Diwan logo — directly on navbar */
header .diwan-brand {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 190px;
    height: 66px;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

header .diwan-brand img.diwan-logo {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    max-width: 190px;
    max-height: 66px;
    margin: 0;
    padding: 0;
    object-fit: contain;
    object-position: left center;
    transform: none;
    background: transparent;
    border: none;
    border-radius: 0;
}

@media (max-width: 800px) {
    header .diwan-brand {
        width: 155px;
        height: 55px;
    }

    header .diwan-brand img.diwan-logo {
        max-width: 155px;
        max-height: 55px;
    }
}
/* =========================================
   DIWAN PUBLIC INTRO
   ========================================= */

.campaign-intro {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-height: calc(100svh - 94px);
    max-width: none;
    padding: 65px 24px;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 50% 35%,
            rgba(65, 112, 69, 0.23),
            transparent 65%
        ),
        #071a14;
}

.intro-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 880px;
    text-align: center;
}

.intro-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    animation: diwanIntroEnter 0.8s ease both;
}

.intro-diwan-logo {
    display: block;
    width: 245px;
    height: auto;
    max-width: 75%;
    max-height: 95px;
    object-fit: contain;
}

.intro-kicker {
    margin: 0 0 22px;
    color: #e7c784;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3.5px;
    animation: diwanIntroEnter 0.8s 0.1s ease both;
}

.intro-content h1 {
    margin: 0 0 25px;
    color: #f5f2e8;
    font-size: clamp(36px, 4.8vw, 67px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -2px;
    animation: diwanIntroEnter 0.85s 0.2s ease both;
}

.intro-content h1 em {
    color: #e7c784;
    background: none;
    font-family: Georgia, serif;
    font-style: italic;
}

.intro-description {
    max-width: 540px;
    margin: 0 auto;
    color: #a9bcab;
    font-size: 15px;
    line-height: 1.9;
    animation: diwanIntroEnter 0.85s 0.3s ease both;
}

.intro-product-pair {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 29px 0;
    animation: diwanIntroEnter 0.85s 0.4s ease both;
}

.intro-product-pair span {
    padding: 10px 18px;
    background: #d3bb7e09;
    color: #e4d4ac;
    border: 1px solid #d3bb7e33;
    border-radius: 7px;
    font-size: 12px;
    letter-spacing: 0.3px;
}

.intro-product-pair b {
    color: #cbb579;
    font-size: 19px;
    font-weight: 300;
}

.intro-enter-form {
    margin: 0;
    animation: diwanIntroEnter 0.85s 0.5s ease both;
}

.intro-enter-button {
    min-width: 240px;
    min-height: 56px;
    justify-content: space-between;
    padding: 16px 25px;
    background: linear-gradient(120deg, #ecd39c, #c9a463);
    color: #14251b;
    border: 1px solid #ead19c;
    border-radius: 9px;
    font-size: 14px;
    box-shadow: 0 12px 40px #d0ad5314;
}

.intro-assurances {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 23px;
    margin-top: 33px;
    animation: diwanIntroEnter 0.85s 0.6s ease both;
}

.intro-assurances span {
    color: #adc1a6;
    font-size: 10px;
}

.intro-assurances span::before {
    content: "✓";
    margin-right: 7px;
    color: #d8c28c;
}

.intro-disclaimer {
    max-width: 500px;
    margin: 20px auto 0;
    color: #849b88;
    font-size: 10px;
    line-height: 1.8;
    animation: diwanIntroEnter 0.85s 0.7s ease both;
}

.intro-orbit {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    border: 1px solid #d5bd7e12;
    border-radius: 50%;
}

.intro-orbit-one {
    width: 680px;
    height: 680px;
    top: -300px;
    right: -280px;
    box-shadow:
        0 0 0 55px #d5bd7e04,
        0 0 0 110px #d5bd7e03;
    animation: diwanOrbitGlow 8s ease-in-out infinite;
}

.intro-orbit-two {
    width: 520px;
    height: 520px;
    bottom: -300px;
    left: -230px;
    box-shadow:
        0 0 0 50px #d5bd7e04,
        0 0 0 100px #d5bd7e03;
    animation: diwanOrbitGlow 8s 2s ease-in-out infinite;
}

@keyframes diwanIntroEnter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes diwanOrbitGlow {
    0%,
    100% {
        transform: scale(0.96);
        opacity: 0.45;
    }

    50% {
        transform: scale(1.06);
        opacity: 1;
    }
}

@media (max-width: 800px) {
    .campaign-intro {
        min-height: calc(100svh - 130px);
        padding: 48px 20px;
    }

    .intro-diwan-logo {
        width: 205px;
        max-height: 78px;
    }

    .intro-kicker {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .intro-content h1 {
        font-size: clamp(32px, 7vw, 48px);
        letter-spacing: -1px;
    }

    .intro-description {
        font-size: 13px;
    }

    .intro-product-pair {
        gap: 10px;
    }

    .intro-product-pair span {
        padding: 9px 12px;
        font-size: 10px;
    }

    .intro-enter-button {
        width: 100%;
        max-width: 320px;
    }

    .intro-assurances {
        gap: 10px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .campaign-intro *,
    .campaign-intro *::before,
    .campaign-intro *::after {
        animation: none !important;
        transition: none !important;
    }
}
/* ==========================================
   DIWAN — PREMIUM ADMIN WORKSPACE
   ========================================== */

.desk-label {
    display: block;
    color: #d8bf86;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
}

.vip-desk {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 30px;
    max-width: 1600px;
    min-height: calc(100vh - 94px);
    margin: auto;
    padding: 30px 4% 60px;
    align-items: start;
}

.desk-sidebar {
    position: sticky;
    top: 120px;
    padding: 25px 19px;
    background: linear-gradient(155deg, #173225, #0b2118);
    border: 1px solid #bacaa51c;
    border-radius: 18px;
}

.desk-sidebar-heading {
    padding: 4px 5px 20px;
    border-bottom: 1px solid #bacaa51c;
}

.desk-sidebar-heading .desk-label {
    font-size: 8px;
    letter-spacing: 1.5px;
}

.desk-sidebar-heading h2 {
    margin: 9px 0 0;
    color: #f0eadb;
    font-size: 25px;
    font-weight: 400;
    letter-spacing: -1px;
}

.desk-sidebar-heading h2 span,
.desk-topbar h1 span {
    color: #d9bf83;
}

.desk-nav-label {
    margin: 24px 9px 12px;
    color: #84997e;
    font-size: 9px;
    letter-spacing: 2px;
}

.desk-navigation {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.desk-navigation a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    color: #aebfa7;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 12px;
    transition: background .2s, color .2s;
}

.desk-navigation a::after {
    display: none;
}

.desk-navigation a:hover,
.desk-navigation a.is-active {
    background: #d3ba7c10;
    color: #ecd7a5;
    border-color: #d3ba7c25;
}

.desk-navigation b {
    min-width: 23px;
    padding: 2px 5px;
    background: #d3ba7c10;
    border-radius: 5px;
    font-size: 10px;
    text-align: center;
}

.desk-policy {
    margin-top: 25px;
    padding: 17px;
    background: #c3ac6908;
    border: 1px solid #c3ac6923;
    border-radius: 10px;
}

.desk-policy strong {
    display: block;
    margin-top: 8px;
    color: #ddceaa;
    font-size: 12px;
    font-weight: 500;
}

.desk-policy p {
    margin: 9px 0 0;
    color: #94a98c;
    font-size: 11px;
    line-height: 1.8;
}

.desk-account {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 27px;
    padding-top: 20px;
    border-top: 1px solid #bacaa51c;
}

.desk-account > div {
    min-width: 0;
}

.desk-account-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    height: 34px;
    background: #d1b57418;
    color: #e6cc91;
    border: 1px solid #d1b57425;
    border-radius: 9px;
    font-family: Georgia, serif;
}

.desk-account small {
    display: block;
    color: #83977b;
    font-size: 9px;
}

.desk-account strong {
    display: block;
    color: #c7d1bc;
    font-size: 10px;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.desk-logout button {
    justify-content: center;
    width: 100%;
    margin-top: 17px;
    padding: 11px;
    background: #20392a;
    color: #d5c7a4;
    border: 1px solid #d1b57420;
    font-size: 11px;
}

.desk-main {
    min-width: 0;
    animation: deskArrival .6s ease both;
}

.desk-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 8px 0 28px;
}

.desk-topbar .eyebrow {
    font-size: 9px;
    letter-spacing: 2px;
}

.desk-topbar h1 {
    margin: 12px 0;
    font-size: clamp(30px, 3.2vw, 45px);
    font-weight: 400;
    letter-spacing: -1.8px;
}

.desk-topbar p:last-child {
    margin: 0;
    color: #8fa588;
    font-size: 12px;
}

.desk-date {
    flex-shrink: 0;
    padding: 13px 17px;
    background: #152d2166;
    border: 1px solid #bacaa51c;
    border-radius: 10px;
    text-align: right;
}

.desk-date span {
    display: block;
    color: #93a486;
    font-size: 8px;
    letter-spacing: 1.5px;
}

.desk-date strong {
    color: #d9cba7;
    font-size: 12px;
    font-weight: 400;
}

.desk-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 27px;
}

.desk-stat {
    position: relative;
    overflow: hidden;
    padding: 23px 19px;
    background: linear-gradient(140deg, #1a3627, #10261b);
    border: 1px solid #c0ccab22;
    border-radius: 14px;
    transition: transform .25s, border-color .25s;
}

.desk-stat::before {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    top: -50px;
    right: -45px;
    border: 1px solid #e1c88c16;
    border-radius: 50%;
    box-shadow: 0 0 0 25px #e1c88c04;
}

.desk-stat:hover {
    transform: translateY(-4px);
    border-color: #cdb77755;
}

.desk-stat-title {
    display: block;
    color: #b4c3a7;
    font-size: 10px;
}

.desk-stat strong {
    display: block;
    margin: 9px 0;
    color: #e6cea0;
    font-size: 37px;
    font-weight: 400;
    line-height: 1.2;
}

.desk-stat-approved strong {
    color: #afd7a8;
}

.desk-stat-rejected strong {
    color: #deac97;
}

.desk-stat-detail {
    display: block;
    color: #829777;
    font-size: 9px;
}

.desk-stat-arrow {
    position: absolute;
    right: 18px;
    top: 19px;
    color: #bea873;
    font-size: 15px;
}

.desk-panel {
    margin-bottom: 25px;
    padding: 25px;
    background: linear-gradient(145deg, #122c20, #0c2218);
    border: 1px solid #b7c8a322;
    border-radius: 17px;
    box-shadow: 0 15px 40px #0002;
}

.desk-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 22px;
}

.desk-panel-heading h2 {
    margin: 8px 0 0;
    color: #eee6d3;
    font-size: 23px;
    font-weight: 400;
    letter-spacing: -.5px;
    overflow-wrap: anywhere;
}

.desk-back-link {
    color: #d6c18d;
    font-size: 11px;
}

.desk-result-count {
    padding: 7px 11px;
    background: #cab57a0a;
    color: #b8bd9c;
    border: 1px solid #cab57a22;
    border-radius: 6px;
    font-size: 10px;
}

.desk-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 28px;
}

.desk-details > div {
    min-width: 0;
    padding: 14px;
    background: #071d1455;
    border: 1px solid #b7c8a316;
    border-radius: 8px;
}

.desk-details span {
    display: block;
    color: #899f7f;
    font-size: 9px;
}

.desk-details strong {
    display: block;
    margin-top: 5px;
    color: #d4deca;
    font-size: 12px;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.desk-review-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 25px;
    padding-top: 25px;
    border-top: 1px solid #b7c8a31c;
}

.desk-review-layout h3,
.desk-history h3 {
    color: #e0d3af;
    font-size: 18px;
    font-weight: 400;
}

.desk-evidence video {
    display: block;
    width: 100%;
    max-height: 370px;
    margin-top: 17px;
    background: #030c07;
    border: 1px solid #cbb77d25;
    border-radius: 10px;
}

.desk-download {
    display: inline-block;
    margin-top: 13px;
    padding: 10px 12px;
    color: #d5c18d;
    border: 1px solid #cbb77d2b;
    border-radius: 6px;
    font-size: 10px;
}

.desk-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 9px 0;
    padding: 13px;
    background: #0a2116;
    border: 1px solid #b6c29b22;
    border-radius: 8px;
    color: #b8c8ab;
    font-size: 11px;
    line-height: 1.7;
    cursor: pointer;
}

.desk-check:hover {
    border-color: #cbb77d66;
}

.desk-check:has(input:checked) {
    background: #29462a55;
    border-color: #9fbd6655;
    color: #dbe6c7;
}

.desk-check input {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: #d5bc7d;
}

.desk-note {
    margin-top: 20px;
    color: #b8c8ab;
    font-size: 11px;
}

.desk-note textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.7;
}

.desk-decision-buttons {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.desk-decision-buttons button {
    justify-content: center;
    width: 100%;
    padding: 14px 12px;
    font-size: 11px;
}

.desk-decision-buttons .desk-reject {
    background: #62382c;
    color: #f0c8b8;
    border: 1px solid #b57f5933;
}

.desk-completed {
    padding: 25px;
    background: #c2ae6d09;
    border: 1px solid #c2ae6d25;
    border-radius: 12px;
}

.desk-completed p {
    color: #9db192;
    font-size: 12px;
    line-height: 1.9;
}

.desk-history {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #b7c8a31c;
    scroll-margin-top: 120px;
}

.desk-history-item {
    margin-top: 15px;
    padding: 19px;
    background: #071d1455;
    border: 1px solid #b7c8a322;
    border-left: 2px solid #c8b27b;
    border-radius: 0 10px 10px 0;
}

.desk-history-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.desk-history time,
.desk-history small {
    color: #91a482;
    font-size: 10px;
}

.desk-history-item > strong {
    color: #d5ddc9;
    font-size: 12px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.desk-history-item p {
    color: #a8b89b;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.vip-desk .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #d5b76b12;
    color: #e1c582;
    border: 1px solid #d5b76b30;
    border-radius: 20px;
    font-size: 10px;
    white-space: nowrap;
}

.vip-desk .badge::before {
    content: "";
    width: 5px;
    height: 5px;
    background: currentColor;
    border-radius: 50%;
}

.vip-desk .badge.approved {
    background: #9aca8b10;
    color: #b1dba5;
    border-color: #9aca8b33;
}

.vip-desk .badge.rejected {
    background: #cf947910;
    color: #e0ae96;
    border-color: #cf947933;
}

.desk-filters {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
    padding: 17px;
    background: #081f1555;
    border: 1px solid #b7c8a31c;
    border-radius: 10px;
}

.desk-filters label {
    margin: 0;
    color: #a8b99a;
    font-size: 10px;
}

.desk-filters .desk-search {
    flex: 1 1 220px;
}

.desk-filters input,
.desk-filters select {
    height: 43px;
    margin-top: 7px;
    padding: 10px;
    font-size: 12px;
}

.desk-filters button {
    height: 43px;
    padding: 11px 16px;
    font-size: 11px;
}

.desk-reset {
    padding: 12px 4px;
    color: #c6b17c;
    font-size: 11px;
}

.desk-table-wrap {
    overflow-x: auto;
    border: 1px solid #b7c8a322;
    border-radius: 10px;
    scrollbar-width: thin;
    scrollbar-color: #65774f #11281c;
}

.desk-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.desk-table th {
    padding: 17px;
    background: #1b3425;
    color: #cbbd94;
    border-bottom: 1px solid #b7c8a325;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1px;
    white-space: nowrap;
}

.desk-table td {
    padding: 18px 17px;
    color: #c4d1b8;
    border-bottom: 1px solid #b7c8a318;
    font-size: 11px;
}

.desk-table tbody tr:last-child td {
    border-bottom: 0;
}

.desk-table tbody tr:hover td {
    background: #cfbc7b08;
}

.desk-table td:first-child {
    color: #e0cb96;
    white-space: nowrap;
}

.desk-table td small {
    display: block;
    margin-top: 3px;
    color: #829776;
    font-size: 9px;
}

.desk-open {
    display: inline-block;
    padding: 7px 11px;
    color: #e1c88e;
    border: 1px solid #c7ae6e33;
    border-radius: 6px;
    white-space: nowrap;
}

.desk-open:hover {
    background: #c7ae6e15;
}

.desk-table .desk-empty {
    padding: 45px 20px;
    color: #9caf90;
    text-align: center;
}

.desk-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    color: #8fa280;
    font-size: 10px;
}

.desk-pagination > div {
    display: flex;
    gap: 10px;
}

.desk-pagination a {
    padding: 7px 11px;
    color: #d4bf87;
    border: 1px solid #c7ae6e33;
    border-radius: 6px;
}

/* LOGIN */

.desk-login-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
    align-items: center;
    gap: 8%;
    min-height: calc(100svh - 94px);
    max-width: 1200px;
    padding-top: 65px;
    padding-bottom: 65px;
}

.desk-login-info {
    animation: deskArrival .7s ease both;
}

.desk-login-info h1 {
    font-size: clamp(38px, 4.5vw, 60px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -2px;
}

.desk-login-info > p:not(.eyebrow) {
    max-width: 430px;
    color: #9fb396;
    font-size: 14px;
    line-height: 1.9;
}

.desk-login-points {
    display: grid;
    gap: 15px;
    margin-top: 30px;
    color: #b8c4a7;
    font-size: 12px;
}

.desk-login-card {
    padding: 38px;
    background:
        radial-gradient(ellipse at top right, #b79a5520, transparent 65%),
        linear-gradient(145deg, #183526, #0b2218);
    border: 1px solid #d2ba7a33;
    border-radius: 21px;
    box-shadow: 0 30px 65px #0003;
    animation: deskArrival .8s .1s ease both;
}

.desk-login-card h2 {
    margin: 17px 0 5px;
    color: #eee4cf;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -1px;
}

.desk-login-card > p {
    margin-bottom: 25px;
    color: #99ad90;
    font-size: 12px;
}

.desk-login-card label {
    margin: 18px 0;
    font-size: 11px;
}

.desk-login-card input {
    padding: 15px;
    background: #071b12aa;
    border-radius: 9px;
}

.desk-login-card button {
    justify-content: space-between;
    width: 100%;
    margin-top: 12px;
    font-size: 12px;
}

.desk-login-card > .desk-back-link {
    display: inline-block;
    margin-top: 24px;
}

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

@media (max-width: 1150px) {
    .vip-desk {
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 20px;
        padding-right: 3%;
        padding-left: 3%;
    }

    .desk-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .desk-review-layout {
        grid-template-columns: 1fr;
    }

    .desk-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .vip-desk {
        grid-template-columns: 1fr;
        padding: 20px 5% 40px;
    }

    .desk-sidebar {
        position: static;
        padding: 20px;
    }

    .desk-sidebar-heading {
        padding-bottom: 14px;
    }

    .desk-navigation {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .desk-sidebar > .desk-policy {
        display: none;
    }

    .desk-account {
        margin-top: 18px;
        padding-top: 15px;
    }

    .desk-logout button {
        margin-top: 12px;
    }

    .desk-topbar {
        align-items: flex-start;
    }

    .desk-topbar h1 {
        font-size: 32px;
    }

    .desk-date {
        display: none;
    }

    .desk-stats {
        gap: 10px;
    }

    .desk-stat {
        padding: 20px 15px;
    }

    .desk-stat strong {
        font-size: 32px;
    }

    .desk-panel {
        padding: 20px 15px;
    }

    .desk-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .desk-details > div {
        padding: 12px;
    }

    .desk-details strong {
        font-size: 11px;
    }

    .desk-filters {
        padding: 13px;
    }

    .desk-filters .desk-search {
        flex-basis: 100%;
    }

    .desk-filters label:not(.desk-search) {
        flex: 1;
    }

    .desk-login-page {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 35px;
        padding-bottom: 45px;
    }

    .desk-login-info h1 {
        font-size: 40px;
    }

    .desk-login-points {
        gap: 10px;
        margin-top: 20px;
        font-size: 11px;
    }

    .desk-login-card {
        padding: 28px 23px;
    }

    .desk-login-card h2 {
        font-size: 28px;
    }
}

@media (max-width: 420px) {
    .desk-details {
        grid-template-columns: 1fr;
    }

    .desk-stat-detail {
        font-size: 8px;
    }

    .desk-topbar h1 {
        font-size: 29px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .desk-main,
    .desk-login-info,
    .desk-login-card {
        animation: none;
    }

    .desk-stat {
        transition: none;
    }

    .desk-stat:hover {
        transform: none;
    }
}
/* ==================================================
   DIWAN — PREMIUM PUBLIC EXPERIENCE
   Paste at the END of public/style.css
   ================================================== */

/* PUBLIC INTRO */

.campaign-intro:not(.admin-welcome) {
    min-height: calc(100svh - 94px);
    padding: 75px 24px;
    background:
        radial-gradient(
            ellipse at 50% 25%,
            rgba(62, 105, 64, .24),
            transparent 60%
        ),
        linear-gradient(155deg, #061710, #102b1e 55%, #071a13);
}

.campaign-intro:not(.admin-welcome)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(#d9c18a05 1px, transparent 1px),
        linear-gradient(90deg, #d9c18a05 1px, transparent 1px);
    background-size: 75px 75px;
    mask-image: linear-gradient(transparent, #000, transparent);
}

.campaign-intro:not(.admin-welcome) .intro-content {
    max-width: 1000px;
}

.campaign-intro:not(.admin-welcome) .intro-logo-wrap {
    margin-bottom: 35px;
}

.campaign-intro:not(.admin-welcome) .intro-diwan-title {
    font-size: clamp(52px, 8vw, 88px);
    font-weight: 650;
    letter-spacing: 15px;
    padding-left: 15px;
    background: linear-gradient(
        110deg,
        #a88044 10%,
        #f4e2b2 38%,
        #fff4d1 50%,
        #b48e4f 78%
    );
    background-size: 180% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: publicGoldLight 9s ease-in-out infinite;
}

.campaign-intro:not(.admin-welcome) .intro-diwan-subtitle {
    color: #c0cdb8;
    font-size: 9px;
    letter-spacing: 7px;
    padding-left: 7px;
}

.campaign-intro:not(.admin-welcome) .intro-kicker {
    display: inline-block;
    padding: 8px 15px;
    margin-bottom: 25px;
    background: #d4ba7b08;
    border: 1px solid #d4ba7b30;
    border-radius: 30px;
    color: #ddc58e;
    font-size: 9px;
    letter-spacing: 2.5px;
}

.campaign-intro:not(.admin-welcome) h1 {
    font-size: clamp(38px, 5.2vw, 74px);
    line-height: 1.12;
    letter-spacing: -2.5px;
}

.campaign-intro:not(.admin-welcome) h1 em {
    color: #e2c992;
    font-weight: 400;
}

.campaign-intro:not(.admin-welcome) .intro-description {
    max-width: 550px;
    color: #b0c0a7;
    font-size: 15px;
    line-height: 1.9;
}

.campaign-intro:not(.admin-welcome) .intro-product-pair {
    gap: 18px;
    margin: 32px 0;
}

.campaign-intro:not(.admin-welcome) .intro-product-pair span {
    padding: 12px 22px;
    background: linear-gradient(130deg, #d4bd8310, #ffffff03);
    border: 1px solid #d4bd8333;
    border-radius: 9px;
    color: #e4d7b6;
    font-size: 12px;
}

.campaign-intro:not(.admin-welcome) .intro-enter-button {
    min-width: 275px;
    min-height: 59px;
    border-radius: 10px;
    background: linear-gradient(115deg, #f0dca9, #c5a062);
    box-shadow:
        0 12px 35px #0003,
        0 0 35px #d5b26b0c;
}

.campaign-intro:not(.admin-welcome) .intro-assurances {
    margin-top: 35px;
}

.campaign-intro:not(.admin-welcome) .intro-disclaimer {
    max-width: 520px;
    color: #96aa8d;
    font-size: 11px;
}

/* PUBLIC PAGE CONTAINER */

main:has(> .hero) {
    width: 100%;
    max-width: 1480px;
    padding-right: 6%;
    padding-left: 6%;
}

/* HERO */

main > .hero {
    position: relative;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 6%;
    min-height: 680px;
    padding: 85px 0;
    isolation: isolate;
}

main > .hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 40px;
    right: -30px;
    width: 55%;
    height: 500px;
    pointer-events: none;
    background: radial-gradient(
        ellipse,
        #6d99541a,
        transparent 70%
    );
}

main > .hero > div:first-child {
    position: relative;
}

main > .hero .eyebrow {
    gap: 12px;
    margin-bottom: 28px;
    color: #dbc18a;
    font-size: 9px;
    letter-spacing: 2.7px;
}

main > .hero .eyebrow::before {
    width: 35px;
    background: linear-gradient(90deg, #e4ce94, #927345);
}

main > .hero h1 {
    margin: 0 0 27px;
    color: #f0f0e4;
    font-size: clamp(46px, 5vw, 73px);
    font-weight: 450;
    line-height: 1.07;
    letter-spacing: -3px;
}

main > .hero h1 em {
    display: inline-block;
    margin-top: 7px;
    background: linear-gradient(100deg, #b48f52, #f1dba5, #c6a366);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-family: Georgia, serif;
    font-weight: 400;
}

main > .hero .lead {
    max-width: 455px;
    margin-bottom: 12px;
    color: #a8bca1;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.95;
}

main > .hero .button {
    min-width: 270px;
    min-height: 58px;
    margin: 24px 0 15px;
    padding: 17px 24px;
    border-radius: 9px;
    font-size: 12px;
    box-shadow: 0 15px 30px #0002;
}

main > .hero > div > .small {
    max-width: 410px;
    color: #91a487;
    font-size: 10px;
}

/* PRODUCT DISPLAY */

main > .hero .product-card {
    padding: 28px;
    background:
        radial-gradient(
            ellipse at 50% 43%,
            #6481512d,
            transparent 68%
        ),
        linear-gradient(145deg, #1b3928, #10271c);
    border: 1px solid #c9d0ac30;
    border-radius: 26px;
    box-shadow:
        0 30px 65px #0003,
        inset 0 1px 0 #fff9d00c;
}

main > .hero .product-card::before {
    inset: 17% 13% 21%;
    border-color: #dbc58a1c;
    box-shadow:
        0 0 0 32px #dbc58a05,
        0 0 0 64px #dbc58a03;
}

main > .hero .card-top {
    align-items: center;
    color: #bfcdae;
    font-size: 8px;
    letter-spacing: 2px;
}

main > .hero .pill {
    padding: 5px 9px;
    background: #dcc3820b;
    color: #e5cd91;
    border: 1px solid #dcc38233;
    border-radius: 5px;
    font-size: 7px;
}

main > .hero .products {
    min-height: 330px;
    gap: 28px;
}

main > .hero .inverter {
    box-shadow:
        8px 10px 0 #85917d,
        15px 30px 35px #0005;
}

main > .hero .battery {
    box-shadow:
        8px 10px 0 #102015,
        15px 30px 35px #0005;
}

main > .hero .plus {
    width: 30px;
    color: #ddc58d;
    font-size: 25px;
    text-align: center;
}

main > .hero .pair-caption {
    padding-top: 23px;
    border-top: 1px solid #cad3b323;
}

main > .hero .pair-caption b {
    color: #eee8d4;
    font-size: 23px;
    font-weight: 400;
}

main > .hero .pair-caption span {
    margin-top: 6px;
    color: #a6b99a;
    font-size: 11px;
}

main > .hero .product-card > .small {
    margin: 17px 0 0;
    color: #8fa480;
    font-size: 9px;
}

/* ELIGIBILITY */

main > .rules {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    background: linear-gradient(110deg, #14302188, #10251b66);
    border: 1px solid #c6d2b323;
    border-radius: 17px;
    box-shadow: 0 14px 40px #0001;
    scroll-margin-top: 125px;
}

main > .rules > div {
    position: relative;
    padding: 32px;
    overflow: hidden;
}

main > .rules > div + div {
    border-left: 1px solid #c6d2b31c;
}

main > .rules > div::after {
    content: "";
    position: absolute;
    right: -35px;
    bottom: -45px;
    width: 130px;
    height: 130px;
    pointer-events: none;
    border: 1px solid #d5bc7a10;
    border-radius: 50%;
    transition: transform .4s;
}

main > .rules > div:hover {
    background: #cdb37209;
}

main > .rules > div:hover::after {
    transform: scale(1.15);
}

main > .rules .step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    padding: 0;
    color: #dfc78e;
    background: #ccb4770c;
    border: 1px solid #ccb47730;
    border-radius: 8px;
    font-size: 10px;
}

main > .rules h3 {
    margin: 19px 0 11px;
    color: #e0e5d3;
    font-size: 17px;
    font-weight: 500;
}

main > .rules p {
    max-width: 290px;
    color: #9fb397;
    font-size: 12px;
    line-height: 1.9;
}

/* REGISTRATION LAYOUT */

main > .registration {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
    gap: 7%;
    align-items: start;
    padding: 100px 0;
    scroll-margin-top: 125px;
}

main > .registration aside {
    position: sticky;
    top: 135px;
}

main > .registration aside .eyebrow {
    color: #dbc18a;
    font-size: 9px;
    letter-spacing: 2.5px;
}

main > .registration aside h2 {
    margin: 26px 0;
    color: #f0ead9;
    font-family: Georgia, serif;
    font-size: clamp(34px, 3.5vw, 49px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

main > .registration aside > p:not(.eyebrow):not(.small) {
    max-width: 340px;
    color: #a4b69a;
    font-size: 14px;
    line-height: 1.9;
}

main > .registration aside .notice {
    margin: 30px 0 23px;
    padding: 23px;
    background: linear-gradient(115deg, #cbb2780e, #cbb27803);
    border: 1px solid #cbb2782b;
    border-left: 2px solid #ccb377;
    border-radius: 0 12px 12px 0;
}

main > .registration aside .notice b {
    color: #e0cb98;
    font-size: 13px;
}

main > .registration aside .notice p {
    color: #a5b698;
    font-size: 12px;
    line-height: 1.85;
}

main > .registration aside > .small {
    max-width: 340px;
    color: #8da281;
    font-size: 11px;
    line-height: 1.9;
}

/* FORM CARD */

main > .registration > .form-card {
    position: relative;
    min-width: 0;
    padding: 36px;
    background:
        radial-gradient(
            ellipse at top right,
            #bda6670a,
            transparent 50%
        ),
        linear-gradient(145deg, #153325, #0c2419);
    border: 1px solid #c6d1af2b;
    border-radius: 21px;
    box-shadow:
        0 25px 65px #0002,
        inset 0 1px 0 #f1e3ad08;
}

main > .registration > .form-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15%;
    width: 70%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        #d9c58b77,
        transparent
    );
}

main > .registration .form-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 17px 0 23px;
    padding-top: 15px;
    color: #e2e5d4;
    font-size: 16px;
    font-weight: 500;
}

main > .registration .form-card form > h3:first-of-type {
    padding-top: 0;
}

main > .registration .form-card form > h3:not(:first-of-type) {
    margin-top: 30px;
    padding-top: 28px;
    border-top: 1px solid #c2d0aa20;
}

main > .registration .form-card h3 .step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 29px;
    height: 29px;
    margin: 0;
    padding: 0;
    color: #ddc58d;
    background: #d0b77b0c;
    border: 1px solid #d0b77b30;
    border-radius: 7px;
    font-size: 10px;
}

main > .registration .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 19px;
}

main > .registration label {
    color: #bdcdb3;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.6;
}

main > .registration input:not([type="checkbox"]):not([type="hidden"]),
main > .registration textarea,
main > .registration select {
    min-width: 0;
    margin-top: 9px;
    padding: 15px 13px;
    background: #061b12a6;
    color: #edf0e3;
    border: 1px solid #afc39730;
    border-radius: 8px;
    font-size: 13px;
    transition:
        border-color .2s,
        box-shadow .2s,
        background .2s;
}

main > .registration input:not([type="checkbox"]):hover {
    border-color: #c5b77c66;
}

main > .registration input:not([type="checkbox"]):focus,
main > .registration textarea:focus,
main > .registration select:focus {
    background: #0b2116;
    border-color: #d1b87a;
    outline: none;
    box-shadow: 0 0 0 4px #d1b87a0e;
}

main > .registration .fixed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 17px;
    margin: 17px 0 12px;
    background: linear-gradient(110deg, #d1b87a0e, #8fae6f05);
    border: 1px solid #d1b87a33;
    border-radius: 9px;
}

main > .registration .fixed b {
    color: #e2ce9e;
    font-size: 14px;
    font-weight: 500;
}

main > .registration .fixed span {
    color: #a5b995;
    font-size: 9px;
    text-align: right;
}

main > .registration .fixed span::before {
    content: "● ";
    color: #a8cb86;
    font-size: 8px;
}

/* VIDEO UPLOAD */

main > .registration .upload {
    display: block;
    padding: 24px;
    background:
        radial-gradient(
            ellipse at top right,
            #c4b0740a,
            transparent 70%
        ),
        #071e1455;
    border: 1px dashed #c9b67d77;
    border-radius: 12px;
    color: #e2d5b1;
    font-size: 13px;
    transition: background .25s, border-color .25s;
}

main > .registration .upload:hover {
    background-color: #243b2233;
    border-color: #ddc58b;
}

main > .registration .upload input[type="file"] {
    width: 100%;
    margin-top: 15px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #a3b693;
    font-size: 11px;
}

main > .registration input[type="file"]::file-selector-button {
    margin-right: 13px;
    padding: 11px 15px;
    background: #29452e;
    color: #e5d4a9;
    border: 1px solid #c7b57a3d;
    border-radius: 7px;
    font: inherit;
    cursor: pointer;
    transition: background .2s;
}

main > .registration input[type="file"]::file-selector-button:hover {
    background: #345438;
}

main > .registration .upload .small {
    display: block;
    margin-top: 15px;
    color: #97ad88;
    font-size: 10px;
    line-height: 1.9;
}

/* DECLARATION */

main > .registration .check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 23px 0;
    padding: 17px;
    background: #061b1233;
    border: 1px solid #a9bc9222;
    border-radius: 9px;
    color: #acbea0;
    font-size: 11px;
    line-height: 1.9;
    cursor: pointer;
}

main > .registration .check:has(input:checked) {
    background: #38502a22;
    border-color: #a5bc6d55;
}

main > .registration .check input {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    margin-top: 3px;
    accent-color: #d6bd80;
}

main > .registration form > button {
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    padding: 16px 22px;
    background: linear-gradient(115deg, #efd9a3, #c6a163);
    color: #14261a;
    border: 1px solid #ead59f55;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
}

main > .registration form > button span {
    margin-left: auto;
}

main > .registration form > .small {
    margin-top: 15px;
    color: #8fa481;
    font-size: 10px;
    text-align: center;
}

/* SUCCESS AND ERROR MESSAGES */

main > .registration .alert {
    padding: 18px 20px;
    background: #61362655;
    color: #f1d1b5;
    border: 1px solid #b8835655;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

main > .registration .success {
    position: relative;
    padding: 30px;
    background: linear-gradient(140deg, #294b2d66, #172e1e);
    border: 1px solid #a3be6b55;
    border-radius: 13px;
}

main > .registration .success::before {
    content: "✓";
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 22px;
    background: #aecb7c16;
    color: #d0dfa9;
    border: 1px solid #aecb7c55;
    border-radius: 50%;
    font-size: 23px;
}

main > .registration .success h2 {
    margin: 0 0 18px;
    color: #e6ead2;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -.8px;
}

main > .registration .success p {
    color: #b2c3a4;
    font-size: 12px;
    line-height: 1.9;
}

main > .registration .success b {
    color: #e6d59f;
    overflow-wrap: anywhere;
}

main > .registration .success a {
    display: inline-block;
    margin-top: 15px;
    padding: 11px 15px;
    color: #e1cd96;
    border: 1px solid #c8b47344;
    border-radius: 7px;
    font-size: 11px;
}

/* MOTION */

@keyframes publicGoldLight {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* TABLET */

@media (max-width: 1100px) {
    main > .hero {
        gap: 30px;
    }

    main > .hero h1 {
        font-size: 54px;
    }

    main > .hero .product-card {
        padding: 23px;
    }

    main > .hero .products {
        gap: 18px;
        min-height: 305px;
    }

    main > .registration {
        gap: 35px;
    }

    main > .registration > .form-card {
        padding: 27px;
    }

    main > .rules > div {
        padding: 26px;
    }
}

/* MOBILE */

@media (max-width: 800px) {
    .campaign-intro:not(.admin-welcome) {
        min-height: calc(100svh - 130px);
        padding: 48px 20px;
    }

    .campaign-intro:not(.admin-welcome) .intro-logo-wrap {
        margin-bottom: 27px;
    }

    .campaign-intro:not(.admin-welcome) .intro-diwan-title {
        font-size: 58px;
        letter-spacing: 10px;
        padding-left: 10px;
    }

    .campaign-intro:not(.admin-welcome) .intro-diwan-subtitle {
        font-size: 8px;
        letter-spacing: 5px;
        padding-left: 5px;
    }

    .campaign-intro:not(.admin-welcome) .intro-kicker {
        padding: 7px 11px;
        font-size: 8px;
        letter-spacing: 1.7px;
    }

    .campaign-intro:not(.admin-welcome) h1 {
        font-size: clamp(34px, 7vw, 47px);
        letter-spacing: -1.4px;
    }

    .campaign-intro:not(.admin-welcome) .intro-description {
        font-size: 13px;
    }

    .campaign-intro:not(.admin-welcome) .intro-product-pair {
        gap: 10px;
        margin: 26px 0;
    }

    .campaign-intro:not(.admin-welcome) .intro-product-pair span {
        padding: 10px 12px;
        font-size: 10px;
    }

    .campaign-intro:not(.admin-welcome) .intro-enter-button {
        min-width: 0;
        width: 100%;
        max-width: 320px;
    }

    main:has(> .hero) {
        padding-right: 5%;
        padding-left: 5%;
    }

    main > .hero {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 45px 0;
        gap: 35px;
    }

    main > .hero::before {
        right: 0;
        width: 100%;
        height: 400px;
    }

    main > .hero .eyebrow {
        margin-bottom: 23px;
        font-size: 8px;
        letter-spacing: 2px;
    }

    main > .hero h1 {
        font-size: clamp(43px, 9vw, 64px);
        letter-spacing: -2px;
    }

    main > .hero .lead {
        font-size: 14px;
    }

    main > .hero .button {
        width: 100%;
        min-width: 0;
        max-width: 380px;
    }

    main > .hero .product-card {
        padding: 25px;
        border-radius: 20px;
    }

    main > .hero .products {
        min-height: 310px;
        gap: 24px;
    }

    main > .rules {
        grid-template-columns: 1fr;
        scroll-margin-top: 20px;
    }

    main > .rules > div {
        padding: 26px;
    }

    main > .rules > div + div {
        border-left: 0;
        border-top: 1px solid #c6d2b31c;
    }

    main > .rules p {
        max-width: none;
    }

    main > .registration {
        grid-template-columns: 1fr;
        gap: 27px;
        padding: 55px 0;
        scroll-margin-top: 20px;
    }

    main > .registration aside {
        position: static;
    }

    main > .registration aside h2 {
        margin: 22px 0;
        font-size: 39px;
    }

    main > .registration aside > p:not(.eyebrow):not(.small),
    main > .registration aside > .small {
        max-width: 520px;
    }

    main > .registration aside .notice {
        margin: 22px 0;
    }

    main > .registration > .form-card {
        padding: 25px 19px;
        border-radius: 16px;
    }

    main > .registration .grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    main > .registration .form-card h3 {
        font-size: 15px;
    }

    main > .registration .fixed {
        gap: 10px;
        padding: 15px;
    }

    main > .registration .fixed b {
        font-size: 13px;
    }

    main > .registration .fixed span {
        max-width: 140px;
        font-size: 8px;
    }

    main > .registration .upload {
        padding: 19px;
    }

    main > .registration .check {
        padding: 14px;
    }

    main > .registration .success {
        padding: 23px;
    }

    main > .registration .success h2 {
        font-size: 25px;
    }
}

@media (max-width: 380px) {
    main > .hero h1 {
        font-size: 40px;
    }

    main > .hero .product-card {
        padding: 20px 16px;
    }

    main > .hero .products {
        gap: 14px;
    }

    main > .hero .plus {
        width: 20px;
        font-size: 20px;
    }

    main > .hero .inverter {
        width: 115px;
    }

    main > .hero .battery {
        width: 105px;
    }

    main > .hero .pair-caption b {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .campaign-intro:not(.admin-welcome) *,
    main > .hero *,
    main > .rules *,
    main > .registration * {
        animation: none !important;
        transition: none !important;
    }
}
/* Remove inverter/battery showcase */
main > .hero > .product-card {
    display: none;
}

/* Adjust hero after removing the card */
main > .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding: 65px 0;
    text-align: center;
}

main > .hero::before {
    display: none;
}

main > .hero > div:first-child {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

main > .hero .eyebrow {
    justify-content: center;
}

main > .hero .lead,
main > .hero > div > .small {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 800px) {
    main > .hero {
        padding: 40px 0;
    }
}
/* =========================================
   DIWAN — SIMPLE ANIMATED REGISTRATION
   ========================================= */

main.registration-page {
    width: 100%;
    max-width: 940px;
    min-height: calc(100svh - 94px);
    margin: 0 auto;
    padding: 45px 24px 55px;
}

.registration-heading {
    max-width: 720px;
    margin: 0 auto 28px;
    text-align: center;
    animation: registrationEnter .65s ease both;
}

.registration-page .registration-kicker {
    margin: 0 0 13px;
    color: #ddc58e;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 3px;
}

.registration-heading h1 {
    margin: 0 0 15px;
    color: #f0eee2;
    font-size: clamp(30px, 3.5vw, 43px);
    font-weight: 450;
    line-height: 1.2;
    letter-spacing: -1.3px;
}

.registration-heading h1 em {
    color: #dfc58b;
    background: none;
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 400;
}

.registration-heading > p:not(.registration-kicker) {
    max-width: 530px;
    margin: 0 auto;
    color: #acbda2;
    font-size: 13px;
    line-height: 1.8;
}

.registration-eligibility {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 13px;
    margin-top: 20px;
    scroll-margin-top: 125px;
}

.registration-eligibility > span {
    color: #e0d3ae;
    font-size: 11px;
    font-weight: 500;
}

.registration-eligibility > b {
    color: #ad935b;
    font-size: 15px;
    font-weight: 400;
}

.registration-eligibility > small {
    flex-basis: 100%;
    color: #96aa8b;
    font-size: 10px;
}

.registration-sheet {
    position: relative;
    min-width: 0;
    padding: 34px;
    background:
        radial-gradient(
            ellipse at top right,
            #b69a530a,
            transparent 55%
        ),
        linear-gradient(145deg, #163326, #0c241a);
    border: 1px solid #c1ccaa30;
    border-radius: 19px;
    box-shadow:
        0 25px 65px #0002,
        inset 0 1px 0 #e4d6aa0a;
    scroll-margin-top: 120px;
    animation: registrationEnter .7s .08s ease both;
}

.registration-sheet::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15%;
    width: 70%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        #dbc58a77,
        transparent
    );
}

.registration-form {
    margin: 0;
}

.registration-group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.registration-group + .registration-group {
    margin-top: 28px;
}

.registration-group legend {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    margin-bottom: 8px;
    padding: 0;
    color: #e3e6d6;
    font-size: 16px;
    font-weight: 500;
}

.registration-group + .registration-group legend {
    padding-top: 25px;
    border-top: 1px solid #bacba022;
}

.registration-group legend > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    height: 30px;
    color: #e0c58c;
    background: #cfb5760c;
    border: 1px solid #cfb57633;
    border-radius: 8px;
    font-size: 10px;
}

.registration-section-help {
    margin: 0 0 15px;
    color: #97ac8d;
    font-size: 11px;
    line-height: 1.8;
}

.registration-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 20px;
}

.registration-form label {
    min-width: 0;
    margin: 10px 0;
    color: #c1ceb7;
    font-size: 11px;
    font-weight: 400;
}

.registration-form input:not([type="hidden"]):not([type="checkbox"]):not([type="file"]) {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 47px;
    margin-top: 8px;
    padding: 12px 13px;
    background: #071d14aa;
    color: #edf0e4;
    border: 1px solid #adbf9638;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    transition:
        border-color .2s,
        box-shadow .2s,
        background .2s;
}

.registration-form input:not([type="hidden"]):not([type="checkbox"]):not([type="file"]):hover {
    border-color: #c7b47b77;
}

.registration-form input:not([type="hidden"]):not([type="checkbox"]):not([type="file"]):focus {
    background: #0c2419;
    border-color: #d6be82;
    outline: none;
    box-shadow: 0 0 0 4px #d6be8212;
}

.registration-product-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 15px 0 8px;
    padding: 13px 15px;
    background: linear-gradient(110deg, #cab0740d, #9eb77d05);
    border: 1px solid #cab07430;
    border-radius: 8px;
}

.registration-product-line strong {
    color: #e5cea0;
    font-size: 13px;
    font-weight: 500;
}

.registration-product-line > span {
    color: #a6b794;
    font-size: 9px;
    text-align: right;
}

.registration-product-line > span::before {
    content: "● ";
    color: #a9cc85;
    font-size: 7px;
}

.registration-field-note {
    margin: 9px 0 0;
    color: #91a683;
    font-size: 10px;
    line-height: 1.8;
}

/* VIDEO UPLOAD */

.registration-form .registration-upload {
    display: block;
    padding: 22px;
    background: #071d1444;
    border: 1px dashed #c9b57a77;
    border-radius: 11px;
    transition: border-color .2s, background .2s;
}

.registration-form .registration-upload:hover {
    background: #a3b76e08;
    border-color: #dfc78e;
}

.registration-upload-title {
    display: block;
    color: #e4d5b0;
    font-size: 13px;
    font-weight: 500;
}

.registration-upload-description {
    display: block;
    margin: 7px 0 15px;
    color: #a2b497;
    font-size: 11px;
    line-height: 1.8;
}

.registration-upload input[type="file"] {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    color: #b6c7a8;
    border: 0;
    border-radius: 0;
    font-size: 11px;
}

.registration-upload input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 10px 14px;
    background: #2b4730;
    color: #e5d3a7;
    border: 1px solid #c6b17744;
    border-radius: 7px;
    font: inherit;
    cursor: pointer;
}

.registration-upload input[type="file"]:focus-visible {
    outline: 2px solid #d6be82;
    outline-offset: 5px;
}

.registration-upload > small {
    display: block;
    margin-top: 13px;
    color: #98ad89;
    font-size: 10px;
}

/* DECLARATION AND SUBMIT */

.registration-form .registration-declaration {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0;
    padding: 16px;
    background: #061b1233;
    border: 1px solid #b3c39d25;
    border-radius: 9px;
    color: #b2c4a5;
    font-size: 11px;
    line-height: 1.85;
    cursor: pointer;
}

.registration-declaration:has(input:checked) {
    background: #42603022;
    border-color: #abc27755;
}

.registration-declaration input[type="checkbox"] {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    margin: 3px 0 0;
    accent-color: #d8bf82;
}

.registration-submit-area button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 54px;
    padding: 15px 21px;
    background: linear-gradient(115deg, #eed9a4, #c6a064);
    color: #14271b;
    border: 1px solid #ead6a355;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
}

.registration-submit-area > p {
    margin: 13px 0 0;
    color: #95a98a;
    font-size: 10px;
    text-align: center;
    line-height: 1.8;
}

.registration-privacy {
    max-width: 600px;
    margin: 20px auto 0;
    color: #91a487;
    font-size: 10px;
    text-align: center;
    line-height: 1.9;
}

/* MESSAGES */

.registration-error {
    margin-bottom: 25px;
    padding: 18px;
    background: #643c2944;
    color: #f0cfb0;
    border: 1px solid #b7895f55;
    border-radius: 10px;
    overflow-wrap: anywhere;
}

.registration-error > strong {
    font-size: 12px;
    font-weight: 500;
}

.registration-error p {
    margin: 7px 0;
    color: #edcdb3;
    font-size: 12px;
    line-height: 1.8;
}

.registration-error small {
    color: #d7bca3;
    font-size: 10px;
}

.registration-success {
    max-width: 580px;
    margin: auto;
    padding: 20px 0;
    text-align: center;
}

.registration-success-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 23px;
    background: #a7c87815;
    color: #d2e1b2;
    border: 1px solid #a7c87855;
    border-radius: 50%;
    font-size: 27px;
}

.registration-success h2 {
    margin: 14px 0 20px;
    color: #e7ead8;
    font-size: 29px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -.7px;
}

.registration-success > p:not(.registration-kicker) {
    color: #afc1a1;
    font-size: 13px;
    line-height: 1.9;
}

.registration-reference {
    display: inline-block;
    padding: 11px 17px;
    background: #cdb5760d;
    color: #e7d09c;
    border: 1px solid #cdb57633;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    overflow-wrap: anywhere;
    max-width: 100%;
}

.registration-success .button {
    margin-top: 18px;
    font-size: 12px;
}

/* GENTLE ENTRANCE ANIMATION */

@keyframes registrationEnter {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE */

@media (max-width: 800px) {
    main.registration-page {
        padding: 32px 5% 40px;
    }

    .registration-heading {
        margin-bottom: 24px;
    }

    .registration-heading h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .registration-heading > p:not(.registration-kicker) {
        font-size: 12px;
    }

    .registration-sheet {
        padding: 25px 19px;
        border-radius: 15px;
        scroll-margin-top: 20px;
    }

    .registration-eligibility {
        scroll-margin-top: 20px;
    }

    .registration-fields {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .registration-group legend {
        font-size: 15px;
    }

    .registration-product-line {
        padding: 13px;
    }

    .registration-product-line strong {
        font-size: 12px;
    }

    .registration-product-line > span {
        max-width: 125px;
        font-size: 8px;
    }

    .registration-form .registration-upload {
        padding: 18px;
    }

    .registration-form .registration-declaration {
        padding: 14px;
    }

    .registration-success h2 {
        font-size: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .registration-heading,
    .registration-sheet {
        animation: none;
    }

    .registration-page *,
    .registration-page *::before,
    .registration-page *::after {
        transition: none !important;
    }
}
/* Navbar: logo left, Admin button right */

body > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 16px;
}

body > header > nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    width: auto;
    margin-left: auto;
}

body > header .navbar-admin-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 11px 21px;
    background: linear-gradient(120deg, #ebd49f, #c3a064);
    color: #14271b;
    border: 1px solid #e3cd9655;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 5px 20px #0002;
    transition: transform .25s, box-shadow .25s;
}

body > header .navbar-admin-button::after {
    display: none;
}

body > header .navbar-admin-button:hover {
    color: #14271b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px #d5b67925;
}

body > header .navbar-admin-button span {
    font-size: 17px;
}

/* Subtle animated background on public registration page */

body:has(> main.registration-page) {
    position: relative;
    isolation: isolate;
}

body:has(> main.registration-page)::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse at 12% 25%,
            rgba(98, 147, 81, .18),
            transparent 43%
        ),
        radial-gradient(
            ellipse at 87% 70%,
            rgba(202, 166, 86, .10),
            transparent 40%
        );
    animation: diwanBackgroundDrift 18s ease-in-out infinite;
}

/* Soft movement on the public intro */

.campaign-intro:not(.admin-welcome)::before {
    animation: diwanIntroGlow 12s ease-in-out infinite;
}

@keyframes diwanBackgroundDrift {
    0%,
    100% {
        transform: translateY(-12px) scale(1);
        opacity: .65;
    }

    50% {
        transform: translateY(12px) scale(1.05);
        opacity: 1;
    }
}

@keyframes diwanIntroGlow {
    0%,
    100% {
        opacity: .4;
    }

    50% {
        opacity: .9;
    }
}

@media (max-width: 800px) {
    body > header {
        padding: 15px 5%;
    }

    body > header .navbar-admin-button {
        padding: 10px 15px;
        gap: 10px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body:has(> main.registration-page)::after,
    .campaign-intro:not(.admin-welcome)::before {
        animation: none;
    }

    body > header .navbar-admin-button {
        transition: none;
    }

    body > header .navbar-admin-button:hover {
        transform: none;
    }
}
/* Diwan campaign: importer eligibility and form polish */

.diwan-registration {
    --diwan-gold: #e2c484;
    --diwan-cream: #f4f1e6;
    --diwan-muted: #b5c5b8;
}

.diwan-registration .registration-sheet {
    border: 1px solid rgba(226, 196, 132, 0.24);
    border-radius: 24px;
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.16);
}

.diwan-import-notice {
    box-sizing: border-box;
    width: 100%;
    margin: 24px 0;
    padding: 21px 24px;
    border: 1px solid rgba(226, 196, 132, 0.35);
    border-left: 4px solid #e2c484;
    border-radius: 14px;
    background: linear-gradient(
        120deg,
        rgba(226, 196, 132, 0.12),
        rgba(226, 196, 132, 0.025)
    );
    text-align: left;
    overflow-wrap: anywhere;
}

.diwan-import-notice > strong {
    display: block;
    margin-bottom: 9px;
    color: #f0d597;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.3px;
    line-height: 1.7;
}

.diwan-import-notice p {
    max-width: none;
    margin: 0;
    color: #e0e8df;
    font-size: 14px;
    line-height: 1.8;
}

.diwan-import-notice b,
.diwan-registration .registration-declaration strong {
    color: #f0d597;
}

.diwan-import-intro {
    max-width: 620px;
    margin: 24px auto;
}

.diwan-import-compact {
    margin: 0 0 24px;
}

.diwan-form-guide {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 22px;
    margin: 26px 0 8px;
}

.diwan-form-guide > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #c5d0c3;
    font-size: 12px;
}

.diwan-form-guide b {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(226, 196, 132, 0.3);
    border-radius: 50%;
    color: #e2c484;
    font-size: 10px;
}

.diwan-product-block {
    min-width: 0;
    margin: 22px 0;
    padding: 24px;
    border: 1px solid rgba(226, 196, 132, 0.16);
    border-radius: 18px;
    background: rgba(5, 24, 17, 0.32);
}

.diwan-product-block > label {
    display: block;
    margin-top: 20px;
}

.diwan-product-block .registration-product-line {
    margin-top: 0;
    gap: 12px;
    flex-wrap: wrap;
}

.diwan-importer-field {
    margin-top: 22px;
}

.diwan-importer-field label {
    display: block;
    color: #e8eadf;
    font-size: 14px;
    font-weight: 600;
}

.diwan-importer-select {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 54px;
    margin-top: 10px;
    padding: 13px 14px;
    border: 1px solid rgba(226, 196, 132, 0.45);
    border-radius: 12px;
    background: #0b2118;
    color: #f5f2e8;
    font: inherit;
    font-size: 16px;
    cursor: pointer;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.diwan-importer-select:focus-visible {
    outline: 2px solid #e2c484;
    outline-offset: 3px;
}

.diwan-importer-select[aria-invalid="true"] {
    border-color: #e89c8e;
}

.diwan-importer-help {
    display: block;
    margin-top: 10px;
    color: #c6d0bd;
    font-size: 12px;
    line-height: 1.75;
}

.diwan-importer-error {
    margin: 14px 0 0;
    padding: 17px 18px;
    border: 1px solid rgba(232, 156, 142, 0.7);
    border-left: 4px solid #e89c8e;
    border-radius: 12px;
    background: #3b241f;
    color: #ffe3dc;
    font-size: 14px;
    line-height: 1.7;
    animation: diwanNoticeAppear 220ms ease-out both;
}

.diwan-importer-error strong {
    display: block;
    margin-bottom: 6px;
    color: #ffe3dc;
}

.diwan-importer-error p {
    margin: 0;
    color: #f2c8bf;
    font-size: 13px;
    line-height: 1.75;
}

.diwan-importer-error[hidden] {
    display: none !important;
}

.diwan-registration .registration-declaration {
    padding: 20px;
    border: 1px solid rgba(226, 196, 132, 0.2);
    border-radius: 14px;
    background: rgba(226, 196, 132, 0.045);
}

.diwan-registration .registration-declaration input {
    accent-color: #e2c484;
}

#diwan-submit-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    animation: none;
    box-shadow: none;
}

@keyframes diwanNoticeAppear {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .diwan-product-block {
        padding: 17px;
        border-radius: 14px;
    }

    .diwan-import-notice {
        padding: 17px;
    }

    .diwan-import-notice > strong {
        font-size: 11px;
        letter-spacing: 0.8px;
    }

    .diwan-form-guide {
        justify-content: flex-start;
        gap: 12px;
    }

    .diwan-registration .registration-declaration {
        padding: 16px;
    }

    .diwan-registration input,
    .diwan-registration select {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .diwan-importer-error {
        animation: none;
    }

    .diwan-importer-select {
        transition: none;
    }
}
/* ======================================================
   DIWAN PUBLIC — EMERALD & CHAMPAGNE
   ====================================================== */

/* Public pages only */
body:has(.diwan-registration),
body:has(.campaign-intro:not(.admin-welcome)) {
    background: #071b14;
    color: #f4f0e6;
    isolation: isolate;
}

/* Soft animated background */
body:has(.diwan-registration)::before,
body:has(.campaign-intro:not(.admin-welcome))::before {
    content: "";
    position: fixed;
    inset: -12%;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse at 12% 15%,
            rgba(87, 143, 106, 0.18),
            transparent 44%
        ),
        radial-gradient(
            ellipse at 88% 65%,
            rgba(205, 173, 105, 0.09),
            transparent 42%
        );
    animation: diwanAmbient 20s ease-in-out infinite alternate;
}

body:has(.diwan-registration)::after,
body:has(.campaign-intro:not(.admin-welcome))::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(229, 219, 188, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(229, 219, 188, 0.025) 1px, transparent 1px);
    background-size: 72px 72px;
}

/* Public navbar */
body:has(.diwan-registration) > header,
body:has(.campaign-intro:not(.admin-welcome)) > header {
    background: rgba(7, 27, 20, 0.94);
    border-bottom: 1px solid rgba(226, 196, 132, 0.16);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

body:has(.diwan-registration) .navbar-admin-button,
body:has(.campaign-intro:not(.admin-welcome)) .navbar-admin-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 44px;
    padding: 10px 22px;
    border: 1px solid rgba(231, 205, 151, 0.5);
    border-radius: 999px;
    background: rgba(231, 205, 151, 0.07);
    color: #ecd5a2;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition:
        background 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

body:has(.diwan-registration) .navbar-admin-button:hover,
body:has(.campaign-intro:not(.admin-welcome)) .navbar-admin-button:hover {
    background: rgba(231, 205, 151, 0.14);
    border-color: #ecd5a2;
    transform: translateY(-2px);
}

/* Main public layout */
main.diwan-registration {
    box-sizing: border-box;
    width: min(940px, calc(100% - 40px));
    max-width: 940px;
    margin: 0 auto;
    padding: 58px 0 28px;
}

.diwan-registration *,
.campaign-intro:not(.admin-welcome) * {
    box-sizing: border-box;
}

/* Short introduction above the form */
.diwan-registration .registration-heading {
    margin-bottom: 30px;
    text-align: center;
}

.diwan-registration .registration-kicker {
    margin: 0 0 16px;
    color: #dec48b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    line-height: 1.7;
}

.diwan-registration .registration-heading h1 {
    margin: 0 0 18px;
    color: #f7f3e9;
    font-size: clamp(34px, 5.5vw, 58px);
    font-weight: 500;
    letter-spacing: -2px;
    line-height: 1.12;
}

.diwan-registration .registration-heading h1 em {
    color: #e1c58c;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.diwan-registration .registration-heading > p:not(.registration-kicker) {
    max-width: 560px;
    margin: 0 auto;
    color: #b4c5b7;
    font-size: 15px;
    line-height: 1.8;
}

/* Eligible product names */
.diwan-registration .registration-eligibility {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 25px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.diwan-registration .registration-eligibility > span {
    padding: 9px 15px;
    border: 1px solid rgba(226, 196, 132, 0.22);
    border-radius: 999px;
    background: rgba(226, 196, 132, 0.045);
    color: #e8e8da;
    font-size: 12px;
    font-weight: 600;
}

.diwan-registration .registration-eligibility > b {
    color: #dec48b;
    font-weight: 400;
}

.diwan-registration .registration-eligibility > small {
    flex-basis: 100%;
    color: #a9bdad;
    font-size: 12px;
    line-height: 1.7;
}

/* Clear gold importer notices */
.diwan-registration .diwan-import-notice,
.campaign-intro:not(.admin-welcome) .diwan-import-notice {
    position: relative;
    width: 100%;
    margin: 26px 0;
    padding: 22px 25px;
    border: 1px solid rgba(225, 197, 140, 0.28);
    border-left: 3px solid #e1c58c;
    border-radius: 16px;
    background: linear-gradient(
        115deg,
        rgba(225, 197, 140, 0.11),
        rgba(225, 197, 140, 0.025)
    );
    text-align: left;
    overflow-wrap: anywhere;
}

.diwan-registration .diwan-import-notice > strong,
.campaign-intro:not(.admin-welcome) .diwan-import-notice > strong {
    display: block;
    margin-bottom: 9px;
    color: #efd7a5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
    line-height: 1.8;
}

.diwan-registration .diwan-import-notice p,
.campaign-intro:not(.admin-welcome) .diwan-import-notice p {
    margin: 0;
    color: #cdd7ca;
    font-size: 13px;
    line-height: 1.9;
}

.diwan-registration .diwan-import-notice b,
.campaign-intro:not(.admin-welcome) .diwan-import-notice b {
    color: #f1ddb4;
}

/* Small section guide */
.diwan-registration .diwan-form-guide {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 28px;
    margin: 25px 0 0;
}

.diwan-registration .diwan-form-guide > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #bac9bb;
    font-size: 11px;
}

.diwan-registration .diwan-form-guide b {
    display: inline-grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border: 1px solid rgba(225, 197, 140, 0.27);
    border-radius: 50%;
    background: rgba(225, 197, 140, 0.045);
    color: #e1c58c;
    font-size: 10px;
}

/* Main form surface */
.diwan-registration .registration-sheet {
    position: relative;
    min-width: 0;
    padding: clamp(22px, 4.6vw, 46px);
    border: 1px solid rgba(191, 211, 185, 0.17);
    border-radius: 24px;
    background: linear-gradient(145deg, #133025, #0d251c);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
    animation: diwanFormEnter 600ms ease-out both;
}

.diwan-registration .registration-form {
    margin: 0;
}

.diwan-registration .registration-group {
    min-width: 0;
    margin: 0 0 32px;
    padding: 0 0 32px;
    border: 0;
    border-bottom: 1px solid rgba(191, 211, 185, 0.12);
}

.diwan-registration .registration-group legend {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 12px;
    padding: 0;
    color: #f1f0e5;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.diwan-registration .registration-group legend > span {
    display: inline-grid;
    flex-shrink: 0;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(225, 197, 140, 0.25);
    border-radius: 10px;
    background: rgba(225, 197, 140, 0.075);
    color: #e7cc94;
    font-size: 11px;
}

.diwan-registration .registration-section-help {
    margin: 0 0 24px;
    color: #afc0b1;
    font-size: 13px;
    line-height: 1.8;
}

.diwan-registration .registration-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

/* Labels and controls */
.diwan-registration .registration-form label {
    min-width: 0;
    color: #cfdbcd;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.7;
}

.diwan-registration .registration-form input:not([type="hidden"]):not([type="checkbox"]):not([type="file"]),
.diwan-registration .registration-form select {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 53px;
    margin-top: 9px;
    padding: 13px 15px;
    border: 1px solid #355043;
    border-radius: 11px;
    background: #0a2118;
    color: #f4f1e7;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    color-scheme: dark;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

.diwan-registration .registration-form input:not([type="hidden"]):not([type="checkbox"]):not([type="file"]):hover,
.diwan-registration .registration-form select:hover {
    border-color: #68806b;
}

.diwan-registration .registration-form input:focus-visible,
.diwan-registration .registration-form select:focus-visible {
    outline: 2px solid #e1c58c;
    outline-offset: 3px;
    border-color: #e1c58c;
    box-shadow: 0 0 0 5px rgba(225, 197, 140, 0.055);
}

.diwan-registration input::placeholder {
    color: #829986;
}

/* Product sections */
.diwan-registration .diwan-product-block {
    margin: 22px 0;
    padding: 25px;
    border: 1px solid rgba(191, 211, 185, 0.16);
    border-radius: 17px;
    background: rgba(5, 23, 16, 0.3);
}

.diwan-registration .registration-product-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0 0 17px;
    border: 0;
    border-bottom: 1px solid rgba(191, 211, 185, 0.13);
    border-radius: 0;
    background: transparent;
}

.diwan-registration .registration-product-line strong {
    color: #f1eddf;
    font-size: 16px;
    font-weight: 600;
}

.diwan-registration .registration-product-line > span {
    padding: 5px 10px;
    border: 1px solid rgba(225, 197, 140, 0.2);
    border-radius: 999px;
    color: #d7c493;
    font-size: 10px;
}

.diwan-registration .diwan-product-block > label {
    display: block;
    margin-top: 19px;
}

.diwan-registration .diwan-importer-field {
    margin-top: 22px;
}

.diwan-registration .diwan-importer-field label {
    display: block;
    color: #ecd9b0;
    font-weight: 600;
}

.diwan-registration .diwan-importer-help {
    display: block;
    margin-top: 10px;
    color: #afc1af;
    font-size: 12px;
    line-height: 1.8;
}

/* Ineligible importer feedback */
.diwan-registration .diwan-importer-error,
.diwan-registration .registration-error {
    margin: 16px 0;
    padding: 18px 20px;
    border: 1px solid rgba(225, 145, 126, 0.55);
    border-left: 3px solid #e1917e;
    border-radius: 12px;
    background: #3a251f;
    color: #ffe0d6;
    font-size: 13px;
    line-height: 1.8;
}

.diwan-registration .diwan-importer-error strong,
.diwan-registration .registration-error strong {
    display: block;
    color: #ffe4dc;
    font-size: 14px;
}

.diwan-registration .diwan-importer-error p,
.diwan-registration .registration-error p {
    margin: 7px 0 0;
    color: #f0c8bd;
    font-size: 13px;
    line-height: 1.8;
}

.diwan-registration .diwan-importer-error[hidden] {
    display: none !important;
}

.diwan-registration select[aria-invalid="true"] {
    border-color: #e1917e;
}

/* Video upload */
.diwan-registration .registration-upload {
    display: block;
    padding: 26px;
    border: 1px dashed rgba(225, 197, 140, 0.55);
    border-radius: 16px;
    background: rgba(225, 197, 140, 0.035);
    transition: background 180ms ease, border-color 180ms ease;
}

.diwan-registration .registration-upload:hover {
    border-color: #e1c58c;
    background: rgba(225, 197, 140, 0.065);
}

.diwan-registration .registration-upload-title {
    display: block;
    margin-bottom: 9px;
    color: #f1e3c6;
    font-size: 16px;
    font-weight: 600;
}

.diwan-registration .registration-upload-description {
    display: block;
    color: #b9c9b8;
    font-size: 13px;
    line-height: 1.8;
}

.diwan-registration input[type="file"] {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 20px 0 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #c9d6c5;
    font-size: 13px;
}

.diwan-registration input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 11px 15px;
    border: 1px solid rgba(225, 197, 140, 0.36);
    border-radius: 8px;
    background: #243d2c;
    color: #edd7a8;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
}

.diwan-registration .registration-upload small,
.diwan-registration .registration-field-note {
    color: #a8bda8;
    font-size: 12px;
    line-height: 1.8;
}

/* Declaration */
.diwan-registration .registration-declaration {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    padding: 20px;
    border: 1px solid rgba(225, 197, 140, 0.18);
    border-radius: 13px;
    background: rgba(225, 197, 140, 0.04);
}

.diwan-registration .registration-declaration input {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    margin: 3px 0 0;
    accent-color: #e1c58c;
}

.diwan-registration .registration-declaration > span {
    color: #c5d2c1;
    font-size: 12px;
    line-height: 1.9;
}

.diwan-registration .registration-declaration strong {
    color: #f1d9a8;
}

/* Submit */
.diwan-registration .registration-submit-area {
    margin-top: 25px;
}

.diwan-registration #diwan-submit-button,
.diwan-registration .registration-success .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    min-height: 57px;
    padding: 17px 26px;
    border: 1px solid #e5cc95;
    border-radius: 12px;
    background: linear-gradient(110deg, #ecd6a4, #cda968);
    color: #15271b;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.diwan-registration #diwan-submit-button:not(:disabled):hover,
.diwan-registration .registration-success .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.diwan-registration #diwan-submit-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    animation: none;
    box-shadow: none;
}

.diwan-registration .registration-submit-area > p {
    margin: 14px 0 0;
    color: #adbeac;
    font-size: 11px;
    line-height: 1.8;
}

.diwan-registration .registration-privacy {
    max-width: 650px;
    margin: 23px auto 0;
    color: #99ad9b;
    text-align: center;
    font-size: 11px;
    line-height: 1.9;
}

/* Submission receipt */
.diwan-registration .registration-success {
    padding: 20px 0;
    text-align: center;
}

.diwan-registration .registration-success-icon {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border: 1px solid rgba(225, 197, 140, 0.45);
    border-radius: 50%;
    background: rgba(225, 197, 140, 0.08);
    color: #e7d09c;
    font-size: 28px;
}

.diwan-registration .registration-success h2 {
    margin: 10px 0 18px;
    color: #f4f0e4;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.2;
}

.diwan-registration .registration-success p {
    max-width: 570px;
    margin: 15px auto;
    color: #bdcdbb;
    line-height: 1.9;
}

.diwan-registration .registration-reference {
    display: inline-block;
    max-width: 100%;
    padding: 13px 22px;
    border: 1px solid rgba(225, 197, 140, 0.3);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.12);
    color: #efd9a8;
    font-size: 20px;
    letter-spacing: 1px;
    overflow-wrap: anywhere;
}

/* Public intro */
.campaign-intro:not(.admin-welcome) {
    position: relative;
    height: auto;
    min-height: 75vh;
    padding: 55px 24px;
}

.campaign-intro:not(.admin-welcome) .intro-content {
    position: relative;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.campaign-intro:not(.admin-welcome) .intro-diwan-title {
    color: #f6f0e2;
    letter-spacing: 8px;
}

.campaign-intro:not(.admin-welcome) .intro-diwan-subtitle {
    color: #cfbc8d;
    letter-spacing: 4px;
}

.campaign-intro:not(.admin-welcome) h1 {
    color: #f5f0e4;
    font-size: clamp(36px, 6vw, 68px);
    line-height: 1.12;
    letter-spacing: -2px;
}

.campaign-intro:not(.admin-welcome) h1 em {
    color: #e1c58c;
}

.campaign-intro:not(.admin-welcome) .diwan-import-intro {
    max-width: 620px;
    margin: 26px auto;
}

.campaign-intro:not(.admin-welcome) .intro-enter-button {
    min-height: 55px;
    padding: 16px 30px;
    border: 1px solid #e5cc95;
    border-radius: 999px;
    background: linear-gradient(110deg, #ecd6a4, #cda968);
    color: #15271b;
}

/* Keyboard focus */
.diwan-registration a:focus-visible,
.diwan-registration button:focus-visible,
.campaign-intro:not(.admin-welcome) button:focus-visible {
    outline: 2px solid #f0d8a2;
    outline-offset: 4px;
}

/* Motion */
@keyframes diwanAmbient {
    from {
        transform: translate3d(-1%, -1%, 0);
    }
    to {
        transform: translate3d(2%, 2%, 0);
    }
}

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

/* Mobile */
@media (max-width: 640px) {
    main.diwan-registration {
        width: calc(100% - 24px);
        padding-top: 36px;
    }

    .diwan-registration .registration-heading h1 {
        letter-spacing: -1px;
    }

    .diwan-registration .registration-sheet {
        padding: 23px 17px;
        border-radius: 18px;
    }

    .diwan-registration .registration-fields {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .diwan-registration .diwan-product-block {
        padding: 18px 14px;
        border-radius: 13px;
    }

    .diwan-registration .registration-group legend {
        font-size: 16px;
    }

    .diwan-registration .diwan-import-notice,
    .campaign-intro:not(.admin-welcome) .diwan-import-notice {
        padding: 17px;
    }

    .diwan-registration .diwan-form-guide {
        gap: 12px 16px;
    }

    .diwan-registration .registration-upload {
        padding: 20px 16px;
    }

    .diwan-registration .registration-declaration {
        padding: 16px 13px;
        gap: 11px;
    }

    .diwan-registration #diwan-submit-button {
        width: 100%;
        gap: 18px;
    }

    .campaign-intro:not(.admin-welcome) {
        padding: 36px 18px;
    }

    .campaign-intro:not(.admin-welcome) .intro-diwan-title {
        letter-spacing: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body:has(.diwan-registration)::before,
    body:has(.campaign-intro:not(.admin-welcome))::before,
    .diwan-registration .registration-sheet {
        animation: none;
    }

    .diwan-registration *,
    .campaign-intro:not(.admin-welcome) * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    /* =====================================================
   DIWAN — BACKGROUND INVERTER & BATTERY EFFECT
   Public registration page only
   ===================================================== */

/* Keep the decoration behind the form */
body:has(main.diwan-registration) {
    isolation: isolate;
    background-color: #071b14;
}

/* LEFT: inverter outline */
body:has(main.diwan-registration)::before {
    content: "";
    position: fixed;
    inset: auto;
    top: 36%;
    left: max(18px, calc((100vw - 940px) / 4 - 65px));
    width: 130px;
    height: 195px;
    z-index: -1;
    pointer-events: none;

    border: 1px solid rgba(226, 196, 132, 0.22);
    border-radius: 22px 22px 30px 30px;

    background:
        /* Small status light */
        radial-gradient(
            circle at 50% 44%,
            rgba(172, 225, 164, 0.65) 0 2px,
            transparent 3px
        ),

        /* Display */
        linear-gradient(
            rgba(110, 174, 125, 0.12),
            rgba(110, 174, 125, 0.12)
        ) center 39% / 60px 30px no-repeat,

        /* Ventilation lines */
        repeating-linear-gradient(
            to bottom,
            rgba(226, 196, 132, 0.16) 0 1px,
            transparent 1px 8px
        ) center 80% / 64px 38px no-repeat,

        /* Subtle surface */
        linear-gradient(
            145deg,
            rgba(159, 192, 154, 0.045),
            rgba(159, 192, 154, 0.005)
        );

    box-shadow:
        8px 10px 0 -1px #071b14,
        8px 10px 0 0 rgba(226, 196, 132, 0.09),
        0 0 75px rgba(83, 147, 100, 0.07);

    animation: diwanInverterFloat 10s ease-in-out infinite;
}

/* RIGHT: battery with charging bars */
body:has(main.diwan-registration)::after {
    content: "";
    position: fixed;
    inset: auto;
    top: 40%;
    right: max(18px, calc((100vw - 940px) / 4 - 62px));
    width: 124px;
    height: 190px;
    z-index: -1;
    pointer-events: none;

    border: 1px solid rgba(226, 196, 132, 0.22);
    border-radius: 16px;

    background:
        /* Status light */
        radial-gradient(
            circle,
            rgba(172, 225, 164, 0.65) 0 2px,
            transparent 3px
        ) right 16px top 20px / 8px 8px no-repeat,

        /* Dividers over the charge */
        repeating-linear-gradient(
            to top,
            transparent 0 21px,
            #0a2018 21px 28px
        ) center bottom 25px / 78px 112px no-repeat,

        /* Animated charge level */
        linear-gradient(
            to top,
            rgba(226, 196, 132, 0.24),
            rgba(139, 194, 142, 0.14)
        ) center bottom 25px / 78px 0px no-repeat,

        /* Battery surface */
        linear-gradient(
            145deg,
            rgba(159, 192, 154, 0.04),
            rgba(159, 192, 154, 0.005)
        );

    box-shadow:
        7px 9px 0 -1px #071b14,
        7px 9px 0 0 rgba(226, 196, 132, 0.08),
        0 0 75px rgba(226, 196, 132, 0.035);

    animation: diwanBatteryCharge 9s ease-in-out infinite;
}

/* Golden energy path: visible around the form */
main.diwan-registration::before {
    content: "";
    position: fixed;
    top: 54%;
    left: 0;
    width: 100vw;
    height: 1px;
    z-index: -1;
    pointer-events: none;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(226, 196, 132, 0.13) 18%,
        rgba(139, 194, 142, 0.08) 50%,
        rgba(226, 196, 132, 0.13) 82%,
        transparent
    );
}

/* Small pulse moving from inverter toward battery */
main.diwan-registration::after {
    content: "";
    position: fixed;
    top: calc(54% - 1px);
    left: 0;
    width: 90px;
    height: 3px;
    z-index: -1;
    pointer-events: none;

    border-radius: 999px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(235, 211, 160, 0.4),
        transparent
    );

    box-shadow: 0 0 14px rgba(226, 196, 132, 0.12);
    animation: diwanEnergyTransfer 12s linear infinite;
}

/* Opaque form surface keeps every field readable */
main.diwan-registration .registration-sheet {
    background: linear-gradient(145deg, #133025, #0d251c);
}

/* Slow floating inverter */
@keyframes diwanInverterFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Battery charging cycle */
@keyframes diwanBatteryCharge {
    0%, 10% {
        background-size:
            8px 8px,
            78px 112px,
            78px 0px,
            100% 100%;
    }

    75%, 90% {
        background-size:
            8px 8px,
            78px 112px,
            78px 112px,
            100% 100%;
    }

    100% {
        background-size:
            8px 8px,
            78px 112px,
            78px 0px,
            100% 100%;
    }
}

/* Energy travels left to right */
@keyframes diwanEnergyTransfer {
    from {
        transform: translateX(-100px);
    }

    to {
        transform: translateX(calc(100vw + 100px));
    }
}

/* Smaller screens: soft glow instead of illustrations */
@media (max-width: 1199px) {
    body:has(main.diwan-registration)::before {
        inset: 0;
        width: auto;
        height: auto;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background:
            radial-gradient(
                ellipse at 0% 30%,
                rgba(99, 160, 113, 0.12),
                transparent 55%
            ),
            radial-gradient(
                ellipse at 100% 75%,
                rgba(226, 196, 132, 0.055),
                transparent 45%
            );
        animation: none;
        transform: none;
    }

    body:has(main.diwan-registration)::after,
    main.diwan-registration::before,
    main.diwan-registration::after {
        display: none;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    body:has(main.diwan-registration)::before,
    body:has(main.diwan-registration)::after,
    main.diwan-registration::before,
    main.diwan-registration::after {
        animation: none !important;
        transform: none !important;
    }

    body:has(main.diwan-registration)::after {
        background-size:
            8px 8px,
            78px 112px,
            78px 84px,
            100% 100%;
    }

    main.diwan-registration::after {
        display: none;
    }
}