/* ============================================
   RAIKHSAPEDIA - Premium Netflix Access Pass
   Theme: Cinematic Ticket Stub (Charcoal & Netflix Red/Gold)
   ============================================ */

:root {
    --bg-color: #08080a;
    --card-bg: #121215;
    --card-border: rgba(229, 9, 20, 0.2);
    --primary: #e50914;
    --primary-light: #ef4444;
    --primary-glow: rgba(229, 9, 20, 0.2);
    --secondary: #1a1a1e;
    --accent: #fbbf24;
    --accent-glow: rgba(251, 191, 36, 0.15);
    --text-main: #f4f4f5;
    --text-muted: #8e8e93;
    --success: #10b981;
    --error: #ef4444;
    --gold: #fbbf24;
    --netflix-red: #e50914;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ============================================
   BASE
   ============================================ */
body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Animated grid background */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(229, 9, 20, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(229, 9, 20, 0.02) 1px, transparent 1px);
    background-size: 44px 44px;
    z-index: 0;
    mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 70%);
    animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
    0% { background-position: 0 0; }
    100% { background-position: 44px 44px; }
}

/* ============================================
   BACKGROUND BLOBS & PARTICLES
   ============================================ */
.bg-elements {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.18;
    animation: float 25s infinite alternate ease-in-out;
}

.blob-1 {
    top: -15%;
    left: -10%;
    width: 65vw; height: 65vw;
    background: radial-gradient(circle, var(--primary) 0%, transparent 65%);
}

.blob-2 {
    bottom: -25%;
    right: -10%;
    width: 55vw; height: 55vw;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.3) 0%, transparent 65%);
    animation-delay: -12s;
}

.blob-3 {
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    width: 40vw; height: 40vw;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.2) 0%, transparent 65%);
    animation-delay: -6s;
    opacity: 0.1;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(5%, -5%) scale(1.08); }
    66% { transform: translate(-3%, 6%) scale(0.95); }
    100% { transform: translate(8%, 8%) scale(1.12); }
}

/* Particles */
.particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px; height: 2px;
    border-radius: 50%;
    background: var(--primary-light);
    opacity: 0;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1.5); }
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: 490px;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

/* ============================================
   HEADER
   ============================================ */
header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.7rem;
}

.logo-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow:
        0 0 0 1px rgba(167, 139, 250, 0.3),
        0 0 30px var(--primary-glow),
        0 8px 20px rgba(0,0,0,0.4);
    position: relative;
    flex-shrink: 0;
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(167,139,250,0.4), transparent, rgba(6,182,212,0.4));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.logo-wrap:hover .logo-icon::after {
    opacity: 1;
}

.logo {
    font-size: 2.1rem;
    font-weight: 850;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff, #d4d4d8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 15px rgba(229, 9, 20, 0.4));
}

/* Device Badge */
.device-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.2);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    animation: fadeInDown 0.5s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.device-icon {
    font-size: 0.9rem;
}

.subtitle {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.5;
    margin-top: 0.4rem;
    font-weight: 400;
    max-width: 370px;
    margin-left: auto;
    margin-right: auto;
}

.cursor-blink {
    color: var(--primary-light);
    font-weight: 300;
    animation: blink-cursor 0.8s step-end infinite;
    margin-left: 2px;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ============================================
   MAIN CARD
   ============================================ */
.generator-card {
    background: var(--card-bg);
    border: 1.5px solid var(--card-border);
    border-radius: 16px;
    padding: 1.85rem;
    box-shadow:
        0 25px 60px -15px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
}

/* Ticket Divider & Notches */
.ticket-divider {
    position: relative;
    height: 1px;
    border-top: 1.5px dashed var(--card-border);
    margin: 1.5rem -1.85rem;
    z-index: 5;
}

.ticket-divider::before,
.ticket-divider::after {
    content: '';
    position: absolute;
    top: -12px;
    width: 24px;
    height: 24px;
    background: var(--bg-color);
    border-radius: 50%;
    z-index: 10;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}

.ticket-divider::before {
    left: -12px;
    border-right: 1.5px solid var(--card-border);
}

.ticket-divider::after {
    right: -12px;
    border-left: 1.5px solid var(--card-border);
}

.modal-content .ticket-divider {
    margin: 1.5rem -2rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
}

.card-header h2 {
    font-size: 1.15rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-main), rgba(241, 240, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Status Indicator */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.08);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.15);
    transition: all 0.3s ease;
}

.status-indicator.loading {
    background: rgba(229, 9, 20, 0.08);
    border-color: rgba(229, 9, 20, 0.2);
}

.status-indicator.loading .dot {
    background: var(--primary-light);
    box-shadow: 0 0 8px var(--primary-light);
}

.status-indicator.error {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
}

