:root {
    --primary-color: #4a90e2;
    --dark-bg: #1a1a1a;
    --light-text: #f5f5f5;
    --medium-text: #cccccc;
    --card-bg: #2c2c2c;
    --text-color: #EAEAEA;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}


.content-wrapper {
    padding: 0 5px 2rem;
    max-width: 960px;
    margin: 0 auto;
}

.section {
    margin-bottom: 4rem;
}

h1, h2 {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

h2 {
    font-size: 2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
    width: 100%;
}

p {
    color: var(--medium-text);
    margin-bottom: 1rem;
}

.hero {
    text-align: center;
    padding:  0;
}

.play-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.play-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.grid-item {
    background-color: var(--card-bg);
    padding: 1.5rem 1rem;
    border-radius: 8px;
}

.grid.block img {
    height: 32px;
}

.grid-item img {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.grid-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.screenshots {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.screenshots img {
    max-width: 100%;
    width: 360px;
    border-radius: 8px;
    border: 3px solid var(--card-bg);
}

.about-section, .tips-section, .faq-section {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
}

.faq-question {
    font-weight: bold;
    color: var(--light-text);
}

footer {
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 4rem;
    border-top: 1px solid var(--card-bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.blog-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.blog-card-content {
    padding: 1rem;
}
.blog-card-content h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
}
.blog-card-content p {
    font-size: 0.9rem;
    line-height: 1.5;
}
#fullscreen-game-button {
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: #007aff; /* Apple Blue */
    border: none;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

#fullscreen-game-button:hover {
    background-color: #0056b3;
    transform: translateX(-50%) scale(1.05);
}