@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800;900&family=Outfit:wght@300;400;600;700;800&family=Space+Grotesk:wght@400;500;700&display=swap');

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-drag: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #030712;
    font-family: 'Cairo', 'Outfit', sans-serif;
    color: #f3f4f6;
}

/* Kiosk container forced to 9:16 portrait aspect ratio */
#kiosk-container {
    width: 100vw;
    height: 100vh;
    max-width: 1080px;
    max-height: 1920px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 15%, #0d1e3d 0%, #030712 100%);
    box-shadow: 0 0 100px rgba(0,0,0,0.9);
    display: flex;
    flex-direction: column;
}

/* Simulated Aspect Ratio on Desktop Dev Mode */
@media (min-width: 1081px) {
    body {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #111827;
    }
    #kiosk-container {
        width: 1080px;
        height: 1920px;
        border-radius: 20px;
        border: 4px solid #374151;
        transform: scale(0.48);
        transform-origin: center center;
    }
}

/* Particle Background */
#particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.35;
}

/* Common UI Elements: Glassmorphism */
.glass {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px 0 rgba(0, 0, 0, 0.45);
}

.glow-text {
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    border-radius: 16px;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.4);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.btn-primary:active {
    transform: scale(0.96);
    box-shadow: 0 2px 10px rgba(2, 132, 199, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #e5e7eb;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0.96);
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
}

.btn-danger:active {
    transform: scale(0.96);
}

.btn-icon {
    width: 60px;
    height: 60px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-icon:active {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(0.92);
}

/* Modals */
#admin-modal, #confirm-modal, #info-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 150; /* Set z-index high enough to be on top of all header/footer panels and clickable */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(15px);
}

.admin-panel, .confirm-panel, .info-panel {
    width: 80%;
    max-width: 500px;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.admin-panel h2, .confirm-panel h2, .info-panel h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: #eab308;
}

.admin-panel p, .confirm-panel p, .info-modal-text {
    font-size: 20px;
    margin-bottom: 30px;
    color: #d1d5db;
}

.info-modal-text p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.info-modal-text p:last-child {
    margin-bottom: 0;
}

.admin-buttons, .confirm-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hidden {
    display: none !important;
}

/* ==================== SCREEN SWITCHING CONTROLLER ==================== */
.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: scale(1.01);
    z-index: 5;
    padding: 130px 40px 40px 40px; /* Accommodates header height */
}

.screen.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

/* Header style */
#kiosk-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 50;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(15, 23, 42, 0.4);
}

.header-left {
    cursor: pointer;
}

.header-brand-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #eab308; /* Gold branding */
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(234, 179, 8, 0.3);
}

.header-center h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #9ca3af;
}

#kiosk-time {
    font-size: 22px;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    color: #9ca3af;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ==================== 1. ATTRACTOR SCREEN ==================== */
#screen-attractor {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.attractor-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 100px 40px;
}

/* Rounded Header block matching the mockup style */
.top-rounded-brand {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(25px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 85%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.brand-text-large {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 46px;
    font-weight: 800;
    color: #eab308; /* Gold Biskria name */
    letter-spacing: 1.5px;
    text-shadow: 0 0 15px rgba(234, 179, 8, 0.4);
    line-height: 1.1;
}

.brand-text-arabic {
    font-family: 'Montserrat', 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #eab308;
    margin-top: 5px;
    letter-spacing: 0.5px;
}

.attractor-middle {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#canvas-container-attractor {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#canvas-container-attractor canvas,
#canvas-container-product canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.attractor-footer {
    text-align: center;
    z-index: 20;
}

.attractor-footer h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 8px;
    color: white;
}

.tagline {
    font-size: 22px;
    color: #9ca3af;
    letter-spacing: 1px;
    margin-bottom: 50px;
}

.touch-prompt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(234, 179, 8, 0.15);
    border: 2px solid rgba(234, 179, 8, 0.5);
    padding: 24px 44px;
    border-radius: 50px;
    box-shadow: 0 0 35px rgba(234, 179, 8, 0.25);
}

