@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg: #15171C;
    --bg-dark: #0B0D12;
    --card: #1b1d24;
    --card-dark: #14161b;
    --nav: rgba(17, 18, 23, 0.9);
    --orange: #FF5A00;
    --orange-dark: #ac3d02;
    --white: #fff;
    --muted: #ccc;
    --border: rgba(255, 255, 255, 0.12);
}

* {
    padding: 0;
    margin: 0;
    outline: none;
    border: none;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg);
    color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

/* NAVIGATION */

.nav-wrapper {
    width: 100%;
    background-color: var(--nav);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 999;
}

nav {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
}

.nav-logo img {
    width: 180px;
    transition: transform 0.3s ease;
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.link a {
    position: relative;
    padding-bottom: 0.75rem;
    color: var(--white);
    transition: color 0.3s ease;
}

.link a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--orange);
    transition: width 0.3s ease;
}

.nav-links a.active {
    color: var(--orange);
}

.link a:hover::after,
.link a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: transparent;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

sup {
    font-size: 0.45em;
    vertical-align: super;
    margin-left: 2px;
    color: var(--white);
}

/* DEV-NOTICE */
.dev-notice {
    background-color: rgba(255, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 0, 0, 0.3);

    color: #fa1b1b;

    text-align: center;

    padding: 0.75rem 1rem;

    font-size: 0.9rem;
    font-weight: 500;
}

/* GLOBAL */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 5rem 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    color: var(--white);
    background-color: var(--orange);
    border: 2px solid var(--orange);
    border-radius: 4rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--orange-dark);
    border-color: var(--orange-dark);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--orange);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--orange);
    border-color: var(--orange);
    box-shadow: 0 0 15px rgba(255, 90, 0, 0.35);
}

/* HOME */

.home-section {
    min-height: calc(100vh - 90px);

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    align-items: center;
}

header {
    position: relative;
    padding-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;
}

header .content h1 {
    margin-bottom: 1rem;
    font-size: 3rem;
    font-weight: 800;
    line-height: 4rem;
    letter-spacing: 1px;
}

header .content h1 .creo {
    color: var(--white);
}

header .content h1 .pictures {
    color: var(--orange);
}

.slogan {
    color: var(--orange);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

header .content p {
    margin-bottom: 2rem;
    color: var(--muted);
}

header .image img {
    max-width: 420px;
    margin: auto;
}

/* ANIMATED TEXT */

.animated-text {
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
    margin-bottom: 0.5rem;
}

.animated-text span {
    position: relative;
}

.animated-text span::before {
    content: "Game Development";
    color: var(--orange);
    animation: words 12s infinite;
}

.animated-text span::after {
    content: "";
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    background-color: var(--bg);
    border-left: 2px solid var(--white);
    right: -8px;
    animation: cursor .8s infinite, typing 12s steps(16) infinite;
}

@keyframes cursor {
    to {
        border-left: 2px solid transparent;
    }
}

@keyframes words {
    0%, 32% {
        content: "Game Development";
    }

    33%, 65% {
        content: "Digital Art";
    }

    66%, 100% {
        content: "Creative Ideas";
    }
}

@keyframes typing {
    0%, 6% {
        width: calc(100% + 8px);
    }

    12%, 26% {
        width: 0;
    }

    32%, 39% {
        width: calc(100% + 8px);
    }

    45%, 59% {
        width: 0;
    }

    65%, 72% {
        width: calc(100% + 8px);
    }

    78%, 92% {
        width: 0;
    }

    100% {
        width: calc(100% + 8px);
    }
}

/* HERO SOCIALS */

.hero-socials {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-socials a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--orange);
    color: var(--orange);
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.hero-socials a:hover {
    background-color: var(--orange);
    color: var(--white);
    transform: translateY(-3px);
}

/* SECTION HEADERS */

section .header {
    margin-bottom: 1rem;
    color: var(--white);
    text-align: center;
    font-size: 2.25rem;
    font-weight: 800;
}

section .header span {
    color: var(--orange);
}

.sub-header {
    max-width: 600px;
    margin: auto;
    text-align: center;
    color: var(--muted);
}

/* GAMES */

.games-section {
    min-height: calc(100vh - 90px);
}

.games {
    margin-top: 4rem;
}

.game-card {
    background: linear-gradient(145deg, var(--card), var(--card-dark));
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    align-items: stretch;
    min-height: 420px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 20px 45px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 90, 0, 0.45);
    box-shadow:
        0 0 25px rgba(255, 90, 0, 0.08),
        0 25px 55px rgba(0, 0, 0, 0.45);
}

