@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Press+Start+2P&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Baloo 2", Arial, sans-serif;
    background: #fff9ed;
    color: #29243d;
    animation: pageAppear 0.7s ease-out;
}

/* ---------------- NAVBAR ---------------- */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 75px;
    display: flex;
    align-items: center;
    padding: 0 6%;
    background: rgba(255, 249, 237, 0.95);
    border-bottom: 2px solid #eee4d2;
}

.logo {
    font-size: 32px;
    font-weight: 800;
    margin-right: auto;
    color: #7657f2;
}

.logo span {
    color: #ff76a8;
}

nav {
    display: flex;
    gap: 30px;
    margin-right: 35px;
}

nav a {
    position: relative;
    color: #29243d;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #7657f2;
}

.navbar nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 0;
    height: 3px;
    background: #7657f2;
    border-radius: 10px;
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.navbar nav a:hover::after {
    width: 70%;
}

.play-button {
    background: #ffd75e;
    color: #29243d;
    padding: 10px 20px;
    border: 3px solid #29243d;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 4px 0 #29243d;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        filter 0.2s ease;
}

.play-button:hover {
    filter: brightness(1.05);
    transform: translateY(-3px);
    box-shadow: 0 7px 0 #29243d;
}

.play-button:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #29243d;
}

/* ---------------- HERO ---------------- */

.hero {
    min-height: 680px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 70px 7%;
    background:
        radial-gradient(circle at 80% 20%, #e9e0ff, transparent 30%),
        #fff9ed;
}

.hero-text {
    max-width: 650px;
}

.small-title {
    font-family: "Press Start 2P", monospace;
    font-size: 10px;
    color: #7657f2;
    line-height: 1.7;
}

.hero h1 {
    font-size: clamp(50px, 6vw, 82px);
    line-height: 0.95;
    margin: 20px 0;
    letter-spacing: -3px;
}

.hero h1 span {
    color: #7657f2;
}

.hero-text p {
    color: #6f6a7d;
    font-size: 20px;
    line-height: 1.5;
    max-width: 570px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.main-button,
.second-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 800;
    border: 3px solid #29243d;
    box-shadow: 0 5px 0 #29243d;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        filter 0.2s ease;
}

.main-button {
    background: #7657f2;
    color: white;
}

.second-button {
    background: white;
    color: #29243d;
}

.main-button:hover,
.second-button:hover {
    filter: brightness(1.05);
    transform: translateY(-3px);
}

.main-button:hover,
.second-button:hover {
    box-shadow: 0 8px 0 #29243d;
}

.main-button:active,
.second-button:active {
    transform: translateY(4px);
    box-shadow: 0 1px 0 #29243d;
}

/* ---------------- HERO WORLD ---------------- */

.hero-world {
    height: 500px;
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    overflow: hidden;
    animation: worldAppear 0.8s ease-out;
}

.sky-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    top: 20px;
    right: 5%;
    background: radial-gradient(
        circle,
        rgba(255, 215, 94, 0.35),
        transparent 70%
    );
    animation: skyGlowMove 6s ease-in-out infinite;
}

.hero-world .sun {
    position: absolute;
    width: 125px;
    height: 125px;
    right: 12%;
    top: 35px;
    border-radius: 50%;
    background: #ffd75e;
    border: 5px solid #29243d;
    box-shadow: 8px 8px 0 rgba(41, 36, 61, 0.15);
    z-index: 1;
    animation: sunGlow 4s ease-in-out infinite;
}

.cloud {
    position: absolute;
    width: 120px;
    height: 42px;
    background: white;
    border: 4px solid #29243d;
    border-radius: 30px;
}

.cloud1 {
    top: 100px;
    left: 5%;
}

.cloud2 {
    top: 180px;
    right: 0;
}

.pixel-cloud {
    position: absolute;
    width: 125px;
    height: 45px;
    background: white;
    border: 4px solid #29243d;
    border-radius: 30px;
    z-index: 2;
}

.pixel-cloud span {
    position: absolute;
    background: white;
    border: 4px solid #29243d;
    border-radius: 50%;
}

.pixel-cloud span:nth-child(1) {
    width: 48px;
    height: 48px;
    left: 12px;
    top: -28px;
}

.pixel-cloud span:nth-child(2) {
    width: 60px;
    height: 60px;
    left: 40px;
    top: -38px;
}

.pixel-cloud span:nth-child(3) {
    width: 42px;
    height: 42px;
    right: 5px;
    top: -23px;
}

.pixel-cloud.cloud1 {
    left: 5%;
    top: 100px;
    animation: cloudMove1 9s ease-in-out infinite;
}

.pixel-cloud.cloud2 {
    right: 2%;
    top: 180px;
    transform: scale(0.75);
    animation: cloudMove2 12s ease-in-out infinite;
}

