* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --primary: #0EA5E9;
    --primary-dark: #0284C7;
    --secondary: #10B981;
    --accent: #F59E0B;
    --dark: #0F172A;
    --light: #F1F5F9;
    --text: #1E293B;
    --text-light: #475569
}

html {
    scroll-behavior: smooth
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text)
}

.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .1);
    z-index: 1000;
    padding: 1rem 0
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color .3s
}

.nav-links a:hover {
    color: var(--primary)
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: .3s
}

.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden
}

.hero picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, .7) 0%, rgba(2, 132, 199, .7) 100%);
    z-index: 2
}

.hero-content {
    text-align: center;
    color: #fff;
    padding: 2rem;
    max-width: 800px;
    position: relative;
    z-index: 3
}

.hero-content h1 {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    word-wrap: break-word;
    overflow-wrap: break-word
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    opacity: .9;
    margin-bottom: 2rem
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #fff;
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform .3s, box-shadow .3s
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2)
}

.section {
    padding: 6rem 2rem
}

.section-alt {
    background: var(--light)
}

.container {
    max-width: 1200px;
    margin: 0 auto
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark)
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem auto
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center
}

.about-text h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem
}

.stat-item {
    text-align: center
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary)
}

.stat-label {
    color: var(--text-light);
    font-size: .9rem
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .15)
}

.about-image img {
    width: 100%;
    height: auto;
    display: block
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: #fff
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    min-height: 420px
}

.game-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
    transition: transform .3s, box-shadow .3s
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15)
}

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover
}

.game-image-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem
}

.game-content {
    padding: 1.5rem
}

.game-content h2 {
    font-size: 1.4rem;
    margin-bottom: .5rem;
    color: var(--dark)
}

.game-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: .95rem
}

.game-tags {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap
}

.game-tag {
    padding: .3rem .8rem;
    background: var(--light);
    color: #0369a1;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 500
}

.store-buttons {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: 1rem
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 600;
    transition: transform .2s, opacity .2s
}

.store-btn:hover {
    transform: translateY(-2px);
    opacity: .9
}

.store-btn.appstore {
    background: #000;
    color: #fff
}

.store-btn.playstore {
    background: #01875f;
    color: #fff
}

.store-btn.itchio {
    background: #fa5c5c;
    color: #fff
}

.store-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem
}

.contact-info h2 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 1rem
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff
}

.contact-details h4 {
    color: var(--dark);
    margin-bottom: .2rem
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
    font-size: 1rem
}

.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08)
}

.form-group {
    margin-bottom: 1.5rem
}

.form-group label {
    display: block;
    margin-bottom: .5rem;
    font-weight: 500;
    color: var(--dark)
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color .3s
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary)
}

.form-group textarea {
    height: 150px;
    resize: vertical
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .3s, transform .3s
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px)
}

.footer {
    background: var(--dark);
    color: #fff;
    padding: 4rem 2rem 2rem
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff
}

.footer-brand p {
    color: rgba(255, 255, 255, .7);
    line-height: 1.8
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #fff
}

.footer-links {
    list-style: none
}

.footer-links li {
    margin-bottom: .8rem
}

.footer-links a {
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    transition: color .3s
}

.footer-links a:hover {
    color: #fff
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem
}

.footer-bottom p {
    color: rgba(255, 255, 255, .5)
}

.social-links {
    display: flex;
    gap: 1rem
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, .1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background .3s
}

.social-links a:hover {
    background: var(--primary)
}

@media(max-width:992px) {

    .about-content,
    .contact-content {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:768px) {
    .hero {
        min-height: 60vh
    }

    .hero-image {
        object-position: center top
    }

    .section {
        padding: 4rem 1.5rem
    }

    .section-title {
        font-size: 1.8rem
    }

    .section-subtitle {
        font-size: 1rem
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 1rem 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .1)
    }

    .nav-links.active {
        display: flex
    }

    .mobile-menu-btn {
        display: flex
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem
    }

    .game-image-placeholder {
        height: 180px
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem
    }

    .stat-number {
        font-size: 1.8rem
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center
    }

    .store-buttons {
        justify-content: center
    }

    .store-btn {
        padding: .4rem .8rem;
        font-size: .75rem
    }

    .contact-form {
        padding: 1.5rem
    }
}

@media(max-width:480px) {
    .hero {
        min-height: 50vh
    }

    .nav-container {
        padding: 0 1rem
    }

    .logo {
        font-size: 1.2rem
    }

    .section {
        padding: 3rem 1rem
    }

    .section-title {
        font-size: 1.5rem
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem
    }

    .stat-number {
        font-size: 2rem
    }

    .game-content h2 {
        font-size: 1.2rem
    }

    .game-content p {
        font-size: .9rem
    }

    .contact-info h2 {
        font-size: 1.4rem
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0
}