/* =========================================================
   DIGITAL GOLD PAGE
   ========================================================= */

:root {
    --dg-gold: #f4c542;
    --dg-gold-light: #ffe47a;
    --dg-green: #001d12;
    --dg-dark: #00140c;
    --dg-text: #fff8e8;
    --dg-muted: #e8e2d2;
}


/* =========================================================
   PAGE
   ========================================================= */

.digital-gold-page {
    min-height: 100vh;
    padding-top: 72px;
    overflow-x: hidden;

    background:
        linear-gradient(
            rgba(0, 24, 14, 0.56),
            rgba(0, 24, 14, 0.7)
        ),
        url("/assets/homeback.jpg") center center / cover fixed;

    color: var(--dg-text);
}


/* =========================================================
   INTRO
   ========================================================= */

.digital-gold-intro {
/*    width: min(1100px, calc(100% - 40px));
*/    
	width: min(920px, calc(100% - 40px));
	margin: 0 auto;
    text-align: center;
    padding: 32px 0 12px;
}


.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;

    font-family: Inter, Arial, sans-serif;
    font-size: 12px;
    color: var(--dg-gold-light);

    margin-bottom: 18px;
}


.breadcrumb a {
    color: var(--dg-gold-light);
    text-decoration: none;
}


.intro-decoration,
.intro-bottom-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}


.intro-decoration span,
.intro-bottom-decoration span {
    width: 125px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--dg-gold),
            transparent
        );

    box-shadow:
        0 0 7px rgba(244, 197, 66, 0.6);
}


.intro-decoration b,
.intro-bottom-decoration b {
    color: var(--dg-gold);
    font-size: 13px;
}


.digital-gold-intro h1 {
    margin: 15px 0 6px;

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(38px, 4.5vw, 61px);
    font-weight: 600;
    line-height: 1.15;

    color: #fff6df;

    text-shadow:
        0 0 12px rgba(255, 224, 128, 0.12);
}


.digital-gold-intro p {
    margin: 0 auto 14px;

    font-family: Inter, Arial, sans-serif;
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 500;

    color: #fff;
}


.intro-bottom-decoration span {
    width: 105px;
}


/* =========================================================
   MODE SWITCH
   ========================================================= */

.benefits-switch-section {
/*    width: min(1100px, calc(100% - 40px));
*/    
	
	width: min(920px, calc(100% - 40px));
	margin: 0 auto 25px;
}


.mode-switch,
.faq-mode-switch {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    width: 100%;

    border: 1px solid rgba(244, 197, 66, 0.9);
    border-radius: 40px;

    background:
        rgba(0, 24, 15, 0.76);

    overflow: hidden;

    box-shadow:
        0 0 8px rgba(244, 197, 66, 0.1);
}


.mode-button,
.faq-mode-button {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    min-height: 58px;

    border: 0;
    border-radius: 40px;

    background: transparent;

    color: #fff;

    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}


.mode-button:not(:last-child)::after,
.faq-mode-button:not(:last-child)::after {
    content: "";

    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);

    width: 1px;
    height: 25px;

    background: rgba(244, 197, 66, 0.55);
}


.mode-button.active,
.faq-mode-button.active {
    color: #fff;

    background:
        radial-gradient(
            ellipse,
            rgba(244, 197, 66, 0.2),
            rgba(244, 197, 66, 0.04)
        );

    border: 2px solid var(--dg-gold);

    box-shadow:
        0 0 13px rgba(244, 197, 66, 0.65),
        inset 0 0 16px rgba(244, 197, 66, 0.08);
}


.mode-icon {
    color: var(--dg-gold-light);
    font-size: 24px;
}


/* =========================================================
   BENEFITS CARD
   ========================================================= */

.benefits-section {
	width: min(1020px, calc(100% - 40px));
/*    width: min(1100px, calc(100% - 40px));
*/    margin: 0 auto 38px;
}


.benefits-card {
    position: relative;

    display: grid;
    grid-template-columns: 1.25fr 0.75fr;

    padding: 30px 32px 0;

    border: 1px solid var(--dg-gold);
    border-radius: 20px;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            rgba(0, 37, 23, 0.94),
            rgba(0, 20, 13, 0.94)
        );

    box-shadow:
        0 0 15px rgba(244, 197, 66, 0.13),
        inset 0 0 35px rgba(0, 0, 0, 0.25);
}


