diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..b49f779 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +calamitymod.com \ No newline at end of file diff --git a/css/style.css b/css/style.css index b6f561d..093c730 100644 --- a/css/style.css +++ b/css/style.css @@ -172,6 +172,7 @@ html { scroll-behavior: smooth; + overflow-x: hidden; } body { @@ -180,6 +181,7 @@ body { color: var(--text-primary); line-height: 1.6; min-height: 100vh; + overflow-x: hidden; } a { @@ -682,7 +684,11 @@ lite-youtube::before { display: block; position: absolute; top: 0; - background-image: linear-gradient(180deg, rgba(0,0,0,.67) 0%, transparent 60%); + background-image: linear-gradient( + 180deg, + rgba(0, 0, 0, 0.67) 0%, + transparent 60% + ); height: 100%; width: 100%; font-family: var(--font-main); @@ -711,7 +717,7 @@ lite-youtube .lty-playbtn { background-color: transparent; background-image: url('data:image/svg+xml;utf8,'); filter: grayscale(100%); - transition: filter .1s cubic-bezier(0, 0, 0.2, 1); + transition: filter 0.1s cubic-bezier(0, 0, 0.2, 1); border: none; } @@ -983,10 +989,10 @@ lite-youtube.lyt-activated .lty-playbtn { } .flame-text { - font-size: 4rem; + font-size: clamp(1.8rem, 8vw, 4rem); font-weight: 900; text-transform: uppercase; - letter-spacing: 8px; + letter-spacing: clamp(2px, 1vw, 8px); margin-bottom: 25px; position: relative; display: inline-block; @@ -995,6 +1001,8 @@ lite-youtube.lyt-activated .lty-playbtn { 0 0 40px rgba(60, 10, 10, 0.5), 0 0 60px rgba(40, 5, 5, 0.4); animation: redGlow 2s ease-in-out infinite alternate; will-change: text-shadow; + max-width: 100%; + word-wrap: break-word; } [data-theme="devouring"] .flame-text { @@ -1709,7 +1717,8 @@ lite-youtube.lyt-activated .lty-playbtn { .post-body a:not([href]) { color: var(--accent-primary); font-weight: 600; - text-shadow: 0 0 10px rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.3); + text-shadow: 0 0 10px + rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.3); } .post-body a:not([href])::after { @@ -2387,7 +2396,6 @@ footer::after { box-shadow: 0 0 10px var(--led-glow), 0 0 20px var(--led-glow-soft), inset 0 0 2px rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.4); z-index: 10; - } @keyframes ledPulse { @@ -2612,10 +2620,11 @@ footer p a:hover { display: flex; align-items: center; justify-content: center; - gap: 20px; + gap: 15px; margin-top: 30px; padding-top: 25px; border-top: 1px solid rgba(100, 95, 90, 0.3); + flex-wrap: wrap; } .theme-selector-label { @@ -2627,21 +2636,24 @@ footer p a:hover { .theme-options { display: flex; - gap: 15px; + gap: 10px; + flex-wrap: wrap; + justify-content: center; } .theme-option { display: flex; align-items: center; - gap: 8px; + gap: 6px; cursor: pointer; color: rgba(180, 170, 160, 0.6); - font-size: 0.85rem; + font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); - padding: 6px 12px; + padding: 6px 10px; border: 1px solid transparent; + white-space: nowrap; } .theme-option:hover { @@ -2694,15 +2706,18 @@ footer p a:hover { min-height: 100%; width: auto; height: auto; - transform: translate(-50%, -50%) scale(1.2); - filter: blur(5px) brightness(0.4); + transform: translate(-50%, -50%) scale(1.1); + filter: blur(2px) brightness(0.4); z-index: 0; object-fit: cover; + will-change: transform; + -webkit-transform: translate(-50%, -50%) scale(1.1); } .download-hero.hero-blurb .container { position: relative; z-index: 2; + padding: 0 15px; } .gameplay-carousel-section { @@ -3746,8 +3761,8 @@ footer p a:hover { } .mod-icon { - width: 48px; - height: 48px; + width: 80px; + height: 80px; } .steam-button img { @@ -3845,7 +3860,17 @@ footer p a:hover { .musician-social img { width: 16px; height: 16px; - filter: brightness(0) invert(1); + filter: brightness(0) saturate(100%) invert(100%); + opacity: 0.7; +} + +.musician-social.youtube-social img { + filter: none; + opacity: 0.85; +} + +.musician-social:hover img { + opacity: 1; } .releases-separator { @@ -4385,6 +4410,13 @@ footer p a:hover { animation: none; } + /* Reduce video effects on mobile for performance */ + .hero-video-bg { + filter: brightness(0.35); + transform: translate(-50%, -50%) scale(1.05); + -webkit-transform: translate(-50%, -50%) scale(1.05); + } + .blog-section::after { display: none; } @@ -4467,6 +4499,25 @@ footer p a:hover { footer::after { display: none; } + + .theme-selector { + flex-direction: column; + gap: 10px; + } + + .theme-selector-label { + font-size: 0.75rem; + } + + .footer-links { + flex-wrap: wrap; + gap: 15px 20px; + } + + .footer-emails { + flex-direction: column; + gap: 20px; + } } @media (prefers-reduced-motion: reduce) { diff --git a/download.html b/download.html index 5c86bbc..0ad033d 100644 --- a/download.html +++ b/download.html @@ -19,13 +19,18 @@ + - +
-