* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

html {
scrollbar-gutter: stable;
margin: 0;
padding: 0;
}

body {
font-family: Arial, Helvetica, sans-serif;
font-size: 17px;
line-height: 1.5;
background: #ffffff;
color: #1d1d1d;
}

a {
color: inherit;
text-decoration: none;
}

img {
display: block;
max-width: 100%;
}

ul {
list-style: none;
}

button {
font: inherit;
border: none;
background: none;
cursor: pointer;
}

/* =========================================================
HERO
========================================================= */

.hero {
position: relative;
width: 100%;
height: 75vh;
min-height: 600px;
max-height: 900px;
overflow: hidden;
background: #000000;
}

.hero-background {
position: absolute;
top: 0;
left: 100px;
right: 100px;
width: calc(100% - 200px);
height: 100%;
max-width: none;
object-fit: cover;
object-position: center;
z-index: 0;
transition: transform 0.7s ease;
}

.hero:hover .hero-background {
transform: scale(1.09);
}

.hero::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
to right,
rgba(30, 147, 201, 0.75),
rgba(30, 147, 201, 0.45) 25%,
rgba(134, 168, 184, 0.15) 50%,
rgba(162, 170, 173, 0) 75%
);
opacity: 0;
transition: opacity 0.5s ease;
z-index: 1;
pointer-events: none;
}

.hero::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
to top,
rgba(30, 147, 201, 0.65),
rgba(104, 162, 189, 0.3) 20%,
rgba(145, 167, 177, 0) 45%
);
opacity: 0;
transition: opacity 0.5s ease;
z-index: 1;
pointer-events: none;
}

.hero:hover::before,
.hero:hover::after {
opacity: 1;
}

.hero-container {
position: relative;
width: min(1200px, 90%);
max-width: 1500px;
height: 100%;
margin: 0 auto;
z-index: 2;
}

.hero-content {
position: absolute;
left: 0;
top: 50%;
width: 500px;
transform: translateY(-50%);
}

.hero-logo {
width: auto;
max-width: 420px;
max-height: 150px;
margin-bottom: 25px;
object-fit: contain;
}

.hero-content h1 {
margin-bottom: 10px;
color: #000000;
font-size: 52px;
font-weight: 700;
line-height: 1.1;
}

.hero-content p {
max-width: 420px;
margin-bottom: 30px;
color: #000000;
font-size: 21px;
}

.hero-button {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 150px;
height: 50px;
padding: 0 28px;
background: #ffffff;
color: #111111;
font-size: 18px;
font-weight: 700;
transition:
background-color 0.25s ease,
color 0.25s ease,
transform 0.25s ease;
}

.hero-button:hover {
background: #000000;
color: #ffffff;
transform: translateY(-2px);
}

.hero-scroll {
position: absolute;
left: 0;
bottom: 25px;
display: flex;
align-items: center;
gap: 10px;
color: #000000;
font-size: 11px;
font-weight: 600;
letter-spacing: 1.5px;
text-transform: uppercase;
z-index: 3;
}

.scroll-arrow {
font-size: 20px;
color: #000000;
animation: scrollArrow 1.5s infinite ease-in-out;
}

@keyframes scrollArrow {
0%,
100% {
transform: translateY(0);
}


50% {
    transform: translateY(6px);
}


}

/* =========================================================
HEADER
========================================================= */

header {
position: relative;
z-index: 10;
background: #05090b;
color: #ffffff;
}

.header-container {
width: min(1800px, 94%);
height: 120px;
margin: 0 auto;
}

.top-nav {
display: flex;
align-items: center;
justify-content: space-between;
height: 100%;
}

.logo a {
display: flex;
align-items: center;
gap: 12px;
color: #ffffff;
font-size: 34px;
font-weight: 700;
transition: color 0.3s ease;
}

.logo img {
width: 92px;
height: 92px;
object-fit: contain;
}

.logo a:hover {
color: #1e93c9;
}

.menu {
display: flex;
align-items: center;
gap: 24px;
margin-left: auto;
}

.menu a {
color: #ffffff;
font-size: 21px;
font-weight: 500;
transition:
color 0.3s ease,
transform 0.3s ease;
}

.menu a:hover {
color: #1e93c9;
transform: translateY(-1px);
}

.header-actions {
display: flex;
align-items: center;
gap: 10px;
margin-left: 40px;
}

.header-button-item {
padding: 12px 24px;
border-radius: 999px;
background: #ffffff;
color: #05090b;
font-size: 17px;
font-weight: 600;
transition:
background-color 0.3s ease,
color 0.3s ease,
transform 0.3s ease;
}

.header-button-item:hover {
background: #1e93c9;
color: #ffffff;
transform: translateY(-1px);
}

