:root {
    --bg-gradient: linear-gradient(135deg, #b3ffff 0%, #fcb69f 100%);
    --primary-color: #9c27b0;
    --text-main: #334155;
    --card-bg: rgba(255, 255, 255, 0.95);
}

body {
    margin: 0;
    font-family: 'Comic Sans MS', 'Quicksand', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-main);
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Language & Header Navigation */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.logo { font-size: 1.5rem; font-weight: bold; color: var(--primary-color); text-decoration: none; }
.lang-selector { display: flex; gap: 10px; }
.lang-btn {
    border: 2px solid var(--primary-color); background: white; color: var(--primary-color);
    padding: 5px 15px; font-weight: bold; border-radius: 20px; cursor: pointer; transition: 0.2s;
}
.lang-btn.active, .lang-btn:hover { background: var(--primary-color); color: white; }

/* Main Container */
.page-wrapper { max-width: 900px; margin: 40px auto; padding: 0 20px; flex: 1; }
.content-card {
    background: var(--card-bg); padding: clamp(20px, 5vw, 40px);
    border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

h1 { color: #ff5722; text-align: center; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 30px; }
h2 { color: #2196f3; margin-top: 30px; font-size: 1.5rem; }
p, li { font-size: 1.1rem; color: #444; }

/* AdSense Saftey Wrapper */
.ad-wrapper {
    background: rgba(255,255,255,0.5); border: 2px dashed #ccc;
    border-radius: 10px; margin: 30px 0; text-align: center; padding: 10px;
    min-height: 100px; display: flex; flex-direction: column; justify-content: center;
}
.ad-label { font-size: 0.8rem; color: #888; text-transform: uppercase; margin-bottom: 5px; }

/* Footer */
.footer { text-align: center; padding: 20px 15px; background: #2c3e50; color: white; margin-top: 20px; position: relative; z-index: 20; }
.footer a { color: #ffcc00; text-decoration: none; margin: 0 10px; display: inline-block; padding: 5px 0; font-size: 1rem; transition: color 0.2s; }
.footer a:hover { color: #fff; text-decoration: underline; }
.copyright { margin-top: 10px; font-size: 0.85rem; color: #aaa; }


/* Forms */
form { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
input, textarea { width: 100%; padding: 15px; border-radius: 10px; border: 2px solid #ddd; font-family: inherit; font-size: 1rem; box-sizing: border-box; }
input:focus, textarea:focus { border-color: var(--primary-color); outline: none; }
.submit-btn { background: #4caf50; color: white; border: none; padding: 15px; font-size: 1.2rem; font-weight: bold; border-radius: 10px; cursor: pointer; transition: 0.2s; }
.submit-btn:hover { background: #388e3c; transform: translateY(-2px); }


.bottom-actions { 
    margin: 40px 0 20px 0; 
    text-align: center; 
}

.action-btn { 
    display: inline-block; 
    background: #9c27b0; 
    color: white; 
    border: 3px solid white; 
    padding: 15px 40px; 
    font-size: clamp(16px, 2.5vh, 20px); 
    font-family: inherit; 
    font-weight: bold; 
    border-radius: 50px; 
    text-decoration: none;
    cursor: pointer; 
    box-shadow: 0 6px 15px rgba(0,0,0,0.15); 
    transition: transform 0.1s, background 0.2s; 
}

.action-btn:hover { 
    transform: scale(1.05); 
    background: #8e24aa; 
}

.action-btn:active { 
    transform: translateY(6px); 
    box-shadow: none; 
}