.status-indicator.error .dot {
    background: var(--error);
    box-shadow: 0 0 8px var(--error);
    animation: none;
}

.status-indicator .dot {
    width: 7px; height: 7px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.status-text {
    font-size: 0.63rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
}

/* ============================================
   BUTTONS
   ============================================ */
.card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-generate {
    width: 100%;
    padding: 1rem 1.3rem;
    border-radius: 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.025);
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-generate::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
    transition: left 0.5s ease;
}

.btn-generate:hover::before {
    left: 100%;
}

.btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-generate:active {
    transform: scale(0.98) translateY(0);
}

.btn-generate:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Random Token */
#btn-generate {
    border-color: rgba(255, 255, 255, 0.06);
}

#btn-generate:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Premium Token - Netflix Red CTA */
.btn-premium {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.15), rgba(229, 9, 20, 0.05)) !important;
    border-color: rgba(229, 9, 20, 0.3) !important;
    color: var(--primary-light) !important;
}

.btn-premium:hover {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.25), rgba(229, 9, 20, 0.1)) !important;
    border-color: rgba(239, 68, 68, 0.5) !important;
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.2), 0 8px 25px rgba(0, 0, 0, 0.3) !important;
}

/* Premium Indo - Ticket Gold */
.btn-premium-indo {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(251, 191, 36, 0.04)) !important;
    border-color: rgba(251, 191, 36, 0.25) !important;
    color: var(--accent) !important;
}

.btn-premium-indo:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(251, 191, 36, 0.08)) !important;
    border-color: rgba(251, 191, 36, 0.45) !important;
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.15), 0 8px 25px rgba(0, 0, 0, 0.3) !important;
}