.hill {
    position: absolute;
    border-radius: 50% 50% 0 0;
}

.hill-back {
    width: 500px;
    height: 190px;
    left: -100px;
    bottom: 130px;
    background: #9bd88e;
    border: 5px solid #29243d;
    z-index: 1;
}

.hill-front {
    width: 520px;
    height: 170px;
    right: -100px;
    bottom: 120px;
    background: #86cf7c;
    border: 5px solid #29243d;
    z-index: 1;
}

.hero-world .island {
    position: relative;
    width: 90%;
    height: 280px;
    background: #76c978;
    border: 6px solid #29243d;
    border-radius: 50%;
    box-shadow:
        0 18px 0 #d3b990,
        0 25px 0 #29243d;
    z-index: 5;
    animation: islandFloat 5s ease-in-out infinite;
}

.hero-world .island::after {
    content: "";
    position: absolute;
    width: 65%;
    height: 30px;
    left: 18%;
    bottom: 35px;
    background: #67b968;
    border-radius: 50%;
    opacity: 0.6;
}

/* ---------------- TREES ---------------- */

.tree {
    position: absolute;
    font-size: 70px;
    z-index: 3;
}

.tree1 {
    left: 35px;
    top: -55px;
}

.tree2 {
    right: 50px;
    top: -35px;
    font-size: 60px;
}

.pixel-tree {
    position: absolute;
    z-index: 8;
    transform-origin: bottom center;
    animation: treeMove 4s ease-in-out infinite;
}

.pixel-tree.tree2 {
    animation-delay: 1.2s;
}

.tree-top {
    width: 90px;
    height: 90px;
    background: #45ad61;
    border: 5px solid #29243d;
    border-radius: 45% 55% 50% 50%;
    box-shadow:
        -18px 10px 0 #59bd6c,
        15px 12px 0 #399d56;
}

.tree-trunk {
    width: 30px;
    height: 75px;
    margin: -5px auto 0;
    background: #a96f42;
    border: 5px solid #29243d;
    border-radius: 8px;
}

/* ---------------- PLAYER ---------------- */

.player {
    position: absolute;
    z-index: 10;
    left: 43%;
    bottom: 70px;
    font-size: 95px;
    filter: drop-shadow(5px 6px 0 #29243d);
}

.pet {
    position: absolute;
    z-index: 11;
    left: 60%;
    bottom: 50px;
    font-size: 55px;
    filter: drop-shadow(4px 4px 0 #29243d);
}

.fish {
    position: absolute;
    right: 18%;
    bottom: 20px;
    font-size: 50px;
    transform: rotate(-10deg);
}

.flower {
    position: absolute;
    font-size: 30px;
}

.flower1 {
    right: 17%;
    bottom: 35px;
}

.flower2 {
    right: 35%;
    bottom: 25px;
}

.pixel-flower {
    position: absolute;
    font-size: 28px;
    z-index: 9;
    filter: drop-shadow(2px 3px 0 #29243d);
    animation: flowerMove 3s ease-in-out infinite;
}

.flower3 {
    left: 70%;
    bottom: 35px;
}

.pixel-flower.flower2 {
    animation-delay: 0.8s;
}

.pixel-flower.flower3 {
    animation-delay: 1.5s;
}

/* ---------------- FEATURES ---------------- */

.features,
.news {
    padding: 110px 7%;
    position: relative;
}

.section-title {
    position: relative;
    text-align: center;
    max-width: 750px;
    margin: auto;
    margin-bottom: 55px;
}

.section-title > span {
    display: inline-block;
    padding: 7px 14px;
    margin-bottom: 12px;
    background: #eee9ff;
    border: 2px solid #29243d;
    border-radius: 30px;
    color: #7657f2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 3px 3px 0 #29243d;
}

.section-title h2 {
    position: relative;
    font-size: clamp(40px, 5vw, 60px);
    line-height: 1;
    margin: 15px 0;
}

.section-title h2 span,
.section-title h2 strong {
    color: #7657f2;
}

.section-title p {
    color: #777284;
    font-size: 19px;
}

.section-title::before {
    content: "✦";
    position: absolute;
    left: -45px;
    top: 5px;
    color: #ffd75e;
    font-size: 28px;
    animation: sparkle 2s ease-in-out infinite;
}

.section-title::after {
    content: "✦";
    position: absolute;
    right: -45px;
    bottom: 5px;
    color: #ff8fb1;
    font-size: 22px;
    animation: sparkle 2.5s ease-in-out infinite reverse;
}

.feature-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 250px;
    padding: 30px;
    border: 3px solid #29243d;
    border-radius: 22px;
    box-shadow: 0 8px 0 rgba(41, 36, 61, 0.12);
    transform: translateY(0);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.feature-card::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    top: -55px;
    right: -45px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-12px) rotate(-1deg);
    box-shadow: 0 15px 0 rgba(41, 36, 61, 0.16);
}

.feature-card:hover::before {
    width: 180px;
    height: 180px;
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 10px;
    transition: transform 0.25s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.18) rotate(-6deg);
}