.game-image {
    height: 100%;
    min-height: 420px;
    background-color: #111217;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.game-content {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.game-status,
.studio-status {
    color: var(--orange);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.game-content h3,
.studio-content h3 {
    color: var(--white);
    font-size: 2.5rem;
    line-height: 3rem;
    margin: 1rem 0;
}

.game-content p,
.studio-content p {
    color: var(--muted);
    line-height: 1.7rem;
    margin-bottom: 1.5rem;
}

.game-tags,
.studio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.game-tags span,
.studio-tags span {
    color: var(--white);
    background-color: rgba(255, 90, 0, 0.15);
    border: 1px solid rgba(255, 90, 0, 0.4);
    padding: 0.4rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.8rem;
}

.game-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* DEV BLOG */

.blog-section {
    min-height: calc(100vh - 90px);
}

.blog-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.blog-card {
    background: linear-gradient(145deg, var(--card), var(--card-dark));
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 90, 0, 0.45);
}

.blog-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.blog-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-content span {
    display: inline-block;
    align-self: flex-start;
    color: var(--orange);
    background-color: rgba(255, 90, 0, 0.12);
    border: 1px solid rgba(255, 90, 0, 0.35);
    padding: 0.3rem 0.6rem;
    border-radius: 0.5rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-date {
    margin-top: 0.8rem;
    margin-bottom: 0.4rem;
    color: #aaa;
    font-size: 0.8rem;
}

.blog-content h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
}

.blog-content p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5rem;
}

.blog-content a {
    display: inline-block;
    margin-top: auto;
    padding-top: 1rem;
    color: var(--orange);
    font-weight: 700;
}

/* STUDIO */

.studio-section {
    min-height: calc(100vh - 90px);
}

.studio-card {
    margin-top: 4rem;
    background: linear-gradient(145deg, var(--card), var(--card-dark));
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
    min-height: 420px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 20px 45px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}

.studio-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 90, 0, 0.45);
}

.studio-image {
    min-height: 420px;
    background-color: #111217;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.studio-image img {
    max-width: 360px;
}

.studio-content {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* CONTACT */

.contact-section {
    max-width: 800px;
}

.contact-form {
    margin-top: 3rem;

    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    padding: 1rem;

    background-color: #1b1d24;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 12px;

    color: #fff;

    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #FF5A00;
}

.contact-form textarea {
    resize: vertical;
    min-height: 180px;
}

.form-note {
    margin-top: 16px;
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

.contact-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 6rem 2rem;
}

.contact-section {
    width: 100%;
    max-width: 800px;

    background: linear-gradient(
        145deg,
        var(--card),
        var(--card-dark)
    );

    border: 1px solid var(--border);
    border-radius: 24px;

    padding: 3rem;

    box-shadow:
        0 20px 45px rgba(0,0,0,.35);
}

.contact-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-section h1 span {
    color: var(--orange);
}

.contact-logo {
    width: 140px;
    margin: 0 auto 1.5rem;
}

.contact-text {
    color: var(--muted);
    line-height: 1.8;
}

.back-link {
    display: inline-block;

    margin-bottom: 2rem;

    color: var(--orange);

    font-weight: 600;

    transition: .3s;
}

.back-link:hover {
    color: var(--white);
}

/*  PRIVACY POLICY */
.privacy-content {
    margin-top: 2rem;
    text-align: left;
}

.privacy-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;

    color: var(--orange);

    font-size: 1.4rem;
}

.privacy-content p,
.privacy-content li {
    color: var(--muted);
    line-height: 1.8;
}

.privacy-content ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}


/* FOOTER */

.footer-wrapper {
    width: 100%;
    background-color: var(--bg-dark);
    border-top: 1px solid rgba(255, 90, 0, 0.15);
}

footer {
    position: relative;
    display: grid;
    grid-template-columns: 400px repeat(3, 1fr);
    gap: 2rem;
}

footer.container {
    padding-top: 5rem;
    padding-bottom: 4rem;
}

footer .column .logo {
    max-width: 130px;
    margin-bottom: 2rem;
}

footer .column p {
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.7rem;
}

footer .column .socials {
    display: flex;
    align-items: center;
    gap: 1rem;
}

footer .column .socials a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    border: 1px solid var(--muted);
    font-size: 1.25rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

footer .column .socials a:hover {
    color: var(--white);
    background-color: var(--orange);
    border-color: var(--orange);
    transform: translateY(-3px);
}

footer .column h4 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 700;
}

footer .column > a {
    display: block;
    color: var(--muted);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

footer .column > a:hover {
    color: var(--orange);
}

.copyright {
    max-width: 1200px;
    margin: auto;
    padding: 1rem 2rem;
    color: var(--white);
    font-size: 0.8rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}


/* SHERIFFS AND SLIMES PAGE */

.sas-hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    overflow: hidden;
}

