/* ========================================================================== */
/* MODULE 2 STYLES: GAME HOME PAGE & PAUSE MODALS (css/home.css)              */
/* Senior Game Developer Architecture Standard - Smooth Vector 3D Typography   */
/* ========================================================================== */

.home-screen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: env(safe-area-inset-top, 20px) 16px env(safe-area-inset-bottom, 24px) 16px;
    z-index: 10;
    overflow: hidden;
    transition: opacity 0.1s ease;
}

/* Background pseudo-element with smooth blur */
.home-screen::before {
    content: '';
    position: absolute;
    inset: -16px;
    background-image: url('../game_img_assets/intro_bg.webp');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    filter: blur(2.5px) brightness(0.96);
    z-index: 1;
}

.home-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* -------------------------------------------------------------------------- */
/* TOP HEADER NAVIGATION BAR                                                  */
/* -------------------------------------------------------------------------- */
.home-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 10px;
    z-index: 20;
}

/* Left Stack: Settings Gear & Standalone No-Ads TV Button */
.left-header-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Right Stack: Coin Currency Badge & Standalone Achievements Button */
.right-header-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* Coin / Star Currency Badge */
.currency-badge {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(26, 20, 45, 0.78);
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: 30px;
    padding: 4px 16px 4px 40px;
    height: 42px;
    /* backdrop-filter removed for 60fps mobile performance */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.coin-icon {
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

.coin-count {
    color: #ffea4c;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.coin-add-btn {
    width: 22px;
    height: 22px;
    background: linear-gradient(180deg, #7bed2f 0%, #26c014 100%);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Settings Gear Button (3D Blue Circle Button) */
.settings-gear-btn {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(180deg, #52c4ff 0%, #1a94ff 100%);
    box-shadow: 0 6px 0 #0f6bbd, 0 10px 14px rgba(0,0,0,0.3), inset 0 2px 2px rgba(255,255,255,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.1s ease, filter 0.2s ease, box-shadow 0.1s ease;
}

.settings-gear-btn:hover {
    filter: brightness(1.08);
}

.settings-gear-btn:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #0f6bbd;
}

.settings-gear-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.08) 70%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50% 50% 40% 40%;
    pointer-events: none;
}

.settings-gear-btn::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 10%;
    right: 10%;
    height: 40%;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 80%);
    border-radius: 50%;
    pointer-events: none;
}

.settings-gear-btn i {
    color: #ffffff;
    font-size: 24px;
    z-index: 5;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Standalone Floating No-Ads Button (no_ads_home.png) */
.no-ads-standalone-btn {
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.15s ease, filter 0.2s ease;
    margin-top: 2px;
}

.no-ads-standalone-btn:hover {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.no-ads-standalone-btn:active {
    transform: scale(0.94);
}

.no-ads-home-png-img {
    width: 72px;
    height: auto;
    max-height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

/* -------------------------------------------------------------------------- */
/* CENTER TITLE LOGO CONTAINER                                                */
/* -------------------------------------------------------------------------- */
.home-center-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    z-index: 15;
}

.home-game-logo {
    width: 88%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.45));
    animation: floatingLogo 3.5s ease-in-out infinite;
}

.home-screen:not(.hidden) .home-game-logo,
.home-screen:not(.hidden) .main-play-btn {
    will-change: transform;
    backface-visibility: hidden;
}

@keyframes floatingLogo {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.02); }
}

/* -------------------------------------------------------------------------- */
/* BOTTOM CTA PLAY BUTTON WITH SMOOTH NON-BROKEN TEXT STROKES                 */
/* -------------------------------------------------------------------------- */
.home-bottom-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 40px;
    z-index: 20;
}

.main-play-btn {
    position: relative;
    width: 72%;
    max-width: 250px;
    height: 64px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(180deg, #7bed2f 0%, #26c014 100%);
    box-shadow: 0 6px 0 #1a850e, 0 10px 14px rgba(0,0,0,0.3), inset 0 2px 2px rgba(255,255,255,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.1s ease, filter 0.2s ease, box-shadow 0.1s ease;
    animation: btnPulse 2.4s ease-in-out infinite;
}

.main-play-btn:hover {
    filter: brightness(1.08);
}

.main-play-btn:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #1a850e;
    animation: none;
}