/* =========================================================
SECTION HEADERS
========================================================= */

.games-header h2,
.cartoons-header h2,
.news-header h2 {
position: relative;
width: fit-content;
margin: 0 auto 35px;
padding-bottom: 12px;
color: #111111;
font-size: 55px;
font-weight: 800;
line-height: 1.2;
letter-spacing: 0.5px;
}

.games-header h2::after,
.cartoons-header h2::after,
.news-header h2::after {
content: "";
position: absolute;
left: 50%;
bottom: 0;
width: 55px;
height: 4px;
background: #1e93c9;
transform: translateX(-50%);
}

/* =========================================================
GAMES / CARTOONS
========================================================= */

.games-container,
.cartoons-container {
width: 100%;
padding: 80px 0;
}

.games-header,
.cartoons-header {
width: 90%;
max-width: 1500px;
margin: 0 auto;
}

.games-list {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 24px;
}

/* ---------- Game Cards ---------- */

.game-card {
position: relative;
width: 100%;
height: 430px;
overflow: hidden;
}

.game-card a,
.cartoon-card a {
position: relative;
display: block;
width: 100%;
height: 100%;
overflow: hidden;
}

.game-card img,
.cartoon-card img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.6s ease;
}

.game-card a::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
to top,
rgba(30, 147, 201, 0.75),
rgba(84, 165, 202, 0.45) 25%,
rgba(159, 190, 204, 0.15) 50%,
rgba(173, 184, 189, 0) 75%
);
z-index: 1;
pointer-events: none;
}

.game-card:first-child a::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
to top,
rgba(220, 70, 170, 0.72),
rgba(225, 105, 185, 0.42) 25%,
rgba(210, 150, 195, 0.14) 50%,
rgba(200, 170, 190, 0) 75%
);
opacity: 0;
transition: opacity 0.7s ease;
z-index: 2;
pointer-events: none;
}

.game-card:first-child:hover a::before {
opacity: 1;
}

.game-info,
.cartoon-info {
position: absolute;
left: 30px;
bottom: 25px;
z-index: 3;
}

.game-info h3,
.cartoon-info h3 {
font-size: 36px;
font-weight: 700;
letter-spacing: 0.5px;
transition:
color 0.3s ease,
transform 0.3s ease;
}

.game-info h3 {
color: #00080c;
}

.game-card:hover img,
.cartoon-card:hover img {
transform: scale(1.07);
}

.game-card:hover .game-info h3 {
color: #ffffff;
transform: translateX(5px);
}

/* ---------- Forgefolk ---------- */

.forgefolk-card a::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
to top,
rgba(255, 210, 40, 0.75),
rgba(255, 165, 35, 0.45) 25%,
rgba(255, 120, 30, 0.15) 50%,
rgba(255, 100, 20, 0) 75%
);
z-index: 1;
pointer-events: none;
}

.forgefolk-card a::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
to top,
rgba(220, 35, 35, 0.78),
rgba(235, 60, 30, 0.48) 25%,
rgba(220, 80, 30, 0.18) 50%,
rgba(210, 60, 30, 0) 75%
);
opacity: 0;
transition: opacity 0.7s ease;
z-index: 2;
pointer-events: none;
}

.forgefolk-card:hover a::before {
opacity: 1;
}

/* ---------- Cartoon ---------- */

.cartoon-card {
position: relative;
width: 100%;
max-width: 1100px;
height: 560px;
margin: 0 auto;
overflow: hidden;
}

.cartoon-card a::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
to top right,
rgba(30, 147, 201, 0.12),
rgba(30, 147, 201, 0.05) 15%,
rgba(30, 147, 201, 0) 30%
);
z-index: 1;
pointer-events: none;
}

.cartoon-card a::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
to top,
rgba(30, 147, 201, 0.75),
rgba(85, 171, 211, 0.45) 25%,
rgba(140, 182, 202, 0.15) 50%,
rgba(187, 192, 194, 0) 75%
);
opacity: 0;
transition: opacity 0.5s ease;
z-index: 2;
pointer-events: none;
}

.cartoon-info h3 {
color: #000b0f;
}

.cartoon-card:hover a::after {
opacity: 1;
}

.cartoon-card:hover .cartoon-info h3 {
color: #ffffff;
transform: translateX(5px);
}

/* =========================================================
NEWS
========================================================= */

.news {
padding: 110px 0 120px;
background: #ffffff;
}

.news-container {
width: min(1200px, 90%);
margin: 0 auto;
}

.news-header {
display: flex;
align-items: flex-end;
justify-content: space-between;
margin-bottom: 45px;
}

.news-header h2 {
margin: 0;
color: #00080c;
font-size: 48px;
font-weight: 700;
letter-spacing: -1px;
}