.feature-card h3 {
    font-size: 27px;
    margin-bottom: 5px;
    transition: transform 0.25s ease;
}

.feature-card:hover h3 {
    transform: translateX(5px);
}

.feature-card p {
    color: #6f6a7d;
    font-size: 17px;
    line-height: 1.4;
}

.blue {
    background: #d9f4ff;
}

.pink {
    background: #ffe0ed;
}

.green {
    background: #ddf6d8;
}

.purple {
    background: #e8e0ff;
}

.orange {
    background: #ffe6cc;
}

.yellow {
    background: #fff0b5;
}

/* ---------------- ABOUT ---------------- */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 120px 10%;
    background: #29243d;
    color: white;
    position: relative;
}

.about-text h2 {
    font-size: clamp(42px, 5vw, 60px);
    line-height: 1;
    margin: 18px 0;
}

.about-text h2 span {
    color: #a895ff;
}

.about-text p {
    color: #c9c5d6;
    font-size: 19px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.about-text ul {
    list-style: none;
    margin-top: 25px;
    display: grid;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
}

/* ---------------- GAME WINDOW ---------------- */

.game-window {
    overflow: hidden;
    border: 5px solid white;
    border-radius: 18px;
    box-shadow: 12px 12px 0 #7657f2;
}

.window-top {
    height: 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    background: #403a5b;
    font-family: monospace;
    font-size: 12px;
}

.game-screen {
    height: 320px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        #8bd9ff 0%,
        #8bd9ff 55%,
        #76c978 55%,
        #76c978 100%
    );
}

.speech {
    position: absolute;
    right: 35px;
    top: 30px;
    background: white;
    color: #29243d;
    padding: 10px 15px;
    border: 3px solid #29243d;
    border-radius: 12px;
    font-weight: 800;
}

.big-player {
    position: absolute;
    left: 40%;
    bottom: 65px;
    font-size: 85px;
    z-index: 3;
}

.big-pet {
    position: absolute;
    left: 55%;
    bottom: 55px;
    font-size: 55px;
    z-index: 4;
}

.ground {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 70px;
    border-top: 5px solid #29243d;
}

/* ---------------- NEWS ---------------- */

.news-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: white;
    border: 3px solid #29243d;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 8px 0 rgba(41, 36, 61, 0.12);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.news-card::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    right: -30px;
    bottom: -35px;
    background: #e8e0ff;
    border-radius: 50%;
    opacity: 0.7;
    transition: 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 14px 0 rgba(41, 36, 61, 0.15);
}

.news-card:hover::after {
    width: 130px;
    height: 130px;
}

.news-card span {
    font-family: "Press Start 2P", monospace;
    font-size: 9px;
    color: #7657f2;
}

.news-card h3 {
    font-size: 27px;
    margin: 18px 0 7px;
}

.news-card p {
    color: #706c7c;
    font-size: 17px;
    line-height: 1.4;
}

.news-card small {
    display: block;
    margin-top: 20px;
    color: #aaa5b5;
}

/* ---------------- DOWNLOAD ---------------- */

.download {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    padding: 100px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    background: linear-gradient(
        135deg,
        #7657f2,
        #8b6cff 55%,
        #6a50df
    );
    color: white;
}

.download::after {
    content: "✦";
    position: absolute;
    right: 8%;
    top: 25%;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.15);
    animation: downloadStar 4s ease-in-out infinite;
}

.download-content {
    max-width: 580px;
    position: relative;
    z-index: 5;
}

.download-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.16);
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.download-content h2 {
    margin: 0;
    font-size: clamp(42px, 5vw, 70px);
    line-height: 0.98;
    letter-spacing: -2px;
}

.download-content h2 span {
    display: block;
    color: #ffd75e;
}

.download-content > p {
    max-width: 520px;
    margin: 25px 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    line-height: 1.7;
}

.download-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0 30px;
}

.download-features div {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    background: rgba(255, 255, 255, 0.13);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    transition: 0.2s ease;
}

.download-features div:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.2);
}

.download-features span {
    font-size: 20px;
}

.download-features strong {
    font-size: 12px;
}

.google-play-button {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 13px 22px;
    background: #29243d;
    color: white;
    border: 4px solid #29243d;
    border-radius: 16px;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.25);
    text-decoration: none;
    transition: 0.2s ease;
}

