:root {
    --primary: #4f46e5;
    --primary-light: #818cf8;
    --bg-dark: #0f172a;
    --bg-app: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -1px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
    --border-light: rgba(226, 232, 240, 0.8);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --success: #10b981;
    --error: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-app);
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-touch-callout: none !important;
    /* Disable iOS context menu */
}

/* Background Gradients */
.blob-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: move 20s infinite alternate linear;
}

.b1 {
    top: -10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: #818cf8;
}

.b2 {
    bottom: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: #c084fc;
}

@keyframes move {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(50px, 30px);
    }
}

.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
}

/* Transitions */
.fade-transition {
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.hidden {
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

/* Login Screen */
.login-screen {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url('hero.png') no-repeat center center;
    background-size: cover;
    padding: 20px;
    z-index: 10;
}

.login-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.85) 100%);
    z-index: -1;
}

.app-title {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 11;
}

.app-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 11;
}

.hero-mini-container {
    width: 110px;
    height: 110px;
    background: white;
    padding: 10px;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    margin-bottom: 24px;
    z-index: 11;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-mini-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.error-bar {
    display: none;
    background: #fef2f2;
    color: #ef4444;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 16px;
    text-align: center;
    border: 1px solid #fee2e2;
    animation: shake 0.4s ease-in-out;
    width: 100%;
    max-width: 300px;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Artistic Google Button */
.custom-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: white;
    padding: 14px 28px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 10px auto;
    width: fit-content;
    z-index: 11;
}

.custom-google-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.3);
}

.google-icon-wrapper {
    display: flex;
    align-items: center;
}

.btn-text {
    font-weight: 800;
    color: #1e293b;
    font-size: 16px;
}

/* Dashboard Header (Sticky) */
.dashboard-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    z-index: 100;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.header-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-avatar-mini {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dashboard-header .welcome-text h2 {
    font-size: 16px;
    font-weight: 800;
    margin: 0;
    color: var(--text-main);
}

.dashboard-header .welcome-text p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    font-weight: 600;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-icon-menu {
    background: #eef2ff;
    color: var(--primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon-menu:hover {
    background: #e0e7ff;
    transform: scale(1.05);
}

.btn-icon-logout {
    background: #fef2f2;
    color: #ef4444;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon-logout:hover {
    background: #fee2e2;
    transform: rotate(10deg);
}

/* Timer Card - Premium Command Center Look */
.card-timer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    text-align: center;
    padding: 30px 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-lg);
}

.card-timer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.15), transparent);
    pointer-events: none;
}

.timer-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 22px;
}

.header-text-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

#timerScheduleLabel {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-light);
}

.timer-range-badge {
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 10px;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.timer-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 40px;
    font-weight: 900;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin-bottom: 20px;
}

.timer-num {
    background: rgba(15, 23, 42, 0.8);
    padding: 10px 14px;
    border-radius: 12px;
    min-width: 65px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    line-height: 1;
}

.timer-status {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    display: inline-block;
}

.card-timer.active {
    border-color: rgba(52, 211, 153, 0.3);
    background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
}

.card-timer.active .timer-num {
    color: #34d399;
    text-shadow: 0 0 15px rgba(52, 211, 153, 0.5);
    border-color: rgba(52, 211, 153, 0.2);
}

.card-timer.active .timer-status {
    color: #34d399;
    background: rgba(52, 211, 153, 0.1);
    animation: pulse-border 2s infinite alternate;
}

@keyframes pulse-border {
    from {
        box-shadow: 0 0 5px rgba(52, 211, 153, 0.1);
    }

    to {
        box-shadow: 0 0 20px rgba(52, 211, 153, 0.2);
    }
}

/* Card Styling */
.card-base {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.card-base:hover {
    box-shadow: var(--shadow-md);
}

.section-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    width: 20px;
    color: var(--primary);
}

/* Restriction Card - Attractive Warning Look */
.card-restriction {
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    border: 2px solid #fda4af;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    animation: slideInDown 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 25px rgba(244, 63, 94, 0.15);
    margin-bottom: 20px;
}

.restriction-icon {
    background: #fb7185;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(251, 113, 133, 0.4);
    flex-shrink: 0;
}

.restriction-icon i {
    width: 32px;
    height: 32px;
    animation: shake-infinite 2s infinite ease-in-out;
}

@keyframes shake-infinite {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: rotate(-10deg);
    }

    20%,
    40%,
    60%,
    80% {
        transform: rotate(10deg);
    }
}

.restriction-content h3 {
    color: #9f1239;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
}