/* Realistic Soft Inner Top Bevel Gloss */
.main-play-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.08) 70%, rgba(255, 255, 255, 0) 100%);
    border-radius: 18px 18px 50% 50% / 18px 18px 12px 12px;
    pointer-events: none;
}

/* Soft Specular Light Reflection Arc */
.main-play-btn::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 10%;
    right: 10%;
    height: 38%;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 80%);
    border-radius: 14px 14px 100% 100%;
    pointer-events: none;
}

/* Smooth Vector 3D Text Stroke (paint-order formula fixes broken outlines) */
.main-play-btn .btn-text {
    color: #ffffff;
    font-family: 'Fredoka One', cursive;
    font-size: 32px;
    letter-spacing: 1px;
    z-index: 5;
    -webkit-text-stroke: 2.5px #155e09;
    paint-order: stroke fill;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

@keyframes btnPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

/* -------------------------------------------------------------------------- */
/* SETTINGS & PAUSE WIDGET MODALS                                             */
/* -------------------------------------------------------------------------- */
.settings-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 8, 25, 0.75);
    /* backdrop-filter removed for 60fps mobile performance */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.settings-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.settings-card {
    position: relative;
    width: 86%;
    max-width: 320px;
    background: #ffffff;
    border: 5px solid #52c4ff;
    border-radius: 36px;
    padding: 40px 20px 24px 20px;
    box-shadow: 0 16px 36px rgba(0,0,0,0.6), inset 0 3px 6px rgba(255,255,255,0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transform: scale(0.85);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.settings-modal-overlay.active .settings-card {
    transform: scale(1);
}

.settings-header-banner {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 72%;
    height: 48px;
    background: linear-gradient(180deg, #52c4ff 0%, #1a94ff 100%);
    border: 3px solid #ffffff;
    border-radius: 24px;
    box-shadow: 0 5px 0 #0f6bbd, 0 8px 12px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.settings-header-banner .banner-text {
    color: #ffffff;
    font-family: 'Fredoka One', cursive;
    font-size: 24px;
    letter-spacing: 1px;
    -webkit-text-stroke: 2px #0d47a1;
    paint-order: stroke fill;
    text-shadow: 0 3px 5px rgba(0,0,0,0.35);
}

.settings-close-btn {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2.5px solid #ffffff;
    background: linear-gradient(180deg, #ff5252 0%, #c62828 100%);
    box-shadow: 0 5px 0 #8e0000, 0 8px 12px rgba(0,0,0,0.35);
    color: #ffffff;
    font-size: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.1s ease;
}

.settings-close-btn:active {
    transform: translateY(3px);
    box-shadow: 0 2px 0 #8e0000;
}

.settings-circle-toggles {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
    margin-bottom: 6px;
}

.settings-circle-toggles.has-four-toggles {
    gap: 10px;
}

.settings-circle-toggles.has-four-toggles .circle-toggle-btn {
    width: 56px;
    height: 56px;
}

.circle-toggle-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(180deg, #7bed2f 0%, #26c014 100%);
    box-shadow: 0 5px 0 #1a850e, 0 8px 12px rgba(0,0,0,0.25), inset 0 2px 2px rgba(255,255,255,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.1s ease, filter 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.circle-toggle-btn.muted {
    background: linear-gradient(180deg, #a0a5b5 0%, #686d7e 100%);
    box-shadow: 0 5px 0 #434754, 0 8px 12px rgba(0,0,0,0.2), inset 0 2px 2px rgba(255,255,255,0.5);
    opacity: 0.85;
}

.circle-toggle-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.08) 70%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50% 50% 40% 40%;
    pointer-events: none;
}

.circle-toggle-btn:active {
    transform: translateY(3px);
}

.circle-toggle-btn i {
    color: #ffffff;
    font-size: 26px;
    z-index: 5;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.notification-bell-icon {
    width: 25px;
    height: 25px;
    fill: #ffffff;
    z-index: 5;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Action Stack Buttons */
.settings-action-stack {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-btn-green,
.action-btn-red,
.action-btn-orange {
    position: relative;
    width: 100%;
    height: 52px;
    border-radius: 26px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.1s ease;
}

.action-btn-green::before,
.action-btn-red::before,
.action-btn-orange::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.08) 70%, rgba(255, 255, 255, 0) 100%);
    border-radius: 24px 24px 50% 50% / 24px 24px 12px 12px;
    pointer-events: none;
}

.action-btn-green {
    background: linear-gradient(180deg, #7bed2f 0%, #26c014 100%);
    box-shadow: 0 5px 0 #1a850e, 0 8px 12px rgba(0,0,0,0.25), inset 0 2px 2px rgba(255,255,255,0.7);
}
.action-btn-green:active { transform: translateY(3px); box-shadow: 0 2px 0 #1a850e; }

.action-btn-red {
    background: linear-gradient(180deg, #ff5252 0%, #c62828 100%);
    box-shadow: 0 5px 0 #8e0000, 0 8px 12px rgba(0,0,0,0.25), inset 0 2px 2px rgba(255,255,255,0.7);
}
.action-btn-red:active { transform: translateY(3px); box-shadow: 0 2px 0 #8e0000; }

.action-btn-orange {
    background: linear-gradient(180deg, #ffea4c 0%, #ff9d00 100%);
    box-shadow: 0 5px 0 #cc7a00, 0 8px 12px rgba(0,0,0,0.25), inset 0 2px 2px rgba(255,255,255,0.8);
}
.action-btn-orange:active { transform: translateY(3px); box-shadow: 0 2px 0 #cc7a00; }

.action-btn-blue {
    background: linear-gradient(180deg, #42a5f5 0%, #1e88e5 100%);
    box-shadow: 0 5px 0 #0d47a1, 0 8px 12px rgba(0,0,0,0.25), inset 0 2px 2px rgba(255,255,255,0.7);
}
.action-btn-blue:active { transform: translateY(3px); box-shadow: 0 2px 0 #0d47a1; }

.action-btn-purple {
    background: linear-gradient(180deg, #ab47bc 0%, #7b1fa2 100%);
    box-shadow: 0 5px 0 #4a148c, 0 8px 12px rgba(0,0,0,0.25), inset 0 2px 2px rgba(255,255,255,0.7);
}
.action-btn-purple:active { transform: translateY(3px); box-shadow: 0 2px 0 #4a148c; }

.action-btn-green::before,
.action-btn-red::before,
.action-btn-orange::before,
.action-btn-blue::before,
.action-btn-purple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.08) 70%, rgba(255, 255, 255, 0) 100%);
    border-radius: 24px 24px 50% 50% / 24px 24px 12px 12px;
    pointer-events: none;
}

.action-btn-text {
    color: #ffffff;
    font-family: 'Fredoka One', cursive;
    font-size: 20px;
    letter-spacing: 0.5px;
    z-index: 5;
    -webkit-text-stroke: 2px #1b132b;
    paint-order: stroke fill;
    text-shadow: 0 3px 5px rgba(0, 0, 0, 0.35);
}

/* -------------------------------------------------------------------------- */
/* LEGAL MODAL STYLES (PRIVACY POLICY & TERMS OF USE)                         */
/* -------------------------------------------------------------------------- */
.settings-card.legal-card {
    max-width: 360px;
    width: 92%;
    max-height: 85vh;
    padding: 38px 12px 14px 12px;
    display: flex;
    flex-direction: column;
}

.legal-content-scroll {
    width: 100%;
    flex: 1;
    max-height: 52vh;
    overflow-y: auto;
    background: #fffdf5;
    border: 2.5px solid #b388ff;
    border-radius: 18px;
    padding: 14px 12px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #2b2545;
    font-size: 12px;
    line-height: 1.55;
    text-align: left;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.06);
    contain: layout paint style;
}

.legal-content-scroll h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 15px;
    color: #4a148c;
    margin-top: 12px;
    margin-bottom: 4px;
    border-bottom: 1.5px solid #e0d7f7;
    padding-bottom: 3px;
}

.legal-content-scroll p {
    margin-bottom: 8px;
    color: #4a4268;
    font-weight: 600;
}

.legal-content-scroll ul {
    margin-left: 18px;
    margin-bottom: 8px;
}

.legal-content-scroll li {
    margin-bottom: 4px;
    color: #5b527e;
}

.legal-footer-row {
    width: 100%;
    margin-top: 4px;
}

/* Floating Legal Text Links Directly Below Settings Card */
.settings-legal-footer-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 30;
}

.legal-text-link {
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Fredoka One', cursive;
    font-size: 13.5px;
    letter-spacing: 0.3px;
    text-decoration: none; /* NO UNDERLINE */
    cursor: pointer;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    transition: color 0.15s ease, transform 0.15s ease;
}

.legal-text-link:hover {
    color: #ffea4c;
    transform: scale(1.06);
}

.legal-text-link:active {
    transform: scale(0.96);
}

.legal-link-bullet {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

/* -------------------------------------------------------------------------- */
/* EXACT REMOVE ADS MODAL UI                                                  */
/* -------------------------------------------------------------------------- */
.no-ads-card-exact {
    position: relative;
    width: 86%;
    max-width: 320px;
    background: linear-gradient(180deg, #c79bff 0%, #a26bfa 100%);
    border: 4.5px solid #ffffff;
    border-radius: 32px;
    padding: 34px 14px 20px 14px;
    box-shadow: 0 16px 40px rgba(78, 28, 142, 0.65), inset 0 3px 6px rgba(255,255,255,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.no-ads-gold-banner {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 72%;
    height: 48px;
    background: linear-gradient(180deg, #ffee75 0%, #ffc107 100%);
    border: 3px solid #ffffff;
    border-radius: 18px;
    box-shadow: 0 5px 0 #d99b00, 0 8px 12px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.no-ads-gold-banner::before {
    content: '';
    position: absolute;
    top: -6px;
    width: 22px;
    height: 8px;
    background: #ffee75;
    border: 2.5px solid #ffffff;
    border-radius: 8px 8px 0 0;
}

.no-ads-gold-banner .banner-text-purple {
    color: #ffffff;
    font-family: 'Fredoka One', cursive;
    font-size: 25px;
    letter-spacing: 0.5px;
    -webkit-text-stroke: 2.5px #4a148c;
    paint-order: stroke fill;
    text-shadow: 0 3px 5px rgba(0,0,0,0.35);
}

.purple-close-btn {
    position: absolute;
    top: -12px;
    right: -10px;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    border: 2.5px solid #ffffff;
    background: linear-gradient(180deg, #9c27b0 0%, #673ab7 100%);
    box-shadow: 0 5px 0 #4a148c, 0 8px 12px rgba(0,0,0,0.35);
    color: #ffffff;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.1s ease;
}

.purple-close-btn:active {
    transform: translateY(3px);
    box-shadow: 0 2px 0 #4a148c;
}

.no-ads-inner-white-card {
    position: relative;
    width: 100%;
    background: #fffdf5;
    border: 3px solid #b388ff;
    border-radius: 24px;
    padding: 10px 10px 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.no-ads-tv-asset-img {
    width: 250px;
    max-width: 98%;
    height: auto;
    object-fit: contain;
    filter: none !important;
    margin-top: -6px;
    margin-bottom: 2px;
    transform: scale(1.06);
}

.exact-benefits-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 6px;
}

.exact-benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fredoka One', cursive;
    font-size: 13.5px;
    color: #2b2545;
    letter-spacing: 0.2px;
}

.exact-benefit-item i {
    font-size: 18px;
    color: #7c4dff;
    width: 22px;
    text-align: center;
}

.exclusive-offer-ribbon {
    position: absolute;
    left: -12px;
    bottom: 74px;
    background: linear-gradient(180deg, #ffee75 0%, #ffc107 100%);
    border: 2.5px solid #ffffff;
    border-radius: 12px 18px 18px 0;
    padding: 4px 16px;
    box-shadow: 0 4px 0 #d99b00, 0 6px 10px rgba(0,0,0,0.3);
    z-index: 10;
}

.exclusive-offer-ribbon span {
    color: #ffffff;
    font-family: 'Fredoka One', cursive;
    font-size: 15px;
    letter-spacing: 0.5px;
    -webkit-text-stroke: 1.5px #2a2a2a;
    paint-order: stroke fill;
    text-shadow: 0 2px 3px rgba(0,0,0,0.35);
}

.exact-green-price-btn {
    position: relative;
    width: 78%;
    height: 56px;
    border-radius: 20px;
    border: none;
    background: linear-gradient(180deg, #7bed2f 0%, #26c014 100%);
    box-shadow: 0 6px 0 #1a850e, 0 10px 14px rgba(0,0,0,0.35), inset 0 2px 2px rgba(255,255,255,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    margin-top: 6px;
    transition: transform 0.1s ease, filter 0.2s ease;
}

.exact-green-price-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.08) 70%, rgba(255, 255, 255, 0) 100%);
    border-radius: 18px 18px 50% 50% / 18px 18px 12px 12px;
    pointer-events: none;
}

.exact-green-price-btn:hover { filter: brightness(1.08); }
.exact-green-price-btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #1a850e; }

.exact-price-text {
    color: #ffffff;
    font-family: 'Fredoka One', cursive;
    font-size: 32px;
    letter-spacing: 1px;
    z-index: 5;
    -webkit-text-stroke: 2.5px #155e09;
    paint-order: stroke fill;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

/* -------------------------------------------------------------------------- */
/* CONFIRMATION DIALOG MODAL                                                  */
/* -------------------------------------------------------------------------- */
.confirm-card {
    padding-top: 24px;
    text-align: center;
}

.confirm-title {
    font-family: 'Fredoka One', cursive;
    font-size: 26px;
    letter-spacing: 0.5px;
    color: #ff9d00;
    -webkit-text-stroke: 1.5px #2a2a2a;
    paint-order: stroke fill;
}

.confirm-msg {
    color: #2b2545;
    font-size: 15px;
    font-weight: 600;
    margin: 8px 0 16px 0;
    line-height: 1.4;
}

.confirm-btn-row {
    width: 100%;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.confirm-btn-row .action-btn-red,
.confirm-btn-row .action-btn-green {
    height: 46px;
    border-radius: 23px;
}

.confirm-btn-row .action-btn-text {
    font-size: 16.5px;
    letter-spacing: 0.3px;
    -webkit-text-stroke: 1.5px #1b132b;
}

.toast-msg {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(26, 20, 45, 0.92);
    border: 2px solid #ffea4c;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.toast-msg.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.hidden-btn {
    display: none !important;
}

/* -------------------------------------------------------------------------- */
/* DEMO SPECIFIC MODAL STYLES                                                 */
/* -------------------------------------------------------------------------- */
.demo-modal-card {
    max-width: 380px;
    width: 90%;
    padding: 24px 20px 20px 20px;
    text-align: center;
    background: linear-gradient(180deg, #322b52 0%, #1f1a36 100%);
    border: 3px solid #6b5b95;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.demo-complete-card {
    max-width: 420px;
}

.demo-header-banner {
    background: linear-gradient(180deg, #ff8c00 0%, #e65100 100%) !important;
    border-bottom: 3px solid #b33900 !important;
}

.demo-modal-body {
    margin: 16px 0;
    color: #ffffff;
}

.demo-welcome-title {
    font-size: 24px;
    color: #ffea4c;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.demo-welcome-text {
    font-size: 15px;
    line-height: 1.5;
    color: #e2d9f3;
}

.demo-thankyou-heading {
    font-size: 20px;
    color: #ffea4c;
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.demo-subtitle {
    font-size: 14px;
    color: #d1c4e9;
    margin-bottom: 16px;
}

.demo-features-container {
    background: rgba(15, 12, 27, 0.65);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 14px;
    text-align: left;
}

.demo-features-title {
    font-size: 14px;
    color: #7bed2f;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.demo-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.demo-features-list li {
    font-size: 13px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-features-list li i {
    color: #7bed2f;
    font-size: 14px;
}

.demo-btn-row {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.demo-action-btn-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.demo-action-btn-row button {
    flex: 1;
    min-width: 0;
}
