:root {
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --background: #fafafa;
    --foreground: #0c0c0e;
    --muted: #f3f4f6;
    --muted-foreground: #71717a;
    --border: #e4e4e7;
    --border-hover: #d4d4d8;
    --card: #ffffff;
    --shadow: 0 1px 3px rgba(0, 0, 0, .1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1);
    --radius: .5rem;
    --transition-default: all .3s ease
}

@media (prefers-color-scheme: dark) {
    :root {
        --accent: #3b82f6;
        --accent-hover: #60a5fa;
        --background: #09090b;
        --foreground: #f9fafb;
        --muted: #27272a;
        --muted-foreground: #a1a1aa;
        --border: #27272a;
        --border-hover: #3f3f46;
        --card: #18181b
    }
}

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

html {
    scroll-behavior:smooth
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing:grayscale
}

img {
    max-width: 100%;
    height:auto
}

a {
    color: inherit;
    text-decoration:none
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font:inherit
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding:0 1.5rem
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 1rem 1.5rem;
    transition: var(--transition-default);
    background-color:var(--background);
}

.header.scrolled {
    background-color: rgba(var(--background), .8);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow:var(--shadow)
}

.header .container {
    display: flex;
    align-items: center;
    justify-content:space-between
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -.05em;
    transition:opacity .2s
}

.logo:hover {
    opacity:.8
}

.accent {
    color:var(--accent)
}

.mobile-menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .5rem;
    border-radius: 50%;
    color: var(--foreground);
    transition:background-color .2s
}

.mobile-menu-button:hover {
    background-color:var(--muted)
}

.mobile-menu-button svg {
    width: 1.25rem;
    height:1.25rem
}

.hidden, .desktop-nav {
    display:none
}

.desktop-nav a {
    margin-left: 2rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    transition: color .2s;
    padding:.5rem 0
}

.desktop-nav a:hover {
    color:var(--foreground)
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(var(--background), .9);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    z-index: 40;
    transform: translate(100%);
    transition:transform .3s ease-in-out
}

.mobile-nav.open {
    transform:translate(0)
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap:2rem
}

.mobile-nav a {
    font-size: 1.125rem;
    font-weight: 500;
    transition:color .2s
}

.mobile-nav a:hover {
    color:var(--accent)
}

@media (min-width: 768px) {
    .desktop-nav {
        display:flex
    }

    .mobile-menu-button {
        display:none
    }
}

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

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, var(--muted), var(--background), var(--background));
    z-index: -1;
    overflow:hidden
}

.gradient-blob-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 50%;
    background-color: #3b82f60d;
    border-radius: 50%;
    filter: blur(100px);
    transform: translate(25%, -25%);
    animation:float 6s ease-in-out infinite
}

.gradient-blob-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 50%;
    background-color: #3b82f60d;
    border-radius: 50%;
    filter: blur(100px);
    transform: translate(-25%, 25%);
    animation:float 6s ease-in-out infinite 2s
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width:48rem
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: .25rem .75rem;
    font-size: .75rem;
    font-weight: 500;
    background-color: var(--muted);
    color: var(--accent);
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    animation:fadeInDown .6s ease-out
}

.main-heading {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing:-.025em
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right:auto
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom:2rem
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .875rem;
    font-weight: 500;
    padding: .75rem 1.5rem;
    border-radius: var(--radius);
    transition: var(--transition-default);
    gap:.5rem
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
    box-shadow:var(--shadow)
}

.btn-primary:hover {
    background-color:var(--accent-hover)
}

.btn-secondary {
    background-color: var(--background);
    border:1px solid var(--border)
}

.btn-secondary:hover {
    background-color:var(--muted)
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content:center
}

.scroll-button {
    padding: .5rem;
    border-radius: 9999px;
    color: var(--muted-foreground);
    transition:background-color .2s
}

.scroll-button:hover {
    background-color:var(--muted)
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content:center
    }

    .main-heading {
        font-size:3.5rem
    }
}

@media (min-width: 1024px) {
    .main-heading {
        font-size:4rem
    }
}

.games-section {
    padding: 6rem 1.5rem;
    position:relative
}

.section-heading {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom:.75rem
}

.icon-accent {
    color:var(--accent)
}

.section-label {
    font-size: .875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .05em;
    color:var(--accent)
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height:1.2
}

.section-subtitle {
    color: var(--muted-foreground);
    margin-bottom: 3rem;
    max-width:36rem
}

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

.game-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition:transform .3s, box-shadow .3s, border-color .3s
}

.game-card:hover {
    border-color: #3b82f633;
    box-shadow:var(--shadow-lg)
}

.game-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow:hidden
}

.game-image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    transition:transform .7s ease-in-out
}

.game-card:hover .game-image img {
    transform:scale(1.05)
}

.game-card-header {
    padding:1.5rem 1.5rem .75rem
}

.game-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom:.5rem
}

.game-category {
    display: inline-block;
    padding: .25rem .75rem;
    background-color: var(--muted);
    color: var(--accent);
    border-radius: 9999px;
    font-size: .75rem;
    font-weight:500
}

.game-date {
    display: flex;
    align-items: center;
    gap: .25rem;
    font-size: .75rem;
    color:var(--muted-foreground)
}

.game-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: .5rem;
    transition:color .2s
}

.game-card:hover .game-title {
    color:var(--accent)
}

.game-description {
    font-size: .875rem;
    color: var(--muted-foreground);
    display: -webkit-box;
    /* -webkit-line-clamp: 5; */
    -webkit-box-orient: vertical;
    overflow:hidden
}