.restriction-content p {
    color: #e11d48;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dashboard Specifics */
.dashboard-content {
    padding-top: 24px;
    padding-bottom: 50px;
}

.card-status {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-info h3 {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 700;
    margin-bottom: 4px;
}

.status-info p {
    font-size: 16px;
    font-weight: 700;
}

.status-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(5px);
}

/* Book Details Grid */
.book-info-box {
    background: #f8fafc;
    border-radius: 20px;
    padding: 20px;
}

.book-title {
    font-weight: 800;
    color: var(--bg-dark);
    font-size: 18px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.detail-item {
    background: white;
    padding: 12px 8px;
    border-radius: 16px;
    text-align: center;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.detail-item label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 800;
    margin-bottom: 6px;
}

.detail-item span {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
}

/* Form Styling */
.page-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.form-group {
    margin-top: 0;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 2px solid #f1f5f9;
    font-size: 15px;
    font-weight: 600;
    background: #f8fafc;
    transition: var(--transition);
    font-family: inherit;
}

.form-control.is-valid {
    border-color: var(--success);
    background: #f0fdf4;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

#ulasan {
    min-height: 220px;
    line-height: 1.6;
}

.char-counter {
    text-align: right;
    font-size: 12px;
    font-weight: 700;
    margin-top: 10px;
    color: var(--text-muted);
}

.char-counter.success {
    color: var(--success);
}

.char-counter.warning {
    color: #f59e0b;
}

.char-counter.error {
    color: var(--error);
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 18px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 16px;
    margin-top: 10px;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-primary.btn-ready {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    animation: pulse-ready 2s infinite;
}

@keyframes pulse-ready {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 10px 30px rgba(16, 185, 129, 0.6);
    }

    100% {
        transform: scale(1);
    }
}

.form-control:disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

.btn-primary:active:not(:disabled) {
    transform: scale(0.97);
}

.btn-primary:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
}

/* Modals */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    z-index: 1000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    backdrop-filter: blur(5px);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s infinite linear;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-box {
    background: white;
    border-radius: 30px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-icon {
    font-size: 70px;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.modal-text {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 15px;
}

.btn-secondary,
.btn-danger {
    flex: 1;
    padding: 14px;
    border-radius: 16px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-secondary {
    background: #f1f5f9;
    color: var(--text-main);
}

.btn-secondary:hover {
    background: #e2e8f0;
}

.btn-danger {
    background: #fee2e2;
    color: #ef4444;
}

.btn-danger:hover {
    background: #fecaca;
}

/* Sidebar Styling */
.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.05);
}

.sidebar.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.sidebar-header {
    padding: 30px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sidebar-info h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
}

.sidebar-info p {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-menu {
    padding: 20px 10px;
    flex-grow: 1;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    transition: var(--transition);
    margin-bottom: 5px;
}

.menu-item i {
    width: 20px;
    height: 20px;
}

.menu-item:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.menu-item.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.2);
}

.sidebar-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--border-light);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
}

/* Extra Screens Styling */
.page-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
}

.page-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-weight: 600;
}

.rekap-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rekap-item {
    background: white;
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.rekap-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-light);
}

.rekap-icon {
    width: 45px;
    height: 45px;
    background: #f0fdf4;
    color: var(--success);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rekap-info {
    flex-grow: 1;
}

.rekap-info h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-main);
}

.rekap-info p {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.rekap-pages {
    font-size: 11px;
    font-weight: 800;
    background: #eff6ff;
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 10px;
}

.rekap-item.skipped .rekap-icon {
    background: #fff1f2;
    color: #f43f5e;
}

.rekap-item.skipped .rekap-info h4 {
    color: #94a3b8;
    text-decoration: line-through;
}

.btn-qr {
    background: #f1f5f9;
    color: var(--primary);
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-qr:hover {
    background: var(--primary);
    color: white;
}

/* QR Modal Specifics */
.card-qr {
    max-width: 350px;
    padding: 30px;
}

.qr-header {
    margin-bottom: 20px;
}

.qr-header i {
    width: 50px;
    height: 50px;
    color: var(--primary);
    margin-bottom: 10px;
}

.qr-header h3 {
    font-size: 18px;
    font-weight: 800;
}

.qrcode-container {
    background: white;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

.qrcode-container img {
    max-width: 100%;
}

.qr-details {
    margin-bottom: 25px;
}

.qr-details p {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
}

.qr-warning {
    margin-top: 8px;
    font-size: 11px !important;
    color: #f43f5e !important;
    font-style: italic;
}

/* Tentang Styling */
.card-tentang {
    text-align: center;
}

.tentang-header {
    margin-bottom: 30px;
}

.tentang-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.tentang-header h2 {
    font-weight: 800;
    color: var(--text-main);
}

.tentang-header p {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: #eef2ff;
    display: inline-block;
    padding: 2px 12px;
    border-radius: 50px;
    margin-top: 5px;
}

.info-group {
    text-align: left;
    margin-bottom: 20px;
}

.info-group h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 800;
}

.info-group p {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.6;
}

/* Snow Animation */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: white;
    font-size: 1.2em;
    user-select: none;
    z-index: 5;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
    animation: fall linear infinite;
}

.dew-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
    z-index: 4;
}