.benefits-content {
    position: relative;
    z-index: 2;
}


.benefit-mode-content {
    display: none;
}


.benefit-mode-content.active {
    display: block;
}


.benefit-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;

    padding: 0 0 20px;
    margin-bottom: 17px;

    border-bottom: 1px solid rgba(244, 197, 66, 0.48);
}


.benefit-row:last-child {
    margin-bottom: 0;
}


.benefit-round-icon {
    flex: 0 0 58px;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1.5px solid var(--dg-gold);
    border-radius: 50%;

    color: var(--dg-gold-light);

    font-size: 27px;

    background:
        rgba(0, 35, 22, 0.8);

    box-shadow:
        0 0 7px rgba(244, 197, 66, 0.12);
}


.benefit-row h3 {
    margin: 1px 0 5px;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 19px;
    font-weight: 600;

    color: var(--dg-gold-light);
}


.benefit-row p {
    margin: 0;

    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;

    color: #fff;
}


.benefit-row .hindi-text {
    margin-top: 2px;
    font-size: 13px;
}


.benefits-image-wrapper {
    position: relative;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    min-height: 390px;

    margin-left: 10px;
}


.benefits-image-wrapper::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            ellipse at center bottom,
            transparent 30%,
            rgba(0, 25, 15, 0.18) 75%
        );

    pointer-events: none;
}


.benefits-image-wrapper img {
    width: 100%;
    max-width: 390px;
    height: auto;

    align-self: flex-end;

    object-fit: contain;

    filter:
        drop-shadow(0 0 12px rgba(244, 197, 66, 0.08));
}


/* =========================================================
   BENEFITS BOTTOM
   ========================================================= */

.benefits-bottom {
    grid-column: 1 / -1;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    padding: 20px 0 23px;

    border-top: 1px solid rgba(244, 197, 66, 0.55);
}


.benefits-bottom h2 {
    display: flex;
    align-items: center;
    gap: 14px;

    margin: 0;

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 600;

    color: #fff8e8;
}


.benefits-bottom h2 span {
    width: 20px;
    height: 3px;

    background: var(--dg-gold);

    box-shadow:
        0 0 8px rgba(244, 197, 66, 0.65);
}


.benefit-action-button {
    min-width: 230px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;

    padding: 13px 22px;

    border: 1px solid var(--dg-gold);
    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #f4c542,
            #e2b62e
        );

    color: #071b11;

    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease;
}


.benefit-action-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 0 18px rgba(244, 197, 66, 0.55);
}


/* =========================================================
   FAQ SECTION
   ========================================================= */

.faq-section {
	width: min(920px, calc(100% - 40px));
    /*width: min(1100px, calc(100% - 40px));*/
    margin: 0 auto;

    padding-bottom: 60px;
}


.faq-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    margin-bottom: 22px;
}


.faq-heading span {
    width: 115px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--dg-gold),
            transparent
        );
}


.faq-heading h2 {
    margin: 0;

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(35px, 4vw, 48px);
    font-weight: 600;

    color: #fff8e8;
}


.faq-card {
    padding: 16px 16px 24px;

    border: 1px solid var(--dg-gold);
    border-radius: 17px;

    background:
        rgba(0, 30, 19, 0.9);

    box-shadow:
        0 0 15px rgba(244, 197, 66, 0.1);
}


.faq-mode-switch {
    margin-bottom: 22px;
}


.faq-mode-button {
    min-height: 51px;
    font-size: 14px;
    gap: 15px;
}


.faq-list {
    display: none;
}


.faq-list.active {
    display: block;
}


.faq-item {
    margin-bottom: 8px;

    border: 1px solid rgba(244, 197, 66, 0.65);
    border-radius: 14px;

    overflow: hidden;

    background:
        rgba(0, 28, 18, 0.7);
}


.faq-question {
    width: 100%;

    display: flex;
    align-items: center;
    gap: 16px;

    padding: 13px 20px;

    border: 0;
    background: transparent;

    color: #fff;

    text-align: left;
    cursor: pointer;
}


.faq-q-icon {
    flex: 0 0 28px;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--dg-gold);
    color: #132719;

    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: 700;
}


