New style

This commit is contained in:
2026-01-16 20:59:02 +01:00
parent 911987670e
commit 4b88a3da90
3 changed files with 873 additions and 737 deletions

View File

@@ -97,27 +97,16 @@
</a>
</li>
<li class="slide-up" style="animation-delay: 0.25s">
<a
href="https://kreatyw.krzak.org"
style="
background-color: #000;
border: 2px solid #27272a;
vertical-align: middle;
"
>
<strong
style="color: #fff"
style="vertical-align: middle"
style="font-size: 1.5rem"
>
<a href="https://kreatyw.krzak.org" class="kreatyw-link">
<strong>
<img
src="https://kreatyw.krzak.org/ui/icon.png"
width="32"
height="32"
style="vertical-align: middle"
/>
Kreatyw
</strong>
<span>AI Powered™</span>
</a>
</li>
<li class="slide-up" style="animation-delay: 0.3s">

251
mc.html
View File

@@ -1,7 +1,6 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<head>
<title>Krzak.org - Minecraft</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
@@ -40,7 +39,7 @@
gap: 12px;
font-size: 1.3rem;
font-weight: 600;
color: var(--link-color);
color: var(--accent-color);
}
.status-indicator {
@@ -62,7 +61,6 @@
}
@keyframes pulse {
0%,
100% {
opacity: 1;
@@ -96,18 +94,18 @@
}
.info-card {
background: rgba(42, 26, 94, 0.4);
background: rgba(255, 255, 255, 0.03);
border-radius: 12px;
padding: 16px;
border: 1px solid rgba(244, 162, 97, 0.3);
border: 1px solid var(--container-border);
transition: all 0.2s ease;
}
.info-card:hover {
transform: scale(1.02);
background: rgba(42, 26, 94, 0.6);
border-color: rgba(244, 162, 97, 0.5);
box-shadow: 0 4px 12px rgba(244, 162, 97, 0.2);
background: rgba(255, 255, 255, 0.08);
border-color: var(--accent-color);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.info-card.copyable {
@@ -116,7 +114,7 @@
.info-label {
font-size: 0.85rem;
color: var(--subtitle-color);
color: var(--text-muted);
margin-bottom: 6px;
font-weight: 500;
}
@@ -129,11 +127,11 @@
}
.server-motd {
background: rgba(42, 26, 94, 0.4);
background: rgba(0, 0, 0, 0.2);
border-radius: 12px;
padding: 16px;
border: 1px solid rgba(244, 162, 97, 0.3);
font-family: 'Courier New', monospace;
border: 1px solid var(--container-border);
font-family: "Courier New", monospace;
color: var(--text-color);
font-size: 0.95rem;
line-height: 1.6;
@@ -144,13 +142,12 @@
}
.server-motd:hover {
background: rgba(42, 26, 94, 0.6);
border-color: rgba(244, 162, 97, 0.5);
border-color: var(--accent-color);
}
.last-updated {
font-size: 0.8rem;
color: var(--subtitle-color);
color: var(--text-muted);
text-align: right;
margin-top: 12px;
animation: fadeIn 0.5s ease-out forwards 0.6s;
@@ -171,15 +168,15 @@
align-items: center;
justify-content: center;
gap: 8px;
color: var(--subtitle-color);
color: var(--text-muted);
padding: 20px;
}
.spinner {
width: 20px;
height: 20px;
border: 3px solid rgba(244, 162, 97, 0.3);
border-top-color: var(--link-color);
border: 3px solid rgba(255, 255, 255, 0.1);
border-top-color: var(--accent-color);
border-radius: 50%;
animation: spin 1s linear infinite;
}
@@ -202,7 +199,7 @@
.players-list {
margin-top: 8px;
font-size: 0.9rem;
color: var(--subtitle-color);
color: var(--text-muted);
line-height: 1.5;
}
@@ -233,8 +230,8 @@
}
.copy-button {
background: rgba(244, 162, 97, 0.1);
border: 1px solid rgba(244, 162, 97, 0.3);
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--container-border);
border-radius: 8px;
padding: 8px;
cursor: pointer;
@@ -248,8 +245,8 @@
}
.copy-button:hover {
background: rgba(244, 162, 97, 0.2);
border-color: var(--link-hover-border);
background: rgba(255, 255, 255, 0.1);
border-color: var(--accent-color);
transform: scale(1.05);
}
@@ -261,7 +258,7 @@
.copy-icon {
width: 18px;
height: 18px;
color: var(--link-color);
color: var(--text-color);
flex-shrink: 0;
}
@@ -296,13 +293,13 @@
}
.resourcepack-link:hover {
background: rgba(42, 26, 94, 0.3);
background: rgba(255, 255, 255, 0.05);
}
.resourcepack-icon {
width: 32px;
height: 32px;
color: var(--link-color);
color: var(--accent-color);
flex-shrink: 0;
}
@@ -318,13 +315,13 @@
.resourcepack-desc {
font-size: 0.9rem;
color: var(--subtitle-color);
color: var(--text-muted);
}
.download-icon {
width: 24px;
height: 24px;
color: var(--subtitle-color);
color: var(--text-muted);
flex-shrink: 0;
}
@@ -337,9 +334,9 @@
transform: none !important;
}
</style>
</head>
</head>
<body>
<body>
<div class="container fade-in">
<h1 class="slide-down">
<span class="icon">
@@ -348,7 +345,11 @@
Krzak.org - Minecraft
</h1>
<div class="server-status-widget slide-up" style="animation-delay: 0.1s" id="statusWidget">
<div
class="server-status-widget slide-up"
style="animation-delay: 0.1s"
id="statusWidget"
>
<div class="loading">
<div class="spinner"></div>
<span>Loading server status...</span>
@@ -360,43 +361,93 @@
<ol>
<li>Zainstalujcie fabric 1.21.10</li>
<li>Zainstalujcie moda AutoModpack</li>
<li>Dołączcie na krzak.org i, kiedy o to zapyta, wklejcie tekst z pliku automodpack_fingerprint.txt</li>
<li>
Dołączcie na krzak.org i, kiedy o to zapyta, wklejcie
tekst z pliku automodpack_fingerprint.txt
</li>
</ol>
<h3>Polecam też dodać nasz resourcepack</h3>
<h3>Do skinów polecam ely.by jak ktoś nie ma premium (nie musi)</h3>
<h3>
Do skinów polecam ely.by jak ktoś nie ma premium (nie musi)
</h3>
</div>
<div class="fingerprint-widget slide-up" style="animation-delay: 0.3s" id="fingerprintWidget">
<div
class="fingerprint-widget slide-up"
style="animation-delay: 0.3s"
id="fingerprintWidget"
>
<div class="info-card" id="fingerprintCard">
<div class="info-label">AutoModpack Fingerprint</div>
<div class="info-value-wrapper">
<div class="info-value" id="fingerprintValue">
3b180a41fe913487c1c86ad79c6dc085d01a272ac2da556f4bf7379ee3a535f8</div>
<button class="copy-button" data-copy-target="fingerprintValue" title="Copy to clipboard">
<svg class="copy-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>
<path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>
3b180a41fe913487c1c86ad79c6dc085d01a272ac2da556f4bf7379ee3a535f8
</div>
<button
class="copy-button"
data-copy-target="fingerprintValue"
title="Copy to clipboard"
>
<svg
class="copy-icon"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
>
<rect
x="9"
y="9"
width="13"
height="13"
rx="2"
ry="2"
></rect>
<path
d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"
></path>
</svg>
</button>
</div>
</div>
</div>
<div class="resourcepack-widget slide-up" style="animation-delay: 0.35s">
<div
class="resourcepack-widget slide-up"
style="animation-delay: 0.35s"
>
<a href="/mc/pack.zip" class="resourcepack-link">
<svg class="resourcepack-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<svg
class="resourcepack-icon"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
>
<path
d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z">
</path>
<polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline>
d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"
></path>
<polyline
points="3.27 6.96 12 12.01 20.73 6.96"
></polyline>
<line x1="12" y1="22.08" x2="12" y2="12"></line>
</svg>
<div>
<strong>Download Resource Pack</strong>
<span class="resourcepack-desc">Custom vanillatweaks setup</span>
<span class="resourcepack-desc"
>Custom vanillatweaks setup</span
>
</div>
<svg class="download-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path>
<svg
class="download-icon"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
>
<path
d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"
></path>
<polyline points="7 10 12 15 17 10"></polyline>
<line x1="12" y1="15" x2="12" y2="3"></line>
</svg>
@@ -413,18 +464,40 @@
<div class="librecounter fade-in" style="animation-delay: 0.75s">
<span class="librecounter-text">
Indexed by
<a href="https://librecounter.org/referer/show" target="_blank">LibreCounter</a>
<a
href="https://librecounter.org/referer/show"
target="_blank"
>LibreCounter</a
>
</span>
<a href="https://librecounter.org/referer/show" target="_blank">
<img src="https://librecounter.org/counter.svg" referrerpolicy="unsafe-url" alt="LibreCounter" />
<img
src="https://librecounter.org/counter.svg"
referrerpolicy="unsafe-url"
alt="LibreCounter"
/>
</a>
</div>
</div>
<!-- Back to top button -->
<button id="back-to-top" class="back-to-top" aria-label="Back to top" title="Back to top">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<button
id="back-to-top"
class="back-to-top"
aria-label="Back to top"
title="Back to top"
>
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<polyline points="18 15 12 9 6 15"></polyline>
</svg>
</button>
@@ -433,52 +506,62 @@
<script src="/animations.js"></script>
<script>
// Configuration
const SERVER_ADDRESS = 'krzak.org';
const FINGERPRINT = '3b180a41fe913487c1c86ad79c6dc085d01a272ac2da556f4bf7379ee3a535f8';
const SERVER_ADDRESS = "krzak.org";
const FINGERPRINT =
"3b180a41fe913487c1c86ad79c6dc085d01a272ac2da556f4bf7379ee3a535f8";
const REFRESH_INTERVAL = 30000;
// Single event listener for all copy buttons (event delegation)
document.addEventListener('click', function (e) {
const copyButton = e.target.closest('.copy-button');
document.addEventListener("click", function (e) {
const copyButton = e.target.closest(".copy-button");
if (!copyButton) return;
const target = copyButton.dataset.copyTarget;
const textToCopy = target === 'serverAddress' ? SERVER_ADDRESS : FINGERPRINT;
const textToCopy =
target === "serverAddress" ? SERVER_ADDRESS : FINGERPRINT;
navigator.clipboard.writeText(textToCopy).then(() => {
navigator.clipboard
.writeText(textToCopy)
.then(() => {
// Show success feedback
const originalHTML = copyButton.innerHTML;
copyButton.innerHTML = '<svg class="copy-icon" viewBox="0 0 24 24"><polyline points="20 6 9 17 4 12"></polyline></svg>';
copyButton.classList.add('copied');
copyButton.innerHTML =
'<svg class="copy-icon" viewBox="0 0 24 24"><polyline points="20 6 9 17 4 12"></polyline></svg>';
copyButton.classList.add("copied");
setTimeout(() => {
copyButton.innerHTML = originalHTML;
copyButton.classList.remove('copied');
copyButton.classList.remove("copied");
}, 2000);
}).catch(err => console.error('Failed to copy:', err));
})
.catch((err) => console.error("Failed to copy:", err));
});
// Server status functions
async function fetchServerStatus() {
try {
const response = await fetch(`https://api.mcsrvstat.us/3/${SERVER_ADDRESS}`);
const response = await fetch(
`https://api.mcsrvstat.us/3/${SERVER_ADDRESS}`,
);
return await response.json();
} catch (error) {
console.error('Error fetching server status:', error);
console.error("Error fetching server status:", error);
return null;
}
}
function formatMOTD(motd) {
if (!motd) return 'No MOTD available';
if (typeof motd === 'object' && motd.clean) {
return Array.isArray(motd.clean) ? motd.clean.join('\n') : motd.clean;
if (!motd) return "No MOTD available";
if (typeof motd === "object" && motd.clean) {
return Array.isArray(motd.clean)
? motd.clean.join("\n")
: motd.clean;
}
return Array.isArray(motd) ? motd.join('\n') : motd;
return Array.isArray(motd) ? motd.join("\n") : motd;
}
function renderStatus(data) {
const widget = document.getElementById('statusWidget');
const widget = document.getElementById("statusWidget");
if (!data || !data.online) {
widget.innerHTML = `
@@ -500,7 +583,7 @@
const playersOnline = data.players?.online || 0;
const playersMax = data.players?.max || 0;
const version = data.version || 'Unknown';
const version = data.version || "Unknown";
const motd = formatMOTD(data.motd);
const playersList = data.players?.list || [];
@@ -515,11 +598,15 @@
<div class="info-card">
<div class="info-label">Players Online</div>
<div class="info-value">${playersOnline} / ${playersMax}</div>
${playersList.length > 0 ? `
${
playersList.length > 0
? `
<div class="players-list">
${playersList.slice(0, 10).join(', ')}${playersList.length > 10 ? '...' : ''}
${playersList.slice(0, 10).join(", ")}${playersList.length > 10 ? "..." : ""}
</div>
` : ''}
`
: ""
}
</div>
<div class="info-card">
<div class="info-label">Version</div>
@@ -537,8 +624,17 @@
</button>
</div>
</div>
${
motd
? `
<div class="info-card">
<div class="info-label">MOTD</div>
<div style="font-family: 'Courier New', monospace; font-size: 0.9rem; line-height: 1.4; color: var(--text-color); white-space: pre-wrap;">${motd}</div>
</div>
`
: ""
}
</div>
${motd ? `<div class="server-motd">${motd}</div>` : ''}
<div class="last-updated">
Last updated: ${new Date().toLocaleTimeString()}
</div>
@@ -553,6 +649,5 @@
updateStatus();
setInterval(updateStatus, REFRESH_INTERVAL);
</script>
</body>
</body>
</html>

View File

@@ -1,16 +1,26 @@
:root {
--bg-gradient-1: #2a1a5e;
--bg-gradient-2: #8b4789;
--bg-gradient-3: #f4a261;
--container-bg: rgba(42, 26, 94, 0.7);
--container-border: rgba(244, 162, 97, 0.8);
--text-color: #ffe8d6;
--link-color: #f4a261;
--link-bg: rgba(139, 71, 137, 0.3);
--link-hover-bg: rgba(244, 162, 97, 0.3);
--link-hover-border: rgba(244, 162, 97, 0.8);
--subtitle-color: #dda15e;
--glow-color: rgba(244, 162, 97, 0.7);
/* 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);
}
* {
@@ -23,26 +33,35 @@ html {
body {
background: linear-gradient(
-45deg,
var(--bg-gradient-1),
var(--bg-gradient-2),
var(--bg-gradient-3)
)
no-repeat fixed;
var(--bg-gradient-3),
var(--bg-gradient-4)
);
background-size: 400% 400%;
animation: gradientBG 20s ease infinite;
color: var(--text-color);
font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
Arial, sans-serif;
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Roboto,
"Helvetica Neue",
Arial,
sans-serif;
margin: 0;
padding: 16px;
padding: 20px;
min-height: 100vh;
transition: all 0.5s ease;
position: relative;
display: flex;
align-items: center;
justify-content: center;
overflow-x: hidden; /* Prevent horizontal scroll from effects */
}
body::before {
/* Subtle grain texture overlay */
body::after {
content: "";
position: fixed;
top: 0;
@@ -51,58 +70,63 @@ body::before {
height: 100%;
pointer-events: none;
z-index: 0;
transition: 0.5s ease;
background: radial-gradient(
circle at 20% 50%,
rgba(255, 255, 255, 0.08) 0%,
transparent 50%
);
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: 20px;
padding: 24px;
border-radius: 24px;
padding: 32px;
border: 1px solid var(--container-border);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-top: 1px solid var(--container-highlight); /* Highlight for 3D feel */
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
width: 100%;
max-width: 800px;
max-width: 700px; /* Slightly narrower for a more focused look */
margin: auto;
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
transition: all 0.3s ease;
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 16px 0;
font-size: clamp(1.5rem, 5vw, 2rem);
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
margin: 0 0 24px 0;
font-size: clamp(2rem, 5vw, 2.5rem);
font-weight: 800;
letter-spacing: -0.02em;
color: var(--text-color);
transition: color 0.3s ease;
text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
display: flex;
align-items: center;
gap: 12px;
justify-content: center; /* Center the title */
gap: 16px;
}
h2 {
margin-top: 32px;
margin-bottom: 16px;
font-size: clamp(1.2rem, 4vw, 1.5rem);
color: var(--subtitle-color);
border-bottom: 1px solid rgba(244, 162, 97, 0.3);
padding-bottom: 8px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
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: 32px;
height: 32px;
flex-shrink: 0;
display: inline-flex;
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 {
@@ -112,184 +136,177 @@ h2 {
}
p {
color: var(--text-color);
transition: color 0.3s ease;
margin: 16px 0;
font-size: 1rem;
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: 20px 0 0 0;
}
li {
margin-bottom: 12px;
}
li:last-child {
margin-bottom: 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: 18px 20px;
border-radius: 12px;
padding: 16px 24px;
border-radius: 16px;
color: var(--text-color);
text-decoration: none;
transition: all 0.2s ease;
background-color: var(--link-bg);
border: 1px solid transparent;
min-height: 56px;
gap: 12px;
-webkit-tap-highlight-color: transparent;
touch-action: manipulation;
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 */
}
li a::before {
/* Shine effect on hover */
li a::after {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
width: 50%;
height: 100%;
background: linear-gradient(
90deg,
transparent,
rgba(244, 162, 97, 0.1),
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);
background-color: var(--link-hover-bg);
}
li a strong {
font-weight: 600;
color: var(--link-color);
transition: color 0.3s ease;
font-size: 1.05rem;
font-size: 1.1rem;
letter-spacing: 0.01em;
}
li a span {
font-weight: 300;
color: var(--subtitle-color);
transition: color 0.3s ease;
font-weight: 400;
color: var(--text-muted);
font-size: 0.9rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
br {
display: block;
margin: 16px 0;
content: "";
opacity: 0.8;
}
/* LibreCounter */
.librecounter {
margin-top: 24px;
padding-top: 16px;
border-top: 1px solid rgba(244, 162, 97, 0.3);
margin-top: 48px;
padding-top: 24px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
display: flex;
justify-content: space-between;
flex-direction: column; /* Stack on mobile, row on desktop if needed */
align-items: center;
gap: 16px;
min-height: 73px;
gap: 12px;
}
.librecounter-text {
color: var(--text-color);
font-size: 0.9rem;
opacity: 0.9;
color: var(--text-muted);
font-size: 0.85rem;
}
.librecounter-text a {
color: var(--link-color);
color: var(--accent-color);
text-decoration: none;
transition: color 0.2s ease;
font-weight: 500;
}
.librecounter-text a:hover {
color: var(--subtitle-color);
text-decoration: underline;
}
.librecounter a {
display: inline-block;
transition:
transform 0.2s ease,
opacity 0.2s ease;
flex-shrink: 0;
line-height: 0;
}
.librecounter a:hover {
transform: scale(1.05);
opacity: 0.9;
text-shadow: 0 0 8px var(--accent-glow);
}
.librecounter img {
display: block;
height: 64px;
width: auto;
max-width: 100%;
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: 24px;
right: 24px;
width: 48px;
height: 48px;
bottom: 32px;
right: 32px;
width: 56px; /* Slightly larger */
height: 56px;
border-radius: 50%;
background: var(--link-bg);
border: 1px solid var(--container-border);
color: var(--link-color);
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;
transition: all 0.3s ease;
transform: translateY(20px);
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
z-index: 1000;
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.3);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.back-to-top.visible {
opacity: 1;
visibility: visible;
}
.back-to-top:hover {
background: var(--link-hover-bg);
border-color: var(--link-hover-border);
transform: translateY(-2px);
}
.back-to-top:active {
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;
}
@@ -298,9 +315,8 @@ br {
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-20px);
transform: translateY(-30px);
}
to {
opacity: 1;
transform: translateY(0);
@@ -310,9 +326,8 @@ br {
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(20px);
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
@@ -320,190 +335,227 @@ br {
}
.fade-in {
animation: fadeIn 0.6s ease-out forwards;
animation: fadeIn 0.8s ease-out forwards;
}
.slide-down {
animation: slideDown 0.6s ease-out forwards;
animation: slideDown 0.8s ease-out forwards;
}
.slide-up {
animation: slideUp 0.6s ease-out forwards;
animation: slideUp 0.8s ease-out forwards;
opacity: 0;
}
@media (hover: hover) {
li a:hover {
background-color: var(--link-hover-bg);
border-color: var(--link-hover-border);
transform: scale(1.02);
}
li a:hover::before {
left: 100%;
}
}
@media (min-width: 768px) {
body {
padding: 24px;
}
/* Responsive adjustments */
@media (max-width: 600px) {
.container {
padding: 32px;
border-radius: 20px;
padding: 24px 20px;
}
h1 {
margin-bottom: 24px;
}
li {
margin-bottom: 14px;
}
}
@media (max-width: 400px) {
.container {
padding: 20px;
border-radius: 16px;
font-size: 1.75rem;
}
li a {
padding: 16px 18px;
flex-direction: column;
align-items: flex-start;
gap: 4px;
}
li a span {
font-size: 0.85rem;
}
.back-to-top {
bottom: 16px;
right: 16px;
width: 44px;
height: 44px;
padding: 14px 18px;
}
}
@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
* {
animation: none !important;
transition: none !important;
}
.fade-in,
.slide-down,
.slide-up {
opacity: 1 !important;
transform: none !important;
}
}
/* App Gallery Styles */
/* App Gallery Styles (preserved & enhanced) */
.app-gallery {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-top: 20px;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 16px;
margin-top: 24px;
}
.app-card {
background: var(--link-bg);
border-radius: 16px;
padding: 20px;
background: rgba(255, 255, 255, 0.03);
border-radius: 20px;
padding: 24px;
text-align: center;
position: relative;
border: 1px solid transparent;
transition: all 0.2s ease-out;
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;
justify-content: space-between;
}
@media (hover: hover) {
.app-card:hover {
transform: translateY(-4px) scale(1.03);
background-color: var(--link-hover-bg);
border-color: var(--link-hover-border);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
}
.app-card:active {
transform: scale(0.98);
background-color: var(--link-hover-bg);
.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: 80px;
height: 80px;
border-radius: 20px;
width: 72px;
height: 72px;
border-radius: 18px;
margin-bottom: 16px;
object-fit: cover;
background-color: rgba(255, 255, 255, 0.1);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.app-card h4 {
margin: 0 0 8px 0;
font-size: 1.1rem;
font-weight: 600;
color: var(--link-color);
color: var(--accent-color);
margin-bottom: 8px;
}
.app-card p {
font-size: 0.85rem;
margin: 0;
line-height: 1.4;
font-size: 0.9rem;
color: var(--text-muted);
margin-bottom: 16px;
flex-grow: 1;
color: var(--text-color);
opacity: 0.9;
line-height: 1.4;
}
.app-platforms {
margin-top: 16px;
display: flex;
flex-wrap: wrap;
gap: 8px;
justify-content: center;
align-items: center;
}
.app-platforms a {
background: rgba(244, 162, 97, 0.25);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(244, 162, 97, 0.4);
background: rgba(255, 255, 255, 0.1);
border: 1px solid var(--container-border);
color: var(--text-color);
text-decoration: none;
font-size: 0.9rem;
font-weight: 500;
font-size: 0.8rem;
padding: 6px 12px;
border-radius: 12px;
transition:
transform 0.2s ease,
background-color 0.2s ease;
display: inline-block;
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);
background: rgba(244, 162, 97, 0.4);
box-shadow: 0 0 10px var(--accent-glow);
}
.app-card.highlighted {
border-color: var(--glow-color);
border-color: var(--accent-color);
box-shadow:
0 0 12px 2px var(--glow-color),
inset 0 0 15px -5px var(--glow-color);
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;
}