/* style.css */
body {
    -webkit-tap-highlight-color: transparent;
    overflow-y: auto !important; /* Biar bisa scroll */
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* LAYOUT */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* THE STRIP */
.photostrip-container {
    width: 250px;
    padding: 12px 12px 40px 12px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}

.photo-slot {
    width: 100%;
    aspect-ratio: 1/1;
    background: #151515;
    overflow: hidden;
    position: relative;
}

.photo-slot img { width: 100%; height: 100%; object-fit: cover; }

.brand-footer {
    text-align: center;
    margin-top: 15px;
    font-family: 'Unbounded';
    font-size: 10px;
    color: #333;
}
.dark-mode-text { color: #fff !important; }

/* CONTROLS */
.btn-filter {
    flex: 0 0 auto;
    background: #111;
    color: #555;
    font-size: 10px;
    font-weight: 900;
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid #222;
}

.btn-frame {
    flex: 0 0 60px;
    height: 60px;
    border-radius: 14px;
    border: 2px solid transparent;
}
.active-frame { border-color: #fff; transform: scale(0.9); }

/* CAMERA OVERLAY (Fixed) */
#cam-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.cam-frame { width: 300px; height: 300px; border-radius: 20px; overflow: hidden; border: 4px solid #fff; }
video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
#flash { position: fixed; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 10000; }

/* FRAME THEMES */
.f-1 { background: #fff; }
.f-2 { background: #000; }
.f-3 { background: #fdf5e6; background-image: radial-gradient(#d2b48c 1px, transparent 1px); background-size: 10px 10px; }
.f-4 { background: #ffafbd; background-image: linear-gradient(45deg, #ffafbd, #ffc3a0); }
.f-5 { background: #111; border: 1px solid #333; }
.f-6 { background: #fff; background-image: repeating-linear-gradient(45deg, #f0f0f0 0, #f0f0f0 2px, transparent 0, transparent 10px); }
.f-7 { background: #e0f7fa; border-left: 8px solid #4dd0e1; }
.f-8 { background: #fff; border: 10px solid #f8f9fa; }
.f-9 { background: #fff; background-image: radial-gradient(#000 15%, transparent 16%); background-size: 30px 30px; }
.f-10 { background: #1a1a1a; background-image: radial-gradient(circle, #333 1px, transparent 1px); background-size: 15px 15px; }
.f-11 { background: #fff; border-bottom: 30px solid #ffcc00; }
.f-12 { background: #111; border: 4px double #d4af37; }
.f-13 { background: #f3e5f5; border: 5px double #ab47bc; }
.f-14 { background: #000; background-image: repeating-linear-gradient(90deg, #222, #222 1px, transparent 1px, transparent 10px); }
.f-15 { background: #000428; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 20px 20px; }
.f-16 { background: #ffecd2; background-image: linear-gradient(to top, #ffecd2 0%, #fcb69f 100%); }
.f-17 { background: #d4fc79; background-image: linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%); }
.f-18 { background: #fff; border: 1px dashed #ccc; }
.f-19 { background: #84fab0; background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%); }
.f-20 { background: #111; border-top: 20px solid #ff0055; }
.f-21 { background: #fff; background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 18l-1-1C4 12 1 9 1 5a4 4 0 0 1 7-2 4 4 0 0 1 7 2c0 4-3 7-8 12z' fill='%23ff1493' fill-opacity='0.1'/%3E%3C/svg%3E"); }
.f-22 { background: #111; border: 2px solid #00ff00; }
.f-23 { background: #e0e0e0; background-image: conic-gradient(#fff 90deg, #ccc 90deg 180deg, #fff 180deg 270deg, #ccc 270deg); background-size: 20px 20px; }
.f-24 { background: #fff; background-image: repeating-linear-gradient(0deg, #f0f0f0, #f0f0f0 1px, transparent 1px, transparent 20px); }