.faq-question-text {
    display: flex;
    flex-direction: column;
    gap: 2px;

    flex: 1;

    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.35;
}


.faq-question-text small {
    font-size: 13px;
    color: #fff;
}


.faq-plus {
    flex: 0 0 auto;

    color: var(--dg-gold-light);
    font-size: 27px;
    font-weight: 300;

    transition: transform 0.25s ease;
}


.faq-item.open .faq-plus {
    transform: rotate(45deg);
}


.faq-answer {
    display: none;

    padding: 0 65px 16px;

    color: #eee7d3;

    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.6;
}


.faq-item.open .faq-answer {
    display: block;
}


/* =========================================================
   OK BUTTON
   ========================================================= */

.faq-bottom-action {
    display: flex;
    justify-content: center;

    margin-top: 25px;
}


.faq-ok-button {
    min-width: 115px;

    padding: 10px 28px;

    border: 1px solid var(--dg-gold);
    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            #f4c542,
            #dcae27
        );

    color: #112719;

    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;

    text-align: center;
    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.faq-ok-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 0 18px rgba(244, 197, 66, 0.55);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .benefits-card {
        grid-template-columns: 1fr;
    }

    .benefits-image-wrapper {
        position: absolute;
        right: 0;
        bottom: 80px;

        width: 38%;
        min-height: auto;

        opacity: 0.45;
        pointer-events: none;
    }

    .benefits-content {
        padding-right: 25%;
    }

    .benefits-bottom {
        position: relative;
        z-index: 3;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .digital-gold-page {
        background-attachment: scroll;
    }

    .digital-gold-intro,
    .benefits-switch-section,
    .benefits-section,
    .faq-section {
        width: calc(100% - 24px);
    }

    .digital-gold-intro {
        padding-top: 25px;
    }

    .breadcrumb {
        margin-bottom: 15px;
        font-size: 11px;
    }

    .intro-decoration span,
    .intro-bottom-decoration span {
        width: 70px;
    }

    .digital-gold-intro h1 {
        font-size: clamp(32px, 9vw, 48px);
    }

    .digital-gold-intro p {
        font-size: 13px;
        line-height: 1.5;
    }

    .mode-button {
		min-height: 48px;
		gap: 4px;
		font-size: 11px;
    }

    .mode-icon {
        font-size: 17px;
    }

    .benefits-card {
        padding: 20px 16px 0;
        border-radius: 16px;
    }

    .benefits-content {
        padding-right: 0;
    }

    .benefits-image-wrapper {
        position: relative;
        right: auto;
        bottom: auto;

        width: 100%;
        min-height: auto;

        margin: 10px 0 0;

        opacity: 1;
    }

    .benefits-image-wrapper img {
        max-width: 280px;
    }

    .benefit-row {
        gap: 13px;
        padding-bottom: 15px;
        margin-bottom: 14px;
    }

    .benefit-round-icon {
        flex-basis: 45px;
        width: 45px;
        height: 45px;
        font-size: 21px;
    }

    .benefit-row h3 {
        font-size: 16px;
    }

    .benefit-row p,
    .benefit-row .hindi-text {
        font-size: 12px;
    }

    .benefits-bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 17px;

        padding-top: 18px;
    }

    .benefits-bottom h2 {
        font-size: 19px;
    }

    .benefit-action-button {
        width: 100%;
        min-width: 0;
    }

    .faq-card {
        padding: 10px 9px 20px;
    }

    .faq-mode-button {
		min-height: 48px;
		        gap: 4px;
		        font-size: 11px;
    }

    .faq-question {
        gap: 10px;
        padding: 12px 10px;
    }

    .faq-q-icon {
        flex-basis: 25px;
        width: 25px;
        height: 25px;
        font-size: 13px;
    }

    .faq-question-text {
        font-size: 12px;
    }

    .faq-question-text small {
        font-size: 11px;
    }

    .faq-plus {
        font-size: 23px;
    }

    .faq-answer {
        padding: 0 45px 14px;
        font-size: 12px;
    }

    .faq-heading {
        gap: 10px;
    }

    .faq-heading span {
        width: 45px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .mode-button,
    .faq-mode-button {
        font-size: 11px;
    }

    .mode-icon {
        font-size: 17px;
    }

    .benefits-card {
        padding-left: 13px;
        padding-right: 13px;
    }

    .benefit-row h3 {
        font-size: 15px;
    }

}

