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

html {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: #FF6300;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-header {
    background: #26aae1;
    color: white;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 0px 4px rgba(0,0,0,0.5);
}

.nav-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0.75rem 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.nav-logo {
    flex: 0 0 220px;
    display: flex;
    justify-content: center;
    height: 100px;
}

.nav-logo .logo-img {
    height: 100px;
    width: 100px;
}

.nav-menu {
    flex: 1;
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link.active {
    color: white;
    text-decoration: underline;
    text-underline-offset: 6px;
}

.no-link-underline {
  text-decoration: none;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 10rem;
    flex: 1;
}

.games-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.game-card {
    display: flex;
    margin-bottom: 3rem;
    align-items: center;
    gap: 4rem;
}

.game-image {
    flex: 0 0 220px;
}

.game-image img {
    width: 100%;
    height: auto;
}

.game-content {
    flex: 1;
}

.game-content h2 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.game-content p {
    margin-bottom: 1.5rem;
    color: #333;
    line-height: 1.6;
}


.game-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.buy-button {
    background: #E53E3E;
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.buy-button:hover {
    background: #C53030;
    text-decoration: none;
}

.contact-section {
    text-align: center;
    margin-top: 0;
}

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

.apps-container h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: #333;
}

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

.app-icon img {
    height: 75px;
    width: auto;
}

.app-content h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

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

.about-container h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: #333;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #333;
}

.about-image {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
}

.giving-back h2 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    text-align: center;
}

.call-to-action {
    text-align: center;
    margin-top: 3rem;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-container h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: #333;
}

.contact-intro {
    text-align: center;
}

.contact-intro p {
    max-width: 500px;;
    color: #333;
}

.contact-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 16px;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.required {
    color: #999;
    font-weight: normal;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #52BFDC;
}

.send-button {
    background: #E8E8E8;
    color: #333;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.send-button:hover {
    background: #D0D0D0;
}

.contact-button-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 80px;
    margin-bottom: 10px;
}

.email-button {
    background: #26aae1;
    color: white;
    padding: 1rem 0rem;
    text-decoration: none;
    border-radius: 1.5rem;
    border: none;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: background-color 0.3s ease;
    width: 220px;
}

.email-button:hover {
    background: #1a8bb8;
    text-decoration: none;
}

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

.product-hero {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.product-image-large {
    flex: 0 0 400px;
}

.product-image-large img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-details {
    flex: 1;
}

.product-details h1 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.product-details p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #333;
}

.product-details h3 {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #333;
}

.buy-button-large {
    background: #E53E3E;
    color: white;
    padding: 1rem 3rem;
    text-decoration: none;
    border-radius: 1.8rem;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease;
}

.buy-button-large:hover {
    background: #C53030;
    text-decoration: none;
}

.game-specs {
    margin-bottom: 1rem;
}

.spec-item {
    margin-bottom: 0;
    color: #555;
}

.game-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.review-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.review-container h3 {
    margin: 20px 0 20px 0;
}

.review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: dense;
    row-gap: 20px;
    margin-left: 0px;
}

.review-item {
    width: 340px;
    display: contents;
}

.review-item img {
    grid-column: 1;
    justify-self: center;
}

.review-item a {
    grid-column: 2;
    align-self: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.review-logo {
  max-height: 90px;
  max-width: 200px;
}

.review-logo-circle {
  max-height: 90px;
  border-radius: 50%;
}

.site-footer {
    background: #26aae1;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    gap: 2rem;
}

.footer-content p {
    margin: 0;
    display: flex;
    align-items: center;
}

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

.footer-logo .footer-logo-img {
    height: 40px;
    width: auto;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.social-icon {
    height: 20px;
    width: auto;
}

.page-404-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
}

.page-404-content {
    padding: 0;
}

.page-404-content h2 {
    color: #26aae1;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.page-404-message {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 500;
}

.page-404-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-404-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.page-404-button {
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
}

.page-404-button.primary {
    background: #E53E3E;
    color: white;
}

.page-404-button.primary:hover {
    background: #C53030;
}

.page-404-button.secondary {
    background: transparent;
    color: #26aae1;
    border-color: #26aae1;
}

.page-404-button.secondary:hover {
    background: #26aae1;
    color: white;
}

.page-404-fun-fact {
    background: rgba(38, 170, 225, 0.1);
    border: 2px solid #26aae1;
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
    font-style: italic;
}

.page-404-fun-fact strong {
    color: #26aae1;
}

@media (max-width: 768px) {
    .nav-container {
        gap: 1rem;
    }

    .nav-logo {
        flex: 0;
        height: 50px;
    }

    .nav-logo .logo-img {
        height: 50px;
        width: 50px;
    }

    .nav-menu {
        flex: 0;
        gap: 1rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.25rem 0;
    }

    .games-container {
        gap: 2rem;
    }

    .game-card,
    .product-hero {
        flex-direction: column;
        gap: 1.25rem;
    }

    .game-logo {
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .game-image {
        flex: none;
        max-width: 100%;
    }
    
    .buy-button {
        display: block;
        margin: 0 auto;
        width: fit-content;
    }
    
    .product-image-large {
        flex: none;
        max-width: 300px;
        margin: 0 auto;
    }

    .game-image img {
        max-width: 220px;
        margin: 0 auto;
        display: block;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .main-content {
        padding: 2rem;
        padding-top: 6rem;
    }

    .page-404-content {
        padding: 2rem 1rem;
    }
    
    .page-404-content h1 {
        font-size: 2rem;
    }
    
    .page-404-content h2 {
        font-size: 1.4rem;
    }
    
    .page-404-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .page-404-button {
        width: 200px;
        text-align: center;
    }
    
    .page-404-fun-fact {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

