body { margin:0; font-family:sans-serif; background:#f5f7fa; }
.content { padding:10px 6px 80px 6px; position: relative; z-index: 1; }
.profile-header {
    background: linear-gradient(120deg, #8B0000 0%, #B22222 50%, #DC143C 100%);
    padding: 16px;
    display:flex; 
    align-items:center;
    gap: 12px;
    border-radius: 16px;
    margin-bottom: 7px !important;
    color: #fff;
    position: relative;
    box-shadow: 0 4px 24px rgba(139, 0, 0, 0.3);
}
.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 0;
    background: transparent;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow: visible;
    flex-shrink: 0;
}
.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #fff;
}
.profile-name {
    font-size:1.1em;
    font-weight:600;
}
.profile-id {
    font-size:0.9em;
    opacity: 0.9;
}
.premium-badge.badge-free {
    background: #176b3a;
    color: #fff;
}
.premium-badge.badge-silver {
    background: #b83280;
    color: #fff;
}
.premium-badge.badge-gold {
    background: linear-gradient(90deg, #0048ff 0%, #0066ff 100%);
    color: #fff;
}
.premium-badge.badge-diamond {
    background: linear-gradient(90deg, #00c6fb 0%, #005bea 100%);
    color: #fff;
}
.premium-badge {
    background-color: #2ecc71;
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.8em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}
.premium-badge i {
    font-size: 0.9em;
}
.profile-referral, .profile-info-link {
    display: none;
}
.saldo-row {
    display:flex;
    gap: 8px;
    justify-content:center;
    margin-top: 8px !important;
}
.saldo-box {
    flex:1 1 0; background:linear-gradient(120deg,#e3edff 0%,#b3d1ff 100%); border-radius:18px; box-shadow:inset 0 2px 12px #00000018; padding:20px 14px 16px 18px; display:flex; flex-direction:column; align-items:flex-start; position:relative;
}
.saldo-box.kupon {
    background:linear-gradient(120deg,#ede7f6 0%,#d1c4e9 100%);
}
.saldo-icon {
    position: absolute;
    right: 14px;
    bottom: 14px;
    top: auto;
    font-size: 1.3em;
    opacity: 0.18;
}
.saldo-poin-label {
    display:flex; align-items:center; gap:2px; font-size:1.08em; font-weight:600; color:#0048ff;
}
.saldo-poin-label .tebus-badge {
    background:#0048ff; color:#fff; border-radius:8px; padding:2px 10px; font-size:0.85em; font-weight:bold; margin-left:2px;
}
.saldo-poin-label a {
    text-decoration: none;
}
.saldo-poin-value { font-size:1.2em; font-weight:700; color:#0048ff; margin:4px 0 0 0; letter-spacing:1px; }
.saldo-poin-rp { font-size:1em; color:#888; margin-top:2px; }
.saldo-kupon-label {
    display:flex; align-items:center; gap:6px; font-size:1.08em; font-weight:600; color:#7c4dff;
}
.saldo-kupon-label .kupon-badge {
    background:#7c4dff; color:#fff; border-radius:8px; padding:2px 10px; font-size:0.85em; font-weight:bold; margin-left:6px;
    transition: background-color 0.2s ease;
}
.saldo-box.kupon:hover .kupon-badge {
    background: #6536d9;
}
.saldo-kupon-value { font-size:1.2em; font-weight:700; color:#7c4dff; margin:4px 0 0 0; letter-spacing:1px; }

.menu-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-top: 7px !important;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 16px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
    font-size: 1em;
}

.menu-item:not(:last-child) {
    border-bottom: 1px solid #f2f2f2;
}

.menu-item:hover {
    background-color: #f9fafb;
}

.menu-item i[class*="menu-icon-"] {
    font-size: 1.1em;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-right: 16px;
}

.menu-icon-upgrade {
    color: #fff;
    background: linear-gradient(270deg, #ff9800, #ff3d00, #4caf50, #2196f3, #7c4dff, #ff9800);
    background-size: 1200% 1200%;
    animation: gradientMove 12s ease infinite;
}

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

.menu-icon-reward { color: #fff; background: linear-gradient(135deg, #ff3d00, #ff9800); }
.menu-icon-id { color: #fff; background: linear-gradient(135deg, #5f9dff, #6bafff); }
.menu-icon-help { color: #fff; background: linear-gradient(135deg, #4da1ff, #4dd2ff); }
.menu-icon-settings { color: #fff; background: linear-gradient(135deg, #9d9d9d, #b2b2b2); }
.menu-icon-apps { color: #fff; background: linear-gradient(135deg, #790097, #cc008f); }

.menu-label {
    flex-grow: 1;
    font-weight: 500;
}

.menu-label b {
    background: linear-gradient(270deg, #ff9800, #ff3d00, #4caf50, #2196f3, #7c4dff, #ff9800);
    background-size: 1200% 1200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: gradientMove 12s ease infinite;
}

.menu-badge {
    background-color: #e3edff;
    color: #0048ff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 600;
    margin-left: 8px;
}

.menu-arrow {
    color: #cccccc;
    font-size: 0.9em;
    margin-left: 8px;
}

#copy-id-item .menu-id-value {
    color: #5f9dff;
    font-weight: 600;
    font-size: 1em;
    margin-left: auto;
    margin-right: 12px;
    font-family: 'monospace';
}

#copy-id-item .copy-btn {
    background: #eef5ff;
    color: #5f9dff;
    border: none;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9em;
}

#copy-id-item .copy-btn:hover {
    background: #e0ecff;
    transform: scale(1.05);
}

#copy-id-item .copy-btn.copied {
    background: #d4edda;
    color: #155724;
}

.nav-bottom { 
    position:fixed; 
    left:0; 
    right:0; 
    bottom:0; 
    background:linear-gradient(120deg, #8B0000 0%, #B22222 50%, #DC143C 100%);
    display:flex; 
    justify-content:space-around; 
    align-items:center; 
    height:65px; 
    z-index:100; 
    box-shadow:0 -6px 28px rgba(139, 0, 0, 0.35);
    border-radius:20px 20px 0 0;
}
.nav-bottom a { 
    color:rgba(255,255,255,0.8); 
    text-decoration:none; 
    display:flex; 
    flex-direction:column; 
    align-items:center; 
    font-size:0.85em; 
    font-weight:500;
    transition:all 0.3s ease;
    padding:8px 12px; 
    border-radius:12px; 
    position:relative;
    -webkit-tap-highlight-color: transparent;
}
.nav-bottom a.active { 
    color:#ffffff; 
    background:rgba(255,255,255,0.15); 
    transform:translateY(-3px) scale(1.05);
}
.nav-bottom i { 
    font-size:1.8em; 
    margin-bottom:4px; 
    transition:all 0.3s ease;
}
.nav-bottom a:active i {
    transform: scale(0.9);
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.5); }
    50% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}
@media (max-width: 480px) {
    .profile-header {
        padding: 16px;
        gap: 12px;
    }
    .profile-avatar {
        width: 56px; height: 56px;
    }
    .profile-name {
        font-size: 1.05em;
    }
    .profile-id {
        font-size: 0.85em;
    }
    .saldo-row {
        gap: 8px;
        margin-top: 16px;
    }
    .saldo-box, .saldo-box.kupon {
        padding: 14px 6px 10px 10px;
        border-radius: 12px;
    }
    .saldo-poin-label, .saldo-kupon-label {
        font-size: 0.98em;
    }
    .saldo-poin-value, .saldo-kupon-value {
        font-size: 0.95em;
    }
    .saldo-icon {
        right: 10px;
        bottom: 10px;
        top: auto;
        left: auto;
        font-size: 1.1em;
    }
    .menu-list {
        border-radius: 12px;
        margin-top: 18px;
    }
    .menu-item {
        padding: 11px 10px;
        font-size: 0.98em;
    }
    .menu-item i {
        font-size: 1.1em;
        margin-right: 10px;
    }
    .nav-bottom {
        height: 65px;
        border-radius: 16px 16px 0 0;
    }
    .nav-bottom a {
        padding: 10px 12px;
        font-size: 0.8em;
    }
    .nav-bottom i {
        font-size: 1.4em;
    }
    .nav-bottom a.active::before {
        width: 5px;
        height: 5px;
    }
    .menu-item i {
        font-size: 1.1em;
        margin-right: 10px;
    }
    .menu-card {
        border-radius: 12px;
        margin-top: 22px;
    }
    .menu-item {
        padding: 14px 12px;
        font-size: 0.95em;
    }
    .menu-item i[class*="menu-icon-"] {
        width: 30px;
        height: 30px;
        font-size: 1em;
        margin-right: 12px;
    }
    #copy-id-item .menu-id-value {
        font-size: 0.95em;
    }
    #copy-id-item .copy-btn {
        padding: 6px 10px;
        font-size: 0.85em;
    }
    .modal-box {
        width: 95%;
        border-radius: 16px;
    }
    .modal-title {
        font-size: 1.1em;
        padding: 12px 14px;
    }
    .modal-content {
        padding: 14px;
    }
    .modal-btn-row {
        padding: 0 14px 14px 14px;
    }
    .modal-btn {
        padding: 10px 16px;
        font-size: 0.95em;
    }
    .modal-input {
        padding: 10px 65px 10px 55px;
    }
    .content {
        padding: 10px 6px 80px 6px;
    }
} 

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    backdrop-filter: blur(8px);
}
.modal-box {
    background: #e3edff;
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: modal-fade-in 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@keyframes modal-fade-in {
    from { opacity: 0; transform: translateY(-20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes animated-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.modal-title {
    font-size: 1.3em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(120deg, #0048ff 0%, #0066ff 100%);
    padding: 14px 18px;
}
.modal-content {
    padding: 16px 18px 12px 18px;
}
.modal-content .kupon-balance {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 8px;
    text-align: center;
}
.modal-content .convert-rate {
    background: #f4f4f9;
    padding: 8px;
    border-radius: 10px;
    text-align: center;
    font-size: 0.95em;
    color: #333;
    margin-bottom: 12px;
}
.modal-content .input-group {
    margin-bottom: 10px;
}
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.convert-input-icon {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 45px;
    background: #0048ff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 0 0 12px;
    font-size: 1.2em;
}
.modal-content .input-group label {
    display: block;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 8px;
}
.modal-input {
    width: 100%;
    padding: 10px 65px 10px 55px;
    border: 1px solid #e0e0e0;
    background-color: #fdfdff;
    border-radius: 12px;
    font-size: 1em;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}
.modal-input:focus {
    outline: none;
    border-color: #0048ff;
    box-shadow: 0 0 0 3px rgba(0, 72, 255, 0.2);
}
.max-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #e3edff;
    color: #0048ff;
    border: none;
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 0.8em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.max-btn:hover {
    background: #b3d1ff;
}
.modal-content .conversion-result {
    text-align: center;
    font-size: 1.1em;
    font-weight: 500;
    color: #0048ff;
    margin-top: 8px;
}
.modal-btn-row {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 0;
    padding: 0 18px 18px 18px;
}
.modal-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    transform: translateY(0);
}
.modal-btn.cancel {
    background: #f1f1f1;
    color: #555;
}
.modal-btn.cancel:hover {
    background: #e7e7e7;
    transform: translateY(-1px);
}
#submitConvert {
    background: linear-gradient(120deg, #0048ff 0%, #0066ff 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 72, 255, 0.3);
    animation: pulse-shadow 2s infinite;
}
@keyframes pulse-shadow {
    0% { box-shadow: 0 4px 15px rgba(0, 72, 255, 0.3); }
    50% { box-shadow: 0 6px 25px rgba(0, 72, 255, 0.45); }
    100% { box-shadow: 0 4px 15px rgba(0, 72, 255, 0.3); }
}
#submitConvert:hover {
    box-shadow: 0 6px 20px rgba(0, 72, 255, 0.4);
    transform: translateY(-2px);
    animation: none; /* Stop pulsing on hover for a direct interaction feel */
}

#submitConvertPoints {
    background: linear-gradient(120deg, #0048ff 0%, #0066ff 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 72, 255, 0.3);
    animation: pulse-shadow 2s infinite;
}

#submitConvertPoints:hover {
    box-shadow: 0 6px 20px rgba(0, 72, 255, 0.4);
    transform: translateY(-2px);
    animation: none; /* Stop pulsing on hover for a direct interaction feel */
}

/* Requirement Modal Styles */
.requirement-modal-box {
    background: #fff;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: modal-fade-in 0.3s ease-out;
    text-align: center;
    padding: 0;
}

.requirement-icon {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 20px auto;
    font-size: 2em;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.requirement-title {
    font-size: 1.4em;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    padding: 0 20px;
}

.requirement-message {
    font-size: 1em;
    color: #666;
    line-height: 1.5;
    margin-bottom: 25px;
    padding: 0 20px;
}

.requirement-progress {
    background: #f8f9fa;
    margin: 0 20px 25px 20px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.progress-text {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 12px;
    font-weight: 500;
}

.progress-text span {
    color: #ff6b6b;
    font-weight: 700;
}

.progress-bar {
    background: #e9ecef;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    background: linear-gradient(90deg, #ff6b6b 0%, #ee5a52 100%);
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-target {
    font-size: 0.85em;
    color: #888;
    font-weight: 500;
}

.requirement-actions {
    display: flex;
    gap: 10px;
    padding: 0 30px 25px 30px;
    box-sizing: border-box;
}

.requirement-btn-primary {
    margin-left: 5px;
    margin-right: 5px;
    min-width: 120px;
    box-sizing: border-box;
    background: linear-gradient(135deg, #0048ff 0%, #0066ff 100%);
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 72, 255, 0.3);
}

.requirement-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 72, 255, 0.4);
    text-decoration: none;
    color: #fff;
}

.requirement-btn-secondary {
    background: #f1f3f4;
    color: #5f6368;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.requirement-btn-secondary:hover {
    background: #e8eaed;
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .requirement-modal-box {
        width: 95%;
        margin: 20px auto;
    }
    
    .requirement-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8em;
        margin: 25px auto 15px auto;
    }
    
    .requirement-title {
        font-size: 1.3em;
        margin-bottom: 12px;
    }
    
    .requirement-message {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    
    .requirement-progress {
        margin: 0 15px 20px 15px;
        padding: 15px;
    }
    
    .requirement-actions {
        padding: 0 30px 20px 30px !important;
        flex-direction: column;
        box-sizing: border-box;
    }
    
    .requirement-btn-primary {
        min-width: 120px;
        box-sizing: border-box;
    }
    
    .requirement-btn-secondary {
        width: 100%;
    }
 }

/* Redeem Code Modal Styles */
.redeem-modal-box {
    background: #f7f8fa;
    border-radius: 12px;
    width: 90%;
    max-width: 550px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    animation: modal-fade-in 0.3s ease-out;
}

.redeem-modal-header {
    background: linear-gradient(120deg, #0048ff 0%, #0066ff 100%);
    color: #fff;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.redeem-modal-title {
    font-size: 1.1em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-redeem-modal {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8em;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
}

.redeem-modal-body {
    padding: 16px;
    text-align: center;
}

.redeem-icon-large {
    font-size: 2.8em;
    color: #0048ff;
    margin-bottom: 10px;
    opacity: 0.8;
    animation: swing-gift 2.5s ease-in-out infinite;
}

.redeem-modal-body h3 {
    font-size: 1.3em;
    color: #0048ff;
    font-weight: 700;
    margin: 0 0 14px 0;
}

.redeem-input-container {
    position: relative;
    margin-bottom: 10px;
}

.redeem-input-icon {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 40px;
    background: #0048ff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px 0 0 8px;
    font-size: 1.1em;
}

.redeem-input {
    width: 100%;
    padding: 12px 14px 12px 55px; /* space for icon */
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
}

.telegram-info {
    background: #e3edff;
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 10px;
    margin-bottom: 14px;
    color: #333;
}

.telegram-info i {
    color: #0048ff;
    font-size: 1.3em;
}

.telegram-info p {
    margin: 0;
    line-height: 1.4;
    font-size: 0.85em;
}

.telegram-info strong {
    font-size: 1.05em;
}

.redeem-btn-primary, .redeem-btn-secondary {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.redeem-btn-primary {
    background: linear-gradient(120deg, #0048ff 0%, #0066ff 100%);
    color: #fff;
    margin-bottom: 8px;
}
.redeem-btn-primary:hover {
    opacity: 0.9;
}

.redeem-btn-secondary {
    background: #e3edff;
    color: #0048ff;
}
.redeem-btn-secondary:hover {
    background: #b3d1ff;
}
@media (max-width: 480px) {
    .redeem-modal-body {
        padding: 14px;
    }
    .redeem-icon-large {
        font-size: 2.5em;
        margin-bottom: 10px;
    }
    .redeem-modal-body h3 {
        font-size: 1.2em;
        margin-bottom: 12px;
    }
    .redeem-btn-primary, .redeem-btn-secondary {
        padding: 12px;
        font-size: 1em;
    }
    .telegram-info {
        padding: 8px;
        gap: 8px;
    }
    .telegram-info p {
        font-size: 0.85em;
    }
}

@keyframes swing-gift {
    0% { transform: rotate(0deg); }
    15% { transform: rotate(10deg); }
    30% { transform: rotate(-8deg); }
    45% { transform: rotate(6deg); }
    60% { transform: rotate(-4deg); }
    75% { transform: rotate(2deg); }
    100% { transform: rotate(0deg); }
}

/* Help Center Modal Styles */
.help-modal-box {
    background: #e3edff;
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    animation: modal-fade-in 0.3s ease-out;
    font-family: 'sans-serif';
}

.help-modal-header {
    background: linear-gradient(120deg, #0048ff 0%, #0066ff 100%);
    color: #fff;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.help-modal-title {
    font-size: 1.1em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-help-modal {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.7em;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
}

.help-modal-body {
    padding: 16px;
    text-align: center;
}

.help-modal-body h3 {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-top: 5px;
    margin-bottom: 10px;
}

.help-modal-body .divider {
    height: 3px;
    width: 40px;
    background-color: #0048ff;
    border-radius: 2px;
    margin: 0 auto 15px auto;
}

.help-btn-primary,
.help-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-width: 250px;
    padding: 12px 20px;
    border-radius: 12px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    margin: 0 auto 10px auto;
    transition: background-color 0.2s, transform 0.1s;
    text-decoration: none;
}

.help-btn-primary {
    background-color: #0048ff;
    color: #fff;
}

.help-btn-primary:hover {
    background-color: #0066ff;
}

.help-btn-secondary {
    background-color: #e3edff;
    color: #0048ff;
    border: 1px solid #b3d1ff;
}

.help-btn-secondary:hover {
    background-color: #b3d1ff;
}

.help-info-box {
    background-color: #f5faff;
    border: 1px solid #e3edff;
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
}

.info-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #555;
    line-height: 1.4;
    font-size: 0.9em;
}

.info-line:not(:last-child) {
    margin-bottom: 8px;
}

.info-line i {
    color: #0048ff;
    padding-top: 3px;
}

.success-modal-box {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.18);
    padding: 24px 18px 18px 18px;
    max-width: 400px;
    width: 90vw;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: popupFadeIn 0.5s cubic-bezier(.4,2,.3,1);
    position: relative;
}
.success-icon-anim {
    font-size: 3.5em;
    color: #4caf50;
    margin-bottom: 18px;
    animation: popScale 0.6s cubic-bezier(.4,2,.3,1);
}
.success-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}
.success-points {
    font-size: 1.5em;
    font-weight: bold;
    color: #0048ff;
    margin-bottom: 24px;
    text-align: center;
}
#closeSuccessConvert.modal-btn {
    background: linear-gradient(90deg, #0048ff 0%, #0066ff 100%);
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    padding: 10px 32px;
    box-shadow: 0 2px 8px rgba(0, 72, 255, 0.2);
    cursor: pointer;
    margin-top: 0;
    transition: background 0.2s, transform 0.2s;
}
#closeSuccessConvert.modal-btn:hover {
    background: linear-gradient(90deg, #0066ff 0%, #0048ff 100%);
    transform: scale(1.04);
}
@keyframes popupFadeIn {
    0% { opacity: 0; transform: translateY(40px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes popScale {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
/* Loading overlay for konversi */
#convertLoadingOverlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    color: #0048ff;
    font-weight: bold;
    pointer-events: all;
}
#convertLoadingOverlay > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#convertLoadingOverlay .spinner {
    border: 5px solid #0048ff;
    border-top: 5px solid #0066ff;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
    display: block;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.label-kecil {
    font-size: 0.7em;
    opacity: 0.7;
    font-weight: 400;
}

/* Animasi gelombang untuk Upgrade Captcha */
.menu-label.b-animated {
  display: inline-block;
}
.menu-label.b-animated span {
  display: inline-block;
  animation: pulseText 1.6s infinite, colorChange 3s linear infinite;
  animation-delay: calc(var(--i) * 0.12s), 0s;
  font-weight: bold;
  background: linear-gradient(270deg, #8d3200, #b71c1c, #00695c, #283593, #4527a0, #8d3200);
  background-size: 1200% 1200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  filter: hue-rotate(0deg);
}
@keyframes pulseText {
  0%, 100% { transform: scale(1); }
  20% { transform: scale(1.18); }
  40% { transform: scale(1); }
  60% { transform: scale(0.92); }
  80% { transform: scale(1); }
}
@keyframes colorChange {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
} 