.news-header a {
color: #1e93c9;
font-size: 13px;
font-weight: 600;
letter-spacing: 1.5px;
text-transform: uppercase;
text-decoration: none;
transition: color 0.3s ease;
}

.news-header a:hover {
color: #00080c;
}

.news-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 28px;
}

.news-card {
min-width: 0;
}

.news-card a {
display: block;
position: relative;
overflow: hidden;
background: #f1f3f4;
color: inherit;
text-decoration: none;
transition:
transform 0.4s ease,
box-shadow 0.4s ease;
}

.news-card a:hover {
transform: translateY(-6px);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.news-card img {
display: block;
width: 100%;
height: 260px;
object-fit: cover;
object-position: center;
transition: transform 0.7s ease;
}

.news-card a:hover img {
transform: scale(1.05);
}

.news-card a::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 260px;
background: linear-gradient(
to bottom,
rgba(30, 147, 201, 0) 45%,
rgba(30, 147, 201, 0.08) 75%,
rgba(30, 147, 201, 0.25) 100%
);
opacity: 0;
pointer-events: none;
transition: opacity 0.5s ease;
}

.news-card a:hover::after {
opacity: 1;
}

.news-meta {
display: flex;
align-items: center;
gap: 12px;
padding: 24px 25px 0;
}

.news-author,
.news-date {
color: #1e93c9;
font-size: 11px;
font-weight: 600;
letter-spacing: 1.2px;
text-transform: uppercase;
}

.news-date {
color: #7b858a;
}

.news-author::after {
content: "•";
margin-left: 12px;
color: #b5bdc1;
}

.news-card h3 {
margin: 12px 25px 0;
color: #00080c;
font-size: 25px;
line-height: 1.15;
font-weight: 700;
letter-spacing: -0.3px;
transition:
color 0.3s ease,
transform 0.3s ease;
}

.news-card a:hover h3 {
color: #1e93c9;
transform: translateX(4px);
}

.news-card p {
margin: 14px 25px 28px;
color: #687277;
font-size: 14px;
line-height: 1.6;
}

.more-news-button {
display: block;
width: fit-content;
margin: 45px auto 0;
padding: 14px 30px;
border: 1px solid #1e93c9;
color: #1e93c9;
font-size: 12px;
font-weight: 600;
letter-spacing: 1.5px;
text-transform: uppercase;
text-decoration: none;
transition:
background 0.35s ease,
color 0.35s ease,
transform 0.35s ease;
}

.more-news-button:hover {
background: #1e93c9;
color: #ffffff;
transform: translateY(-3px);
}

/* =========================================================
FOOTER
========================================================= */

footer {
padding: 75px 0 25px;
background: #05090b;
color: #ffffff;
}

.footer-container {
width: min(1800px, 94%);
margin: 0 auto;
}

.footer-main {
display: grid;
grid-template-columns: 2fr repeat(3, 1fr);
gap: 60px;
padding-bottom: 65px;
}

.footer-brand {
padding-right: 40px;
}

.footer-brand a {
display: inline-block;
color: #ffffff;
font-size: 34px;
font-weight: 700;
letter-spacing: -0.5px;
text-decoration: none;
transition: color 0.3s ease;
}

.footer-brand a:hover {
color: #1e93c9;
}

.footer-brand p {
max-width: 260px;
margin: 15px 0 0;
color: #687277;
font-size: 13px;
line-height: 1.6;
}

.footer-column h3 {
margin: 3px 0 22px;
color: #ffffff;
font-size: 13px;
font-weight: 600;
letter-spacing: 1.8px;
text-transform: uppercase;
}

.footer-nav,
.footer-links,
.footer-social {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 12px;
}

.footer-nav a,
.footer-links a,
.footer-social a {
color: #7d878c;
font-size: 15px;
line-height: 1.4;
text-decoration: none;
transition:
color 0.3s ease,
transform 0.3s ease;
}

.footer-nav a:hover,
.footer-links a:hover,
.footer-social a:hover {
color: #1e93c9;
transform: translateX(4px);
}

.footer-bottom {
display: flex;
align-items: center;
justify-content: space-between;
padding-top: 25px;
border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
margin: 0;
color: #4f595e;
font-size: 11px;
letter-spacing: 0.3px;
}

/* =========================================================
TABLET — 900px
========================================================= */