.btn-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-icon {
    width: 34px; height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.btn-icon-random {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.btn-icon-premium {
    background: var(--primary-glow);
    color: var(--primary-light);
}

.btn-icon-indo {
    background: var(--accent-glow);
    color: var(--accent);
}

.btn-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.btn-title {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
}

.btn-price {
    font-size: 0.68rem;
    font-weight: 500;
    opacity: 0.55;
    letter-spacing: 0.3px;
}

.btn-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-arrow {
    opacity: 0.3;
    transition: transform 0.2s ease, opacity 0.2s ease;
    font-size: 1.1rem;
}

.btn-generate:hover .btn-arrow {
    transform: translateX(5px);
    opacity: 0.7;
}

.badge-recomend {
    font-size: 0.52rem;
    font-weight: 700;
    background: var(--accent);
    color: #000;
    padding: 2px 8px;
    border-radius: 5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Loader */
.loader {
    width: 20px; height: 20px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    border-top-color: currentColor;
    animation: spin 0.75s linear infinite;
    display: none;
    flex-shrink: 0;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

/* ============================================
   RESULT AREA
   ============================================ */
.card-content {
    margin-bottom: 1.5rem;
}

/* Skeleton */
.skeleton-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skeleton-account {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.skeleton-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(0,0,0,0.2);
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.04);
}

.skeleton {
    background: linear-gradient(90deg,
        rgba(124,58,237,0.04) 25%,
        rgba(124,58,237,0.1) 50%,
        rgba(124,58,237,0.04) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 5px;
}

.skeleton-label { height: 10px; width: 55%; }
.skeleton-value { height: 18px; width: 80%; }
.skeleton-token { display: flex; flex-direction: column; gap: 10px; }
.skeleton-block { height: 64px; border-radius: 14px; }

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Live Data */
.account-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.detail-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: rgba(0, 0, 0, 0.25);
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(124, 58, 237, 0.08);
    transition: border-color 0.3s;
}

.detail-group:hover {
    border-color: rgba(124, 58, 237, 0.2);
}

.detail-group .label {
    font-size: 0.62rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

.detail-group .value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    word-break: break-all;
}

.highlight-text { color: var(--primary-light) !important; }

/* Token Container */
.token-container {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    animation: slideUp 0.5s ease;
}

.token-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(124, 58, 237, 0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.token-header .label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.token-info {
    padding: 8px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.device-info-text {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
}

textarea {
    width: 100%;
    background: transparent;
    border: none;
    padding: 12px 14px;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    line-height: 1.4;
    resize: none;
    outline: none;
}

/* Small Copy Buttons */
.btn-copy-small {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: var(--primary-light);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.68rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Outfit', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.btn-copy-small:hover {
    background: rgba(124, 58, 237, 0.2);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.2);
}

.btn-netflix {
    background: rgba(229, 9, 20, 0.1) !important;
    border-color: rgba(229, 9, 20, 0.25) !important;
    color: var(--netflix-red) !important;
}

.btn-netflix:hover {
    background: rgba(229, 9, 20, 0.2) !important;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.2) !important;
}

.btn-tv {
    background: rgba(124, 58, 237, 0.08) !important;
    border-color: rgba(167, 139, 250, 0.2) !important;
    color: #a1a1aa !important;
}

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

.fade-in {
    animation: fadeIn 0.4s ease forwards;
}

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

/* ============================================
   FOOTER
   ============================================ */
footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    opacity: 0.45;
    line-height: 1.6;
}

.footer-sub {
    font-size: 0.65rem;
    margin-top: 2px;
}

/* ============================================
   TOAST
   ============================================ */
.toast {
    position: fixed;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow:
        0 10px 30px rgba(124, 58, 237, 0.4),
        0 4px 15px rgba(0,0,0,0.3);
    opacity: 0;
    transition: all 0.45s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10000;
    pointer-events: none;
    white-space: nowrap;
}

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

.toast.toast-error {
    background: linear-gradient(135deg, var(--error), #f87171);
}

/* ============================================
   FLOATING ACTION BUTTONS
   ============================================ */
.fab-container {
    position: fixed;
    bottom: 22px;
    right: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.fab-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
}

.fab-help {
    background: rgba(15, 15, 30, 0.85);
    color: var(--text-muted);
}

.fab-help:hover {
    transform: translateY(-3px);
    color: var(--primary-light);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.2), 0 4px 20px rgba(0,0,0,0.4);
}

.fab-contact {
    background: rgba(0, 136, 204, 0.2);
    border-color: rgba(0, 136, 204, 0.3);
    color: #29b6f6;
    text-decoration: none;
}

.fab-contact:hover {
    transform: translateY(-3px);
    background: rgba(0, 136, 204, 0.4);
    border-color: rgba(0, 136, 204, 0.6);
    box-shadow: 0 0 20px rgba(0, 136, 204, 0.25), 0 4px 20px rgba(0,0,0,0.4);
}

/* ============================================
   MODALS
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: rgba(12, 10, 28, 0.95);
    border: 1px solid rgba(124, 58, 237, 0.15);
    padding: 2rem;
    border-radius: 24px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    transform: translateY(40px) scale(0.94);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        inset 0 1px 0 rgba(167, 139, 250, 0.1),
        0 30px 60px -15px rgba(0,0,0,0.7),
        0 0 60px -20px rgba(124, 58, 237, 0.2);
}

.modal-overlay.show .modal-content {
    transform: translateY(0) scale(1);
}

.info-modal-content {
    max-width: 500px !important;
    text-align: left !important;
}

.modal-close-btn {
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-muted);
    cursor: pointer;
    padding: 7px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.modal-close-btn:hover {
    background: rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.3);
    color: var(--primary-light);
}

.modal-title {
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-size: 1.35rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-main), rgba(167, 139, 250, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-desc {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.indo-badge {
    font-size: 0.62rem;
    background: rgba(6, 182, 212, 0.12);
    color: var(--accent);
    border: 1px solid rgba(6, 182, 212, 0.25);
    padding: 2px 10px;
    border-radius: 20px;
    vertical-align: middle;
    margin-left: 8px;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* Payment Summary */
.payment-summary {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 1rem;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.payment-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.payment-value {
    color: #fff;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
}

.discount-label { color: var(--gold); }
.discount-value { color: var(--gold); }

.payment-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 8px 0;
}

.payment-total {
    color: var(--primary-light);
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'JetBrains Mono', monospace;
}

.promo-tag {
    background: rgba(245, 158, 11, 0.12);
    color: var(--gold);
    padding: 3px 12px;
    border-radius: 5px;
    font-size: 0.7rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Promo Input */
.promo-input-wrap {
    background: rgba(0,0,0,0.2);
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
    display: flex;
    gap: 8px;
    border: 1px dashed rgba(124, 58, 237, 0.15);
    margin-bottom: 1rem;
}

.promo-input-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    outline: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.promo-input-wrap input::placeholder {
    color: rgba(107, 114, 128, 0.6);
    letter-spacing: 1px;
}

#btn-apply-promo {
    background: rgba(124, 58, 237, 0.12);
    color: var(--primary-light);
    border: 1px solid rgba(124, 58, 237, 0.25);
    padding: 6px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    transition: all 0.2s;
    white-space: nowrap;
}

#btn-apply-promo:hover {
    background: rgba(124, 58, 237, 0.25);
}

/* Proceed Button */
.btn-proceed {
    width: 100%;
    padding: 0.95rem;
    background: linear-gradient(135deg, var(--primary), rgba(124, 58, 237, 0.8));
    color: #fff;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
    letter-spacing: 0.3px;
}

.btn-proceed:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
}

.btn-proceed:active {
    transform: scale(0.98);
}

/* QRIS Box */
.qris-box {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(124, 58, 237, 0.2);
    background: rgba(0,0,0,0.2);
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 220px;
    transition: all 0.3s ease;
}

