Files
Krzak.org/styles.css
2026-01-16 20:59:02 +01:00

562 lines
11 KiB
CSS

:root {
/* Deep Twilight Palette */
--bg-gradient-1: #1a103c;
--bg-gradient-2: #4a2c4e;
--bg-gradient-3: #8b4789;
--bg-gradient-4: #f4a261;
/* Glass Effect Variables */
--container-bg: rgba(30, 20, 60, 0.65);
--container-border: rgba(255, 255, 255, 0.1);
--container-highlight: rgba(255, 255, 255, 0.05);
/* Text & Accents */
--text-color: #fff0e0;
--text-muted: #d0c0e0;
--accent-color: #f4a261;
--accent-glow: rgba(244, 162, 97, 0.5);
/* Link Styles */
--link-bg: rgba(255, 255, 255, 0.05);
--link-hover-bg: rgba(255, 255, 255, 0.1);
--link-border: rgba(255, 255, 255, 0.08);
--link-hover-border: rgba(244, 162, 97, 0.5);
}
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
background: linear-gradient(
-45deg,
var(--bg-gradient-1),
var(--bg-gradient-2),
var(--bg-gradient-3),
var(--bg-gradient-4)
);
background-size: 400% 400%;
animation: gradientBG 20s ease infinite;
color: var(--text-color);
font-family:
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Roboto,
"Helvetica Neue",
Arial,
sans-serif;
margin: 0;
padding: 20px;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
overflow-x: hidden; /* Prevent horizontal scroll from effects */
}
/* Subtle grain texture overlay */
body::after {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 0;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
opacity: 0.5;
}
.container {
background: var(--container-bg);
border-radius: 24px;
padding: 32px;
border: 1px solid var(--container-border);
border-top: 1px solid var(--container-highlight); /* Highlight for 3D feel */
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
width: 100%;
max-width: 700px; /* Slightly narrower for a more focused look */
margin: auto;
box-shadow:
0 8px 32px 0 rgba(0, 0, 0, 0.4),
inset 0 0 0 1px rgba(255, 255, 255, 0.05);
position: relative;
z-index: 1;
}
h1 {
margin: 0 0 24px 0;
font-size: clamp(2rem, 5vw, 2.5rem);
font-weight: 800;
letter-spacing: -0.02em;
color: var(--text-color);
text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
display: flex;
align-items: center;
justify-content: center; /* Center the title */
gap: 16px;
}
h2 {
margin-top: 40px;
margin-bottom: 20px;
font-size: 1.5rem;
color: var(--accent-color);
border-bottom: 2px solid rgba(244, 162, 97, 0.2);
padding-bottom: 10px;
}
.icon {
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
filter: drop-shadow(0 0 8px var(--accent-glow));
transition: transform 0.5s ease;
}
/* Rotate icon on hover */
h1:hover .icon {
transform: rotate(15deg) scale(1.1);
}
.icon img {
width: 100%;
height: 100%;
object-fit: contain;
}
p {
color: var(--text-muted);
margin: 0 0 24px 0;
font-size: 1.05rem;
line-height: 1.6;
text-align: center;
}
ul {
list-style: none;
padding: 0;
margin: 32px 0 0 0;
display: flex;
flex-direction: column;
gap: 16px;
}
li a {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 24px;
border-radius: 16px;
color: var(--text-color);
text-decoration: none;
background-color: var(--link-bg);
border: 1px solid var(--link-border);
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
position: relative;
overflow: hidden;
backdrop-filter: blur(4px); /* Extra glass layer */
}
/* Shine effect on hover */
li a::after {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 50%;
height: 100%;
background: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.1),
transparent
);
transform: skewX(-20deg);
transition: left 0.5s ease;
}
li a:hover {
transform: translateY(-2px) scale(1.01);
background-color: var(--link-hover-bg);
border-color: var(--link-hover-border);
box-shadow:
0 8px 20px rgba(0, 0, 0, 0.2),
0 0 15px var(--accent-glow);
}
li a:hover::after {
left: 150%;
transition: left 0.7s ease;
}
li a:active {
transform: scale(0.98);
}
li a strong {
font-weight: 600;
font-size: 1.1rem;
letter-spacing: 0.01em;
}
li a span {
font-weight: 400;
color: var(--text-muted);
font-size: 0.9rem;
opacity: 0.8;
}
/* LibreCounter */
.librecounter {
margin-top: 48px;
padding-top: 24px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
display: flex;
flex-direction: column; /* Stack on mobile, row on desktop if needed */
align-items: center;
gap: 12px;
}
.librecounter-text {
color: var(--text-muted);
font-size: 0.85rem;
}
.librecounter-text a {
color: var(--accent-color);
text-decoration: none;
font-weight: 500;
}
.librecounter-text a:hover {
text-decoration: underline;
text-shadow: 0 0 8px var(--accent-glow);
}
.librecounter img {
height: 48px;
opacity: 0.8;
transition: opacity 0.3s ease;
}
.librecounter:hover img {
opacity: 1;
}
/* Back to top button */
.back-to-top {
position: fixed;
bottom: 32px;
right: 32px;
width: 56px; /* Slightly larger */
height: 56px;
border-radius: 50%;
background: rgba(42, 26, 94, 0.8);
border: 1px solid var(--accent-color);
color: var(--accent-color);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
visibility: hidden;
transform: translateY(20px);
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
z-index: 1000;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.back-to-top.visible {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.back-to-top:hover {
background: var(--bg-gradient-3);
color: #fff;
box-shadow: 0 0 20px var(--accent-glow);
transform: translateY(-4px);
}
/* Animations */
@keyframes gradientBG {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.fade-in {
animation: fadeIn 0.8s ease-out forwards;
}
.slide-down {
animation: slideDown 0.8s ease-out forwards;
}
.slide-up {
animation: slideUp 0.8s ease-out forwards;
opacity: 0;
}
/* Responsive adjustments */
@media (max-width: 600px) {
.container {
padding: 24px 20px;
}
h1 {
font-size: 1.75rem;
}
li a {
padding: 14px 18px;
}
}
/* App Gallery Styles (preserved & enhanced) */
.app-gallery {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 16px;
margin-top: 24px;
}
.app-card {
background: rgba(255, 255, 255, 0.03);
border-radius: 20px;
padding: 24px;
text-align: center;
border: 1px solid var(--link-border);
transition: all 0.3s ease;
text-decoration: none;
color: var(--text-color);
display: flex;
flex-direction: column;
align-items: center;
}
.app-card:hover {
transform: translateY(-5px);
background: rgba(255, 255, 255, 0.08);
border-color: var(--accent-color);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.app-icon {
width: 72px;
height: 72px;
border-radius: 18px;
margin-bottom: 16px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.app-card h4 {
color: var(--accent-color);
margin-bottom: 8px;
}
.app-card p {
font-size: 0.9rem;
color: var(--text-muted);
margin-bottom: 16px;
flex-grow: 1;
line-height: 1.4;
}
.app-platforms {
display: flex;
flex-wrap: wrap;
gap: 8px;
justify-content: center;
}
.app-platforms a {
background: rgba(255, 255, 255, 0.1);
border: 1px solid var(--container-border);
color: var(--text-color);
text-decoration: none;
font-size: 0.8rem;
padding: 6px 12px;
border-radius: 12px;
transition: all 0.2s ease;
}
.app-platforms a:hover {
background: var(--accent-color);
color: #1a103c; /* Dark text for contrast on accent bg */
transform: scale(1.05);
box-shadow: 0 0 10px var(--accent-glow);
}
.app-card.highlighted {
border-color: var(--accent-color);
box-shadow:
0 0 20px var(--accent-glow),
inset 0 0 20px rgba(244, 162, 97, 0.1);
}
/* --- Parody Section: Kreatyw --- */
.kreatyw-link {
background:
radial-gradient(
circle at 60px 50%,
#000 0%,
#000 120px,
transparent 250px
)
padding-box,
linear-gradient(var(--link-bg), var(--link-bg)) padding-box,
linear-gradient(45deg, #ff00ff, #00ffff, #ff00ff) border-box !important;
border: 2px solid transparent !important;
animation: borderRotate 4s linear infinite;
background-size:
100% 100%,
100% 100%,
400% 400% !important;
}
.kreatyw-link::after {
display: none !important; /* Remove sideways flash */
}
@keyframes borderRotate {
0% {
background-position:
0 0,
0 0,
0% 50%;
}
50% {
background-position:
0 0,
0 0,
100% 50%;
}
100% {
background-position:
0 0,
0 0,
0% 50%;
}
}
.kreatyw-link strong {
color: #fff !important;
display: flex;
align-items: center;
gap: 12px;
}
.kreatyw-link img {
display: block;
flex-shrink: 0;
}
.kreatyw-link span {
color: #00ffff !important;
font-weight: 600 !important;
text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
animation: aiGlow 2s ease-in-out infinite alternate;
}
@keyframes aiGlow {
from {
opacity: 0.7;
filter: drop-shadow(0 0 2px #00ffff);
}
to {
opacity: 1;
filter: drop-shadow(0 0 8px #00ffff);
}
}
.kreatyw-link:hover {
animation: borderRotate 1s linear infinite !important;
box-shadow:
0 0 25px rgba(255, 0, 255, 0.4),
0 0 50px rgba(0, 255, 255, 0.2) !important;
border-color: transparent !important;
}