body {
    margin: 0;
    padding: 20px;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    min-height: 100vh;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.logo-container {
    background: white;
    padding: 5px;
    text-align: center;
    margin-bottom: 10px;
    width: 390px;
    border: 2px solid #008000;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(139, 69, 19, 0.3);
}

.logo-text {
    font-size: 55px;
    font-weight: bold;
    color: #00cc00;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.game-container {
    width: 400px;
    max-width: 400px;
    text-align: center;
    margin: 0 auto;
}

.controls-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 10px 0;
}

.timer {
    font-size: 22px;
    margin: 10px 0;
}

.hint-row {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 20px 0;
}

.hint-cell {
    width: 50px;
    height: 35px;
    background: #007f00;
    border: 2px solid #aaa;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.guess-grid {
    display: grid;
    gap: 5px;
    margin: 20px 0;
}

.guess-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    margin: 0 auto;
    max-width: 300px;
}

.cell {
    width: 50px;
    height: 35px;
    border: 2px solid #aaa;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: white;
}

.press-enter-text {
    font-size: 20px;
    margin: 10px 0;
    color: #333333;
    font-weight: bold;
}

.press-enter-text2 {
    font-size: 18px;
    margin: 20px 0;
    color: #fc0b03;
    font-weight: bold;
}

.keypad {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin: 5px auto;
    padding: 2px;
    background: #999999;
    max-width: 380px;
}

.key {
    width: 92px;
    height: 45px;
    aspect-ratio: 1;
    font-size: 24px;
    font-weight: bold;
    border: none;
    background: #666666;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.key:active {
    background: #555555;
}

.game-description {
    text-align: left;
    padding: 3px;
    background: white;
    border-radius: 10px;
    margin-bottom: 3px;
}

.game-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #008000;
    margin-bottom: 8px;
}

.sorry-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #006000;
    margin-bottom: 8px;
}

.game-text {
    font-size: 18px;
    line-height: 1.15;
    margin-bottom: 5px;
}

.highlight {
    color: #008000;
    font-weight: bold;
}

.color-example {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    margin: 0 2px;
}

.timer-select {
    padding: 8px 15px;
    font-size: 18px;
    border-radius: 20px;
    border: 2px solid #008000;
    cursor: pointer;
    background: white;
    min-width: 120px;
}

.start-btn, .play-again-btn {
    background: linear-gradient(180deg, #00cc00 0%, #008800 100%);
    color: white;
    border: none;
    padding: 5px 60px;
    font-size: 25px;
    border-radius: 10px;
    cursor: pointer;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.start-btn:hover, .play-again-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.3);
}

.result-container {
    text-align: center;
    padding: 10px;
    margin-top: 5px;
}

.result-image {
    width: 350px;
    height: auto;
    margin: 10px auto;
    display: block;
}

.result-text {
    font-size: 36px;
    color: #008000;
    margin: 20px 0;
    font-style: italic;
}

.stats-text {
    font-size: 18px;
    margin: 10px 0;
    color: #333;
}

.gray-text { background-color: #808080; color: white; }
.yellow-text { background-color: #FFD700; color: black; }
.green-text { background-color: #008000; color: white; }

.green { background-color: #008000; color: white; }
.yellow { background-color: #FFD700; color: black; }
.gray { background-color: #808080; color: white; }

.question-mark {
    font-size: 26px;
    color: white;
}

.copyright-text {
    text-align: center;
    margin: 10px 0;
    color: #666;
    font-size: 18px;
}

.promo-banner {
    width: 100%;
    max-width: 300px;
    text-align: center;
    margin: 10px auto 0;
    padding: 5px;
    background: white;
}

.promo-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}