.qris-box.loaded {
    background: #ffffff;
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    padding: 12px;
    min-height: auto;
    height: 300px;
}

#qris-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

@media (max-width: 500px) {
    .qris-box.loaded {
        height: 260px;
        padding: 8px;
    }
}

.qris-loader {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qris-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.2rem;
}

.qris-amount {
    font-size: 1.6rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: var(--primary-light);
}

.qris-actions {
    display: flex;
    gap: 10px;
    margin-top: 0.75rem;
}

.btn-ghost {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    color: var(--text-muted);
    padding: 0.65rem;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    transition: all 0.2s;
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.07);
    color: var(--text-main);
}

/* Info Modal Specific */
.modal-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.info-scroll {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    max-height: 58vh;
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 58, 237, 0.3) transparent;
}

.info-scroll::-webkit-scrollbar {
    width: 4px;
}

.info-scroll::-webkit-scrollbar-track { background: transparent; }
.info-scroll::-webkit-scrollbar-thumb {
    background: rgba(124, 58, 237, 0.3);
    border-radius: 2px;
}

.info-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.info-stat {
    background: rgba(124, 58, 237, 0.06);
    border: 1px solid rgba(124, 58, 237, 0.15);
    padding: 12px;
    border-radius: 12px;
}

.stat-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.stat-value {
    color: var(--primary-light);
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
}

.info-section-title {
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 0.7rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.info-tiers {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.tier-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 10px 14px;
    border-radius: 12px;
}

.tier-free { border-color: rgba(107, 114, 128, 0.15); }
.tier-premium { background: rgba(124, 58, 237, 0.05); border-color: rgba(124, 58, 237, 0.15); }
.tier-indo { background: rgba(6, 182, 212, 0.05); border-color: rgba(6, 182, 212, 0.15); }

.tier-name {
    font-weight: 700;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    margin-bottom: 3px;
}

.tier-free .tier-name span { color: var(--success); font-weight: 400; }
.tier-premium .tier-name { color: var(--primary-light); }
.tier-premium .tier-name span { color: var(--primary-light); font-weight: 400; }
.tier-indo .tier-name { color: var(--accent); }
.tier-indo .tier-name span { color: var(--accent); font-weight: 400; }

.tier-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.info-list {
    padding-left: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
}

.warning-box {
    background: rgba(239, 68, 68, 0.07);
    border-left: 3px solid var(--error);
    padding: 12px 14px;
    border-radius: 0 8px 8px 0;
    font-size: 0.8rem;
    color: #f87171;
    margin-bottom: 0.5rem;
}

.btn-understand {
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.9rem;
    background: rgba(124, 58, 237, 0.08);
    color: var(--primary-light);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 14px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.3px;
}

.btn-understand:hover {
    background: rgba(229, 9, 20, 0.18);
    box-shadow: 0 0 25px rgba(229, 9, 20, 0.2);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 500px) {
    .container { padding: 1rem; }
    .generator-card { padding: 1.35rem; border-radius: 16px; }
    .logo { font-size: 1.85rem; letter-spacing: -1px; }
    .logo-icon { width: 36px; height: 36px; font-size: 1.1rem; }
    .account-details { grid-template-columns: 1fr; }
    .btn-title { font-size: 0.88rem; }
    .btn-icon { width: 30px; height: 30px; }
    .modal-content { padding: 1.5rem; border-radius: 16px; }
    .info-stats { grid-template-columns: 1fr 1fr; }
    .card-header h2 { font-size: 1rem; }
}

@media (max-width: 360px) {
    .logo { font-size: 1.6rem; }
    .badge-recomend { display: none; }
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
html {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='28' viewBox='0 0 22 28'%3E%3Cpath d='M1 1L18 18L11.5 19L9.5 25L7 22L4 25L5.5 18Z' fill='%23e50914' opacity='0.9'/%3E%3Cpath d='M2 2L18 17L12 18L10 24L7.5 21.5L4.5 24.5L6 18Z' fill='%23fbbf24' opacity='0.4'/%3E%3C/svg%3E") 1 1, auto;
}

a, button, .btn-generate, .btn-copy-small, .fab-btn,
select, summary, label[for], [role="button"], input[type="submit"] {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='8' fill='%23e50914' opacity='0.85'/%3E%3Ccircle cx='11' cy='11' r='3.5' fill='%23ffffff' opacity='0.95'/%3E%3Ccircle cx='11' cy='11' r='1' fill='%23e50914'/%3E%3C/svg%3E") 11 11, pointer !important;
}

input, textarea, [contenteditable="true"] {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='22' viewBox='0 0 4 22'%3E%3Crect x='0.5' y='0' width='3' height='22' rx='1.5' fill='%23e50914' opacity='0.9'/%3E%3C/svg%3E") 2 11, text !important;
}
