body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #4a5d23 0%, #8b4513 50%, #2f4f2f 100%);
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

.leaves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.leaf {
    position: absolute;
    width: 50px;
    height: 70px;
    background: linear-gradient(45deg, #228b22, #32cd32);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: float 10s infinite linear;
}

.leaf1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.leaf2 {
    top: 20%;
    left: 80%;
    animation-delay: 3s;
}

.leaf3 {
    top: 50%;
    left: 50%;
    animation-delay: 6s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.7;
    }
}

.smoke {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.smoke-particle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: rise 8s infinite ease-out;
}

.smoke-particle:nth-child(1) {
    left: -20px;
    animation-delay: 0s;
}

.smoke-particle:nth-child(2) {
    left: 0px;
    animation-delay: 2s;
}

.smoke-particle:nth-child(3) {
    left: 20px;
    animation-delay: 4s;
}

@keyframes rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-200px) scale(2);
        opacity: 0;
    }
}

.intro {
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: fadeIn 2s ease-in-out;
    position: relative;
    z-index: 2;
    margin: 20px auto;
    max-width: 600px;
}

.intro h1 {
    font-size: 3em;
    margin-bottom: 10px;
    color: #ffd700;
}

.intro h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #fff;
}

.intro p {
    font-size: 1.2em;
    margin: 10px 0;
}

button {
    background-color: #8b4513;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #a0522d;
    transform: scale(1.05);
}

.back-btn {
    background-color: #dc3545;
    color: white;
    border: 2px solid #dc3545;
}

.back-btn:hover {
    background-color: #c82333;
    border-color: #c82333;
}

.buttons, .version-selection {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.version-selection {
    opacity: 0;
    transform: translateY(20px);
}

.version-selection.show {
    opacity: 1;
    transform: translateY(0);
}

.version-selection h3 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.5em;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.content > div {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    flex: 1 1 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    animation: slideUp 1s ease-out;
}

.content h3 {
    color: #ffd700;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 10px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .content {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        padding: 20px;
    }

    .content > div {
        flex: 1 1 300px;
        margin: 10px;
    }

    .intro {
        max-width: 600px;
        margin: 20px auto;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    body {
        height: auto;
        padding-bottom: 20px;
    }

    .intro {
        padding: 30px 20px;
        margin: 10px;
        font-size: 0.9em;
    }

    .intro h1 {
        font-size: 2.5em;
    }

    .intro h2 {
        font-size: 2em;
    }

    .content {
        display: block;
        padding: 10px;
    }

    .content > div {
        margin: 10px 0;
        padding: 15px;
    }

    .buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .version-selection {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .leaf {
        width: 30px;
        height: 40px;
    }

    .smoke-particle {
        width: 15px;
        height: 15px;
    }
}