body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #e3e3e3, #ffffff);
    color: #222;
    text-align: center;
    transition: background 0.3s, color 0.3s;
}

nav {
    background: #222;
    padding: 14px;
    display: flex;
    justify-content: center;
}

nav a {
    color: white;
    margin: 12px;
    text-decoration: none;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.2s;
}

nav a:hover {
    background: rgba(255,255,255,0.2);
}

nav a.active {
    background: #4caf50;
}

.gameContainer {
    max-width: 480px;
    margin: 30px auto;
    padding: 25px;
    background: rgba(255,255,255,0.85);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    position: relative;
}

.emoji {
    font-size: 160px;
    cursor: pointer;
    user-select: none;
    margin: 20px 0;
    transition: transform 0.08s;
}

.emoji:active {
    transform: scale(0.88);
}

.infoBox {
    display: flex;
    justify-content: space-around;
    margin: 15px 0;
    font-size: 14px;
}

.shop {
    margin-top: 20px;
}

.upgrade {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    font-size: 15px;
    border-radius: 10px;
    border: none;
    background: #2196f3; 
    color: white;
    cursor: pointer;
    transition: transform 0.1s, background 0.2s;
}

.upgrade:active {
    transform: translateY(3px);
}

.upgrade.enough {
    background: #90ee90; 
}

.upgrade.notEnough {
    background: #ff5555; 
}

.settingsContainer {
    position: absolute;
    top: 10px;
    right: 10px;
}

.settingsEmoji {
    cursor: pointer;
    font-size: 28px;
}

.settingsMenu {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    width: 250px;
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    z-index: 10;
}

.colorOptions span {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 4px;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid #444;
}

.closeSettings {
    display: block;
    margin-top: 10px;
    cursor: pointer;
    font-size: 22px;
}

.reset {
    background: linear-gradient(135deg, #ff4d4d, #e53935);
    color: white;
    font-weight: bold;
    padding: 14px 0;
    margin-top: 20px;
    width: 100%;
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.1s, background 0.2s;
}

.reset:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ff6666, #f44336);
}

.reset:active {
    transform: translateY(2px);
    background: linear-gradient(135deg, #e53935, #c62828);
}


@media (max-width: 600px) {
    .emoji {
        font-size: 120px;
    }
}

.statCard {
    background: #2196f3;
    color: white;
    padding: 18px;
    margin: 12px auto;
    border-radius: 15px;
    max-width: 400px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: transform 0.2s, background 0.2s;
}

.statCard:hover {
    transform: translateY(-6px);
    background: #42a5f5;
}




.startPage {
    background: linear-gradient(135deg, #f0f8ff, #e3f2fd);
}

.startMain {
    max-width: 700px;
    margin: 60px auto;
    padding: 30px 25px;
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.startMain h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.startMain p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.startButton {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
}

.startButton:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #ffb74d, #ff7043);
}

.startButton:active {
    transform: scale(0.95);
}

.emojiHero {
    font-size: 120px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}


@media (max-width: 600px) {
    .startMain {
        margin: 40px 15px;
        padding: 20px;
    }

    .startMain h1 {
        font-size: 2rem;
    }

    .startMain p {
        font-size: 1rem;
    }

    .emojiHero {
        font-size: 90px;
    }
}





.anleitung-container {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: left;
    font-size: 16px;
    line-height: 1.6;
}

.anleitung-container h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.anleitung-container p {
    margin-bottom: 15px;
}

.anleitung-liste {
    list-style: none;
    padding: 0;
}

.anleitung-liste li {
    margin-bottom: 12px;
    font-size: 16px;
}

.anleitung-liste li::before {
    content: "👉";
    margin-right: 10px;
}

@media (max-width: 600px) {
    .anleitung-container {
        margin: 15px;
        padding: 15px;
    }
}

