
/* styles.css */
/* Master Stylesheet - iOS Architecture Edition */
/* STRICTLY ZERO SQUARE BRACKETS AND ZERO BACKTICKS */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");
:root {
/* Apple iOS 17 Color Palette */
--ios-bg: #000000;
--ios-card: #1c1c1e;
--ios-elev: #2c2c2e;
/* Dynamic Brand Colors (Role Based) */
--ios-brand: #0a84ff;
--ios-brand-alpha: rgba(10, 132, 255, 0.15);
/* Semantic Colors */
--ios-red: #ff453a;
--ios-green: #32d74b;
--ios-orange: #ff9f0a;
--ios-yellow: #ffd60a;
--ios-purple: #bf5af2;
/* Typography & Lines */
--ios-text: #ffffff;
--ios-mut: #8e8e93;
--ios-line: rgba(255, 255, 255, 0.12);
/* Layout */
--nav-h: 85px;
}
/* Core Reset */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
user-select: none;
-webkit-tap-highlight-color: transparent;
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}
body, html {
width: 100%;
height: 100%;
background: var(--ios-bg);
color: var(--ios-text);
overflow: hidden;
position: fixed;
overscroll-behavior: none;
}
/* Hardware Accelerated App Shell */
.app-core {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: var(--ios-bg);
display: flex;
flex-direction: column;
overflow: hidden;
}
/* View Routing Framework */
.v-node {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: var(--ios-bg);
display: none;
flex-direction: column;
z-index: 10;
opacity: 0;
transition: opacity 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
will-change: opacity, transform;
}
.v-node.is-active {
display: flex;
z-index: 20;
opacity: 1;
}
/* Flawless Momentum Scrolling */
.scroll-y {
flex: 1;
min-height: 0;
overflow-y: auto;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
padding-bottom: 140px;
scrollbar-width: none;
}
.scroll-y::-webkit-scrollbar {
display: none;
}
/* Fixed Headers */
.v-head {
flex-shrink: 0;
padding: 40px 20px 10px;
background: var(--ios-bg);
position: relative;
z-index: 30;
}
/* Apple Typography */
.ios-h1 {
font-size: 34px;
font-weight: 800;
letter-spacing: -0.8px;
line-height: 1.1;
}
.ios-h2 {
font-size: 20px;
font-weight: 700;
letter-spacing: -0.4px;
}
.ios-h3 {
font-size: 13px;
font-weight: 600;
color: var(--ios-mut);
text-transform: uppercase;
letter-spacing: 0.5px;
}
/* Native Feeling Lists & Cards */
.ios-list {
background: var(--ios-card);
border-radius: 12px;
margin: 0 16px 20px;
overflow: hidden;
}
.ios-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px;
border-bottom: 0.5px solid var(--ios-line);
position: relative;
}
.ios-item:last-child {
border-bottom: none;
}
/* Buttons */
.ios-btn {
background: var(--ios-card);
color: var(--ios-brand);
font-size: 17px;
font-weight: 600;
padding: 16px;
border-radius: 14px;
text-align: center;
cursor: pointer;
border: none;
width: 100%;
transition: transform 0.1s, opacity 0.1s;
}
.ios-btn.is-fill {
background: var(--ios-brand);
color: #fff;
}
.ios-btn.is-dng {
background: var(--ios-card);
color: var(--ios-red);
}
/* Forms & Inputs */
.ios-search-bar {
background: var(--ios-elev);
border-radius: 10px;
display: flex;
align-items: center;
padding: 0 12px;
height: 40px;
margin: 10px 16px 16px;
transition: border 0.2s;
border: 1px solid transparent;
}
.ios-search-bar.is-focus {
border-color: var(--ios-brand);
}
.ios-inp {
flex: 1;
background: transparent;
border: none;
color: var(--ios-text);
font-size: 17px;
outline: none;
padding: 0 8px;
width: 100%;
user-select: text;
-webkit-user-select: text;
}
.ios-inp::placeholder {
color: var(--ios-mut);
}
/* Aggressive Highlights */
.hl-1 {
background: rgba(255, 214, 10, 0.3);
color: var(--ios-yellow);
border-radius: 4px;
padding: 0 2px;
font-weight: 800;
}
.hl-2 {
background: rgba(255, 159, 10, 0.3);
color: var(--ios-orange);
border-radius: 4px;
padding: 0 2px;
font-weight: 800;
}
/* Apple Segmented Controls */
.seg-ctrl {
display: flex;
background: var(--ios-elev);
border-radius: 8px;
padding: 2px;
margin: 0 16px 16px;
}
.seg-btn {
flex: 1;
text-align: center;
padding: 6px 0;
font-size: 13px;
font-weight: 600;
color: var(--ios-text);
border-radius: 6px;
cursor: pointer;
transition: background 0.2s, box-shadow 0.2s;
}
.seg-btn.is-act {
background: var(--ios-card);
box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.seg-view {
display: none;
flex-direction: column;
animation: fadeUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1);
}
.seg-view.is-act {
display: flex;
}
@keyframes fadeUp {
from { opacity: 0; transform: translateY(15px); }
to { opacity: 1; transform: translateY(0); }
}
/* Bulletproof Overlays & Drawers */
.o-glass {
position: absolute;
inset: 0;
background: rgba(0,0,0,0.6);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
visibility: hidden;
opacity: 0;
z-index: 100;
cursor: pointer;
transition: opacity 0.3s;
}
.o-sheet {
position: absolute;
left: 10px;
right: 10px;
bottom: 30px;
background: var(--ios-card);
border-radius: 20px;
display: flex;
flex-direction: column;
transform: translateY(200%);
z-index: 110;
padding-bottom: 20px;
transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
max-height: 80%;
}
.o-sheet.is-open {
transform: translateY(0);
}
.o-drawer {
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: 80%;
max-width: 320px;
background: var(--ios-card);
border-right: 0.5px solid var(--ios-line);
transform: translateX(-100%);
z-index: 115;
transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
display: flex;
flex-direction: column;
}
.o-drawer.is-open {
transform: translateX(0);
}
.o-toast {
position: absolute;
top: 50px;
left: 50%;
transform: translate(-50%, -150%);
background: var(--ios-elev);
color: var(--ios-text);
padding: 14px 24px;
border-radius: 30px;
font-weight: 600;
font-size: 15px;
opacity: 0;
z-index: 200;
box-shadow: 0 10px 40px rgba(0,0,0,0.8);
display: flex;
align-items: center;
gap: 12px;
transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1), opacity 0.3s;
}
.o-toast.is-open {
transform: translate(-50%, 0);
opacity: 1;
}
/* Fixed Bottom Navigation */
.b-nav {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: var(--nav-h);
background: rgba(28, 28, 30, 0.85);
backdrop-filter: blur(25px);
-webkit-backdrop-filter: blur(25px);
border-top: 0.5px solid var(--ios-line);
display: flex;
justify-content: space-around;
align-items: flex-start;
padding-top: 10px;
z-index: 50;
}
.n-tab {
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
color: var(--ios-mut);
cursor: pointer;
width: 64px;
transition: color 0.2s;
}
.n-tab.is-act {
color: var(--ios-brand);
}
.n-tab svg {
width: 28px;
height: 28px;
fill: currentColor;
}
.n-tab-txt {
font-size: 10px;
font-weight: 600;
}
/* Utility Classes & Badges */
.tap-anim {
transition: opacity 0.1s, transform 0.1s;
cursor: pointer;
}
.tap-anim:active {
opacity: 0.5;
transform: scale(0.95);
}
.icn-stroke {
stroke: currentColor;
stroke-width: 2.2;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
}
.bdg {
padding: 4px 8px;
border-radius: 6px;
font-size: 11px;
font-weight: 700;
background: var(--ios-elev);
color: var(--ios-mut);
text-transform: uppercase;
}
.bdg-brand {
background: var(--ios-brand-alpha);
color: var(--ios-brand);
}