.touch-prompt span {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #facc15;
    text-shadow: 0 0 10px rgba(234, 179, 8, 0.4);
}

.touch-icon {
    font-size: 26px;
}

/* Animations */
.animate-pulse {
    animation: pulse 3s infinite alternate;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.97); filter: drop-shadow(0 0 10px rgba(255,255,255,0.05)); }
    100% { transform: scale(1.02); filter: drop-shadow(0 0 25px rgba(234, 179, 8, 0.2)); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ==================== 2. DASHBOARD SCREEN ==================== */
.dashboard-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.welcome-text {
    margin-top: 30px;
    text-align: center;
}

.welcome-text h1 {
    font-size: 38px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-text p {
    font-size: 20px;
    color: #9ca3af;
}

.dashboard-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 50px 0;
}

.nav-card {
    padding: 35px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    gap: 30px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.05);
}

.nav-card:active {
    transform: scale(0.97);
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(234, 179, 8, 0.4);
}

.card-icon {
    font-size: 50px;
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.08);
}

.card-info {
    flex: 1;
}

.card-info h2 {
    font-size: 26px;
    color: white;
    margin-bottom: 6px;
    font-family: 'Space Grotesk', sans-serif;
}

.card-info p {
    font-size: 18px;
    color: #9ca3af;
    line-height: 1.45;
}

.card-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(56, 189, 248, 0.2);
    text-transform: uppercase;
}

.card-badge.gold {
    background: rgba(234, 179, 8, 0.12);
    color: #facc15;
    border-color: rgba(234, 179, 8, 0.2);
}

.dashboard-footer-brand {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.dashboard-footer-brand p {
    font-size: 15px;
    color: #4b5563;
}

/* ==================== 3. PRODUCT SHOWCASE SCREEN (SINGLE COLUMN CUSTOM STYLE) ==================== */
.products-layout-single {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-header-block {
    text-align: center;
    margin-top: 20px;
}

.product-header-block h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.product-header-block h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* Interactive 3D Canvas Box */
.product-showcase-container {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    margin: 20px 0;
}

#canvas-container-product {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Kiosk side nav arrows matching mockup */
.nav-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255,255,255,0.08);
    color: #eab308; /* Golden Arrow */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.2s ease;
}

.nav-arrow-btn:active {
    transform: translateY(-50%) scale(0.92);
    background: rgba(234, 179, 8, 0.2);
}

.nav-arrow-btn.prev {
    left: 10px;
}

.nav-arrow-btn.next {
    right: 10px;
}

/* Curved Rotation Indicator overlay */
.rotation-ring-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    z-index: 10;
}

.rotation-ring-svg {
    width: 220px;
    height: auto;
}

.rotation-text {
    font-size: 15px;
    font-weight: 600;
    color: #eab308;
    margin-top: 4px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(234, 179, 8, 0.4);
}

/* Detailed specifications card (mockup style) */
.spec-card {
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.spec-tabs {
    display: flex;
    justify-content: space-around;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.spec-tab-btn {
    background: transparent;
    border: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
    padding: 5px 10px;
}

.spec-tab-btn.active {
    color: #eab308; /* Golden Highlight */
    text-shadow: 0 0 10px rgba(234, 179, 8, 0.4);
}

.spec-content {
    min-height: 100px;
    max-height: 220px;
    overflow-y: auto;
}

.spec-text-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spec-item {
    font-size: 19px;
    line-height: 1.5;
    color: #e5e7eb;
}

.spec-label {
    font-weight: 700;
    color: #eab308;
    margin-right: 8px;
}

.spec-val {
    color: #e5e7eb;
}

/* Actions CTAs Row (Bottom) */
.action-ctas-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 10px;
}

.btn-cta {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255,255,255,0.08);
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 20px 0;
    border-radius: 40px; /* Pill shape */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-cta:active {
    transform: scale(0.96);
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border-color: #38bdf8;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

/* Floating Tools on the side */
.floating-view-tools {
    position: absolute;
    right: 20px;
    top: 240px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 30;
}

.btn-tool {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255,255,255,0.08);
    color: white;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-tool:active {
    transform: scale(0.92);
    background: rgba(234, 179, 8, 0.3);
    border-color: #eab308;
}

/* Custom Scrollbar for spec list */
.spec-content::-webkit-scrollbar {
    width: 6px;
}
.spec-content::-webkit-scrollbar-track {
    background: transparent;
}
.spec-content::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
}

/* ==================== 4. QUIZ SCREEN ==================== */
.quiz-layout {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quiz-status {
    border-radius: 20px;
    padding: 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}

.quiz-progress-text {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    color: white;
}

.quiz-progress-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    overflow: hidden;
}

#quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #eab308 0%, #d97706 100%); /* Gold progress bar */
    border-radius: 30px;
    transition: width 0.4s ease;
}