.google-play-button:hover {
    transform: translateY(-5px);
    box-shadow: 7px 11px 0 rgba(0, 0, 0, 0.25);
}

.play-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffd75e;
    color: #29243d;
    border-radius: 10px;
    font-size: 18px;
}

.play-text small {
    display: block;
    font-size: 9px;
    opacity: 0.65;
    letter-spacing: 1px;
}

.play-text strong {
    display: block;
    font-size: 19px;
}

.download-note {
    margin-top: 18px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
}

.download-world {
    position: relative;
    width: 500px;
    height: 430px;
    flex-shrink: 0;
    background: linear-gradient(
        #aee7fa,
        #d9f6ff 58%,
        #82cf78 58%
    );
    border: 6px solid #29243d;
    border-radius: 35px;
    overflow: hidden;
    box-shadow: 12px 12px 0 rgba(41, 36, 61, 0.25);
}

.download-sun {
    position: absolute;
    width: 90px;
    height: 90px;
    right: 45px;
    top: 35px;
    background: #ffd75e;
    border: 5px solid #29243d;
    border-radius: 50%;
    animation: downloadSun 4s ease-in-out infinite;
}

.download-cloud {
    position: absolute;
    width: 95px;
    height: 30px;
    background: white;
    border: 4px solid #29243d;
    border-radius: 30px;
}

.download-cloud::before,
.download-cloud::after {
    content: "";
    position: absolute;
    background: white;
    border: 4px solid #29243d;
    border-radius: 50%;
}

.download-cloud::before {
    width: 40px;
    height: 40px;
    left: 12px;
    top: -27px;
}

.download-cloud::after {
    width: 50px;
    height: 50px;
    right: 8px;
    top: -34px;
}

.cloud-a {
    left: 35px;
    top: 80px;
    animation: downloadCloud1 8s ease-in-out infinite;
}

.cloud-b {
    right: 130px;
    top: 150px;
    transform: scale(0.7);
    animation: downloadCloud2 10s ease-in-out infinite;
}

.download-island {
    position: absolute;
    left: 45px;
    right: 45px;
    bottom: 35px;
    height: 190px;
    background: #71c66c;
    border: 6px solid #29243d;
    border-radius: 50%;
}

.download-tree {
    position: absolute;
    left: 55px;
    bottom: 35px;
    width: 28px;
    height: 85px;
    background: #a96f42;
    border: 5px solid #29243d;
    border-radius: 8px;
}

.download-tree::before {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    left: -35px;
    top: -65px;
    background: #45ad61;
    border: 5px solid #29243d;
    border-radius: 50%;
}

.download-character {
    position: absolute;
    left: 42%;
    bottom: 30px;
    font-size: 85px;
    z-index: 5;
    animation: downloadCharacter 2.5s ease-in-out infinite;
}

.download-pet {
    position: absolute;
    right: 23%;
    bottom: 25px;
    font-size: 58px;
    z-index: 6;
    animation: downloadPet 2s ease-in-out infinite;
}

.download-fish {
    position: absolute;
    right: 15%;
    bottom: 85px;
    font-size: 35px;
    animation: downloadFish 2.2s ease-in-out infinite;
}

.download-floating-card {
    position: absolute;
    left: 20px;
    top: 20px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    background: white;
    color: #29243d;
    border: 3px solid #29243d;
    border-radius: 13px;
    box-shadow: 4px 4px 0 #29243d;
    z-index: 20;
}

.download-floating-card > span {
    font-size: 25px;
}

.download-floating-card strong {
    display: block;
    font-size: 13px;
}

.download-floating-card small {
    display: block;
    color: #777284;
    font-size: 10px;
}

/* ---------------- GALLERY ---------------- */

.gallery-section {
    padding: 110px 8%;
    background: #fffaf2;
}

.gallery-grid {
    max-width: 1200px;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.gallery-card {
    background: white;
    border: 4px solid #29243d;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 8px 8px 0 #29243d;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.gallery-card:hover {
    transform: translateY(-9px);
    box-shadow: 8px 16px 0 #29243d;
}

.gallery-big {
    grid-row: span 2;
}

.gallery-wide {
    grid-column: span 2;
}

.gallery-scene {
    height: 240px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        #9bdcf5 0%,
        #c9efff 55%,
        #7bcf7b 55%,
        #67bd68 100%
    );
}

.gallery-big .gallery-scene {
    height: 420px;
}

.scene-sun,
.farm-sun {
    position: absolute;
    width: 75px;
    height: 75px;
    right: 45px;
    top: 35px;
    background: #ffd75e;
    border: 5px solid #29243d;
    border-radius: 50%;
}

.scene-water {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 90px;
    background: #55bde4;
    border-top: 5px solid #29243d;
}