.game-card-footer {
    padding:.75rem 1.5rem 1.5rem
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: .5rem 1rem;
    font-size: .875rem;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: transparent;
    transition: border-color .2s, background-color .2s;
    gap:.25rem
}

.btn-outline:hover {
    border-color: #3b82f680;
    background-color:var(--muted)
}

.btn-outline.disabled {
    opacity: .7;
    cursor:not-allowed
}

@media (min-width: 768px) {
    .games-grid {
        grid-template-columns:repeat(2, 1fr)
    }

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

@media (min-width: 1024px) {
    .games-grid {
        grid-template-columns:repeat(3, 1fr)
    }
}

.about-section {
    padding: 6rem 1.5rem;
    background-color:rgba(var(--muted), .5)
}

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

.about-text {
    color: var(--muted-foreground);
    display: flex;
    flex-direction: column;
    gap:1.5rem
}

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

.value-card {
    padding: 1.5rem;
    border-radius: var(--radius);
    background-color: var(--card);
    border: 1px solid var(--border);
    transition:transform .3s, border-color .3s, box-shadow .3s
}

.value-card:hover {
    border-color: #3b82f64d;
    box-shadow:var(--shadow)
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: var(--muted);
    color: var(--accent);
    margin-bottom:1rem
}

.value-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom:.5rem
}

.value-description {
    color: var(--muted-foreground);
    font-size:.875rem
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap:5rem
    }
}

.newsletter-section {
    padding: 5rem 1.5rem;
    background-color:rgba(var(--muted), .5)
}

.newsletter-icon {
    display: flex;
    justify-content: center;
    margin-bottom:.75rem
}

.newsletter-icon svg {
    padding: .75rem;
    background-color: var(--muted);
    color: var(--accent);
    border-radius:9999px
}

.newsletter-text {
    color: var(--muted-foreground);
    max-width: 32rem;
    margin:0 auto 2rem
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    max-width: 32rem;
    margin:0 auto
}

.newsletter-input {
    width: 100%;
    padding: .75rem 1rem;
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size:.875rem
}

.newsletter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    padding: .75rem 1.5rem;
    background-color: var(--accent);
    color: #fff;
    border-radius: var(--radius);
    font-size: .875rem;
    font-weight: 500;
    transition:background-color .2s
}

.newsletter-button:hover {
    background-color:var(--accent-hover)
}

.newsletter-disclaimer {
    font-size: .75rem;
    color: var(--muted-foreground);
    margin-top:1rem
}

@media (min-width: 640px) {
    .newsletter-form {
        flex-direction:row
    }

    .newsletter-input {
        flex-grow:1
    }
}

.contact-section {
    padding:6rem 1.5rem
}

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

.contact-text {
    color: var(--muted-foreground);
    max-width: 28rem;
    margin-bottom:2rem
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom:2.5rem
}

.social-link {
    display: flex;
    align-items: center;
    gap: .375rem;
    padding: .5rem 1rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: .875rem;
    transition:border-color .2s, background-color .2s
}

.social-link:hover {
    border-color: #3b82f64d;
    background-color:var(--muted)
}

.direct-contact {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background-color: rgba(var(--muted), .5);
    border: 1px solid var(--border);
    border-radius:var(--radius)
}

.direct-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: var(--muted);
    color: var(--accent);
    flex-shrink: 0;
    margin-top:.25rem
}

.direct-contact-title {
    font-weight: 500;
    margin-bottom:.25rem
}

.direct-contact-subtitle {
    font-size: .875rem;
    color: var(--muted-foreground);
    margin-bottom:.5rem
}

.direct-contact-link {
    color: var(--accent);
    transition: -webkit-text-decoration .2s;
    transition: text-decoration .2s;
    transition:text-decoration .2s, -webkit-text-decoration .2s
}

.direct-contact-link:hover {
    text-decoration:underline
}

.contact-form-container {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding:1.5rem 2rem
}

.form-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom:1.5rem
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap:1.5rem
}

.form-group {
    display: flex;
    flex-direction: column;
    gap:.5rem
}

.form-label {
    font-size: .875rem;
    font-weight:500
}

.form-input, .form-textarea {
    width: 100%;
    padding: .75rem 1rem;
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: .875rem;
    font-family:inherit
}

.form-textarea {
    resize: none;
    min-height:10rem
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: .5rem;
    padding: .75rem 1.5rem;
    background-color: var(--accent);
    color: #fff;
    border-radius: var(--radius);
    font-size: .875rem;
    font-weight: 500;
    transition:background-color .2s
}

.btn-submit:hover {
    background-color:var(--accent-hover)
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap:5rem
    }
}

.site-footer {
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--border);
    background-color:var(--background)
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items:center
}

.footer-logo {
    font-weight: 500;
    margin-bottom:.25rem
}

.footer-copyright {
    font-size: .75rem;
    color:var(--muted-foreground)
}

.footer-tagline {
    font-size: .875rem;
    color:var(--muted-foreground)
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content:space-between
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform:translateY(-20px)
    }

    to {
        opacity: 1;
        transform:translateY(0)
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform:translateY(20px)
    }

    to {
        opacity: 1;
        transform:translateY(0)
    }
}

@keyframes fadeIn {
    0% {
        opacity:0
    }

    to {
        opacity:1
    }
}

@keyframes float {
    0%, to {
        transform:translateY(0)
    }

    50% {
        transform:translateY(-8px)
    }
}

.animate-fade-in {
    animation:fadeIn .6s ease-out
}

.animate-fade-in-up {
    animation:fadeInUp .7s ease-out
}

.animate-fade-in-down {
    animation:fadeInDown .7s ease-out
}

.animate-bounce {
    animation:float 1.5s infinite
}

.text-center {
    text-align:center
}

.hidden {
    display: none
}
