body {
    font-family: 'Press Start 2P', cursive;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    overflow-x: hidden;
}

#game-container {
    background-color: #111;
    border: 3px solid #666;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
    text-align: center;
    width: 90%;
    max-width: 800px;
}

header h1 {
    color: #ccc;
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px #000;
}

#stats-area {
    background-color: #1a1a1a;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #666;
}

#stats-area p {
    margin: 5px 0;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.currency-icon {
    width: 20px;
    height: 20px;
    margin: 0 5px;
    vertical-align: middle;
}

#character-area {
    margin-bottom: 20px;
}

#character-avatar {
    width: 100px;
    height: 100px;
    border: 2px solid #aaa;
    border-radius: 50%;
    background-color: #222;
    margin-bottom: 10px;
    image-rendering: pixelated;
    box-shadow: 0 0 5px #555;
}

#character-status {
    font-style: italic;
    color: #aaa;
    min-height: 1.2em;
}

#begButton, #bragButton {
    font-family: 'Press Start 2P', cursive;
    background-color: #333;
    color: #fff;
    border: 1px solid #555;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 20px;
    box-shadow: 0 5px #111;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#begButton:hover, #bragButton:hover {
    background-color: #444;
    outline: 1px solid #fff;
}

#begButton:active, #bragButton:active {
    background-color: #111;
    transform: translateY(2px);
    box-shadow: 0 3px #000;
}

.button-icon {
    font-size: 1.2em;
}

#shop-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    margin-top: 20px;
}

.shop-column {
    background-color: #1a1a1a;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #555;
    flex: 1;
    min-width: 300px;
    box-sizing: border-box;
}

.shop-column h2 {
    color: #ccc;
    font-size: 1.2em;
    margin-bottom: 15px;
    border-bottom: 1px solid #555;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.shop-item {
    background-color: #222;
    border: 1px solid #333;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    text-align: left;
    transition: background-color 0.2s;
}

.shop-item:hover {
    background-color: #2a2a2a;
}

.shop-item h3 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #eee;
    font-size: 1em;
}

.shop-item p {
    font-size: 0.8em;
    margin: 5px 0;
    color: #aaa;
}

.shop-item .item-cost {
    font-weight: bold;
    color: #ccc;
}

.shop-item .item-owned {
    font-size: 0.8em;
    color: #777;
}

.shop-item button {
    font-family: 'Press Start 2P', cursive;
    background-color: #444;
    color: white;
    border: 1px solid #666;
    padding: 8px 12px;
    font-size: 0.8em;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    margin-top: 5px;
    box-shadow: 0 3px #222;
}

.shop-item button:hover {
    background-color: #555;
    outline: 1px solid #fff;
}

.shop-item button:active {
    background-color: #333;
    transform: translateY(1px);
    box-shadow: 0 2px #111;
}

.shop-item button:disabled {
    background-color: #111;
    color: #555;
    cursor: not-allowed;
    box-shadow: 0 3px #000;
}

footer {
    margin-top: 30px;
    font-size: 0.7em;
    color: #777;
}

footer button {
    font-family: 'Press Start 2P', cursive;
    background-color: #444;
    color: white;
    border: 1px solid #666;
    padding: 5px 10px;
    font-size: 0.8em;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s ease;
}

footer button:hover {
    background-color: #666;
    outline: 1px solid #fff;
}

#click-feedback-container {
    position: relative;
    height: 30px;
    margin-bottom: 10px;
}

.click-feedback {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2em;
    color: #ccc;
    animation: floatUp 1s ease-out forwards;
    pointer-events: none;
    text-shadow: 1px 1px #000;
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50px);
    }
}

#social-area {
    margin: 20px 0;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    #begButton, #bragButton {
        font-size: 1em;
        padding: 12px 24px;
    }
    .shop-column {
        min-width: 100%;
    }
    #stats-area p {
        font-size: 0.8em;
    }
}