html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: white;
    min-height: 100vh;
    padding: 2rem;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.main-header .logo img {
    width: 120px;
    height: auto;
    transition: transform 0.2s ease;
}

.main-header .logo:hover img {
    transform: scale(1.05);
}

.main-header .company-subtitle {
    color: #a8a8a8;
    font-size: 0.9rem;
    margin: 0;
    max-width: 300px;
    text-align: left;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 100px;
}

.logo img {
    width: 40%;
    
    height: auto;
    margin-bottom: 0rem;
}

.game-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
}

.game-logo img {
    width: 50%;
    height: auto;
    margin-bottom: 0.25rem;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.game-logo img:hover {
    transform: scale(1.05);
}

.game-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.game-description {
    font-size: 1.2rem;
    color: #a8a8a8;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.links-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 0;
    padding-top: 0.25rem;
}

.play-store-button {
    display: block;
    margin: 0;
}

.play-store-button img {
    width: 200px;
    height: auto;
    transition: transform 0.2s ease;
}

.screenshots {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 2rem 0;
}

.screenshots img {
    width: 30%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.screenshots img:hover {
    transform: scale(1.05);
}

.contact-section {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-section p {
    color: #a8a8a8;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.contact-link {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.social-link {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: var(--accent-color);
}

.review-link {
    margin: 0;
}

.review-link a {
    color: #a8a8a8;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.review-link a:hover {
    color: white;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 2rem auto 0;
}

.video-container iframe {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 10px;
    display: block;
    border: none;
    padding: 0;
    margin: 0;
}

.header-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 3rem;
}

.header-social .social-link img {
    width: 32px;
    height: 32px;
    transition: transform 0.2s ease;
}

.header-social .social-link:hover img {
    transform: scale(1.1);
}

.games-section, .news-section, .about-section {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.games-section h2, .news-section h2, .about-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: left;
}

.news-date {
    color: #a8a8a8;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

.news-item p {
    color: #a8a8a8;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.read-more:hover {
    color: white;
}

.news-content {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.news-content.hidden {
    display: none;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.read-more-btn:hover {
    color: white;
}

.news-content ul {
    list-style-type: none;
    margin: 1rem 0;
    padding-left: 1rem;
}

.news-content li {
    margin-bottom: 0.5rem;
    color: #a8a8a8;
}

.news-content li:before {
    content: "→";
    margin-right: 0.5rem;
    color: var(--accent-color);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1100;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.modal-logo {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: var(--accent-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-content p {
    color: #a8a8a8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.contact-form {
    max-width: 800px;
    width: 100%;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: white;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: white;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: white;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5em;
}

.form-group select option {
    background: #1a1a1a;
    color: white;
    padding: 0.8rem;
}

.submit-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--accent-color-dark);
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    align-items: center;
}

.page-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 40px;
    font-size: 1rem;
}

.page-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.page-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.news-item {
    display: none; /* Hide all news items by default */
}

.news-item.visible {
    display: block; /* Show only visible news items */
}

@media (max-width: 768px) {
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    .main-header .logo {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .main-header .logo img {
        width: 60px;
        height: auto;
    }

    .main-header .company-subtitle {
        display: none;
    }

    .header-social {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin: 0;
        background: none;
        padding: 0.5rem;
        margin-bottom: 0;
    }

    .header-social .social-link img {
        width: 24px;
        height: 24px;
    }

    .main-nav {
        order: 3;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(5px);
        flex-direction: column;
        padding: 1rem 0;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .logo img {
        width: 30%;
    }

    .game-logo img {
        width: 70%;
    }

    .game-info h2 {
        font-size: 2rem;
    }

    .game-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .screenshots {
        flex-direction: column;
        align-items: center;
    }

    .screenshots img {
        width: 80%;
    }

    .social-links {
        gap: 1rem;
    }

    .links-container {
        flex-direction: column;
        gap: 1rem;
    }

    .play-store-button img {
        width: 200px;
    }

    .video-container {
        max-width: 100%;
        margin: 0.5rem auto;
    }

    .modal-logo {
        max-width: 90vw;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        padding: 1rem;
    }
    
    .news-item h3 {
        font-size: 1.2rem;
    }

    .contact-form {
        padding: 1.5rem;
        margin: 1rem auto;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
    }
}