<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>AetherLingua</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Orbitron:wght@500&display=swap');
html, body {
height: 100%;
margin: 0;
}
body {
display: flex;
flex-direction: column;
min-height: 100vh;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
background-color: #2B0934;
color: #ffffff;
line-height: 1.6;
}
header {
background-color: rgba(20, 16, 45, 0.95);
padding: 3rem 2rem 1rem;
text-align: center;
border-bottom: 1px solid #403f5e;
}
header h1 {
font-family: 'Times New Roman', serif;
font-size: 3rem;
color: #E1A8F0;
margin: 0;
font-weight: normal;
position: relative;
z-index: 2;
}
.container {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(2, auto);
gap: 2rem;
padding: 2.5rem;
flex: 1;
}
.card {
background: linear-gradient(145deg, #2d274f, #1a1638);
padding: 1.8rem;
border-radius: 16px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
transition: transform 0.3s ease;
position: relative;
overflow: hidden;
}
.card:hover {
transform: scale(1.02);
}
.card h2 {
color: #f0dcff;
font-size: 1.6rem;
margin-top: 0;
border-bottom: 1px solid #a58de0;
padding-bottom: 0.5rem;
background: linear-gradient(to right, #e1bee7, #ba68c8);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.card h2 img {
max-height: 120px;
flex-shrink: 0;
}
.card h2 span {
display: inline-block;
vertical-align: middle;
flex: 1 1 100%;
text-align: left;
word-break: break-word;
}
.card p {
color: #eae6ff;
}
footer {
background-color: rgba(20, 16, 45, 0.95);
color: #ccc6f2;
padding: 1rem;
display: flex;
justify-content: space-between;
align-items: flex-end;
flex-wrap: wrap;
position: relative;
flex-shrink: 0;
margin-top: auto;
}
.footer-figure {
position: absolute;
left: 0;
bottom: 0;
height: 165px;
transform: translateY(0%);
}
.footer-text {
margin-left: 75px;
}
.source-link {
margin-top: 0.5rem;
display: block;
color: #d4b4ff;
text-decoration: none;
}
.source-link:hover {
text-decoration: underline;
}
@keyframes mascotBounce {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
.mascot-img {
max-height: 160px;
animation: mascotBounce 2s infinite;
}
</style>
</head>
<body>
<header>
<div style="display: flex; align-items: flex-end; justify-content: center; gap: 10px; flex-wrap: wrap; position: relative;">
<h1 style="margin-left: -40px; z-index: 2;">AetherLingua</h1>
</div>
</header>
<div class="container">
<div class="card" id="idiom">
<h2>
<img class="mascot-img" src="https://res.cloudinary.com/dzzkoz3nl/image/upload/v1750792148/High_School_Anime_Cute_Women_Teacher_600_-_2000x3569-Photoroom_ntcnmb.png" alt="Idiom Mascot" />
<span>Idiom of the Day</span>
</h2>
<p>Loading...</p>
</div>
<div class="card" id="phrasal">
<h2>
<img class="mascot-img" src="https://res.cloudinary.com/dzzkoz3nl/image/upload/v1750792062/1000_F_1110239354_IC5hcyflhRkxDyhjBpzYbF1R7uRT5ega-Photoroom_fr06yx.png" alt="Phrasal Mascot" />
<span>Phrasal Verb of the Day</span>
</h2>
<p>Loading...</p>
</div>
<div class="card" id="slang">
<h2>
<img class="mascot-img" src="https://res.cloudinary.com/dzzkoz3nl/image/upload/v1750792061/1b1f1f756fa126c68cd30ddc366b1b19-Photoroom_amqsk4.png" alt="Slang Mascot" />
<span>Slang of the Day</span>
</h2>
<p>Loading...</p>
</div>
<div class="card" id="saying">
<h2>
<img class="mascot-img" src="https://res.cloudinary.com/dzzkoz3nl/image/upload/v1750792062/3093f232ded3847d81251a4f907d36b489f3490ar1-750-600v2_uhq-Photoroom_qjrsvv.png" alt="Saying Mascot" />
<span>Saying of the Day</span>
</h2>
<p>Loading...</p>
</div>
</div>
<footer>
<img src="https://res.cloudinary.com/dzzkoz3nl/image/upload/v1750792150/High_School_Anime_Cute_Women_Teacher_889_-_2000x3569-Photoroom_i1n6cc.png" alt="Footer Mascot" class="footer-figure" />
<div class="footer-text">
<div style="font-family: 'Times New Roman', serif; font-size: 2rem; color: #E1A8F0; margin-bottom: 0;">AetherLingua</div>
<div style="font-family: 'Alex Brush', cursive; font-size: 0.7rem; color: #EDCBF6; margin-top: -13px;">English reborn under stars and ink.</div>
</div>
<div style="text-align: right; font-size: 0.9rem; color: #ccc6f2;">
Crafted by Orion | Powered by AetherLingua<br />
<a class="source-link" href="https://www.englishclub.com/" target="_blank">Source: Aetherion</a>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/animejs/lib/anime.min.js"></script>
<script>
const loadDailyFeed = async (feedUrl, elementId) => {
try {
const res = await fetch(`https://api.rss2json.com/v1/api.json?rss_url=${encodeURIComponent(feedUrl)}`);
const data = await res.json();
const item = data.items[0];
document.getElementById(elementId).querySelector('p').innerHTML = `
<strong>${item.title}</strong><br>
${item.description}
`;
} catch (err) {
document.getElementById(elementId).querySelector('p').textContent = 'Failed to load content.';
}
};
loadDailyFeed('https://www.englishclub.com/ref/idiom-of-the-day.xml', 'idiom');
loadDailyFeed('https://www.englishclub.com/ref/phrasal-verb-of-the-day.xml', 'phrasal');
loadDailyFeed('https://www.englishclub.com/ref/slang-of-the-day.xml', 'slang');
loadDailyFeed('https://www.englishclub.com/ref/saying-of-the-day.xml', 'saying');
</script>
</body>
</html>