* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Courier New', monospace;
    background: #F7F7F7;
    color: #000;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}
.container {
    background: #FFFFFF;
    border: 2px solid #000000;
    padding: 1rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
}
.game-area {
    position: relative;
    display: inline-block;
}
#gameCanvas {
    border: 2px solid #000000;
    background: #FFFFFF;
    display: block;
    margin: 0 auto 1rem;
}
.game-ui {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}
.game-controls {
    display: flex;
    gap: 1rem;
}
.score-display {
    font-size: 1rem;
    font-weight: bold;
    color: #000000;
}
.score-label {
    margin-right: 0.5rem;
}
#scoreValue {
    color: #000000;
    font-size: 1.2rem;
}
.game-button {
    background: #FFFFFF;
    color: #000000;
    border: 2px solid #000000;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.game-button:hover {
    background: #000000;
    color: #FFFFFF;
}
.game-button:active {
    background: #808080;
    color: #FFFFFF;
}
.instructions {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}
@media (max-width: 900px) {
    .container {
        margin: 1rem;
        padding: 1rem;
    }
    
    #gameCanvas {
        width: 100%;
        max-width: 600px;
        height: auto;
    }
    
    .game-ui {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Content Section Styles */
.content-section {
    margin-top: 0;
    padding: 60px 0;
    background: #FFFFFF;
    border-top: 4px solid #2C3E50;
}

.content-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.game-article {
    color: #1A1A1A;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    background: #FFFFFF;
    padding: 40px;
    border-radius: 0;
    box-shadow: none;
}

.content-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px;
    background: #1A1A1A;
    margin: -40px -40px 50px -40px;
    border-radius: 0;
}

.content-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #FFFFFF;
    text-shadow: none;
    font-weight: 700;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1.2rem;
    color: #F5F5F5;
    opacity: 1;
    font-weight: 400;
}

.game-article h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px 0;
    color: #1A1A1A;
    border-left: 5px solid #0066CC;
    padding-left: 20px;
    background: #F8F9FA;
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    font-weight: 600;
}

.game-article h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px 0;
    color: #1A1A1A;
    font-weight: 600;
}

.game-article p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #333333;
    line-height: 1.8;
}

.game-article ul {
    margin: 20px 0;
    padding-left: 35px;
}

.game-article li {
    margin-bottom: 12px;
    color: #333333;
    font-size: 1.05rem;
    position: relative;
}

.game-article li::before {
    content: "▶";
    position: absolute;
    left: -25px;
    color: #0066CC;
    font-size: 0.8rem;
}

.game-article strong {
    color: #1A1A1A;
    font-weight: 700;
    background: none;
    -webkit-text-fill-color: #1A1A1A;
}

.comparison-table {
    margin: 30px 0;
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #D1D5DB;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    border: none;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #D1D5DB;
}

.comparison-table th {
    background: #1A1A1A;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 1rem;
}

.comparison-table td {
    background: #FFFFFF;
    color: #333333;
    font-size: 1rem;
}

.comparison-table tr:nth-child(even) td {
    background: #F8F9FA;
}

.controls-guide {
    background: #F8F9FA;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #D1D5DB;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq h3 {
    color: #1A1A1A;
    margin-top: 25px;
    font-size: 1.2rem;
    background: none;
    -webkit-text-fill-color: #1A1A1A;
    font-weight: 600;
}

.conclusion {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: #1A1A1A;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.conclusion h2 {
    border: none;
    padding: 0;
    margin-bottom: 25px;
    color: #FFFFFF;
    font-size: 1.8rem;
}

.conclusion p {
    font-size: 1.1rem;
    color: #F5F5F5;
    font-weight: 400;
}

/* Responsive Design for Content */
@media (max-width: 768px) {
    .content-header h1 {
        font-size: 2rem;
    }
    
    .game-article h2 {
        font-size: 1.5rem;
    }
    
    .game-article h3 {
        font-size: 1.2rem;
    }
    
    .content-container {
        padding: 0 15px;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 8px;
    }
}
