links / styles.css
minispace's picture
Optimize and sanitize public codebase: remove all comments, explanatory notes, backend training data, and verify security isolation
9b14626
Raw History Blame Contribute Delete
21 kB
:root {
--bg-dark: #ffffff;
--bg-card: #151c2e;
--pi-red: #e94c4c;
--text-primary: #ffffff;
--text-secondary: #94a3b8;
--radius-cube: 24px;
--font-heading: 'Outfit', sans-serif;
--font-body: 'Plus Jakarta Sans', sans-serif;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: #ffffff;
background: #ffffff;
color: var(--text-primary);
font-family: var(--font-body);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 20px 16px;
overflow-x: hidden;
position: relative;
}
.bg-radial { display: none !important; }
.bg-radial-1 { display: none !important; }
.bg-radial-2 { display: none !important; }
.bg-grid { display: none !important; }
.container {
width: 100%;
max-width: 720px;
margin: 0 auto;
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
gap: 24px;
}
.cubes-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 18px;
width: 100%;
}
.cube-card {
position: relative;
aspect-ratio: 1 / 1;
border-radius: var(--radius-cube);
overflow: hidden;
text-decoration: none;
color: var(--text-primary);
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 20px;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
will-change: transform;
transform: translateZ(0);
box-shadow: none !important;
}
.cube-card:hover, .cube-card:focus-visible {
transform: translateY(-4px) scale(1.02);
border-color: rgba(255, 255, 255, 0.25);
box-shadow: none !important;
outline: none;
}
.cube-bg {
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
background-size: cover;
background-position: center;
transition: transform 0.4s ease;
z-index: 1;
}
.cube-card:hover .cube-bg {
transform: scale(1.06);
}
.cube-overlay {
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
background: linear-gradient(180deg, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.85) 100%);
z-index: 2;
}
.cube-content {
position: relative;
z-index: 3;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.cube-pi {
background-color: var(--pi-red);
border-color: rgba(255, 255, 255, 0.2);
display: flex;
flex-direction: column;
justify-content: space-between;
}
.cube-pi:hover {
box-shadow: none !important;
}
.cube-stand {
background-color: #009bdd;
border-color: rgba(255, 255, 255, 0.25);
display: flex;
flex-direction: column;
justify-content: space-between;
}
.cube-stand:hover {
box-shadow: none !important;
}
.stand-logo-wrapper {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 82%;
display: flex;
justify-content: center;
align-items: center;
pointer-events: none;
}
.stand-logo-composite {
position: relative;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.stand-vector-logo {
width: 100%;
height: auto;
object-fit: contain;
filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}
.stand-star-rotating {
position: absolute;
top: 10.5%;
right: 3.2%;
width: 13.8%;
height: 13.8%;
animation: rotateStar 6s linear infinite;
}
@keyframes rotateStar {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.cube-interactive {
background-color: #8b5cf6;
border-color: rgba(255, 255, 255, 0.25);
display: flex;
flex-direction: column;
justify-content: space-between;
}
.cube-interactive:hover {
box-shadow: none !important;
}
.interactive-vector-wrapper {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 65%;
aspect-ratio: 1 / 1;
display: flex;
justify-content: center;
align-items: center;
pointer-events: none;
}
.interactive-vector-svg {
width: 82%;
height: 82%;
animation: interactivePulse 3.5s ease-in-out infinite alternate;
}
@keyframes interactivePulse {
0% { transform: scale(0.98); filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.25)); }
100% { transform: scale(1.04); filter: drop-shadow(0 0 22px rgba(255, 255, 255, 0.6)); }
}
.logo-mask-wrapper {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 65%;
aspect-ratio: 1 / 1;
display: flex;
justify-content: center;
align-items: center;
pointer-events: none;
}
.pi-center-logo {
width: 68%;
height: 68%;
object-fit: contain;
border-radius: 50%;
z-index: 2;
}
.circular-mask-text {
position: absolute;
width: 100%;
height: 100%;
animation: rotateText 22s linear infinite;
z-index: 1;
}
@keyframes rotateText {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.cube-header {
position: relative;
z-index: 4;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}
.cube-tag {
font-size: 0.72rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
padding: 5px 10px;
border-radius: 20px;
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(8px);
color: #ffffff;
}
.tag-red {
background: rgba(0, 0, 0, 0.2);
color: #fff;
}
.cube-arrow {
width: 34px;
height: 34px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.18);
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s ease, transform 0.2s ease;
}
.cube-arrow svg {
width: 16px;
height: 16px;
stroke: #ffffff;
}
.cube-card:hover .cube-arrow {
background: rgba(255, 255, 255, 0.35);
transform: translateX(3px);
}
.cube-footer {
position: relative;
z-index: 4;
}
.cube-title {
font-family: var(--font-heading);
font-size: clamp(1.2rem, 3.5vw, 1.5rem);
font-weight: 800;
line-height: 1.1;
color: #ffffff;
text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.site-footer {
margin-top: 10px;
text-align: center;
}
.copyright {
font-size: 0.85rem;
color: var(--text-secondary);
letter-spacing: 0.5px;
font-weight: 500;
}
.toast-notification {
position: fixed;
bottom: 24px;
left: 50%;
transform: translateX(-50%);
background: rgba(15, 23, 42, 0.9);
border: 1px solid rgba(255, 255, 255, 0.15);
color: #ffffff;
padding: 12px 20px;
border-radius: 30px;
display: flex;
align-items: center;
gap: 10px;
font-size: 0.88rem;
font-weight: 600;
box-shadow: none !important;
z-index: 100;
transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast-notification.hidden {
opacity: 0;
transform: translate(-50%, 20px);
pointer-events: none;
}
.toast-icon svg {
width: 18px;
height: 18px;
stroke: #38bdf8;
}
@media (max-width: 480px) {
.cubes-grid {
gap: 12px;
}
.cube-card {
padding: 14px;
border-radius: 18px;
}
.cube-tag {
font-size: 0.62rem;
padding: 4px 8px;
}
.cube-arrow {
width: 28px;
height: 28px;
}
.cube-arrow svg {
width: 14px;
height: 14px;
}
}
.page-container {
align-items: flex-start;
}
.page-header {
width: 100%;
margin-bottom: 12px;
}
.back-button {
display: inline-flex;
align-items: center;
gap: 8px;
color: var(--text-secondary);
text-decoration: none;
font-size: 0.9rem;
font-weight: 600;
padding: 8px 16px;
border-radius: 20px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.2s ease;
}
.back-button:hover {
color: #ffffff;
background: rgba(255, 255, 255, 0.14);
transform: translateX(-3px);
}
.back-button svg {
width: 18px;
height: 18px;
}
.interactive-content {
width: 100%;
display: flex;
flex-direction: column;
gap: 20px;
}
.text-center {
text-align: center;
align-items: center;
}
.margin-auto {
align-self: center !important;
}
.downloadable-caption {
font-size: 0.92rem;
color: var(--text-secondary);
font-weight: 500;
margin-top: 4px;
letter-spacing: 0.3px;
}
.desktop-app-grid {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 22px 14px;
justify-items: center;
align-items: flex-start;
width: 100%;
margin-top: 20px;
}
.app-slot-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
text-decoration: none;
width: 100%;
max-width: 90px;
transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.app-slot-item:hover {
transform: translateY(-4px);
}
.apple-icon-box {
width: 76px;
height: 76px;
border-radius: 18px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: none !important;
border: 1px solid rgba(255, 255, 255, 0.2);
transition: box-shadow 0.25s ease, transform 0.25s ease;
flex-shrink: 0;
}
.app-slot-item:hover .apple-icon-box {
box-shadow: none !important;
}
.apple-icon-box svg {
width: 36px;
height: 36px;
stroke: #ffffff;
filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
.bg-apple-green {
background: linear-gradient(135deg, #34d399 0%, #059669 100%);
}
.bg-apple-cyan {
background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
}
.bg-apple-amber {
background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
}
.apple-icon-label {
font-size: 0.78rem;
font-weight: 700;
color: #ffffff;
text-align: center;
line-height: 1.25;
text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.empty-icon-box {
width: 76px;
height: 76px;
border-radius: 18px;
border: 2px dashed rgba(255, 255, 255, 0.12);
background: rgba(255, 255, 255, 0.02);
display: flex;
align-items: center;
justify-content: center;
transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
flex-shrink: 0;
}
.empty-slot:hover .empty-icon-box {
border-color: rgba(255, 255, 255, 0.25);
background: rgba(255, 255, 255, 0.05);
}
.empty-plus-sign {
font-size: 1.2rem;
font-weight: 600;
color: rgba(255, 255, 255, 0.2);
transition: color 0.2s ease;
}
.empty-slot:hover .empty-plus-sign {
color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 520px) {
.desktop-app-grid {
gap: 16px 10px;
}
.apple-icon-box, .empty-icon-box {
width: 60px;
height: 60px;
border-radius: 14px;
}
.apple-icon-box svg {
width: 28px;
height: 28px;
}
.apple-icon-label {
font-size: 0.7rem;
}
}
img, svg, logo-img, .product-img, .modal-img, .thumb-img {
-webkit-user-drag: none !important;
user-drag: none !important;
-webkit-touch-callout: none !important;
user-select: none !important;
pointer-events: auto !important;
}
:root {
--font-size-h1: clamp(1.3rem, 4.5vw + 0.5rem, 2.4rem);
--font-size-h2: clamp(1.1rem, 3.5vw + 0.4rem, 1.8rem);
--font-size-h3: clamp(0.95rem, 2.5vw + 0.3rem, 1.3rem);
--font-size-hero: clamp(1.4rem, 5vw + 0.4rem, 2.5rem);
--font-size-modal: clamp(1.15rem, 3.5vw + 0.4rem, 1.6rem);
}
h1, .main-title, .hero-text h1 {
font-size: var(--font-size-hero) !important;
line-height: 1.2 !important;
word-break: break-word !important;
overflow-wrap: break-word !important;
}
h2, .section-heading h2, .catalog-title, .dash-title, .form-title {
font-size: var(--font-size-h2) !important;
line-height: 1.25 !important;
word-break: break-word !important;
}
h3, .card-title {
font-size: var(--font-size-h3) !important;
line-height: 1.3 !important;
word-break: break-word !important;
}
.modal-title {
font-size: var(--font-size-modal) !important;
line-height: 1.2 !important;
}
@media (max-width: 768px) {
.top-bar {
font-size: 0.72rem !important;
padding: 6px 10px !important;
}
.store-header, .header-inner, .page-header {
padding: 10px 14px !important;
gap: 10px !important;
}
.header-inner {
display: flex !important;
flex-wrap: wrap !important;
justify-content: space-between !important;
align-items: center !important;
}
.nav-left {
gap: 8px !important;
flex-shrink: 0;
}
.logo-img, .brand-logo-text {
height: 38px !important;
font-size: 1.2rem !important;
}
.search-bar {
order: 3 !important;
width: 100% !important;
max-width: 100% !important;
margin-top: 4px !important;
}
.controls-right {
order: 2 !important;
gap: 6px !important;
}
.back-link, .back-button {
padding: 4px 10px !important;
font-size: 0.78rem !important;
}
.live-rate-badge, .location-badge, .lang-switch-btn {
font-size: 0.7rem !important;
padding: 4px 8px !important;
}
.hero-banner {
padding: 20px 16px !important;
border-radius: 16px !important;
margin-bottom: 20px !important;
}
.modal-content {
max-height: 92vh !important;
overflow-y: auto !important;
border-radius: 18px !important;
}
.modal-details {
padding: 18px !important;
}
.product-card {
border-radius: 14px !important;
}
}
@media (max-width: 480px) {
.hero-text h1, .main-title {
font-size: 1.3rem !important;
}
.card-body {
padding: 12px !important;
}
}
.logo-mask-wrapper,
.stand-logo-wrapper,
.interactive-vector-wrapper {
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%) !important;
}
.cube-beat .cube-bg {
background-position: center center !important;
}
@media (max-width: 768px) {
.cubes-grid {
gap: 18px !important;
}
.cube-card {
aspect-ratio: 1 / 1.30 !important;
padding: 18px 14px 16px 14px !important;
transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
aspect-ratio 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
box-shadow 0.4s ease !important;
display: flex !important;
flex-direction: column !important;
justify-content: space-between !important;
}
.cube-card:hover, .cube-card:active {
aspect-ratio: 1 / 1.35 !important;
transform: translateY(-4px) scale(1.01) !important;
}
.cube-header {
position: relative !important;
z-index: 10 !important;
}
.cube-footer {
position: relative !important;
z-index: 10 !important;
margin-top: auto !important;
}
.cube-title {
font-size: clamp(1.1rem, 4vw, 1.35rem) !important;
line-height: 1.2 !important;
text-shadow: 0 2px 8px rgba(0,0,0,0.85) !important;
}
}
.desktop-app-grid {
display: grid !important;
grid-template-columns: repeat(4, 1fr) !important;
gap: 20px !important;
width: 100% !important;
max-width: 680px !important;
margin: 0 auto !important;
}
@media (max-width: 600px) {
.desktop-app-grid {
grid-template-columns: repeat(4, 1fr) !important;
gap: 12px !important;
}
}
.cube-pi .logo-mask-wrapper {
width: 90% !important;
height: 90% !important;
aspect-ratio: 1 / 1 !important;
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%) !important;
}
.cube-pi .pi-center-logo {
width: 72% !important;
height: 72% !important;
}
.circular-mask-text svg {
width: 100% !important;
height: 100% !important;
}
.cube-pi .logo-mask-wrapper {
width: 82% !important;
height: 82% !important;
aspect-ratio: 1 / 1 !important;
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%) !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
}
.cube-pi .pi-center-logo {
width: 88% !important;
height: 88% !important;
object-fit: contain !important;
border-radius: 0 !important;
filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25)) !important;
}
.cubes-grid {
display: grid !important;
grid-template-columns: repeat(2, 1fr) !important;
gap: 16px !important;
width: 100% !important;
max-width: 480px !important;
margin: 0 auto !important;
}
@media (max-width: 768px) {
.cubes-grid {
max-width: 360px !important;
gap: 14px !important;
}
}
.copyright a {
color: #38bdf8 !important;
text-decoration: none !important;
font-weight: 700 !important;
transition: color 0.2s ease;
}
.copyright a:hover {
color: #8b5cf6 !important;
text-decoration: underline !important;
}
.cube-pi .logo-mask-wrapper {
background: transparent !important;
box-shadow: none !important;
border-radius: 0 !important;
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%) !important;
width: 62% !important;
height: 62% !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
}
.cube-pi .pi-center-logo {
width: 100% !important;
height: 100% !important;
object-fit: contain !important;
border-radius: 0 !important;
box-shadow: none !important;
filter: none !important;
}
.cube-footer {
text-align: center !important;
width: 100% !important;
display: flex !important;
justify-content: center !important;
align-items: center !important;
}
.cube-title {
text-align: center !important;
width: 100% !important;
margin: 0 auto !important;
}
.cube-arrow {
background: transparent !important;
width: 24px !important;
height: 24px !important;
padding: 0 !important;
border-radius: 0 !important;
box-shadow: none !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
color: rgba(255, 255, 255, 0.95) !important;
transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}
.cube-arrow svg {
width: 22px !important;
height: 22px !important;
stroke: rgba(255, 255, 255, 0.95) !important;
}
.cube-card:hover .cube-arrow {
transform: translateX(4px) !important;
}
.cube-card:hover .cube-arrow svg {
stroke: #ffffff !important;
}
.cube-beat .cube-footer,
.beat-footer {
text-align: left !important;
justify-content: flex-start !important;
align-items: flex-start !important;
width: 100% !important;
}
.cube-beat .cube-title,
.beat-title {
text-align: left !important;
margin: 0 !important;
}
@media (max-width: 640px) {
}
.chat-pi-bar {
grid-column: 1 / -1 !important;
width: 100% !important;
max-width: 100% !important;
background: #d6207e !important;
color: #ffffff !important;
text-align: center !important;
text-decoration: none !important;
font-family: 'Outfit', sans-serif !important;
font-size: 1.45rem !important;
font-weight: 800 !important;
letter-spacing: 2px !important;
text-transform: uppercase !important;
padding: 16px 20px !important;
border-radius: 22px !important;
box-shadow: none !important;
transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease, background 0.2s ease !important;
box-sizing: border-box !important;
border: none !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
margin: 0 !important;
cursor: pointer !important;
}
.chat-pi-bar:hover {
background: #be186d !important;
transform: translateY(-2px) !important;
box-shadow: none !important;
}
.chat-pi-bar:active {
transform: translateY(0) !important;
}
@media (max-width: 640px) {
.chat-pi-bar {
font-size: 1.25rem !important;
padding: 14px 18px !important;
border-radius: 18px !important;
}
}
body {
background-color: #ffffff !important;
background: #ffffff !important;
}
.bg-radial, .bg-radial-1, .bg-radial-2, .bg-grid {
display: none !important;
}
.cube-card,
.cube-pi,
.cube-stand,
.cube-beat,
.cube-apps,
.cube-arrow,
.chat-pi-bar,
.logo-mask-wrapper,
.stand-logo-wrapper,
.interactive-vector-wrapper {
box-shadow: none !important;
filter: none !important;
-webkit-filter: none !important;
}
.cube-card:hover,
.cube-pi:hover,
.cube-stand:hover,
.cube-beat:hover,
.cube-apps:hover,
.chat-pi-bar:hover {
box-shadow: none !important;
transform: translateY(-3px) !important;
}