.scene-water::before,
.scene-water::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 12px;
    border-top: 4px solid white;
    border-radius: 50%;
}

.scene-water::before {
    left: 15%;
    top: 25px;
}

.scene-water::after {
    right: 15%;
    top: 50px;
}

.scene-tree {
    position: absolute;
    left: 55px;
    bottom: 60px;
    width: 35px;
    height: 110px;
    background: #a96f42;
    border: 5px solid #29243d;
    border-radius: 8px;
}

.scene-tree::before {
    content: "";
    position: absolute;
    width: 115px;
    height: 115px;
    left: -45px;
    top: -80px;
    background: #49ad60;
    border: 5px solid #29243d;
    border-radius: 50%;
}

.scene-character {
    position: absolute;
    left: 48%;
    bottom: 75px;
    font-size: 85px;
    z-index: 5;
}

.scene-fish {
    position: absolute;
    right: 25%;
    bottom: 28px;
    font-size: 42px;
    animation: galleryFish 2s ease-in-out infinite;
}

.pet-scene {
    background: linear-gradient(
        #aee5fa 0%,
        #d8f5ff 55%,
        #8bd27e 55%,
        #72c16b 100%
    );
}

.scene-sun.small {
    width: 55px;
    height: 55px;
    top: 25px;
    right: 30px;
}

.small-tree {
    transform: scale(0.65);
    transform-origin: bottom left;
    left: 25px;
}

.scene-pet {
    position: absolute;
    left: 42%;
    bottom: 35px;
    font-size: 75px;
    animation: galleryPet 2s ease-in-out infinite;
}

.scene-character-small {
    position: absolute;
    right: 22%;
    bottom: 35px;
    font-size: 65px;
}

.farm-scene {
    background: linear-gradient(
        #a9ddf5 0%,
        #d8f4ff 48%,
        #86cf76 48%,
        #69b95f 100%
    );
}

.farm-sun {
    width: 55px;
    height: 55px;
    right: 25px;
    top: 25px;
}

.farm-ground {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 30px;
    height: 75px;
    background: #9b6c43;
    border: 5px solid #29243d;
    border-radius: 18px;
}

.farm-crop {
    position: absolute;
    bottom: 55px;
    font-size: 40px;
    z-index: 3;
}

.crop1 {
    left: 20%;
}

.crop2 {
    left: 42%;
}

.crop3 {
    right: 20%;
}

.farm-character {
    position: absolute;
    right: 8%;
    bottom: 55px;
    font-size: 65px;
    z-index: 4;
}

.social-scene {
    background: linear-gradient(
        #b9e8fa 0%,
        #e2f8ff 50%,
        #8bd37b 50%,
        #6dbd65 100%
    );
}

.social-cloud {
    position: absolute;
    left: 8%;
    top: 25px;
    font-size: 55px;
}

.social-player {
    position: absolute;
    bottom: 25px;
    font-size: 75px;
    z-index: 3;
    animation: socialIdle 2.5s ease-in-out infinite;
}

.p1 {
    left: 25%;
}

.p2 {
    left: 45%;
    animation-delay: 0.4s;
}

.p3 {
    left: 65%;
    animation-delay: 0.8s;
}

.chat-bubble {
    position: absolute;
    left: 48%;
    top: 45px;
    padding: 10px 16px;
    background: white;
    border: 4px solid #29243d;
    border-radius: 15px;
    font-weight: 700;
    box-shadow: 4px 4px 0 #29243d;
}

.chat-bubble::after {
    content: "";
    position: absolute;
    left: 20px;
    bottom: -13px;
    width: 18px;
    height: 18px;
    background: white;
    border-right: 4px solid #29243d;
    border-bottom: 4px solid #29243d;
    transform: rotate(45deg);
}

.gallery-info {
    min-height: 80px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.gallery-info > span {
    font-size: 34px;
}

.gallery-info h3 {
    margin: 0 0 4px;
    font-size: 20px;
}

.gallery-info p {
    margin: 0;
    color: #777284;
    font-size: 14px;
}

/* ---------------- DEVELOPERS ---------------- */

.developers {
    padding: 110px 7%;
    background: #fff9ed;
    position: relative;
    overflow: hidden;
}

.team-section {
    max-width: 1100px;
    margin: 0 auto 55px;
}

.team-title {
    display: table;
    margin: 0 auto 25px;
    padding: 9px 18px;
    background: #eee9ff;
    color: #7657f2;
    border: 3px solid #29243d;
    border-radius: 30px;
    font-family: "Press Start 2P", monospace;
    font-size: 10px;
    box-shadow: 4px 4px 0 #29243d;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.team-card {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 25px;
    background: white;
    border: 4px solid #29243d;
    border-radius: 22px;
    box-shadow: 7px 7px 0 rgba(41, 36, 61, 0.18);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.team-card:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 8px 15px 0 rgba(41, 36, 61, 0.18);
}

.team-avatar {
    width: 85px;
    height: 85px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8e0ff;
    border: 4px solid #29243d;
    border-radius: 20px;
    font-size: 42px;
    box-shadow: 4px 4px 0 #29243d;
    transition: transform 0.25s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.08) rotate(-5deg);
}

