:root {
    --farm-green: #4CAF50;
    --carrot-orange: #FF9800;
    --deep-orange: #E65100;
    --wood-brown: #5D4037;
    --sky-blue: #e3f2fd;
    --paper-white: #ffffff;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: #f4f9f1;
    color: #333;
    line-height: 1.8;
}

.top-section {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    border-bottom: 12px solid var(--farm-green);
    padding: 20px;
}

.game-title {
    font-size: clamp(3.5rem, 12vw, 6rem);
    font-weight: 900;
    text-shadow: 5px 5px 0px var(--wood-brown), 0px 0px 30px rgba(0,0,0,0.5);
    margin: 0;
    letter-spacing: -2px;
    line-height: 1;
}

.game-subtitle {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    margin: 20px 0 40px;
    font-weight: 400;
    background: rgba(0,0,0,0.3);
    padding: 5px 20px;
    border-radius: 50px;
}

.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(180deg, #ffb74d 0%, #ff9800 50%, #f57c00 100%);
    color: white;
    padding: 25px 80px;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    text-decoration: none;
    border-radius: 100px;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 12px 0 #bf360c, 0 20px 30px rgba(0,0,0,0.4);
    border: 4px solid #fff;
    position: relative;
    transition: all 0.1s ease;
    animation: float 3s ease-in-out infinite;
}

.action-button:hover {
    background: linear-gradient(180deg, #ffcc80 0%, #ffab40 50%, #fb8c00 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 0 #bf360c, 0 25px 35px rgba(0,0,0,0.5);
}

.action-button:active {
    transform: translateY(8px);
    box-shadow: 0 4px 0 #bf360c, 0 10px 15px rgba(0,0,0,0.2);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.content-wrapper {
    max-width: 1100px;
    margin: -60px auto 60px;
    padding: 0 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.card {
    background: white;
    padding: 40px 30px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-bottom: 6px solid #eee;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--farm-green);
}

.card h3 {
    color: var(--farm-green);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 10px;
    display: block;
}

.article-container {
    background: white;
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.article-container h2 {
    font-size: 2.5rem;
    color: var(--wood-brown);
    margin-bottom: 30px;
    border-left: 8px solid var(--carrot-orange);
    padding-left: 20px;
}

.article-container p {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 30px;
}

.ad-spot {
    width: 100%;
    min-height: 250px;
    background: #fffcf5;
    border: 3px dashed #d7ccc8;
    border-radius: 20px;
    display: block; 
    text-align: center;
    padding: 20px; 
    box-sizing: border-box;

    margin: 40px 0;
    color: #a1887f;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ad-spot ins {
    margin: 0 auto !important;
    display: block !important;
}

footer {
    background: var(--wood-brown);
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin-top: 80px;
}

@media (max-width: 600px) {
    .article-container { padding: 30px 20px; }
    .action-button { padding: 20px 40px; width: 100%; box-sizing: border-box; }
}

.language-picker {
    background: #1a1a1a;
    padding: 12px 0;
    border-bottom: 2px solid #ffcc00;
    display: flex;
    justify-content: center; 
    gap: 20px; 
    flex-wrap: wrap; 
}

.lang-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px; 
    transition: color 0.3s ease;
}

.lang-link img {
    display: block;
    border-radius: 2px; 
}

.lang-link:hover {
    color: #ffcc00;
}

.lang-link.active {
    color: #ffcc00;
    font-weight: bold;
}

@media (max-width: 600px) {
    .language-picker {
        gap: 15px;
        padding: 10px 5px;
    }
    .lang-link {
        font-size: 13px;
    }
}