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

243
mc.html
View File

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

View File

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