@media (max-width: 900px) {


/* Hero */

.hero {
    height: 70vh;
    min-height: 550px;
}

.hero-content {
    width: 450px;
}

.hero-logo {
    max-width: 350px;
}

.hero-content h1 {
    font-size: 42px;
}


/* Header */

.header-container {
    height: 100px;
}

.logo img {
    width: 72px;
    height: 72px;
}

.menu {
    gap: 18px;
}

.menu a {
    font-size: 15px;
}


/* Games */

.games-list {
    grid-template-columns: 1fr;
}

.game-card {
    height: 400px;
}

.cartoon-card {
    max-width: 100%;
    height: 480px;
}


/* News */

.news {
    padding: 80px 0 90px;
}

.news-header h2 {
    font-size: 40px;
}

.news-grid {
    grid-template-columns: 1fr;
    gap: 35px;
}

.news-card img {
    height: 320px;
}

.news-card a::after {
    height: 320px;
}


/* Footer */

footer {
    padding: 60px 0 25px;
}

.footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 45px 35px;
    padding-bottom: 50px;
}

.footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
}

.footer-brand p {
    max-width: 320px;
}


}

/* =========================================================
MOBILE — 600px
========================================================= */

@media (max-width: 600px) {


/* Header */

.header-container {
    width: 94%;
    height: 90px;
}

.logo a {
    gap: 8px;
    font-size: 24px;
}

.logo img {
    width: 64px;
    height: 64px;
}

.menu {
    gap: 14px;
}

.menu a {
    font-size: 12px;
}

.header-actions {
    margin-left: 15px;
    gap: 6px;
}

.header-button-item {
    padding: 9px 16px;
    font-size: 15px;
}


/* Section Headers */

.games-header h2,
.cartoons-header h2,
.news-header h2 {
    margin-bottom: 30px;
    padding-bottom: 9px;
    font-size: 42px;
}

.games-header h2::after,
.cartoons-header h2::after,
.news-header h2::after {
    width: 45px;
    height: 3px;
}


/* Games / Cartoons */

.games-container,
.cartoons-container {
    padding: 60px 0;
}

.game-card {
    height: 350px;
}

.game-info,
.cartoon-info {
    left: 20px;
    bottom: 20px;
}

.game-info h3,
.cartoon-info h3 {
    font-size: 29px;
}

.cartoon-card {
    height: 400px;
}


/* Hero */

.hero {
    height: 650px;
    min-height: 650px;
}

.hero-background {
    left: 20px;
    right: 20px;
    width: calc(100% - 40px);
}

.hero-container {
    width: 90%;
}

.hero-content {
    top: auto;
    bottom: 50px;
    width: 100%;
    transform: none;
}

.hero-logo {
    max-width: 280px;
    max-height: 100px;
}

.hero-content h1 {
    font-size: 38px;
}

.hero-content p {
    max-width: 100%;
    font-size: 19px;
}

.hero-button {
    font-size: 17px;
}

.hero-scroll {
    left: 0;
    bottom: 20px;
    color: #000000;
}

.scroll-arrow {
    color: #000000;
}


/* News */

.news {
    padding: 65px 0 75px;
}

.news-container {
    width: 90%;
}

.news-header {
    margin-bottom: 30px;
}

.news-header h2 {
    font-size: 34px;
}

.news-header a {
    font-size: 11px;
}

.news-card img {
    height: 230px;
}

.news-card a::after {
    height: 230px;
}

.news-meta {
    padding: 20px 20px 0;
}

.news-author,
.news-date {
    font-size: 10px;
}

.news-card h3 {
    margin: 10px 20px 0;
    font-size: 22px;
}

.news-card p {
    margin: 12px 20px 22px;
    font-size: 13px;
}

.more-news-button {
    margin-top: 35px;
}


/* Footer */

footer {
    padding: 50px 0 20px;
}

.footer-container {
    width: 90%;
}

.footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px 25px;
    padding-bottom: 40px;
}

.footer-brand {
    grid-column: 1 / -1;
}

.footer-brand a {
    font-size: 34px;
}

.footer-brand p {
    font-size: 18px;
}

.footer-column h3 {
    margin-bottom: 18px;
    font-size: 16px;
}

.footer-nav a,
.footer-links a,
.footer-social a {
    font-size: 18px;
}

.footer-bottom {
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 10px;
    line-height: 1.5;
}


}

.hero-about-button {
position: absolute;
left: 50%;
bottom: 70px;

display: inline-flex;
align-items: center;
justify-content: center;

min-width: 300px;
height: 66px;
padding: 0 32px;

border: 1px solid rgba(255, 255, 255, 0.45);
border-radius: 3px;

background: rgba(5, 9, 11, 0.35);
color: #ffffff;

font-size: 16px;
font-weight: 700;
letter-spacing: 1.5px;

backdrop-filter: blur(6px);

margin-left: -150px;

transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    zoom 0.3s ease;

}

.hero-about-button:hover {
background: #ffffff;
border-color: #ffffff;
color: #05090b;
zoom: 1.08;
}

.hero-container {
position: relative;
}

.cartoons-container {

    background: #f5f7f8;

}