.team-info h3 {
    font-size: 28px;
    margin-bottom: 2px;
}

.team-info span {
    display: inline-block;
    padding: 4px 10px;
    background: #ffd75e;
    border: 2px solid #29243d;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 8px;
}

.team-info p {
    color: #777284;
    font-size: 15px;
    line-height: 1.4;
}

.founder-tuna {
    background: #e8e0ff;
}

.founder-zeynep {
    background: #ffe0ed;
}

.founder-tuna .team-avatar {
    background: #d7ccff;
}

.founder-zeynep .team-avatar {
    background: #ffc9dc;
}

.manager-card {
    background: #d9f4ff;
}

.manager-card .team-avatar {
    background: #bceaff;
}

.admin-card {
    background: #ffe6cc;
}

.admin-card .team-avatar {
    background: #ffd3a8;
}

.developer-card {
    background: #ddf6d8;
}

.developer-card .team-avatar {
    background: #c4efbc;
}

.tester-card {
    background: #fff0b5;
}

.tester-card .team-avatar {
    background: #ffe58a;
}

/* ---------------- TRUST ---------------- */

.trust-section {
    padding: 100px 7%;
    background: #fff9ed;
    text-align: center;
}

.trust-section .section-title {
    max-width: 750px;
    margin: 0 auto 50px;
}

.trust-section .small-title {
    color: #6c63ff;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.trust-section h2 {
    font-size: 46px;
    line-height: 1.1;
    margin: 0 0 15px;
    color: #29243d;
}

.trust-section h2 span {
    color: #ff76a8;
}

.trust-section .section-title p {
    color: #777;
    font-size: 17px;
    line-height: 1.7;
}

.trust-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.trust-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 25px;
    border: 2px solid #eee8dc;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.trust-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

.trust-card > div {
    width: 65px;
    height: 65px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0efff;
    border-radius: 20px;
    font-size: 30px;
}

.trust-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.trust-card p {
    color: #777;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.trust-card a {
    display: inline-block;
    color: #6c63ff;
    text-decoration: none;
    font-weight: 700;
    transition:
        transform 0.15s ease,
        color 0.15s ease;
}

.trust-card a:hover {
    color: #5148d8;
    transform: translateX(3px);
}

/* ---------------- ABOUT PAGE ---------------- */

.about-info-card {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.about-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.10);
}

.team-mini-card {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    border: 2px solid transparent;
}

.team-mini-card:hover {
    transform: translateY(-5px);
    border-color: #dcd8ff;
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.10);
}