/* =========================================================
   REDUCE OVERALL DIGITAL GOLD SECTION SIZES
   ========================================================= */

/* Reduce overall section width */
.digital-gold-intro,
.benefits-switch-section,
.benefits-section,
.faq-section {
    width: min(980px, calc(100% - 40px));
}

/* Reduce Buy / Sell / Redeem switch */
.mode-button,
.faq-mode-button {
    min-height: 48px;
    font-size: 14px;
}

/* Reduce benefits card spacing */
.benefits-card {
    padding: 24px 26px 0;
    border-radius: 16px;
}

/* Reduce benefits rows */
.benefit-row {
    gap: 15px;
    padding-bottom: 14px;
    margin-bottom: 13px;
}

/* Reduce round icons */
.benefit-round-icon {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
    font-size: 23px;
}

/* Reduce benefit heading */
.benefit-row h3 {
    font-size: 17px;
}

/* Reduce benefit description */
.benefit-row p,
.benefit-row .hindi-text {
    font-size: 12px;
}

/* Reduce right-side image */
.benefits-image-wrapper {
    min-height: 330px;
}

.benefits-image-wrapper img {
    max-width: 320px;
}

/* Reduce bottom action area */
.benefits-bottom {
    padding: 16px 0 18px;
}

.benefits-bottom h2 {
    font-size: 21px;
}

.benefit-action-button {
    min-width: 200px;
    padding: 11px 18px;
    font-size: 13px;
}

/* Reduce FAQ card */
.faq-card {
    padding: 12px 12px 20px;
    border-radius: 15px;
}

/* Reduce FAQ rows */
.faq-item {
    margin-bottom: 6px;
    border-radius: 11px;
}

.faq-question {
    padding: 10px 16px;
    gap: 12px;
}

.faq-question-text {
    font-size: 13px;
}

.faq-question-text small {
    font-size: 12px;
}

.faq-answer {
    padding: 0 56px 13px;
    font-size: 12px;
}

/* =========================================================
   FINAL FIX: STOP LEFT / RIGHT HORIZONTAL SLIDING
   ========================================================= */

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden !important;
}

.digital-gold-page {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden !important;
}

/* Every main section must stay inside viewport */
.digital-gold-intro,
.benefits-switch-section,
.benefits-section,
.faq-section {
    width: min(1000px, calc(100% - 30px));
    max-width: 100%;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
}

/* Prevent grid children from forcing page wider */
.benefits-card,
.benefits-content,
.benefits-image-wrapper,
.benefits-bottom,
.faq-card,
.faq-list,
.faq-item {
    min-width: 0;
    max-width: 100%;
}

/* Prevent long text from creating overflow */
.benefit-row,
.benefit-row > div,
.faq-question,
.faq-question-text {
    min-width: 0;
    max-width: 100%;
}

.benefit-row p,
.benefit-row h3,
.faq-question-text,
.faq-question-text span,
.faq-question-text small {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Images cannot exceed their parent */
img,
iframe {
    max-width: 100%;
}

/* Switches must never exceed screen width */
.mode-switch,
.faq-mode-switch {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* Buttons must shrink instead of pushing page horizontally */
.mode-button,
.faq-mode-button,
.benefit-action-button {
    min-width: 0;
    max-width: 100%;
}

/* =========================================================
   MOBILE OVERFLOW FIX
   ========================================================= */

@media (max-width: 650px) {

    .digital-gold-intro,
    .benefits-switch-section,
    .benefits-section,
    .faq-section {
        width: calc(100% - 24px);
        max-width: calc(100% - 24px);
        min-width: 0;
    }

    .benefits-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        display: block;
        overflow: hidden;
    }

    .benefits-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding-right: 0;
    }

    .benefits-image-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-left: 0;
        overflow: hidden;
    }

    .benefits-image-wrapper img {
        width: 100%;
        max-width: 280px;
        height: auto;
    }

    .benefit-row {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .benefit-row > div:last-child {
        width: calc(100% - 58px);
        min-width: 0;
    }

    .benefits-bottom {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .benefits-bottom h2 {
        max-width: 100%;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .faq-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .faq-question {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .faq-question-text {
        width: 100%;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .faq-answer {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
}