.quiz-score-badge {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.2);
    color: #facc15;
    padding: 6px 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
}

.quiz-board {
    margin: 40px 0;
    flex: 1;
    border-radius: 28px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.06);
}

.quiz-question-box h2 {
    font-size: 32px;
    font-weight: 600;
    color: white;
    line-height: 1.55;
}

.quiz-options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.option-btn {
    width: 100%;
    padding: 24px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
}

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

.option-btn.selected {
    background: rgba(234, 179, 8, 0.15) !important;
    border-color: #eab308 !important;
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.25);
}

.option-letter {
    font-size: 20px;
    font-weight: 700;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5e7eb;
    border: 1px solid rgba(255,255,255,0.05);
    flex-shrink: 0;
}

.option-btn.selected .option-letter {
    background: #eab308;
    color: black;
}

.option-content {
    font-size: 20px;
    font-weight: 600;
    color: #e5e7eb;
}

.quiz-footer-hint {
    text-align: center;
    padding: 10px 0;
}

.quiz-footer-hint p {
    font-size: 16px;
    color: #4b5563;
}

/* ==================== 5. QUIZ RESULT SCREEN ==================== */
.result-layout {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-card {
    width: 100%;
    border-radius: 32px;
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.result-icon {
    font-size: 96px;
    filter: drop-shadow(0 0 20px rgba(234, 179, 8, 0.4));
    animation: pulse 2s infinite alternate;
}

.result-card h1 {
    font-size: 44px;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    color: white;
}

#result-subtitle {
    font-size: 26px;
    font-weight: 600;
    color: #9ca3af;
}

/* Voucher box (Winner) */
.voucher-box {
    width: 100%;
    max-width: 480px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 2px dashed rgba(234, 179, 8, 0.4);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin: 20px 0;
    animation: zoomIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.voucher-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: #facc15;
    font-size: 22px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.voucher-qr {
    background: white;
    width: 180px;
    height: 180px;
    margin: 0 auto 20px auto;
    padding: 10px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#qr-canvas {
    width: 100% !important;
    height: 100% !important;
}

.voucher-code-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 20px;
    border-radius: 12px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.code-label {
    font-size: 16px;
    color: #9ca3af;
}

#voucher-code-val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #eab308; /* Gold Code */
    letter-spacing: 1px;
}

.voucher-instruction {
    font-size: 16px;
    color: #d1d5db;
    line-height: 1.5;
}

/* Loser Box */
.loser-box {
    margin: 30px 0;
    max-width: 440px;
}

.loser-box p {
    font-size: 20px;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 12px;
}

.try-again-prompt {
    color: #eab308 !important;
    font-weight: 600;
}

.result-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ==================== 6. ABOUT US SCREEN ==================== */
.about-layout {
    height: 100%;
}

.about-scroller {
    height: 100%;
    overflow-y: auto;
    border-radius: 28px;
    padding: 40px;
}

.about-hero {
    text-align: center;
    margin-bottom: 40px;
}

.about-hero h1 {
    font-size: 36px;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
    font-family: 'Space Grotesk', sans-serif;
    text-shadow: 0 0 20px rgba(2, 132, 199, 0.3);
}

.about-subtitle {
    font-size: 20px;
    color: #eab308; /* Gold */
    margin-top: 8px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.stat-box {
    padding: 24px;
    border-radius: 18px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
}

.stat-num {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #eab308;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 15px;
    color: #9ca3af;
    font-weight: 600;
}

.about-section {
    margin-bottom: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 30px;
}

.about-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.about-section h2 {
    font-size: 24px;
    color: white;
    margin-bottom: 16px;
    font-family: 'Space Grotesk', sans-serif;
}

.about-section p {
    font-size: 18px;
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 15px;
}

.about-section ul {
    list-style-type: none;
    padding-left: 5px;
}

.about-section li {
    font-size: 17px;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
}

.about-section li::before {
    content: "•";
    color: #eab308;
    font-size: 24px;
    position: absolute;
    left: 4px;
    top: -2px;
}

/* ==================== GLOBAL ARABIC TYPOGRAPHY FALLBACK ==================== */
.btn,
.btn-cta,
.header-brand-title,
.header-center h2,
#kiosk-time,
.brand-text-large,
.brand-text-arabic,
.attractor-footer h1,
.card-info h2,
.product-header-block h3,
.product-header-block h2,
.spec-tab-btn,
.quiz-progress-text,
.voucher-header h3,
.voucher-code-box,
.code-label,
.about-subtitle,
.stat-num,
.about-section h2 {
    font-family: 'Space Grotesk', 'Cairo', sans-serif !important;
}

/* ==================== RESPONSIVE ADAPTABILITY FOR SHORTER VIEWPORTS ==================== */
@media (max-height: 1200px) {
    .screen {
        padding: 120px 30px 30px 30px;
    }
    
    #kiosk-header {
        height: 90px;
    }
    
    .welcome-text {
        margin-top: 15px;
    }
    
    .dashboard-grid {
        margin: 25px 0;
        gap: 15px;
    }
    
    .nav-card {
        padding: 25px;
        gap: 20px;
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 36px;
    }
    
    .product-showcase-container {
        min-height: 250px;
        margin: 10px 0;
    }
    
    .spec-card {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .spec-content {
        min-height: 100px;
    }
    
    .quiz-board {
        margin: 20px 0;
        padding: 25px;
    }
    
    .quiz-question-box h2 {
        font-size: 26px;
    }
    
    .quiz-options-grid {
        gap: 12px;
    }
    
    .option-btn {
        padding: 16px 20px;
    }
    
    .result-card {
        padding: 30px 20px;
        gap: 15px;
    }
    
    .result-icon {
        font-size: 70px;
    }
    
    .result-card h1 {
        font-size: 32px;
    }
    
    .voucher-box {
        padding: 20px;
        margin: 10px 0;
    }
    
    .voucher-qr {
        width: 140px;
        height: 140px;
        margin-bottom: 10px;
    }
    
    .voucher-header h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
}

@media (max-height: 900px) {
    .screen {
        padding: 100px 20px 20px 20px;
    }
    
    #kiosk-header {
        height: 80px;
    }
    
    .welcome-text h1 {
        font-size: 28px;
    }
    
    .dashboard-grid {
        margin: 15px 0;
        gap: 10px;
    }
    
    .nav-card {
        padding: 15px;
        gap: 15px;
        border-radius: 20px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 28px;
        border-radius: 12px;
    }
    
    .product-showcase-container {
        min-height: 180px;
        margin: 5px 0;
    }
    
    .nav-arrow-btn {
        width: 54px;
        height: 54px;
    }
    
    .spec-card {
        padding: 15px;
        margin-bottom: 10px;
        border-radius: 16px;
    }
    
    .spec-tabs {
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    
    .spec-tab-btn {
        font-size: 15px;
    }
    
    .spec-content {
        min-height: 80px;
    }
    
    .spec-item {
        font-size: 16px;
    }
    
    .btn-cta {
        padding: 14px 0;
        font-size: 14px;
    }
    
    .quiz-board {
        margin: 10px 0;
        padding: 15px;
        border-radius: 20px;
    }
    
    .quiz-question-box h2 {
        font-size: 22px;
    }
    
    .option-btn {
        padding: 12px 15px;
        border-radius: 14px;
        gap: 12px;
    }
    
    .option-letter {
        width: 32px;
        height: 32px;
        font-size: 16px;
        border-radius: 8px;
    }
    
    .result-card {
        padding: 20px 15px;
        gap: 10px;
    }
    
    .result-icon {
        font-size: 50px;
    }
    
    .voucher-box {
        padding: 15px;
        margin: 5px 0;
    }
    
    .voucher-qr {
        width: 110px;
        height: 110px;
    }
}

/* ==================== MOBILE RESPONSIVE MEDIA QUERY ==================== */
@media (max-width: 600px) {
    .screen {
        padding: 95px 20px 20px 20px;
    }
    
    #kiosk-header {
        height: 75px;
        padding: 0 20px;
    }
    
    .header-brand-title {
        font-size: 20px;
    }
    
    #kiosk-time {
        font-size: 14px;
    }
    
    #kiosk-header .header-center h2 {
        font-size: 18px;
    }
    
    .header-logo {
        height: 35px;
    }
    
    /* Attractor Screen */
    .attractor-content {
        padding: 40px 15px;
    }
    
    .top-rounded-brand {
        padding: 12px 20px;
        border-radius: 16px;
        width: 90%;
    }
    
    .brand-text-large {
        font-size: 26px;
    }
    
    .brand-text-arabic {
        font-size: 15px;
    }
    
    .attractor-footer h1 {
        font-size: 24px;
        letter-spacing: 1.5px;
    }
    
    .tagline {
        font-size: 14px;
        margin-bottom: 20px;
        letter-spacing: 0.5px;
    }
    
    .touch-prompt {
        padding: 12px 24px;
    }
    
    .touch-prompt span {
        font-size: 15px !important;
    }
    
    .touch-icon {
        font-size: 18px;
    }
    
    /* Dashboard Screen */
    .welcome-text {
        margin-top: 10px;
    }
    
    .welcome-text h1 {
        font-size: 24px;
        margin-bottom: 6px;
    }
    
    .welcome-text p {
        font-size: 14px;
    }
    
    .dashboard-grid {
        margin: 20px 0;
        gap: 12px;
    }
    
    .nav-card {
        padding: 16px;
        gap: 15px;
        border-radius: 16px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        border-radius: 10px;
    }
    
    .card-info h2 {
        font-size: 18px;
        margin-bottom: 4px;
    }
    
    .card-info p {
        font-size: 13px;
        line-height: 1.35;
    }
    
    .card-badge {
        top: 12px;
        right: 12px;
        padding: 4px 8px;
        font-size: 10px;
    }
    
    /* Product Showcase Screen */
    .product-header-block {
        margin-top: 5px;
    }
    
    .product-header-block h3 {
        font-size: 13px;
        letter-spacing: 1px;
    }
    
    .product-header-block h2 {
        font-size: 20px;
    }
    
    .product-showcase-container {
        min-height: 180px;
        margin: 5px 0;
    }
    
    .nav-arrow-btn {
        width: 44px;
        height: 44px;
    }
    
    .nav-arrow-btn.prev {
        left: 5px;
    }
    
    .nav-arrow-btn.next {
        right: 5px;
    }
    
    .rotation-ring-svg {
        width: 140px;
    }
    
    .rotation-text {
        font-size: 12px;
    }
    
    .floating-view-tools {
        right: 10px;
        top: 180px;
        gap: 8px;
    }
    
    .btn-tool {
        width: 38px;
        height: 38px;
        font-size: 16px;
        border-radius: 8px;
    }
    
    .spec-card {
        padding: 15px;
        margin-bottom: 12px;
        border-radius: 16px;
    }
    
    .spec-tabs {
        padding-bottom: 8px;
        margin-bottom: 12px;
    }
    
    .spec-tab-btn {
        font-size: 14px;
        padding: 4px 6px;
    }
    
    .spec-content {
        min-height: 80px;
    }
    
    .spec-item {
        font-size: 14px;
        gap: 6px;
    }
    
    .action-ctas-row {
        gap: 8px;
        margin-bottom: 5px;
    }
    
    .btn-cta {
        font-size: 13px;
        padding: 12px 0;
        border-radius: 20px;
    }
    
    /* Quiz Screen */
    .quiz-status {
        padding: 10px;
        gap: 12px;
        border-radius: 12px;
    }
    
    .quiz-progress-text {
        font-size: 14px;
    }
    
    .quiz-progress-bar {
        height: 8px;
    }
    
    .quiz-score-badge {
        padding: 4px 8px;
        font-size: 12px;
        border-radius: 8px;
    }
    
    .quiz-board {
        margin: 10px 0;
        padding: 15px;
        border-radius: 16px;
    }
    
    .quiz-question-box h2 {
        font-size: 18px;
        line-height: 1.45;
    }
    
    .quiz-options-grid {
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .option-btn {
        padding: 10px 14px;
        border-radius: 12px;
        gap: 10px;
    }
    
    .option-letter {
        width: 28px;
        height: 28px;
        font-size: 14px;
        border-radius: 6px;
    }
    
    .option-content {
        font-size: 14px;
    }
    
    .quiz-footer-hint p {
        font-size: 13px;
    }
    
    /* Quiz Result Screen */
    .result-card {
        padding: 20px 15px;
        gap: 10px;
        border-radius: 20px;
    }
    
    .result-icon {
        font-size: 54px;
    }
    
    .result-card h1 {
        font-size: 24px;
    }
    
    #result-subtitle {
        font-size: 16px;
    }
    
    .voucher-box {
        padding: 15px;
        margin: 5px 0;
        border-radius: 16px;
    }
    
    .voucher-header h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .voucher-qr {
        width: 100px;
        height: 100px;
        margin-bottom: 10px;
        border-radius: 10px;
    }
    
    .voucher-code-box {
        padding: 8px 12px;
        margin-bottom: 10px;
        border-radius: 8px;
    }
    
    #voucher-code-val {
        font-size: 16px;
    }
    
    .code-label {
        font-size: 13px;
    }
    
    .voucher-instruction {
        font-size: 12px;
    }
    
    .loser-box {
        margin: 10px 0;
    }
    
    .loser-box p {
        font-size: 14px;
        line-height: 1.45;
    }
    
    .result-actions {
        gap: 10px;
        margin-top: 10px;
    }
    
    /* About Us Screen */
    .about-scroller {
        padding: 15px;
        border-radius: 16px;
    }
    
    .about-hero {
        margin-bottom: 20px;
    }
    
    .about-hero h1 {
        font-size: 24px;
    }
    
    .about-subtitle {
        font-size: 14px;
        margin-top: 4px;
    }
    
    .stats-grid {
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .stat-box {
        padding: 12px;
        border-radius: 12px;
    }
    
    .stat-num {
        font-size: 22px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .about-section {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .about-section h2 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .about-section p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    
    .about-section li {
        font-size: 13px;
        line-height: 1.45;
        margin-bottom: 8px;
        padding-left: 18px;
    }
    
    .about-section li::before {
        font-size: 16px;
        left: 2px;
        top: -3px;
    }
    
    /* Modals */
    .admin-panel, .confirm-panel, .info-panel {
        width: 90%;
        padding: 20px;
        border-radius: 16px;
    }
    
    .admin-panel h2, .confirm-panel h2, .info-panel h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .admin-panel p, .confirm-panel p, .info-modal-text {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .admin-buttons, .confirm-buttons {
        gap: 10px;
    }
}