.about-page-buttons a {
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.about-page-buttons a:hover {
    transform: translateY(-3px);
}

.back-button {
    box-shadow: 0 4px 0 #5148d8;
}

.back-button:hover {
    box-shadow: 0 6px 0 #5148d8;
}

.privacy-button {
    border: 2px solid #dfe2ff;
}

.privacy-button:hover {
    background: #e3e5ff;
}

/* ---------------- FOOTER ---------------- */

footer {
    position: relative;
    overflow: hidden;
    background: #171525;
    color: #bdb8cb;
    padding: 40px 7%;
    display: flex;
    align-items: center;
    gap: 30px;
}

footer::before {
    content: "FUNFOREVER";
    position: absolute;
    left: 50%;
    bottom: -35px;
    transform: translateX(-50%);
    font-size: 100px;
    font-weight: 900;
    letter-spacing: 8px;
    color: rgba(255, 255, 255, 0.035);
    white-space: nowrap;
    pointer-events: none;
}

.footer-logo {
    color: white;
    font-size: 28px;
    font-weight: 800;
    margin-right: auto;
}

.footer-logo span {
    color: #ff76a8;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a,
footer a {
    position: relative;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-links a:hover,
footer a:hover {
    color: #ffd75e;
    transform: translateY(-2px);
}

/* ---------------- SMOOTH SECTION TRANSITIONS ---------------- */

.features::before,
.about::before,
.news::before,
.download::before {
    content: "";
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    height: 50px;
    background: inherit;
    clip-path: ellipse(55% 50% at 50% 100%);
    pointer-events: none;
}

/* ---------------- ANIMATIONS ---------------- */

@keyframes fishFloat {
    0%, 100% {
        transform: translateY(0) rotate(-8deg);
    }

    50% {
        transform: translateY(-12px) rotate(8deg);
    }
}

.floating-fish {
    position: absolute;
    left: 18%;
    bottom: 35px;
    font-size: 48px;
    z-index: 12;
    animation:
        fishFloat 2.5s ease-in-out infinite,
        fishTilt 2.5s ease-in-out infinite;
}

@keyframes fishTilt {
    0%, 100% {
        margin-right: 0;
    }

    50% {
        margin-right: 8px;
    }
}

.water {
    position: absolute;
    left: 8%;
    bottom: 20px;
    width: 145px;
    height: 45px;
    background: #54bce5;
    border: 5px solid #29243d;
    border-radius: 50%;
    z-index: 7;
    overflow: hidden;
    animation: waterMove 3s ease-in-out infinite;
}

.water span {
    position: absolute;
    width: 35px;
    height: 8px;
    border-top: 4px solid white;
    border-radius: 50%;
}

.water span:nth-child(1) {
    left: 15px;
    top: 13px;
}

.water span:nth-child(2) {
    left: 55px;
    top: 23px;
}

.water span:nth-child(3) {
    right: 12px;
    top: 10px;
}

.world-badge {
    position: absolute;
    left: 15px;
    top: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: white;
    border: 3px solid #29243d;
    border-radius: 14px;
    box-shadow: 5px 5px 0 #29243d;
    z-index: 30;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.world-badge:hover {
    transform: translateY(-4px) rotate(-1deg);
    box-shadow: 7px 7px 0 #29243d;
}

.world-badge > span {
    font-size: 28px;
}

.world-badge strong {
    display: block;
    font-size: 15px;
}

.world-badge small {
    display: block;
    color: #777284;
    font-size: 11px;
}

@keyframes worldAppear {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes sunGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 8px 8px 0 rgba(41, 36, 61, 0.15);
    }

    50% {
        transform: scale(1.05);
        box-shadow:
            8px 8px 0 rgba(41, 36, 61, 0.12),
            0 0 35px rgba(255, 215, 94, 0.55);
    }
}

@keyframes cloudMove1 {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(25px);
    }
}

@keyframes cloudMove2 {
    0%, 100% {
        transform: translateX(0) scale(0.75);
    }

    50% {
        transform: translateX(-30px) scale(0.75);
    }
}

@keyframes treeMove {
    0%, 100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(1.5deg);
    }
}

@keyframes characterIdle {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes petIdle {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@keyframes flowerMove {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-4px) rotate(4deg);
    }
}

@keyframes waterMove {
    0%, 100% {
        transform: scaleX(1);
    }

    50% {
        transform: scaleX(1.04);
    }
}

@keyframes islandFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.35) rotate(20deg);
        opacity: 1;
    }
}

@keyframes downloadStar {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(15deg);
    }
}

@keyframes pageAppear {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes downloadSun {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.07);
    }
}

@keyframes downloadCloud1 {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(20px);
    }
}

@keyframes downloadCloud2 {
    0%, 100% {
        transform: translateX(0) scale(0.7);
    }

    50% {
        transform: translateX(-25px) scale(0.7);
    }
}

@keyframes downloadCharacter {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@keyframes downloadPet {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes downloadFish {
    0%, 100% {
        transform: translateY(0) rotate(-7deg);
    }

    50% {
        transform: translateY(-10px) rotate(7deg);
    }
}

@keyframes galleryFish {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-12px) rotate(5deg);
    }
}