@keyframes fall {
    0% {
        transform: translateY(-10vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(110vh) translateX(20px);
        opacity: 0;
    }
}

.snowflake:nth-child(1) {
    left: 10%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.snowflake:nth-child(2) {
    left: 20%;
    animation-duration: 12s;
    animation-delay: 1s;
    font-size: 0.8em;
}

.snowflake:nth-child(3) {
    left: 30%;
    animation-duration: 10s;
    animation-delay: 2s;
    font-size: 1.4em;
}

.snowflake:nth-child(4) {
    left: 45%;
    animation-duration: 15s;
    animation-delay: 0.5s;
}

.snowflake:nth-child(5) {
    left: 55%;
    animation-duration: 11s;
    animation-delay: 3s;
    font-size: 0.9em;
}

.snowflake:nth-child(6) {
    left: 65%;
    animation-duration: 9s;
    animation-delay: 1.5s;
    font-size: 1.2em;
}

.snowflake:nth-child(7) {
    left: 75%;
    animation-duration: 14s;
    animation-delay: 2.5s;
}

.snowflake:nth-child(8) {
    left: 85%;
    animation-duration: 13s;
    animation-delay: 0s;
    font-size: 0.7em;
}

.snowflake:nth-child(9) {
    left: 95%;
    animation-duration: 11s;
    animation-delay: 4s;
}

.snowflake:nth-child(10) {
    left: 15%;
    animation-duration: 12s;
    animation-delay: 5s;
}

/* Responsive adjustments */
@media (max-width: 400px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .page-inputs {
        grid-template-columns: 1fr;
    }
}

/* ===== DESKTOP WARNING SCREEN ===== */
.desktop-warning-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

.warning-blob-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.warning-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float-blob 20s infinite ease-in-out;
}

.wb1 {
    top: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    animation-delay: 0s;
}

.wb2 {
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    animation-delay: 5s;
}

.wb3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #14b8a6, #06b6d4);
    animation-delay: 10s;
}

@keyframes float-blob {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    75% {
        transform: translate(40px, 10px) scale(1.05);
    }
}

.warning-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    padding: 40px;
    text-align: center;
    animation: slideInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.phone-icon-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.phone-icon {
    position: relative;
    z-index: 2;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.5);
    animation: bounce-icon 2s infinite ease-in-out;
}

.phone-icon i {
    width: 60px;
    height: 60px;
    color: white;
    stroke-width: 2.5;
}

@keyframes bounce-icon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.warning-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 30px;
    opacity: 0.4;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

.warning-title {
    font-size: 42px;
    font-weight: 900;
    color: white;
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
    animation: fadeInText 1s ease-out 0.3s both;
}

.warning-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    margin-bottom: 40px;
    animation: fadeInText 1s ease-out 0.5s both;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.warning-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInText 1s ease-out 0.7s both;
}

.warning-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    text-align: left;
    animation: slideInRight 0.6s ease-out both;
}

.warning-step:nth-child(1) {
    animation-delay: 0.9s;
}

.warning-step:nth-child(2) {
    animation-delay: 1.1s;
}

.warning-step:nth-child(3) {
    animation-delay: 1.3s;
    margin-bottom: 0;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    color: white;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.step-content h3 {
    font-size: 18px;
    font-weight: 800;
    color: white;
    margin-bottom: 6px;
}

.step-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-weight: 500;
}

.qr-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    animation: fadeInText 1s ease-out 1.5s both;
}

.qr-hint i {
    width: 24px;
    height: 24px;
    color: #a78bfa;
    animation: scan-pulse 2s infinite ease-in-out;
}

@keyframes scan-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.qr-hint p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    margin: 0;
}

/* Responsive for tablets */
@media (max-width: 768px) {
    .warning-content {
        padding: 30px 20px;
    }

    .warning-title {
        font-size: 32px;
    }

    .warning-subtitle {
        font-size: 16px;
    }

    .phone-icon-container,
    .phone-icon,
    .warning-pulse {
        width: 100px;
        height: 100px;
    }

    .phone-icon i {
        width: 50px;
        height: 50px;
    }
}