.sas-hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin: 1rem 0;
}

.sas-hero-content h1 span {
    color: var(--orange);
}

.sas-hero-content p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.game-status-badge {
    color: var(--orange);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-background {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 1;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            rgba(0,0,0,0.45),
            rgba(0,0,0,0.75)
        );

    z-index: 2;
}

.sas-hero-image {
    background: linear-gradient(145deg, var(--card), var(--card-dark));
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 1.5rem;

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.35),
        0 0 25px rgba(255, 90, 0, 0.08);
}

.sas-hero-content {
    position: relative;
    z-index: 3;

    max-width: 800px;

    padding: 2rem;
}

.sas-hero-image img {
    width: 100%;
    border-radius: 18px;
}

.sas-text-card,
.sas-story-card,
.status-card {
    margin-top: 3rem;

    background: linear-gradient(145deg, var(--card), var(--card-dark));
    border: 1px solid var(--border);
    border-radius: 24px;

    padding: 2.5rem;

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.35);
}

.sas-text-card p,
.sas-story-card p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.sas-story-card p:last-child {
    margin-bottom: 0;
}

.feature-grid {
    margin-top: 3rem;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: linear-gradient(145deg, var(--card), var(--card-dark));
    border: 1px solid var(--border);
    border-radius: 18px;

    padding: 2rem;

    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 90, 0, 0.45);
    box-shadow: 0 0 25px rgba(255, 90, 0, 0.08);
}

.feature-card i {
    color: var(--orange);
    font-size: 2rem;
}

.feature-card h3 {
    color: var(--white);
    margin: 1rem 0 0.75rem;
}

.feature-card p {
    color: var(--muted);
    line-height: 1.6;
}

.gallery-grid {
    margin-top: 3rem;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;

    border-radius: 18px;
    border: 1px solid var(--border);

    background-color: #111217;

    transition: all 0.3s ease;
}

.gallery-grid img:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 90, 0, 0.45);
}

.status-card {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.status-card p {
    color: var(--muted);
    line-height: 2;
}

.status-card strong {
    color: var(--white);
}

/* SHERIFFS AND SLIMES RESPONSIVE */

@media (width < 900px) {
    .sas-hero {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .sas-hero-image {
        order: -1;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (width < 600px) {
    .sas-hero {
        padding: 4rem 1rem;
    }

    .sas-hero-content h1 {
        font-size: 2.6rem;
    }

    .feature-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .sas-text-card,
    .sas-story-card,
    .status-card {
        padding: 1.5rem;
    }
}


/* THANK YOU PAGE */

.thank-you-section {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.thank-you-logo {
    width: 180px;
    margin-bottom: 2rem;
}

.thank-you-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.thank-you-section h1 span {
    color: var(--primary-color);
}

.thank-you-section .btn {
    margin-top: 2rem;
}


/* RESPONSIVE */

@media (width < 900px) {
    nav {
        gap: 1rem;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem;
        background-color: rgba(17, 18, 23, 0.98);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links.open {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .nav-contact {
        display: none;
    }

    header,
    .home-section {
        grid-template-columns: 1fr;
        text-align: center;
        overflow: hidden;
    }

    header .content {
        width: 100%;
        max-width: 100%;
        justify-self: center;
    }

    header .content p {
        max-width: 100%;
    }

    header .image {
        width: 100%;
        max-width: 100%;
        grid-area: auto;
    }

    header .image img {
        max-width: 320px;
        width: 100%;
        margin: 0 auto;
    }

    .hero-socials,
    .game-buttons {
        justify-content: center;
    }

    .game-card,
    .studio-card {
        grid-template-columns: 1fr;
    }

    .game-image,
    .studio-image {
        min-height: auto;
    }

    .game-image img {
        height: auto;
        object-fit: contain;
    }

    .game-content,
    .studio-content {
        padding: 2rem;
        text-align: center;
    }

    .game-tags,
    .studio-tags {
        justify-content: center;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    footer {
        grid-template-columns: 1fr 200px;
    }
}

@media (width < 600px) {
    .container {
        padding: 4rem 1rem;
    }

    nav {
        padding: 0.7rem 1rem;
    }

    .nav-logo img {
        width: 110px;
    }

    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }

    header .content h1 {
        font-size: 2.2rem;
        line-height: 3rem;
    }

    .slogan {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
    }

    .animated-text {
        width: 100%;
        min-width: 0;
        font-size: 26px;
    }

    .hero-socials a {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    section .header {
        font-size: 2rem;
    }

    .game-content h3,
    .studio-content h3 {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    footer {
        grid-template-columns: 1fr;
    }
}