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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #171717;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
#shader{
    position:fixed;
    inset:0;
    width:100%;
    height:100%;
    z-index:0;
}

.container {
    position:relative;
    z-index:1;
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Logo Section */
.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: -20px;
}

.logo {
    max-width: 400px;
    height: auto;
}

.games-grid-header {
    width: 100%;
    max-width: 780px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: -24px;
}

.games-grid-header h2 {
    font-size: 22px;
    color: #f5f5f5;
}

.view-all-games-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.view-all-games-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Games Grid */
.games-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    max-width: 780px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
}

.game-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    flex: 0 0 205px;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card > a {
    display: block;
    height: 162px;
    background: rgba(255, 255, 255, 0.02);
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.game-card-content {
    padding: 10px 10px 14px;
    background-color: rgba(255, 255, 255, 0.04);
}

.game-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 5px;
}

.game-card p {
    font-size: 12px;
    color: #cfcfcf;
}

.games-grid::-webkit-scrollbar {
    height: 8px;
}

.games-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.28);
    border-radius: 999px;
}

.games-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

/* Social Proof */
.proof-section {
    width: 100%;
    max-width: 780px;
}

.proof-title {
    font-size: 22px;
    text-align: center;
    margin-bottom: 16px;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.proof-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.proof-card i {
    font-size: 18px;
    margin-bottom: 8px;
    color: #4a9b8e;
}

.proof-card h3 {
    font-size: 14px;
    margin-bottom: 6px;
}

.proof-card p {
    font-size: 12px;
    color: #cccccc;
    line-height: 1.5;
}

/* Featured Games Carousel */
.featured-carousel {
    width: 100%;
    max-width: 780px;
    background: linear-gradient(120deg, rgba(74, 155, 142, 0.22), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 18px;
}

.featured-label {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #cdece7;
    margin-bottom: 10px;
}

.featured-track {
    position: relative;
    min-height: 250px;
}

.featured-slide {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
}

.featured-slide.is-active {
    display: flex;
}

.featured-body {
    display: grid;
    grid-template-columns: 205px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.featured-media {
    width: 205px;
    height: 162px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
}

.featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.featured-content h2 {
    font-size: 22px;
    margin-bottom: 6px;
}

.featured-content p {
    font-size: 14px;
    color: #e8e8e8;
    line-height: 1.5;
}

.featured-screenshots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.featured-screenshots img {
    width: 100%;
    height: 86px;
    display: block;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    object-fit: cover;
    object-position: center;
    background: rgba(255, 255, 255, 0.08);
}

.featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 11px 16px;
    background: #ffffff;
    color: #111111;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    align-self: flex-start;
    margin-top: 4px;
}

.featured-cta:hover {
    background: #f0f0f0;
}

.featured-cta:focus-visible {
    outline: 3px solid #4a9b8e;
    outline-offset: 2px;
}

.featured-controls {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.carousel-btn {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.16);
}

.carousel-btn:focus-visible,
.carousel-dot:focus-visible {
    outline: 3px solid #4a9b8e;
    outline-offset: 2px;
}

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.carousel-dot.is-active {
    width: 20px;
    background: #ffffff;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 400px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.action-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.action-btn:active {
    transform: translateY(0);
}

.action-btn:focus-visible,
.social-icon:focus-visible,
.mailing-list-btn:focus-visible,
.mailing-list-input:focus-visible {
    outline: 3px solid #4a9b8e;
    outline-offset: 2px;
}

.action-btn i {
    color: #000000;
    font-size: 1rem;
}

/* Mailing List Section */
.mailing-list-section {
    width: 100%;
    max-width: 500px;
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-top: 10px;
    margin-bottom: 50px;
}

.mailing-list-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.mailing-list-subtitle {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 20px;
}

.mailing-list-form {
    width: 100%;
}

.mailing-list-input-group {
    display: flex;
    gap: 10px;
    width: 100%;
}

.mailing-list-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.mailing-list-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.mailing-list-input:focus {
    outline: none;
    border-color: #4a9b8e;
    background-color: rgba(255, 255, 255, 0.15);
}

.mailing-list-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #4a9b8e;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
}

.mailing-list-btn:hover {
    background-color: #3d8277;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(74, 155, 142, 0.3);
}

.mailing-list-btn:active {
    transform: translateY(0);
}

.mailing-list-btn:disabled {
    background-color: #666666;
    cursor: not-allowed;
    transform: none;
}

.mailing-list-btn:disabled:hover {
    box-shadow: none;
}

.mailing-list-message {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.mailing-list-message.success {
    display: block;
    background-color: rgba(212, 237, 218, 0.2);
    color: #d4edda;
    border: 1px solid rgba(195, 230, 203, 0.3);
}

.mailing-list-message.error {
    display: block;
    background-color: rgba(248, 215, 218, 0.2);
    color: #f8d7da;
    border: 1px solid rgba(245, 198, 203, 0.3);
}

.legal-links {
    margin-top: 14px;
    font-size: 12px;
    color: #bcbcbc;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.legal-links a {
    color: #bcbcbc;
    text-decoration: none;
}

.legal-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon .i {
    width: 40px;
    height: 40px;
}

.social-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-icon i {
    color: #000000;
    font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {

    .logo {
        max-width: 300px;
    }

    .games-grid {
        gap: 10px;
        max-width: 100%;
    }

    .games-grid-header {
        max-width: 100%;
        margin-bottom: -26px;
    }

    .games-grid-header h2 {
        font-size: 20px;
    }


    .proof-grid {
        grid-template-columns: 1fr;
    }

    .featured-track {
        min-height: 360px;
    }

    .featured-body {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .featured-media {
        margin: 0 auto;
        width: 205px;
        height: 162px;
    }

    .featured-screenshots img {
        height: 76px;
    }

    .featured-cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {

    .logo {
        max-width: 250px;
    }

    .games-grid {
        gap: 8px;
    }

    .games-grid-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: -28px;
    }

    .view-all-games-btn {
        width: 100%;
        justify-content: center;
    }


    .mailing-list-input-group {
        flex-direction: column;
    }

    .mailing-list-btn {
        width: 100%;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #000000;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .social-icon .i {
        width: 30px;
        height: 30px;
    }
}

