/* Basic Reset */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    margin: 0;
    background: #f0f4f8;
    color: #333;
    padding-bottom: 120px;
    overscroll-behavior-y: none;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 5px;
}

/* Virtual Card Styles - Enhanced (Point 2 & 12) */
.virtual-card {
    width: 100%;
    max-width: 340px;
    height: 210px;
    background: linear-gradient(135deg, #0056b3, #004494);
    border-radius: 15px;
    color: #fff;
    position: relative;
    margin: 10px auto;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    border: 1px solid #007bff;
}

.card-top-left {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.fwa-logo-text {
    font-weight: 900;
    font-size: 14px;
    text-shadow: 1px 1px 1px black;
}

.f-green { color: #28a745; }
.w-yellow { color: #ffc107; }
.a-red { color: #dc3545; }

.card-title {
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
}

.card-address {
    position: absolute;
    top: 35px;
    left: 10px;
    font-size: 7px;
    color: #e0e0e0;
    line-height: 1.2;
    width: 120px;
}

.card-gold-txt {
    position: absolute;
    top: 10px;
    right: 10px;
    color: gold;
    font-weight: bold;
    font-size: 14px;
    font-family: serif;
}

.card-silver-txt {
    position: absolute;
    bottom: 35px;
    right: 10px;
    color: silver;
    font-weight: bold;
    font-size: 12px;
    font-family: serif;
}

.card-chip {
    width: 45px;
    height: 35px;
    background: linear-gradient(135deg, #ffd700, #b8860b);
    border-radius: 5px;
    position: absolute;
    top: 60px;
    left: 20px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.card-number {
    position: absolute;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
    text-shadow: 2px 2px 2px #000;
    width: 90%;
    text-align: center;
}

.card-details-left {
    position: absolute;
    bottom: 25px;
    left: 20px;
    font-size: 10px;
    color: #ccc;
}

.card-details-left span {
    display: block;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
}

.card-balances {
    position: absolute;
    top: 60px;
    right: 10px;
    text-align: right;
    font-size: 9px;
    color: #fff;
    line-height: 1.3;
}

.card-network {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    color: gold;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

.card-ethiopia {
    position: absolute;
    bottom: 5px;
    right: 10px;
    color: gold;
    font-weight: 900;
    font-size: 11px;
    text-transform: uppercase;
}

.card-fwa-id-display {
    color: #dc3545;
    font-weight: bold;
    margin-left: 5px;
    background: rgba(255, 255, 255, 0.8);
    padding: 1px 3px;
    border-radius: 3px;
    font-size: 10px;
}

/* Top Header */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 5px 10px;
    border-bottom: 3px solid #ffc107;
    position: sticky;
    top: 0;
    z-index: 900;
}

/* Point 10: Adjusted Search Icon Position via Style */
.header-search-container {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 15px;
    padding: 2px 5px;
    margin-left: 10px;
    margin-top: 35px; /* Adjusted down */
}

.header-search-container input {
    border: none;
    outline: none;
    width: 80px;
    font-size: 12px;
    margin: 0;
    padding: 2px;
}

.header-search-container button {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    padding: 0 3px;
    margin: 0;
    width: auto;
}

.marquee-container-top {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    margin: 0 10px;
}

.marquee-text-top {
    display: inline-block;
    padding-left: 100%;
    animation: mq 15s linear infinite;
    color: #007bff;
    font-weight: bold;
    font-size: 16px;
}

/* Footer */
.footer-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 -2px 10px #0000001a;
    display: none;
    flex-direction: column-reverse;
}

.bottom-nav {
    display: flex;
    height: 44px;
    width: 100%;
}

.nav-btn {
    flex: 1;
    border: none;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 6px;
    color: #fff;
    position: relative;
}

.nav-home { background: #28a745; }
.nav-live { background: #ffc107; color: #000; }
.nav-profile { background: #dc3545; }

.bottom-marquee {
    background: #f0f0f0;
    color: #28a745;
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
    height: 16px;
    line-height: 16px;
    font-size: 11px;
}

.bottom-marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: mq 12s linear infinite;
}

.copyright-footer {
    background: #000;
    color: #fff;
    font-size: 7.5px;
    padding: 1px 4px 0px 4px;
    text-align: center;
    position: relative;
    line-height: 1.0;
    margin-bottom: 0;
    overflow: hidden;
}

.beta-badge {
    position: absolute;
    bottom: 1px;
    right: 3px;
    background: red;
    color: white;
    font-size: 6.5px;
    padding: 1px 2px;
    border-radius: 3px;
    font-weight: bold;
    z-index: 1001;
}

/* DMCA Badge Size Reduction */
.dmca-badge img {
    width: 60px !important;
    height: auto !important;
    display: inline-block;
    vertical-align: middle;
    margin-top: 0px;
}

.copyright-footer > div[style] {
    margin-top: 1px !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
}

@keyframes mq {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.fwa-badge-footer {
    display: flex;
    gap: 1px;
    font-size: 10px;
    font-weight: 900;
    margin-bottom: 2px;
}

.fwa-f { color: #28a745; }
.fwa-w { color: #ffc107; text-shadow: 0 0 1px #000; }
.fwa-a { color: #dc3545; }

/* Sections */
.section {
    display: none;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    min-height: 400px;
}

.show {
    display: block;
    animation: fi .5s;
}

@keyframes fi {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Agreement & Policy */
.split-container {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    text-align: left;
    margin-bottom: 5px;
}

.split-left {
    width: 48%;
    color: #007bff;
    font-size: 10px;
    line-height: 1.2;
    padding: 2px;
}

.split-right {
    width: 48%;
    color: #d35400;
    font-size: 10px;
    font-weight: bold;
    line-height: 1.2;
    border-left: 1px solid #ccc;
    padding-left: 5px;
    padding: 2px;
}

.blue-spacer {
    height: 10px;
    background: #007bff;
    margin: 5px 0;
    border-radius: 5px;
}

#t-in, #t-po {
    font-size: 9px;
}

/* Branding */
.brand-area {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 20px;
    position: relative;
    transform: scale(1);
}

.side-logo-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #007bff;
    background: #fff;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px #007bff99;
}

.side-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.left-logo { margin-right: -20px; }
.right-logo { margin-left: -20px; }

.complex-logo {
    position: relative;
    width: 130px;
    height: 130px;
    z-index: 10;
    margin-top: 20px;
}

.ring {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: gl 1.5s infinite alternate ease-in-out;
}

@keyframes gl {
    0% { box-shadow: 0 0 5px currentColor; filter: brightness(100%); }
    100% { box-shadow: 0 0 20px currentColor; filter: brightness(150%); }
}

.ring-blue { width: 130px; height: 130px; border: 4px solid #ffc107; color: #ffc107; z-index: 1; }
.ring-red { width: 110px; height: 110px; border: 3px solid red; color: red; z-index: 2; }
.ring-yellow { width: 90px; height: 90px; border: 3px solid yellow; color: yellow; z-index: 3; }
.ring-green { width: 70px; height: 70px; background: 0 0; border: 2px solid green; border-radius: 50%; z-index: 4; }

.center-lion {
    position: absolute;
    width: 70px;
    height: 70px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #007bff;
}

.fwa-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    gap: 10px;
}

.fwa-letter {
    font-size: 48px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    animation: cp 2s infinite alternate;
    display: inline-block;
}

.letter-f { color: #28a745; animation-delay: 0s; }
.letter-w { color: #ffc107; animation-delay: .4s; }
.letter-a { color: #dc3545; animation-delay: .8s; }

@keyframes cp {
    0% { filter: brightness(100%); transform: scale(1); }
    100% { filter: brightness(150%); transform: scale(1.1); }
}

/* Splash & Loading */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #007bff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#splash-msg {
    margin-top: 30px;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
    /* Point 20: Faster animation (2s) */
    animation: st 2s linear infinite;
    display: none;
}

@keyframes st {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fffffff2;
    z-index: 5000;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #007bff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: sp .8s linear infinite;
    margin-bottom: 15px;
}

@keyframes sp {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.progress-container {
    width: 80%;
    background: #ddd;
    border-radius: 13px;
    padding: 3px;
    margin-top: 10px;
}

.progress-bar {
    width: 0;
    height: 20px;
    background: #28a745;
    border-radius: 10px;
    transition: width 0.1s linear;
    text-align: center;
    color: #fff;
    line-height: 20px;
    font-size: 12px;
}

#bg-upload-progress {
    position: fixed;
    top: 60px;
    right: 10px;
    width: 150px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px;
    border-radius: 5px;
    font-size: 10px;
    z-index: 2000;
    display: none;
}

#bg-upload-bar-container {
    width: 100%;
    background: #444;
    height: 5px;
    margin-top: 3px;
    border-radius: 2px;
}

#bg-upload-bar {
    width: 0%;
    background: #28a745;
    height: 100%;
    border-radius: 2px;
    transition: width 0.2s;
}

/* Dashboard & Forms */
.dash-layout { display: flex; gap: 10px; align-items: flex-start; }
.dash-left { width: 60%; text-align: left; }
.dash-right { width: 40%; }

input, select, textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 12px;
    margin: 5px 0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    color: #fff;
}

.btn-green { background: #28a745; }
.btn-red { background: #dc3545; }
.btn-blue { background: #007bff; }
.btn-yellow { background: #ffc107; color: #000; }
.btn-black { background: #000; color: #fff; }

.btn-small { padding: 8px; font-size: 12px; margin: 2px 0; }
.btn-tiny { padding: 5px; font-size: 10px; margin: 1px; }

.lang-btn {
    background: #6c757d;
    color: #fff;
    padding: 4px 8px;
    font-size: 10px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    margin-top: 2px;
}

.btn-compact { padding: 8px; margin: 2px 0 15px; font-size: 14px; }

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000b3;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-box {
    background: #fff;
    padding: 20px;
    width: 85%;
    border-radius: 10px;
    text-align: center;
    max-height: 80vh;
    overflow-y: auto;
}

/* Feed & Posts */
.post-card {
    border: 1px solid #eee;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    text-align: left;
}

.post-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 5px;
}

.post-header img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

/* AdSense Container Styles (Point 5) */
.ad-container {
    width: 100%;
    overflow: hidden;
    margin: 5px 0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.ad-text-bottom {
    margin-top: 5px;
    border-top: 1px solid #eee;
    padding-top: 5px;
}

.ad-image-side {
    display: flex;
    gap: 5px;
    align-items: flex-start;
}

.ad-overlay-container {
    position: relative;
}

.ad-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 5px;
    font-size: 10px;
    display: block;
}

.post-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}

.action-icon {
    background: 0 0;
    border: 1px solid #eee;
    border-radius: 20px;
    color: #333;
    font-size: 12px;
    cursor: pointer;
    padding: 5px 10px;
    margin: 2px;
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: bold;
}

.action-like.liked { color: gold !important; border-color: gold; }
.action-follow.followed { color: #dc3545 !important; background: 0 0; border-color: #dc3545; }
.action-share { color: red !important; border-color: red; }
.action-icon i { margin-right: 3px; }

/* Users & Chat */
.user-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.user-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.user-item.bright-blue {
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
}

.user-item.has-msg {
    background-color: #d4edda;
    border-left: 5px solid #28a745;
}

/* Utilities */
#live-video-element {
    width: 100%;
    height: 350px;
    background: #000;
    border-radius: 8px;
    object-fit: cover;
}

.hidden-input, .hidden { display: none; }

/* Point 8: Moved FWA Online status UP and to the LEFT */
.firebase-status {
    position: fixed;
    top: 10px;
    left: 10px;
    right: auto;
    color: #fff;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 10px;
    z-index: 1000;
    display: block !important;
    box-shadow: 0 2px 5px #00000033;
}

.firebase-online { background: #28a745; border: 1px solid #1e7e34; }
.firebase-offline { background: #dc3545; border: 1px solid #bd2130; }

.password-wrapper { position: relative; width: 100%; }
.password-wrapper input { padding-right: 40px; }

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: 0 0;
    border: none;
    color: #007bff;
    cursor: pointer;
    font-size: 14px;
    width: auto;
    padding: 0;
    margin: 0;
}

/* FWA Notes */
.fwa-notes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 15px 0;
    transition: all .3s ease;
}

.fwa-notes-grid.hidden { display: none; }

.fwa-note-btn {
    background: linear-gradient(45deg, #9c27b0, #673ab7);
    color: #fff;
    border: 2px solid #5e35b1;
    font-weight: bold;
    padding: 12px 5px;
    transition: all .3s ease;
}

.fwa-note-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px #00000033;
}

.fwa-note-image {
    max-width: 100%;
    height: auto;
    border: 2px solid #9c27b0;
    border-radius: 8px;
    margin: 10px 0;
    animation: fi .5s;
}

.fwa-image-container {
    text-align: center;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 10px 0;
    animation: fi .5s;
}

.fwa-back-btn {
    margin-top: 15px;
    background: #6c757d;
}

/* Business/Finance */
.business-balance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 10px 0;
    text-align: center;
}

.balance-item {
    background: #f8f9fa;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    position: relative;
}

.balance-label { font-size: 12px; color: #666; }
.balance-value { font-size: 16px; font-weight: bold; }

.usd-bal { color: #28a745; }
.gbp-bal { color: #dc3545; }
.eur-bal { color: #007bff; }
.etb-bal { color: #ffc107; }
.fwa-bal { color: #9c27b0; }

.coin-symbol {
    display: inline-block;
    position: relative;
    font-weight: bold;
    margin-right: 5px;
    font-size: 1.1em;
}

.sym-fwag { color: gold; }
.sym-fwag::after {
    content: '';
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 50%;
    width: 2px;
    background: gold;
    transform: translateX(-50%);
}

.sym-fwas { color: silver; }
.sym-fwas::before {
    content: '';
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 30%;
    width: 2px;
    background: silver;
    transform: none;
}
.sym-fwas::after {
    content: '';
    position: absolute;
    top: 10%;
    bottom: 10%;
    right: 30%;
    width: 2px;
    background: silver;
}

/* Live Stream */
.live-stream-container {
    position: relative;
    width: 100%;
    height: 450px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    margin: 15px 0;
}

.live-overlay-top {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.live-badge {
    background: #dc3545;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    animation: pl 1.5s infinite;
}

.live-viewers-badge {
    background: #00000080;
    color: #fff;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 12px;
}

.live-header-points {
    position: absolute;
    top: 40px;
    left: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px;
    border-radius: 5px;
    color: gold;
    font-size: 10px;
    font-weight: bold;
}

.live-split-screen {
    display: grid;
    grid-template-rows: 1fr 1fr;
    height: 100%;
    width: 100%;
}

.live-video-box {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #222;
    border-bottom: 1px solid #444;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
}

/* Ensure Agora video containers fill the box (Point 6) */
.live-video-box video, div[id^="agora-video-"] {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.live-overlay-bottom {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 10;
}

.floating-hearts {
    position: absolute;
    bottom: 60px;
    right: 10px;
    width: 50px;
    height: 200px;
    pointer-events: none;
    overflow: hidden;
}

.heart-icon {
    position: absolute;
    bottom: 0;
    color: #f05;
    font-size: 24px;
    animation: fu 3s linear forwards;
    opacity: 0;
}

@keyframes fu {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-200px) scale(1.5); opacity: 0; }
}

@keyframes pl {
    0% { transform: scale(.95); opacity: .9; }
    50% { transform: scale(1); opacity: 1; }
    100% { transform: scale(.95); opacity: .9; }
}

.live-online {
    background-color: #28a745 !important;
    animation: pg 1.5s infinite;
}

@keyframes pg {
    0% { box-shadow: 0 0 0 0 #28a745b3; }
    70% { box-shadow: 0 0 0 10px #28a74500; }
    100% { box-shadow: 0 0 0 0 #28a74500; }
}

.live-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #dc3545;
    border-radius: 50%;
    margin-right: 5px;
}

.live-count-indicator {
    background-color: red;
    color: #fff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
    position: absolute;
    top: 5px;
    right: 5px;
    animation: pl 1s infinite;
}

#chatbase-bubble-button {
    top: 10px !important;
    left: 10px !important;
    bottom: auto !important;
    right: auto !important;
    z-index: 9999 !important;
}

.admin-live-active {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 15px;
    height: 15px;
    background-color: #ffc107;
    border: 2px solid #fff;
    border-radius: 50%;
    animation: bl 1s infinite;
}

.admin-live-inactive {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 15px;
    height: 15px;
    background-color: #000;
    border: 2px solid #fff;
    border-radius: 50%;
}

@keyframes bl {
    0% { opacity: 1; }
    50% { opacity: .3; }
    100% { opacity: 1; }
}

/* Notifications & Admin Controls */
.dashboard-notif {
    color: red;
    font-weight: bold;
    margin: 5px 0;
    font-size: 14px;
    text-align: center;
}

.business-notif {
    color: #ffc107;
    font-weight: bold;
    margin: 5px 0;
    font-size: 14px;
    text-align: center;
    background: #333;
    padding: 5px;
}

.rewards-notif {
    color: #007bff;
    font-weight: bold;
    margin: 5px 0;
    font-size: 14px;
    text-align: center;
}

.payment-options-row, .flex-row {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    overflow-x: auto;
}

.payment-options-row {
    flex-direction: row;
    justify-content: space-between;
}

.payment-options-row button {
    flex: 1;
    padding: 8px 5px;
    font-size: 12px;
    white-space: nowrap;
}

/* Point 11: Payment Split Layout */
.payment-split-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
}

.payment-input-side {
    flex: 1;
    min-width: 150px;
}

.payment-card-side {
    flex: 1;
    min-width: 280px;
    display: flex;
    justify-content: center;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.reward-header-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.reward-header-grid button {
    padding: 5px;
    font-size: 10px;
    white-space: normal;
}

#prem-control-box {
    border: 2px solid #333;
    background: #fff3cd;
    color: #856404;
    padding: 10px;
    margin: 10px 0;
    display: none;
    font-weight: bold;
    border-radius: 5px;
}

.dash-actions-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
}

.dash-action-btn {
    background: 0 0;
    border: 1px solid #ccc;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #28a745;
}

.dash-action-btn.active {
    color: #007bff;
    border-color: #007bff;
}

.vpn-header-btn {
    width: 30px;
    height: 30px;
    float: right;
    margin-right: 5px;
    border-radius: 5px;
    padding: 0;
    border: 1px solid #ccc;
    background: #000;
    cursor: pointer;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vpn-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.hq-btn-container {
    display: flex;
    gap: 2px;
    align-items: center;
}

.hq-btn-text { flex: 1; }

.hq-btn-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 5px;
}

.hq-btn-text {
    text-align: left;
    flex: 1;
    padding-right: 5px;
}

.policy-btn-small {
    padding: 3px 8px;
    font-size: 10px;
    width: auto;
}

#header-fwa-id {
    font-size: 10px;
    color: #007bff;
    font-weight: bold;
    display: block;
}

.blur-content {
    filter: blur(8px);
    user-select: none;
    pointer-events: none;
}

.screenshot-blocker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 99999;
    display: none;
}

.ad-promote-box {
    margin-top: 5px;
    border: 1px solid #28a745;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
}

/* ============================================================
   POINT 4: FWA Currency Icons (Gold & Silver) + Gift Animation
   ============================================================ */

/* Gold Coin (FWAg) */
.fwa-coin-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #FFE566, #FFD700 40%, #C8860A 80%);
    border: 1.5px solid #8B6914;
    font-size: 9px;
    font-weight: 900;
    color: #5a3e00;
    box-shadow: 0 1px 4px rgba(0,0,0,0.4), inset 0 1px 2px rgba(255,255,255,0.5);
    vertical-align: middle;
    margin-right: 3px;
}

/* Silver Coin (FWAs) */
.fwa-coin-silver {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #F0F0F0, #C0C0C0 40%, #808080 80%);
    border: 1.5px solid #888;
    font-size: 9px;
    font-weight: 900;
    color: #333;
    box-shadow: 0 1px 4px rgba(0,0,0,0.4), inset 0 1px 2px rgba(255,255,255,0.6);
    vertical-align: middle;
    margin-right: 3px;
}

/* Gift Coin Fly Animation (TikTok style) */
@keyframes coinFly {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 1; }
    50%  { transform: translate(200px, -150px) scale(1.4) rotate(180deg); opacity: 0.9; }
    100% { transform: translate(350px, -300px) scale(0.3) rotate(360deg); opacity: 0; }
}

.gift-coin-fly {
    position: fixed;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    z-index: 99999;
    pointer-events: none;
    animation: coinFly 1.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.gift-coin-fly.gold {
    background: radial-gradient(circle at 35% 35%, #FFE566, #FFD700 40%, #C8860A 80%);
    border: 2px solid #8B6914;
    color: #5a3e00;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.6);
}

.gift-coin-fly.silver {
    background: radial-gradient(circle at 35% 35%, #F0F0F0, #C0C0C0 40%, #808080 80%);
    border: 2px solid #888;
    color: #333;
    box-shadow: 0 2px 8px rgba(192, 192, 192, 0.6);
}

/* Point 1: Google Sign-In Button */
.btn-google {
    background: #ffffff;
    color: #444;
    border: 1.5px solid #ddd;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    margin: 8px auto;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    transition: box-shadow 0.2s;
}
.btn-google:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.25); }
.btn-google .google-g {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #4285F4 25%, #34A853 50%, #FBBC05 75%, #EA4335 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 12px;
}
