almosrdone2 / article1.html
Tako12's picture
Upload 9 files
d543796 verified
Raw History Blame Contribute Delete
51.5 kB
<!DOCTYPE html>
<html lang="en" class="light">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>The Cycle of Seasons | Moodscape</title>
<meta name="description" content="An epic fantasy series following the journey of four heroes through the changing seasons of a magical world.">
<meta property="og:title" content="The Cycle of Seasons | Moodscape">
<meta property="og:description" content="An epic fantasy series following the journey of four heroes through the changing seasons of a magical world.">
<meta property="og:image" content="https://images.unsplash.com/photo-1544947950-fa07a98d237f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1200&q=80">
<meta property="og:type" content="article">
<meta property="og:url" content="https://yourdomain.com/article1.html">
<meta name="twitter:card" content="summary_large_image">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="../script.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Inter', sans-serif;
transition: background-color 0.3s ease, color 0.3s ease;
}
.playfair {
font-family: 'Playfair Display', serif;
}
.hero-bg {
background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
background-size: cover;
background-position: center;
}
.dark .hero-bg {
background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
}
.light {
background-color: ivory;
}
.card-hover {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.dark .card-hover:hover {
box-shadow: 0 10px 25px -5px rgba(255, 255, 255, 0.05);
}
.theme-toggle {
transition: transform 0.3s ease;
}
.theme-toggle:hover {
transform: rotate(30deg);
}
.search-input {
transition: box-shadow 0.3s ease;
}
.search-input:focus {
box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.3);
}
.dark .search-input:focus {
box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.5);
}
</style>
</head>
<body class="bg-ivory text-gray-800 dark:bg-gray-900 dark:text-gray-100 min-h-screen">
<!-- Header -->
<header class="sticky top-0 z-50 bg-white/80 backdrop-blur-sm dark:bg-gray-800/80 shadow-sm">
<div class="container mx-auto px-4 py-4 flex items-center justify-between">
<div class="flex items-center space-x-8">
<a href="index.html" class="flex items-center text-2xl font-bold playfair text-gray-800 dark:text-white">
<img src="http://static.photos/minimal/32x32/42" alt="Logo" class="w-8 h-8 mr-2 rounded-full border-2 border-indigo-400">
Moodescape
</a>
<nav class="hidden md:flex space-x-6">
<a href="index.html?category=books" class="text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white transition">Books</a>
<a href="index.html?category=films" class="text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white transition">Films/Series</a>
<a href="index.html?category=anime" class="text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white transition">Anime</a>
<a href="index.html?category=games" class="text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white transition">Games</a>
</nav>
</div>
<div class="flex items-center space-x-4">
<div class="relative hidden md:block group">
<div class="relative w-full">
<div class="absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none">
</div>
<input type="text" id="header-search" placeholder="Search title and vibe" class="search-input pl-10 pr-4 py-2 rounded-full border-2 border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 focus:outline-none w-64 transition-all duration-300 group-hover:w-72 group-hover:shadow-lg group-hover:border-indigo-500 dark:group-hover:border-indigo-400" onkeypress="if(event.key === 'Enter') { redirectToSearch(this.value); event.preventDefault(); }">
</div>
<i data-feather="search" class="absolute left-3 top-2.5 text-gray-400 dark:text-gray-300
transition-all duration-300 group-hover:text-indigo-500 dark:group-hover:text-indigo-400"
onclick="redirectToSearch(document.getElementById('header-search').value)"></i>
<div id="header-search-suggestions" class="absolute z-10 w-full mt-1 bg-white dark:bg-gray-800 rounded-lg shadow-lg hidden max-h-60 overflow-y-auto">
<div class="px-4 py-2 text-sm text-gray-500 dark:text-gray-400">Suggestions:</div>
<div id="header-suggestion-items" class="divide-y divide-gray-200 dark:divide-gray-700"></div>
</div>
</div>
<button class="md:hidden p-2">
<i data-feather="menu"></i>
</button>
</div>
</div>
</header>
<!-- Hero Section -->
<section class="hero-bg min-h-[70vh] flex items-center justify-center text-white px-4">
<div class="container mx-auto px-4 -mt-8">
<div class="flex flex-col md:flex-row items-center">
<!-- Main Book Cover -->
<div class="w-full md:w-1/3 mb-8 md:mb-0">
<img src="https://images.unsplash.com/photo-1544947950-fa07a98d237f?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80"
class="w-full h-[50vh] object-contain rounded-lg shadow-xl cursor-pointer"
id="mainCover"
onclick="openModal(this.src)">
</div>
<!-- Title and Description -->
<div class="w-full md:w-2/3 md:pl-12">
<h1 class="playfair text-4xl font-bold mb-4">The Cycle of Seasons</h1>
<p class="text-lg mb-8">An epic fantasy series following the journey of four heroes through the changing seasons of a magical world. Each book represents a different season with its own challenges and revelations.</p>
<!-- Book Series Navigation -->
<div class="relative">
<div class="flex overflow-x-auto space-x-4 pb-4 scrollbar-hide">
<img src="https://images.unsplash.com/photo-1544947950-fa07a98d237f?ixlib=rb-1.2.1&auto=format&fit=crop&w=200&q=80"
class="w-24 h-36 object-cover rounded-lg shadow cursor-pointer hover:scale-105 transition"
onclick="openModal('https://images.unsplash.com/photo-1544947950-fa07a98d237f?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80')">
<img src="https://images.unsplash.com/photo-1542204165-65bf26472b9b?ixlib=rb-1.2.1&auto=format&fit=crop&w=200&q=80"
class="w-24 h-36 object-cover rounded-lg shadow cursor-pointer hover:scale-105 transition"
onclick="openModal('https://images.unsplash.com/photo-1542204165-65bf26472b9b?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80')">
<img src="https://images.unsplash.com/photo-1545566237-0a2ca6bea37e?ixlib=rb-1.2.1&auto=format&fit=crop&w=200&q=80"
class="w-24 h-36 object-cover rounded-lg shadow cursor-pointer hover:scale-105 transition"
onclick="openModal('https://images.unsplash.com/photo-1545566237-0a2ca6bea37e?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80')">
<img src="https://images.unsplash.com/photo-1542751371-adc38448a05e?ixlib=rb-1.2.1&auto=format&fit=crop&w=200&q=80"
class="w-24 h-36 object-cover rounded-lg shadow cursor-pointer hover:scale-105 transition"
onclick="openModal('https://images.unsplash.com/photo-1542751371-adc38448a05e?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80')">
</div>
<button class="absolute left-0 top-1/2 -translate-y-1/2 bg-black/30 p-2 rounded-full hover:bg-black/50 transition" onclick="scrollThumbnails(-1)">
<i data-feather="chevron-left" class="w-6 h-6"></i>
</button>
<button class="absolute right-0 top-1/2 -translate-y-1/2 bg-black/30 p-2 rounded-full hover:bg-black/50 transition" onclick="scrollThumbnails(1)">
<i data-feather="chevron-right" class="w-6 h-6"></i>
</button>
</div>
</div>
</div>
</div>
</section>
<script>
// Scroll thumbnail navigation
function scrollThumbnails(direction) {
const container = document.querySelector('.scrollbar-hide');
container.scrollBy({ left: direction * 200, behavior: 'smooth' });
}
</script>
<!-- Enhanced Image Modal -->
<div id="imageModal" class="fixed inset-0 bg-black/90 z-50 hidden items-center justify-center p-4">
<div class="relative max-w-6xl w-full">
<button onclick="closeModal()" class="absolute -top-12 right-0 text-white text-4xl hover:text-gray-300">&times;</button>
<div class="flex items-center">
<button onclick="prevImage()" class="text-white text-4xl mr-4 hover:text-gray-300">&#10094;</button>
<img id="modalImage" src="" alt="" class="w-full max-h-[80vh] object-contain">
<button onclick="nextImage()" class="text-white text-4xl ml-4 hover:text-gray-300">&#10095;</button>
</div>
</div>
</div>
<script>
// Current image index for modal navigation
let currentImageIndex = 0;
const imageSources = [
'https://images.unsplash.com/photo-1544947950-fa07a98d237f?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80',
'https://images.unsplash.com/photo-1542204165-65bf26472b9b?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80',
'https://images.unsplash.com/photo-1545566237-0a2ca6bea37e?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80',
'https://images.unsplash.com/photo-1542751371-adc38448a05e?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80',
'https://images.unsplash.com/photo-1514525253161-7a46d19cd819?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80'
];
// Open modal with current image
function openModal(src) {
const modal = document.getElementById('imageModal');
const modalImg = document.getElementById('modalImage');
currentImageIndex = imageSources.indexOf(src);
modalImg.src = src;
modal.classList.remove('hidden');
modal.classList.add('flex');
document.body.style.overflow = 'hidden';
}
// Navigation functions
function prevImage() {
currentImageIndex = (currentImageIndex - 1 + imageSources.length) % imageSources.length;
document.getElementById('modalImage').src = imageSources[currentImageIndex];
}
function nextImage() {
currentImageIndex = (currentImageIndex + 1) % imageSources.length;
document.getElementById('modalImage').src = imageSources[currentImageIndex];
}
// Close modal
function closeModal() {
const modal = document.getElementById('imageModal');
modal.classList.add('hidden');
modal.classList.remove('flex');
document.body.style.overflow = 'auto';
}
// Close modal when clicking outside image
document.getElementById('imageModal').addEventListener('click', function(e) {
if (e.target === this) closeModal();
});
// Keyboard navigation
document.addEventListener('keydown', function(e) {
const modal = document.getElementById('imageModal');
if (!modal.classList.contains('hidden')) {
if (e.key === 'ArrowLeft') prevImage();
if (e.key === 'ArrowRight') nextImage();
if (e.key === 'Escape') closeModal();
}
});
</script>
<!-- Image Modal -->
<div id="imageModal" class="fixed inset-0 bg-black/90 z-50 hidden items-center justify-center p-4">
<div class="relative max-w-4xl w-full">
<img id="modalImage" src="" alt="" class="w-full max-h-[90vh] object-contain">
<button onclick="closeModal()" class="absolute -top-12 right-0 text-white text-4xl hover:text-gray-300">&times;</button>
</div>
</div>
<style>
.scrollbar-hide::-webkit-scrollbar {
display: none;
}
.scrollbar-hide {
-ms-overflow-style: none;
scrollbar-width: none;
}
</style>
<script>
// Image modal functions
function openModal(src) {
const modal = document.getElementById('imageModal');
const modalImg = document.getElementById('modalImage');
modalImg.src = src;
modal.classList.remove('hidden');
modal.classList.add('flex');
document.body.style.overflow = 'hidden';
}
function closeModal() {
const modal = document.getElementById('imageModal');
modal.classList.add('hidden');
modal.classList.remove('flex');
document.body.style.overflow = 'auto';
}
// Close modal when clicking outside image
document.getElementById('imageModal').addEventListener('click', function(e) {
if (e.target === this) closeModal();
});
</script>
<!-- Main Content -->
<main class="container mx-auto px-4 py-16">
<!-- Books Section -->
<section class="mb-20">
<div class="flex items-center mb-8">
<div class="flex-1 h-0.5 bg-gradient-to-r from-indigo-500 to-transparent"></div>
<h2 class="playfair text-3xl font-bold mx-8 text-center">Books</h2>
<div class="flex-1 h-0.5 bg-gradient-to-l from-indigo-500 to-transparent"></div>
</div>
<div class="grid gap-12">
<!-- Book Item 1 -->
<div class="grid md:grid-cols-3 gap-8 items-start">
<div class="md:col-span-1">
<img src="https://images.unsplash.com/photo-1544947950-fa07a98d237f?ixlib=rb-1.2.1&auto=format&fit=crop&w=400&q=80"
alt="Book Cover"
class="w-full rounded-lg shadow-lg">
</div>
<div class="md:col-span-2">
<h3 class="playfair text-2xl font-bold mb-3">The Night Circus</h3>
<p class="text-gray-600 dark:text-gray-300 mb-4">
A phantastical tale of magic, competition, and star-crossed lovers set within the confines of a mysterious circus that appears without warning. Morgenstern weaves an enchanting narrative that explores the cost of ambition and the power of love.
</p>
<!-- Author's Notes Block -->
<div class="bg-gray-50 dark:bg-gray-800 rounded-lg p-4 mb-4">
<div class="flex justify-between items-center mb-2">
<span class="font-medium text-sm">Author's Notes</span>
<button onclick="toggleSpoiler('book1')" class="text-xs bg-gray-200 dark:bg-gray-700 px-2 py-1 rounded">Toggle Spoiler</button>
</div>
<div id="book1-spoiler" class="hidden text-sm text-gray-600 dark:text-gray-300">
The ending reveals that the circus itself is a character, with its own will and purpose. The final scene where the twins perform the closing ceremony is particularly poignant.
</div>
</div>
<a href="https://amazon.com/night-circus" target="_blank"
class="inline-flex items-center px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition">
Buy & Read on Amazon
<i data-feather="external-link" class="ml-2 w-4 h-4"></i>
</a>
</div>
</div>
<!-- Book Item 2 -->
<div class="grid md:grid-cols-3 gap-8 items-start">
<div class="md:col-span-1">
<img src="https://images.unsplash.com/photo-1543002588-bfa74002ed7e?ixlib=rb-1.2.1&auto=format&fit=crop&w=400&q=80"
alt="Book Cover"
class="w-full rounded-lg shadow-lg">
</div>
<div class="md:col-span-2">
<h3 class="playfair text-2xl font-bold mb-3">Circe</h3>
<p class="text-gray-600 dark:text-gray-300 mb-4">
Madeline Miller's retelling of the Greek myth centers on the sorceress Circe, weaving a tale of power, transformation, and the price of immortality. A feminist reimagining that gives voice to the women of mythology.
</p>
<div class="bg-gray-50 dark:bg-gray-800 rounded-lg p-4 mb-4">
<div class="flex justify-between items-center mb-2">
<span class="font-medium text-sm">Author's Notes</span>
<button onclick="toggleSpoiler('book2')" class="text-xs bg-gray-200 dark:bg-gray-700 px-2 py-1 rounded">Toggle Spoiler</button>
</div>
<div id="book2-spoiler" class="hidden text-sm text-gray-600 dark:text-gray-300">
The revelation that Circe's magical powers come from her own pain and suffering adds layers to her character. The final transformation scene is both tragic and liberating.
</div>
</div>
<a href="https://amazon.com/circe" target="_blank"
class="inline-flex items-center px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition">
Buy & Read on Amazon
<i data-feather="external-link" class="ml-2 w-4 h-4"></i>
</a>
</div>
</div>
</div>
</section>
<!-- Movies/TV Series Section -->
<section class="mb-20">
<div class="flex items-center mb-8">
<div class="flex-1 h-0.5 bg-gradient-to-r from-purple-500 to-transparent"></div>
<h2 class="playfair text-3xl font-bold mx-8 text-center">Movies/TV Series</h2>
<div class="flex-1 h-0.5 bg-gradient-to-l from-purple-500 to-transparent"></div>
</div>
<div class="grid gap-12">
<!-- Movie Item 1 -->
<div class="grid md:grid-cols-3 gap-8 items-start">
<div class="md:col-span-1">
<img src="https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?ixlib=rb-1.2.1&auto=format&fit=crop&w=400&q=80"
alt="Movie Poster"
class="w-full rounded-lg shadow-lg">
</div>
<div class="md:col-span-2">
<h3 class="playfair text-2xl font-bold mb-3">Blade Runner 2049</h3>
<p class="text-gray-600 dark:text-gray-300 mb-4">
Denis Villeneuve's sequel to the 1982 classic expands the dystopian world with stunning visuals and profound questions about identity, memory, and what it means to be human. A neo-noir masterpiece.
</p>
<div class="bg-gray-50 dark:bg-gray-800 rounded-lg p-4 mb-4">
<div class="flex justify-between items-center mb-2">
<span class="font-medium text-sm">Director's Notes</span>
<button onclick="toggleSpoiler('movie1')" class="text-xs bg-gray-200 dark:bg-gray-700 px-2 py-1 rounded">Toggle Spoiler</button>
</div>
<div id="movie1-spoiler" class="hidden text-sm text-gray-600 dark:text-gray-300">
The revelation that K might be the child, only to discover he's not, creates one of cinema's most heartbreaking moments. The snow scene at the end is pure visual poetry.
</div>
</div>
<a href="https://netflix.com/blade-runner-2049" target="_blank"
class="inline-flex items-center px-4 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 transition">
Watch on Netflix
<i data-feather="external-link" class="ml-2 w-4 h-4"></i>
</a>
</div>
</div>
<!-- TV Series Item -->
<div class="grid md:grid-cols-3 gap-8 items-start">
<div class="md:col-span-1">
<img src="https://images.unsplash.com/photo-1542204165-65bf26472b9b?ixlib=rb-1.2.1&auto=format&fit=crop&w=400&q=80"
alt="TV Series Poster"
class="w-full rounded-lg shadow-lg">
</div>
<div class="md:col-span-2">
<h3 class="playfair text-2xl font-bold mb-3">Dark</h3>
<p class="text-gray-600 dark:text-gray-300 mb-4">
This German sci-fi thriller weaves an intricate tale of time travel across multiple generations. The show explores how the actions of the past ripple through time, creating a complex web of cause and effect.
</p>
<div class="bg-gray-50 dark:bg-gray-800 rounded-lg p-4 mb-4">
<div class="flex justify-between items-center mb-2">
<span class="font-medium text-sm">Creator's Notes</span>
<button onclick="toggleSpoiler('tv1')" class="text-xs bg-gray-200 dark:bg-gray-700 px-2 py-1 rounded">Toggle Spoiler</button>
</div>
<div id="tv1-spoiler" class="hidden text-sm text-gray-600 dark:text-gray-300">
The final season reveals that the entire knot of timelines was created by two characters trying to prevent their own losses. The last scene in the origin world is beautifully bittersweet.
</div>
</div>
<a href="https://netflix.com/dark" target="_blank"
class="inline-flex items-center px-4 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 transition">
Watch on Netflix
<i data-feather="external-link" class="ml-2 w-4 h-4"></i>
</a>
</div>
</div>
</div>
</section>
<!-- Anime Section -->
<section class="mb-20">
<div class="flex items-center mb-8">
<div class="flex-1 h-0.5 bg-gradient-to-r from-rose-500 to-transparent"></div>
<h2 class="playfair text-3xl font-bold mx-8 text-center">Anime</h2>
<div class="flex-1 h-0.5 bg-gradient-to-l from-rose-500 to-transparent"></div>
</div>
<div class="grid gap-12">
<!-- Anime Item 1 -->
<div class="grid md:grid-cols-3 gap-8 items-start">
<div class="md:col-span-1">
<img src="https://images.unsplash.com/photo-1545566237-0a2ca6bea37e?ixlib=rb-1.2.1&auto=format&fit=crop&w=400&q=80"
alt="Anime Poster"
class="w-full rounded-lg shadow-lg">
</div>
<div class="md:col-span-2">
<h3 class="playfair text-2xl font-bold mb-3">Your Name</h3>
<p class="text-gray-600 dark:text-gray-300 mb-4">
Makoto Shinkai's breathtaking film tells the story of two teenagers who mysteriously swap bodies across time and space. A beautiful exploration of fate, memory, and connection that transcends the boundaries of time.
</p>
<div class="bg-gray-50 dark:bg-gray-800 rounded-lg p-4 mb-4">
<div class="flex justify-between items-center mb-2">
<span class="font-medium text-sm">Director's Notes</span>
<button onclick="toggleSpoiler('anime1')" class="text-xs bg-gray-200 dark:bg-gray-700 px-2 py-1 rounded">Toggle Spoiler</button>
</div>
<div id="anime1-spoiler" class="hidden text-sm text-gray-600 dark:text-gray-300">
The comet strike is actually a key event that connects their timelines. The final reunion on the staircase is both heartbreaking and hopeful, leaving the ending beautifully ambiguous.
</div>
</div>
<a href="https://crunchyroll.com/your-name" target="_blank"
class="inline-flex items-center px-4 py-2 bg-rose-600 text-white rounded-lg hover:bg-rose-700 transition">
Watch on Crunchyroll
<i data-feather="external-link" class="ml-2 w-4 h-4"></i>
</a>
</div>
</div>
</div>
</section>
<!-- Games Section -->
<section class="mb-20">
<div class="flex items-center mb-8">
<div class="flex-1 h-0.5 bg-gradient-to-r from-emerald-500 to-transparent"></div>
<h2 class="playfair text-3xl font-bold mx-8 text-center">Games</h2>
<div class="flex-1 h-0.5 bg-gradient-to-l from-emerald-500 to-transparent"></div>
</div>
<div class="grid gap-12">
<!-- Game Item 1 -->
<div class="grid md:grid-cols-3 gap-8 items-start">
<div class="md:col-span-1">
<img src="https://images.unsplash.com/photo-1542751371-adc38448a05e?ixlib=rb-1.2.1&auto=format&fit=crop&w=400&q=80"
alt="Game Cover"
class="w-full rounded-lg shadow-lg">
</div>
<div class="md:col-span-2">
<h3 class="playfair text-2xl font-bold mb-3">Journey</h3>
<p class="text-gray-600 dark:text-gray-300 mb-4">
Thatgamecompany's masterpiece is a wordless adventure through vast desert landscapes. The anonymous multiplayer creates profound moments of wordless connection and cooperation, culminating in one of gaming's most emotional experiences.
</p>
<div class="bg-gray-50 dark:bg-gray-800 rounded-lg p-4 mb-4">
<div class="flex justify-between items-center mb-2">
<span class="font-medium text-sm">Developer Notes</span>
<button onclick="toggleSpoiler('game1')" class="text-xs bg-gray-200 dark:bg-gray-700 px-2 py-1 rounded">Toggle Spoiler</button>
</div>
<div id="game1-spoiler" class="hidden text-sm text-gray-600 dark:text-gray-300">
The final ascent up the mountain, where your scarf grows longer with each step, symbolizes the journey of life. The anonymous companion system means you never know who helped you along the way.
</div>
</div>
<a href="https://store.playstation.com/journey" target="_blank"
class="inline-flex items-center px-4 py-2 bg-emerald-600 text-white rounded-lg hover:bg-emerald-700 transition">
Buy on PlayStation Store
<i data-feather="external-link" class="ml-2 w-4 h-4"></i>
</a>
</div>
</div>
</div>
</section>
<!-- Music Section -->
<section class="mb-20">
<div class="flex items-center mb-8">
<div class="flex-1 h-0.5 bg-gradient-to-r from-amber-500 to-transparent"></div>
<h2 class="playfair text-3xl font-bold mx-8 text-center">Music Recommendations</h2>
<div class="flex-1 h-0.5 bg-gradient-to-l from-amber-500 to-transparent"></div>
</div>
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Album Card 1 -->
<div class="bg-white dark:bg-gray-800 rounded-xl shadow-md overflow-hidden hover:shadow-lg transition">
<img src="https://images.unsplash.com/photo-1514525253161-7a46d19cd819?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80"
alt="Album Cover"
class="w-full h-48 object-cover">
<div class="p-5">
<h3 class="playfair text-xl font-bold mb-2">A Moon Shaped Pool</h3>
<p class="text-gray-600 dark:text-gray-300 text-sm mb-4">Radiohead • 2016</p>
<div class="flex flex-wrap gap-2">
<a href="https://open.spotify.com/album/7ezv1s8JETGXa4Je0vMGk2"
target="_blank"
class="flex-1 min-w-[120px] text-center px-3 py-2 bg-amber-600 text-white rounded-lg hover:bg-amber-700 transition text-sm">
Spotify
</a>
<a href="https://music.apple.com/us/album/a-moon-shaped-pool/1440839718"
target="_blank"
class="flex-1 min-w-[120px] text-center px-3 py-2 bg-gray-200 dark:bg-gray-700 rounded-lg hover:bg-gray-300 dark:hover:bg-gray-600 transition text-sm">
Apple Music
</a>
</div>
</div>
</div>
<!-- Album Card 2 -->
<div class="bg-white dark:bg-gray-800 rounded-xl shadow-md overflow-hidden hover:shadow-lg transition">
<img src="https://images.unsplash.com/photo-1493225457124-a3eb161ffa5f?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80"
alt="Album Cover"
class="w-full h-48 object-cover">
<div class="p-5">
<h3 class="playfair text-xl font-bold mb-2">Random Access Memories</h3>
<p class="text-gray-600 dark:text-gray-300 text-sm mb-4">Daft Punk • 2013</p>
<div class="flex flex-wrap gap-2">
<a href="https://open.spotify.com/album/4m2880jivSbbyEGAKfITCa"
target="_blank"
class="flex-1 min-w-[120px] text-center px-3 py-2 bg-amber-600 text-white rounded-lg hover:bg-amber-700 transition text-sm">
Spotify
</a>
<a href="https://music.apple.com/us/album/random-access-memories/1440839718"
target="_blank"
class="flex-1 min-w-[120px] text-center px-3 py-2 bg-gray-200 dark:bg-gray-700 rounded-lg hover:bg-gray-300 dark:hover:bg-gray-600 transition text-sm">
Apple Music
</a>
</div>
</div>
</div>
<!-- Album Card 3 -->
<div class="bg-white dark:bg-gray-800 rounded-xl shadow-md overflow-hidden hover:shadow-lg transition">
<img src="https://images.unsplash.com/photo-1470225620780-dba8ba36b745?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80"
alt="Album Cover"
class="w-full h-48 object-cover">
<div class="p-5">
<h3 class="playfair text-xl font-bold mb-2">After Hours</h3>
<p class="text-gray-600 dark:text-gray-300 text-sm mb-4">The Weeknd • 2020</p>
<div class="flex flex-wrap gap-2">
<a href="https://open.spotify.com/album/4yP0hdKOZPNshxUOjY0cZj"
target="_blank"
class="flex-1 min-w-[120px] text-center px-3 py-2 bg-amber-600 text-white rounded-lg hover:bg-amber-700 transition text-sm">
Spotify
</a>
<a href="https://music.apple.com/us/album/after-hours/1499078769"
target="_blank"
class="flex-1 min-w-[120px] text-center px-3 py-2 bg-gray-200 dark:bg-gray-700 rounded-lg hover:bg-gray-300 dark:hover:bg-gray-600 transition text-sm">
Apple Music
</a>
</div>
</div>
</div>
</div>
</section>
</main>
<!-- Also Read Section -->
<section class="bg-gray-50 dark:bg-gray-800 py-16 -mt-4">
<div class="container mx-auto px-4">
<h2 class="playfair text-3xl font-bold mb-8 text-center">Also Read</h2>
<div class="relative">
<div class="also-read-container flex overflow-x-auto space-x-6 pb-6 scrollbar-hide">
<!-- Article 1 -->
<a href="article2.html" class="flex-shrink-0 w-64 card-hover bg-white dark:bg-gray-700 rounded-lg shadow-md overflow-hidden">
<img src="https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?ixlib=rb-1.2.1&auto=format&fit=crop&w=400&q=80"
alt="Article thumbnail"
class="w-full h-40 object-cover">
<div class="p-4">
<h3 class="playfair text-lg font-bold mb-2">Divergent</h3>
<p class="text-gray-600 dark:text-gray-300 text-sm line-clamp-2">How Blade Runner 2049 and similar films create immersive dystopian atmospheres.</p>
</div>
</a>
<!-- Article 2 -->
<a href="article3.html" class="flex-shrink-0 w-64 card-hover bg-white dark:bg-gray-700 rounded-lg shadow-md overflow-hidden">
<img src="https://images.unsplash.com/photo-1545566237-0a2ca6bea37e?ixlib=rb-1.2.1&auto=format&fit=crop&w=400&q=80"
alt="Article thumbnail"
class="w-full h-40 object-cover">
<div class="p-4">
<h3 class="playfair text-lg font-bold mb-2">Attack on Titan</h3>
<p class="text-gray-600 dark:text-gray-300 text-sm line-clamp-2">Examining the atmospheric storytelling in Spirited Away and My Neighbor Totoro.</p>
</div>
</a>
<!-- Article 3 -->
<a href="article4.html" class="flex-shrink-0 w-64 card-hover bg-white dark:bg-gray-700 rounded-lg shadow-md overflow-hidden">
<img src="https://images.unsplash.com/photo-1542751371-adc38448a05e?ixlib=rb-1.2.1&auto=format&fit=crop&w=400&q=80"
alt="Article thumbnail"
class="w-full h-40 object-cover">
<div class="p-4">
<h3 class="playfair text-lg font-bold mb-2">Assassin's Creed</h3>
<p class="text-gray-600 dark:text-gray-300 text-sm line-clamp-2">How games like Limbo and Inside create tension through minimalist design.</p>
</div>
</a>
<!-- Article 4 -->
<a href="article5.html" class="flex-shrink-0 w-64 card-hover bg-white dark:bg-gray-700 rounded-lg shadow-md overflow-hidden">
<img src="https://images.unsplash.com/photo-1510172951991-856a62a9e395?ixlib=rb-1.2.1&auto=format&fit=crop&w=400&q=80"
alt="Article thumbnail"
class="w-full h-40 object-cover">
<div class="p-4">
<h3 class="playfair text-lg font-bold mb-2">Buried by Ocean Parker</h3>
<p class="text-gray-600 dark:text-gray-300 text-sm line-clamp-2">The delicate balance between the mundane and magical in contemporary fiction.</p>
</div>
</a>
<!-- Article 5 -->
<a href="article6.html" class="flex-shrink-0 w-64 card-hover bg-white dark:bg-gray-700 rounded-lg shadow-md overflow-hidden">
<img src="https://images.unsplash.com/photo-1536440136628-849c177e76a1?ixlib=rb-1.2.1&auto=format&fit=crop&w=400&q=80"
alt="Article thumbnail"
class="w-full h-40 object-cover">
<div class="p-4">
<h3 class="playfair text-lg font-bold mb-2">Harry Potter</h3>
<p class="text-gray-600 dark:text-gray-300 text-sm line-clamp-2">Why the director's distinctive visual style creates such satisfying viewing experiences.</p>
</div>
</a>
</div>
<!-- Navigation Buttons -->
<button class="absolute left-0 top-1/2 -translate-y-1/2 bg-black/30 p-2 rounded-full hover:bg-black/50 transition" onclick="document.querySelector('.also-read-container').scrollBy({left: -300, behavior: 'smooth'})">
<i data-feather="chevron-left" class="w-6 h-6 text-white"></i>
</button>
<button class="absolute right-0 top-1/2 -translate-y-1/2 bg-black/30 p-2 rounded-full hover:bg-black/50 transition" onclick="document.querySelector('.also-read-container').scrollBy({left: 300, behavior: 'smooth'})">
<i data-feather="chevron-right" class="w-6 h-6 text-white"></i>
</button>
</div>
</div>
</section>
<script>
// Toggle spoiler visibility
function toggleSpoiler(id) {
const element = document.getElementById(id + '-spoiler');
element.classList.toggle('hidden');
}
// Article search functionality
function searchArticles(searchTerm = null) {
const term = searchTerm || document.getElementById('header-search').value.toLowerCase();
window.location.href = `index.html?search=${encodeURIComponent(term)}`;
}
// Redirect to main page with search query
function redirectToSearch(searchTerm) {
if (searchTerm.trim() !== '') {
window.location.href = `index.html?search=${encodeURIComponent(searchTerm)}`;
}
}
// Generate search suggestions
function generateSuggestions(searchTerm) {
const suggestions = [];
const articles = [
{title: "Divergent", category: "films"},
{title: "Attack on Titan", category: "anime"},
{title: "Assassin's Creed", category: "games"},
{title: "Buried by Ocean Parker", category: "books"},
{title: "Harry Potter", category: "films"}
];
articles.forEach(article => {
// Show all articles that start with the search term
if (searchTerm.length === 1 && article.title.toLowerCase().startsWith(searchTerm.toLowerCase())) {
suggestions.push({
title: article.title,
category: article.category
});
}
// As user types more, filter to only exact matches
else if (searchTerm.length > 1 && article.title.toLowerCase().includes(searchTerm.toLowerCase())) {
suggestions.push({
title: article.title,
category: article.category
});
}
});
// Sort by closest match (starts with first, then contains)
suggestions.sort((a, b) => {
const aStartsWith = a.title.toLowerCase().startsWith(searchTerm.toLowerCase());
const bStartsWith = b.title.toLowerCase().startsWith(searchTerm.toLowerCase());
if (aStartsWith && !bStartsWith) return -1;
if (!aStartsWith && bStartsWith) return 1;
return 0;
});
return suggestions.slice(0, 8); // Show more suggestions for better discovery
}
// Update suggestions dropdown
function updateSuggestions(searchTerm, containerId, itemsId) {
const suggestionsContainer = document.getElementById(containerId);
const suggestionItems = document.getElementById(itemsId);
suggestionItems.innerHTML = '';
// Show suggestions from first character typed
if (searchTerm.length < 1) {
suggestionsContainer.classList.add('hidden');
return;
}
const suggestions = generateSuggestions(searchTerm);
if (suggestions.length === 0) {
suggestionsContainer.classList.add('hidden');
return;
}
suggestions.forEach(suggestion => {
const suggestionElement = document.createElement('div');
suggestionElement.className = 'px-4 py-3 hover:bg-gray-100 dark:hover:bg-gray-700 cursor-pointer flex items-center justify-between';
suggestionElement.innerHTML = `
<span>${suggestion.title}</span>
<span class="text-xs px-2 py-1 rounded-full ${getCategoryColor(suggestion.category)}">${suggestion.category}</span>
`;
suggestionElement.addEventListener('click', () => {
document.getElementById('header-search').value = suggestion.title;
searchArticles(suggestion.title);
suggestionsContainer.classList.add('hidden');
});
suggestionItems.appendChild(suggestionElement);
});
suggestionsContainer.classList.remove('hidden');
}
function getCategoryColor(category) {
switch(category) {
case 'books': return 'bg-indigo-100 text-indigo-800 dark:bg-indigo-900 dark:text-indigo-200';
case 'films': return 'bg-purple-100 text-purple-800 dark:bg-purple-900 dark:text-purple-200';
case 'anime': return 'bg-rose-100 text-rose-800 dark:bg-rose-900 dark:text-rose-200';
case 'games': return 'bg-emerald-100 text-emerald-800 dark:bg-emerald-900 dark:text-emerald-200';
default: return 'bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-gray-200';
}
}
// Search input event listeners
const headerSearchInput = document.getElementById('header-search');
headerSearchInput.addEventListener('input', (e) => {
updateSuggestions(e.target.value, 'header-search-suggestions', 'header-suggestion-items');
});
headerSearchInput.addEventListener('keypress', (e) => {
if (e.key === 'Enter') {
searchArticles(e.target.value);
}
});
// Hide suggestions when clicking outside
document.addEventListener('click', (e) => {
if (!e.target.closest('#header-search-suggestions') && e.target !== headerSearchInput) {
document.getElementById('header-search-suggestions').classList.add('hidden');
}
});
</script>
<!-- Footer -->
<footer class="bg-gray-100 dark:bg-gray-800 py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="playfair text-xl font-bold mb-4">Moodscape</h3>
<p class="text-gray-600 dark:text-gray-300">Discover content that resonates with your current mood and favorite stories.</p>
</div>
<div>
<h4 class="font-bold mb-4">Explore</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white transition">Books</a></li>
<li><a href="#" class="text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white transition">Films & Series</a></li>
<li><a href="#" class="text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white transition">Anime</a></li>
<li><a href="#" class="text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white transition">Games</a></li>
</ul>
</div>
<div>
<h4 class="font-bold mb-4">Subscribe</h4>
<p class="text-gray-600 dark:text-gray-300 mb-4">Get the latest mood recommendations straight to your inbox.</p>
<div class="flex">
<input type="email" placeholder="Your email" class="px-4 py-2 rounded-l-md border border-r-0 border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 focus:outline-none w-full">
<button class="bg-indigo-600 text-white px-4 py-2 rounded-r-md hover:bg-indigo-700 transition hovered-element">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<line x1="22" y1="2" x2="11" y2="13"></line>
<polygon points="22 2 15 22 11 13 2 9 22 2"></polygon>
</svg>
</button>
</div>
</div>
</div>
<div class="border-t border-gray-200 dark:border-gray-700 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-500 dark:text-gray-400 mb-4 md:mb-0">© 2025 Moodscape. All rights reserved.</p>
<div class="flex space-x-6">
</div>
</div>
</div>
</footer>
<script>
// Initialize feather icons
feather.replace();
// Theme toggle functionality
const themeToggle = document.getElementById('theme-toggle');
const html = document.documentElement;
// Check for saved user preference, if any, on load
const currentTheme = localStorage.getItem('theme') || 'light';
html.classList.add(currentTheme);
themeToggle.addEventListener('click', () => {
if (html.classList.contains('dark')) {
html.classList.remove('dark');
localStorage.setItem('theme', 'light');
} else {
html.classList.add('dark');
localStorage.setItem('theme', 'dark');
}
});
// Feather icons
feather.replace();
// Toggle spoiler visibility
function toggleSpoiler(id) {
const element = document.getElementById(id + '-spoiler');
element.classList.toggle('hidden');
}
</script>
</body>
</html>