@keyframes galleryPet {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes socialIdle {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* ---------------- CHARACTER ---------------- */

.game-character {
    position: absolute;
    left: 42%;
    bottom: 55px;
    width: 100px;
    height: 170px;
    z-index: 15;
    animation: characterIdle 2.8s ease-in-out infinite;
}

.character-shadow {
    position: absolute;
    width: 90px;
    height: 22px;
    bottom: -5px;
    left: 5px;
    background: rgba(41, 36, 61, 0.22);
    border-radius: 50%;
}

.character-body {
    position: absolute;
    width: 75px;
    height: 110px;
    left: 12px;
    bottom: 18px;
}

.character-hair {
    position: absolute;
    width: 67px;
    height: 65px;
    left: 4px;
    top: 0;
    background: #5a3c32;
    border: 5px solid #29243d;
    border-radius: 45% 45% 35% 35%;
    z-index: 4;
}

.character-face {
    position: absolute;
    width: 52px;
    height: 52px;
    left: 12px;
    top: 25px;
    background: #ffe2c4;
    border: 5px solid #29243d;
    border-radius: 45%;
    z-index: 5;
}

.character-face::before,
.character-face::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 10px;
    top: 20px;
    background: #29243d;
    border-radius: 50%;
}

.character-face::before {
    left: 12px;
}

.character-face::after {
    right: 12px;
}

.character-shirt {
    position: absolute;
    width: 72px;
    height: 55px;
    left: 1px;
    top: 72px;
    background: #7657f2;
    border: 5px solid #29243d;
    border-radius: 15px 15px 8px 8px;
    z-index: 3;
}

.character-pants {
    position: absolute;
    width: 65px;
    height: 40px;
    left: 5px;
    top: 115px;
    background: #4167a8;
    border: 5px solid #29243d;
    border-radius: 5px;
    z-index: 2;
}

.character-shoes {
    position: absolute;
    width: 75px;
    height: 20px;
    left: 0;
    top: 148px;
    background: white;
    border: 5px solid #29243d;
    border-radius: 12px;
    z-index: 1;
}

/* ---------------- PET ---------------- */

.game-pet {
    position: absolute;
    left: 59%;
    bottom: 48px;
    width: 90px;
    height: 90px;
    z-index: 16;
    animation: petIdle 2s ease-in-out infinite;
}

.pet-shadow {
    position: absolute;
    width: 75px;
    height: 18px;
    bottom: 0;
    left: 8px;
    background: rgba(41, 36, 61, 0.2);
    border-radius: 50%;
}

.pet-body {
    position: absolute;
    width: 65px;
    height: 58px;
    left: 12px;
    bottom: 15px;
    background: #f0a15d;
    border: 5px solid #29243d;
    border-radius: 45% 45% 35% 35%;
}

.pet-ear {
    position: absolute;
    width: 25px;
    height: 30px;
    background: #e08a4d;
    border: 5px solid #29243d;
    top: -20px;
    border-radius: 50%;
}

.pet-ear.left {
    left: 0;
    transform: rotate(-25deg);
}

.pet-ear.right {
    right: 0;
    transform: rotate(25deg);
}

.pet-face {
    position: absolute;
    width: 55px;
    height: 45px;
    left: 0;
    bottom: 2px;
}

.pet-eye {
    position: absolute;
    width: 7px;
    height: 9px;
    background: #29243d;
    border-radius: 50%;
    top: 12px;
}

.pet-eye.left {
    left: 12px;
}

.pet-eye.right {
    right: 12px;
}

.pet-face::after {
    content: "•";
    position: absolute;
    left: 25px;
    top: 17px;
    font-size: 18px;
    color: #29243d;
}

/* ---------------- MOBILE ---------------- */

@media (max-width: 900px) {

    nav {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-world {
        height: 400px;
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .download {
        flex-direction: column;
        align-items: stretch;
    }

    .download-world {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 800px) {

    .trust-section {
        padding: 75px 20px;
    }

    .trust-section h2 {
        font-size: 36px;
    }

    .trust-section .section-title p {
        font-size: 16px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .trust-card {
        padding: 30px 22px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-big {
        grid-row: auto;
    }

    .gallery-wide {
        grid-column: auto;
    }
}

@media (max-width: 700px) {

    .developers {
        padding: 80px 20px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        padding: 20px;
    }

    .team-avatar {
        width: 70px;
        height: 70px;
        font-size: 34px;
    }

    .team-info h3 {
        font-size: 24px;
    }
}

@media (max-width: 600px) {

    .navbar {
        padding: 0 20px;
    }

    .play-button {
        padding: 8px 12px;
        font-size: 14px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 50px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .main-button,
    .second-button {
        width: 100%;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .features,
    .news {
        padding: 80px 20px;
    }

    .about {
        padding: 80px 20px;
    }

    .download {
        padding: 70px 20px 90px;
    }

    .download-world {
        height: 350px;
    }

    .download-box {
        padding: 30px 22px;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-logo {
        margin-right: 0;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .section-title::before {
        left: 0;
    }

    .section-title::after {
        right: 0;
    }
}
.download-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.pc-download-button {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
    padding: 12px 18px;
    border: 3px solid #29243d;
    border-radius: 14px;
    background: #ffffff;
    color: #29243d;
    text-decoration: none;
    box-shadow: 5px 5px 0 #29243d;
    transition: 0.2s ease;
}

.pc-download-button:hover {
    transform: translateY(-3px);
    box-shadow: 7px 7px 0 #29243d;
}

.pc-icon {
    font-size: 25px;
}

.pc-text {
    display: flex;
    flex-direction: column;
}

.pc-text small {
    font-size: 10px;
    font-weight: 700;
    color: #777;
    letter-spacing: 0.5px;
}

.pc-text strong {
    font-size: 16px;
}

@media (max-width: 700px) {

    .download-buttons {
        flex-direction: column;
        width: 100%;
    }

    .download-buttons > a {
        width: 100%;
    }

    .pc-download-button {
        justify-content: center;
    }

}