Spaces:
Running
Running
Download index.html from AshD007/thinkarena: direct link, hf CLI and curl.
- Browser
- Download file 45.2 kB
-
https://huggingface.co/spaces/AshD007/thinkarena/resolve/main/index.html
- Command line
-
hf download hf://spaces/AshD007/thinkarena/index.html
-
curl -L -o index.html https://huggingface.co/spaces/AshD007/thinkarena/resolve/main/index.html
45.2 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ThinkArena - Where Minds Meet Challenges</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
:root {
--primary: #1e2a38;
--accent: #ff6b00;
--bg-light: #f0f4f8;
--teal: #00b4d8;
--magenta: #d0006f;
--text-light: #333;
--text-dark: #f0f0f0;
--bg-dark: #0f172a;
--card-dark: #1e293b;
}
.dark {
--primary: #f0f0f0;
--bg-light: #0f172a;
--text-light: #f0f0f0;
--text-dark: #333;
}
body {
font-family: 'Poppins', sans-serif;
background: var(--bg-light);
color: var(--text-light);
overflow-x: hidden;
margin: 0;
padding: 0;
transition: all 0.5s ease;
}
/* Particle background */
#particles-js {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: -1;
opacity: 0.3;
}
/* Header styles */
header {
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 1.5rem 3rem;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 1000;
transition: all 0.3s ease;
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(10px);
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}
.dark header {
background: rgba(15, 23, 42, 0.9);
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}
.logo {
display: flex;
align-items: center;
transform: translateX(-50px);
opacity: 0;
animation: slideIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.3s;
}
.logo svg {
width: 40px;
height: 40px;
margin-right: 10px;
}
.logo-text {
font-weight: 700;
font-size: 1.5rem;
background: linear-gradient(90deg, var(--primary), var(--accent));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.tagline {
font-size: 0.9rem;
color: var(--primary);
opacity: 0.8;
margin-left: 10px;
font-style: italic;
}
/* Dark mode toggle */
.theme-toggle {
position: relative;
width: 50px;
height: 24px;
border-radius: 12px;
background: var(--primary);
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
padding: 0 5px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.theme-toggle:hover {
transform: scale(1.1);
box-shadow: 0 0 15px rgba(0,0,0,0.2);
}
.theme-toggle i {
font-size: 14px;
color: white;
transition: all 0.3s ease;
}
.theme-toggle .sun {
opacity: 1;
transform: translateX(0);
}
.theme-toggle .moon {
position: absolute;
opacity: 0;
transform: translateX(20px);
}
.dark .theme-toggle .sun {
opacity: 0;
transform: translateX(-20px);
}
.dark .theme-toggle .moon {
opacity: 1;
transform: translateX(0);
}
.toggle-ball {
position: absolute;
width: 18px;
height: 18px;
border-radius: 50%;
background: white;
left: 3px;
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dark .toggle-ball {
left: 29px;
}
/* Hero section */
.hero {
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 0 2rem;
padding-top: 100px;
position: relative;
}
.hero h1 {
font-size: 4rem;
font-weight: 700;
margin-bottom: 1.5rem;
opacity: 0;
transform: translateY(30px);
animation: fadeInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.5s;
background: linear-gradient(90deg, var(--primary), var(--accent));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.hero p {
font-size: 1.5rem;
max-width: 800px;
margin-bottom: 3rem;
opacity: 0;
transform: translateY(30px);
animation: fadeInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.7s;
color: var(--primary);
}
/* Brain animation */
.brain-container {
position: relative;
width: 200px;
height: 200px;
margin: 2rem auto;
opacity: 0;
transform: scale(0.5);
animation: brainPulse 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 1s;
}
.brain {
width: 100%;
height: 100%;
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%231e2a38" d="M256 32C132.3 32 32 132.3 32 256c0 123.7 100.3 224 224 224s224-100.3 224-224C480 132.3 379.7 32 256 32zm0 400c-97 0-176-79-176-176S159 56 256 56s176 79 176 176-79 176-176 176z"/><path fill="%23ff6b00" d="M256 128c-70.7 0-128 57.3-128 128s57.3 128 128 128 128-57.3 128-128-57.3-128-128-128zm0 224c-52.9 0-96-43.1-96-96s43.1-96 96-96 96 43.1 96 96-43.1 96-96 96z"/></svg>') no-repeat center center;
background-size: contain;
position: relative;
animation: brainFloat 6s ease-in-out infinite;
}
.dark .brain {
filter: invert(1) hue-rotate(180deg) brightness(1.2);
}
/* Game icons floating around */
.game-icon {
position: absolute;
width: 40px;
height: 40px;
opacity: 0.7;
z-index: -1;
animation: float 6s ease-in-out infinite;
}
.icon-1 {
top: 20%;
left: 10%;
animation-delay: 0s;
}
.icon-2 {
top: 70%;
left: 15%;
animation-delay: 1s;
}
.icon-3 {
top: 30%;
right: 10%;
animation-delay: 2s;
}
.icon-4 {
top: 80%;
right: 15%;
animation-delay: 3s;
}
.icon-5 {
top: 25%;
left: 25%;
animation-delay: 1.5s;
}
.icon-6 {
top: 65%;
left: 30%;
animation-delay: 2.5s;
}
.icon-7 {
top: 35%;
right: 25%;
animation-delay: 2s;
}
.icon-8 {
top: 75%;
right: 30%;
animation-delay: 3.5s;
}
/* Background shapes */
.bg-shape {
position: absolute;
border-radius: 50%;
background: rgba(255, 107, 0, 0.1);
z-index: -1;
filter: blur(20px);
animation: float 15s ease-in-out infinite;
opacity: 0.5;
}
.shape-1 {
width: 300px;
height: 300px;
top: 10%;
left: 5%;
background: rgba(0, 180, 216, 0.1);
animation-delay: 0s;
}
.shape-2 {
width: 400px;
height: 400px;
bottom: 10%;
right: 5%;
background: rgba(208, 0, 111, 0.1);
animation-delay: 5s;
}
.shape-3 {
width: 200px;
height: 200px;
top: 40%;
left: 15%;
background: rgba(30, 42, 56, 0.1);
animation-delay: 2s;
}
.shape-4 {
width: 250px;
height: 250px;
bottom: 30%;
right: 15%;
background: rgba(255, 107, 0, 0.1);
animation-delay: 7s;
}
.dark .bg-shape {
opacity: 0.3;
}
/* CTA Button */
.cta-button {
position: relative;
padding: 1rem 2.5rem;
font-size: 1.2rem;
font-weight: 600;
color: white;
background: var(--accent);
border: none;
border-radius: 50px;
cursor: pointer;
overflow: hidden;
transition: all 0.3s ease;
box-shadow: 0 5px 15px rgba(255, 107, 0, 0.4);
opacity: 0;
transform: translateY(30px);
animation: fadeInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.9s;
z-index: 10;
}
.cta-button:hover {
transform: translateY(-5px) scale(1.05);
box-shadow: 0 10px 20px rgba(255, 107, 0, 0.6);
animation: pulse 1.5s infinite;
}
@keyframes pulse {
0% { transform: translateY(-5px) scale(1.05); }
50% { transform: translateY(-5px) scale(1.08); }
100% { transform: translateY(-5px) scale(1.05); }
}
.cta-button:active {
transform: translateY(0);
}
.cta-button::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: 0.5s;
}
.cta-button:hover::before {
left: 100%;
}
/* Options panel */
.options-panel {
position: fixed;
top: 0;
right: -400px;
width: 350px;
height: 100vh;
background: white;
box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
z-index: 1001;
transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
padding: 2rem;
display: flex;
flex-direction: column;
}
.dark .options-panel {
background: var(--bg-dark);
box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}
.options-panel.active {
right: 0;
}
.close-btn {
align-self: flex-end;
background: none;
border: none;
font-size: 1.5rem;
cursor: pointer;
color: var(--primary);
margin-bottom: 2rem;
}
.option-item {
padding: 1rem;
margin: 0.5rem 0;
border-radius: 8px;
font-weight: 500;
color: var(--primary);
transition: all 0.3s ease;
display: flex;
align-items: center;
}
.option-item i {
margin-right: 1rem;
font-size: 1.2rem;
color: var(--accent);
}
.option-item:hover {
background: rgba(30, 42, 56, 0.05);
transform: translateX(5px);
}
.dark .option-item:hover {
background: rgba(255, 255, 255, 0.05);
}
/* Games section */
.games-section {
padding: 5rem 2rem;
background: white;
position: relative;
}
.dark .games-section {
background: var(--bg-dark);
}
.section-title {
text-align: center;
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 3rem;
color: var(--primary);
opacity: 0;
transform: translateY(30px);
}
.games-container {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
}
.game-card {
background: white;
border-radius: 15px;
width: 300px;
padding: 2rem;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
opacity: 0;
transform: translateY(30px);
position: relative;
overflow: hidden;
}
.dark .game-card {
background: var(--card-dark);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.game-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 5px;
background: var(--accent);
}
.game-card:nth-child(2)::before {
background: var(--teal);
}
.game-card:nth-child(3)::before {
background: var(--magenta);
}
.game-card:hover {
transform: translateY(-10px) rotate(1deg);
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
animation: cardFloat 3s ease-in-out infinite;
}
@keyframes cardFloat {
0%, 100% { transform: translateY(-10px) rotate(1deg); }
50% { transform: translateY(-15px) rotate(2deg); }
}
.dark .game-card:hover {
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}
.game-icon-card {
font-size: 2.5rem;
margin-bottom: 1.5rem;
color: var(--accent);
}
.game-card:nth-child(2) .game-icon-card {
color: var(--teal);
}
.game-card:nth-child(3) .game-icon-card {
color: var(--magenta);
}
.game-card h3 {
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 1rem;
color: var(--primary);
}
.game-card p {
color: #666;
line-height: 1.6;
}
.dark .game-card p {
color: #aaa;
}
/* Category sections */
.category-section {
padding: 5rem 2rem;
position: relative;
}
.dark .category-section {
background: var(--bg-dark);
}
.category-section:nth-child(even) {
background: #f8fafc;
}
.dark .category-section:nth-child(even) {
background: #1a202c;
}
.category-title {
text-align: center;
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 3rem;
color: var(--primary);
opacity: 0;
transform: translateY(30px);
}
.category-description {
text-align: center;
max-width: 800px;
margin: 0 auto 3rem;
color: var(--primary);
opacity: 0;
transform: translateY(30px);
}
.category-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
}
.category-item {
background: white;
border-radius: 12px;
padding: 1.5rem;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
opacity: 0;
transform: translateY(30px);
will-change: transform, opacity;
}
.category-item:hover {
animation: itemGlow 2s infinite alternate;
}
@keyframes itemGlow {
from { box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }
to { box-shadow: 0 5px 20px rgba(255, 107, 0, 0.3); }
}
.dark .category-item {
background: var(--card-dark);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.category-item:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.dark .category-item:hover {
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
.category-icon {
font-size: 2rem;
color: var(--accent);
margin-bottom: 1rem;
}
.category-item h3 {
font-size: 1.3rem;
font-weight: 600;
margin-bottom: 0.5rem;
color: var(--primary);
}
.category-item p {
color: #666;
font-size: 0.95rem;
line-height: 1.5;
}
.dark .category-item p {
color: #aaa;
}
/* Footer */
footer {
background: var(--primary);
color: white;
padding: 3rem 2rem;
text-align: center;
}
.dark footer {
background: #0a1121;
}
.social-icons {
display: flex;
justify-content: center;
gap: 1.5rem;
margin-bottom: 2rem;
}
.social-icon {
width: 40px;
height: 40px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
color: white;
font-size: 1.2rem;
}
.social-icon:hover {
background: var(--accent);
transform: translateY(-5px) rotate(10deg);
animation: socialBounce 0.5s ease;
}
@keyframes socialBounce {
0%, 100% { transform: translateY(-5px) rotate(10deg); }
50% { transform: translateY(-8px) rotate(15deg); }
}
.footer-links {
display: flex;
justify-content: center;
gap: 2rem;
margin-bottom: 2rem;
flex-wrap: wrap;
}
.footer-link {
color: white;
text-decoration: none;
transition: all 0.3s ease;
}
.footer-link:hover {
color: var(--accent);
}
.copyright {
opacity: 0.7;
font-size: 0.9rem;
}
/* Animations */
@keyframes slideIn {
to {
transform: translateX(0);
opacity: 1;
}
}
@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes brainPulse {
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes brainFloat {
0%, 100% {
transform: translateY(0) rotate(0deg) scale(1);
}
25% {
transform: translateY(-15px) rotate(2deg) scale(1.02);
}
50% {
transform: translateY(-20px) rotate(5deg) scale(1.03);
}
75% {
transform: translateY(-15px) rotate(-2deg) scale(1.02);
}
}
@keyframes float {
0%, 100% {
transform: translateY(0) rotate(0deg);
}
50% {
transform: translateY(-20px) rotate(5deg);
}
}
@keyframes glow {
0% {
box-shadow: 0 0 5px rgba(255, 107, 0, 0.5);
}
50% {
box-shadow: 0 0 20px rgba(255, 107, 0, 0.8);
}
100% {
box-shadow: 0 0 5px rgba(255, 107, 0, 0.5);
}
}
/* Scroll animations */
.animate-on-scroll {
opacity: 0;
transform: translateY(30px);
transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.animate-on-scroll.animated {
opacity: 1;
transform: translateY(0);
}
/* Responsive styles */
@media (max-width: 768px) {
.hero h1 {
font-size: 2.5rem;
}
.hero p {
font-size: 1.2rem;
}
.games-container {
flex-direction: column;
align-items: center;
}
.options-panel {
width: 280px;
}
header {
padding: 1rem 1.5rem;
}
.logo-text {
font-size: 1.2rem;
}
.tagline {
display: none;
}
.category-grid {
grid-template-columns: 1fr;
}
}
</style>
</head>
<body>
<!-- Particle Background -->
<div id="particles-js"></div>
<!-- Header -->
<header>
<div class="logo">
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<path fill="#1e2a38" d="M50 10L20 50L50 90L80 50L50 10Z"/>
<path fill="#ff6b00" d="M50 30L35 50L50 70L65 50L50 30Z"/>
</svg>
<div>
<div class="logo-text">ThinkArena</div>
<div class="tagline">Where Minds Meet Challenges</div>
</div>
</div>
<div class="theme-toggle" id="themeToggle">
<i class="fas fa-sun sun"></i>
<i class="fas fa-moon moon"></i>
<div class="toggle-ball"></div>
</div>
</header>
<!-- Hero Section -->
<section class="hero">
<!-- Floating game icons -->
<div class="game-icon icon-1">
<i class="fas fa-puzzle-piece" style="color: var(--teal); font-size: 2rem;"></i>
</div>
<div class="game-icon icon-2">
<i class="fas fa-brain" style="color: var(--magenta); font-size: 2rem;"></i>
</div>
<div class="game-icon icon-3">
<i class="fas fa-chess" style="color: var(--accent); font-size: 2rem;"></i>
</div>
<div class="game-icon icon-4">
<i class="fas fa-code" style="color: var(--primary); font-size: 2rem;"></i>
</div>
<div class="game-icon icon-5">
<i class="fas fa-calculator" style="color: var(--teal); font-size: 2rem;"></i>
</div>
<div class="game-icon icon-6">
<i class="fas fa-memory" style="color: var(--magenta); font-size: 2rem;"></i>
</div>
<div class="game-icon icon-7">
<i class="fas fa-robot" style="color: var(--accent); font-size: 2rem;"></i>
</div>
<div class="game-icon icon-8">
<i class="fas fa-infinity" style="color: var(--primary); font-size: 2rem;"></i>
</div>
<!-- Animated background shapes -->
<div class="bg-shape shape-1"></div>
<div class="bg-shape shape-2"></div>
<div class="bg-shape shape-3"></div>
<div class="bg-shape shape-4"></div>
<h1>Welcome to ThinkArena</h1>
<p>Challenge your brain with puzzles, riddles, logic, quizzes & coding games.</p>
<div class="brain-container">
<div class="brain"></div>
</div>
<button class="cta-button" id="exploreBtn">Explore</button>
</section>
<!-- Options Panel -->
<div class="options-panel" id="optionsPanel">
<button class="close-btn" id="closeBtn"><i class="fas fa-times"></i></button>
<div class="option-item" onclick="alert('About section will be added')">
<i class="fas fa-info-circle"></i>
<span>About</span>
</div>
<div class="option-item" onclick="alert('Contact form will be added')">
<i class="fas fa-envelope"></i>
<span>Contact</span>
</div>
<div class="option-item" onclick="alert('Login/Signup modal will appear')">
<i class="fas fa-user"></i>
<span>Login/Signup</span>
</div>
<div class="option-item" onclick="alert('Feedback form will appear')">
<i class="fas fa-comment-alt"></i>
<span>Feedback</span>
</div>
</div>
<!-- Games Section -->
<section class="games-section">
<h2 class="section-title animate-on-scroll">Featured Mind Games</h2>
<div class="games-container">
<div class="game-card animate-on-scroll" style="animation-delay: 0.2s">
<div class="game-icon-card">
<i class="fas fa-puzzle-piece"></i>
</div>
<h3>Puzzle Dash</h3>
<p>Solve visual puzzles against the clock. Improve your pattern recognition and spatial reasoning skills with increasingly complex challenges.</p>
</div>
<div class="game-card animate-on-scroll" style="animation-delay: 0.4s">
<div class="game-icon-card">
<i class="fas fa-question"></i>
</div>
<h3>Quick Riddle</h3>
<p>Daily brain teasers that test your lateral thinking. Each riddle comes with hints and explanations to help you develop problem-solving strategies.</p>
</div>
<div class="game-card animate-on-scroll" style="animation-delay: 0.6s">
<div class="game-icon-card">
<i class="fas fa-code"></i>
</div>
<h3>CodeCrack</h3>
<p>Programming challenges for all levels. From basic logic puzzles to complex algorithm problems, sharpen your coding skills in a fun way.</p>
</div>
</div>
</section>
<!-- Logical Games Section -->
<section class="category-section">
<h2 class="category-title animate-on-scroll">Logical Games</h2>
<p class="category-description animate-on-scroll" style="animation-delay: 0.2s">Challenge your reasoning skills with our collection of logic-based games</p>
<div class="category-grid">
<div class="category-item animate-on-scroll" style="animation-delay: 0.3s">
<div class="category-icon">
<i class="fas fa-chess-queen"></i>
</div>
<h3>Chess Puzzles</h3>
<p>Solve chess problems ranging from beginner to grandmaster level. Improve your tactical vision.</p>
</div>
<div class="category-item animate-on-scroll" style="animation-delay: 0.4s">
<div class="category-icon">
<i class="fas fa-sitemap"></i>
</div>
<h3>Logic Grid</h3>
<p>Classic grid-based deduction puzzles where you eliminate possibilities to find the solution.</p>
</div>
<div class="category-item animate-on-scroll" style="animation-delay: 0.5s">
<div class="category-icon">
<i class="fas fa-project-diagram"></i>
</div>
<h3>Sudoku Pro</h3>
<p>Advanced Sudoku variants with additional constraints and challenging difficulty levels.</p>
</div>
<div class="category-item animate-on-scroll" style="animation-delay: 0.6s">
<div class="category-icon">
<i class="fas fa-lightbulb"></i>
</div>
<h3>Lateral Thinking</h3>
<p>Creative problem-solving challenges that require thinking outside the box.</p>
</div>
</div>
</section>
<!-- Math Challenges Section -->
<section class="category-section">
<h2 class="category-title animate-on-scroll">Math Challenges</h2>
<p class="category-description animate-on-scroll" style="animation-delay: 0.2s">Sharpen your numerical and analytical skills with engaging math games</p>
<div class="category-grid">
<div class="category-item animate-on-scroll" style="animation-delay: 0.3s">
<div class="category-icon">
<i class="fas fa-square-root-alt"></i>
</div>
<h3>Algebra Arena</h3>
<p>Solve algebraic equations under time pressure with increasing difficulty levels.</p>
</div>
<div class="category-item animate-on-scroll" style="animation-delay: 0.4s">
<div class="category-icon">
<i class="fas fa-shapes"></i>
</div>
<h3>Geometry Genius</h3>
<p>Visual geometry problems that test your spatial reasoning and theorem knowledge.</p>
</div>
<div class="category-item animate-on-scroll" style="animation-delay: 0.5s">
<div class="category-icon">
<i class="fas fa-infinity"></i>
</div>
<h3>Calculus Quest</h3>
<p>Fun approach to learning and practicing calculus concepts through interactive challenges.</p>
</div>
<div class="category-item animate-on-scroll" style="animation-delay: 0.6s">
<div class="category-icon">
<i class="fas fa-dice"></i>
</div>
<h3>Probability Play</h3>
<p>Gambling-free probability games that teach you to calculate odds and make better decisions.</p>
</div>
</div>
</section>
<!-- CodePlay Section -->
<section class="category-section">
<h2 class="category-title animate-on-scroll">CodePlay</h2>
<p class="category-description animate-on-scroll" style="animation-delay: 0.2s">Learn programming concepts through fun, interactive challenges</p>
<div class="category-grid">
<div class="category-item animate-on-scroll" style="animation-delay: 0.3s">
<div class="category-icon">
<i class="fas fa-laptop-code"></i>
</div>
<h3>Algorithm Arena</h3>
<p>Compete to solve algorithmic problems with optimal solutions in various programming languages.</p>
</div>
<div class="category-item animate-on-scroll" style="animation-delay: 0.4s">
<div class="category-icon">
<i class="fas fa-bug"></i>
</div>
<h3>Debug Dash</h3>
<p>Find and fix bugs in provided code snippets against the clock.</p>
</div>
<div class="category-item animate-on-scroll" style="animation-delay: 0.5s">
<div class="category-icon">
<i class="fas fa-robot"></i>
</div>
<h3>AI Challenges</h3>
<p>Simple machine learning and AI problems to introduce you to artificial intelligence concepts.</p>
</div>
<div class="category-item animate-on-scroll" style="animation-delay: 0.6s">
<div class="category-icon">
<i class="fas fa-gamepad"></i>
</div>
<h3>Game Dev</h3>
<p>Create simple games by completing coding tasks and see your creations come to life.</p>
</div>
</div>
</section>
<!-- Brain Booster Section -->
<section class="category-section">
<h2 class="category-title animate-on-scroll">Brain Boosters</h2>
<p class="category-description animate-on-scroll" style="animation-delay: 0.2s">Exercises designed to enhance memory, focus, and cognitive abilities</p>
<div class="category-grid">
<div class="category-item animate-on-scroll" style="animation-delay: 0.3s">
<div class="category-icon">
<i class="fas fa-memory"></i>
</div>
<h3>Memory Matrix</h3>
<p>Pattern recall games that progressively increase in complexity to boost your memory.</p>
</div>
<div class="category-item animate-on-scroll" style="animation-delay: 0.4s">
<div class="category-icon">
<i class="fas fa-running"></i>
</div>
<h3>Focus Flow</h3>
<p>Attention-training exercises that help improve concentration and reduce distractions.</p>
</div>
<div class="category-item animate-on-scroll" style="animation-delay: 0.5s">
<div class="category-icon">
<i class="fas fa-language"></i>
</div>
<h3>Linguistic Leap</h3>
<p>Word and language games that enhance vocabulary and verbal fluency.</p>
</div>
<div class="category-item animate-on-scroll" style="animation-delay: 0.6s">
<div class="category-icon">
<i class="fas fa-brain"></i>
</div>
<h3>Neuro Workout</h3>
<p>Comprehensive brain training combining memory, logic, and speed challenges.</p>
</div>
</div>
</section>
<!-- Footer -->
<footer>
<div class="social-icons">
<a href="#" class="social-icon"><i class="fab fa-facebook-f"></i></a>
<a href="#" class="social-icon"><i class="fab fa-twitter"></i></a>
<a href="#" class="social-icon"><i class="fab fa-instagram"></i></a>
<a href="#" class="social-icon"><i class="fab fa-linkedin-in"></i></a>
<a href="#" class="social-icon"><i class="fab fa-youtube"></i></a>
</div>
<div class="footer-links">
<a href="#" class="footer-link">Privacy Policy</a>
<a href="#" class="footer-link">Terms of Service</a>
<a href="#" class="footer-link">FAQ</a>
<a href="#" class="footer-link">Careers</a>
<a href="#" class="footer-link">Blog</a>
</div>
<div class="copyright">
© 2023 ThinkArena. All rights reserved.
</div>
</footer>
<script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
<script>
// Initialize particles.js
document.addEventListener('DOMContentLoaded', function() {
particlesJS('particles-js', {
"particles": {
"number": {
"value": 80,
"density": {
"enable": true,
"value_area": 800
}
},
"color": {
"value": "#1e2a38"
},
"shape": {
"type": "circle",
"stroke": {
"width": 0,
"color": "#000000"
},
"polygon": {
"nb_sides": 5
}
},
"opacity": {
"value": 0.3,
"random": false,
"anim": {
"enable": false,
"speed": 1,
"opacity_min": 0.1,
"sync": false
}
},
"size": {
"value": 3,
"random": true,
"anim": {
"enable": false,
"speed": 40,
"size_min": 0.1,
"sync": false
}
},
"line_linked": {
"enable": true,
"distance": 150,
"color": "#1e2a38",
"opacity": 0.5,
"width": 1.5
},
"move": {
"enable": true,
"speed": 2,
"direction": "none",
"random": false,
"straight": false,
"out_mode": "out",
"bounce": false,
"attract": {
"enable": false,
"rotateX": 600,
"rotateY": 1200
}
}
},
"interactivity": {
"detect_on": "canvas",
"events": {
"onhover": {
"enable": true,
"mode": "grab"
},
"onclick": {
"enable": true,
"mode": "push"
},
"resize": true
},
"modes": {
"grab": {
"distance": 140,
"line_linked": {
"opacity": 1
}
},
"bubble": {
"distance": 400,
"size": 40,
"duration": 2,
"opacity": 8,
"speed": 3
},
"repulse": {
"distance": 200,
"duration": 0.4
},
"push": {
"particles_nb": 4
},
"remove": {
"particles_nb": 2
}
}
},
"retina_detect": true
});
// Options panel toggle
const exploreBtn = document.getElementById('exploreBtn');
const closeBtn = document.getElementById('closeBtn');
const optionsPanel = document.getElementById('optionsPanel');
exploreBtn.addEventListener('click', function() {
optionsPanel.classList.add('active');
document.body.style.overflow = 'hidden';
});
closeBtn.addEventListener('click', function() {
optionsPanel.classList.remove('active');
document.body.style.overflow = 'auto';
});
// Dark mode toggle
const themeToggle = document.getElementById('themeToggle');
themeToggle.addEventListener('click', function() {
document.body.classList.toggle('dark');
// Save preference to localStorage
if (document.body.classList.contains('dark')) {
localStorage.setItem('theme', 'dark');
} else {
localStorage.setItem('theme', 'light');
}
});
// Check for saved theme preference
if (localStorage.getItem('theme') === 'dark') {
document.body.classList.add('dark');
}
// Scroll animations
const animateElements = document.querySelectorAll('.animate-on-scroll');
const sectionTitles = document.querySelectorAll('.category-title, .category-description');
const categoryItems = document.querySelectorAll('.category-item');
function checkScroll() {
// Check for regular animate elements
animateElements.forEach(element => {
const elementTop = element.getBoundingClientRect().top;
const windowHeight = window.innerHeight;
if (elementTop < windowHeight - 100) {
element.classList.add('animated');
}
});
// Check for section titles and descriptions
sectionTitles.forEach((element, index) => {
const elementTop = element.getBoundingClientRect().top;
const windowHeight = window.innerHeight;
if (elementTop < windowHeight - 100) {
setTimeout(() => {
element.classList.add('animated');
}, index * 100);
}
});
// Check for category items with staggered delay
categoryItems.forEach((element, index) => {
const elementTop = element.getBoundingClientRect().top;
const windowHeight = window.innerHeight;
if (elementTop < windowHeight - 100) {
setTimeout(() => {
element.classList.add('animated');
}, (index % 4) * 100);
}
});
}
// Initial check
checkScroll();
// Check on scroll with debounce
let isScrolling;
window.addEventListener('scroll', function() {
clearTimeout(isScrolling);
isScrolling = setTimeout(checkScroll, 50);
// Header scroll effect
const header = document.querySelector('header');
if (window.scrollY > 50) {
header.style.boxShadow = '0 4px 20px rgba(0, 0, 0, 0.1)';
if (document.body.classList.contains('dark')) {
header.style.boxShadow = '0 4px 20px rgba(0, 0, 0, 0.3)';
}
} else {
header.style.boxShadow = '0 2px 15px rgba(0, 0, 0, 0.1)';
if (document.body.classList.contains('dark')) {
header.style.boxShadow = '0 2px 15px rgba(0, 0, 0, 0.3)';
}
}
});
// Micro-interactions
document.addEventListener('mousemove', function(e) {
const x = e.clientX / window.innerWidth;
const y = e.clientY / window.innerHeight;
const brain = document.querySelector('.brain');
if (brain) {
brain.style.transform = `translate(${x * 10 - 5}px, ${y * 10 - 5}px)`;
}
const ctaButton = document.querySelector('.cta-button');
if (ctaButton) {
ctaButton.style.transform = `translateY(${y * -5}px)`;
}
});
// Smooth scroll to sections
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function(e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=AshD007/thinkarena" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ThinkArena - Where Minds Meet Challenges</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
:root {
--primary: #1e2a38;
--accent: #ff6b00;
--bg-light: #f0f4f8;
--teal: #00b4d8;
--magenta: #d0006f;
--text-light: #333;
--text-dark: #f0f0f0;
--bg-dark: #0f172a;
--card-dark: #1e293b;
}
.dark {
--primary: #f0f0f0;
--bg-light: #0f172a;
--text-light: #f0f0f0;
--text-dark: #333;
}
body {
font-family: 'Poppins', sans-serif;
background: var(--bg-light);
color: var(--text-light);
overflow-x: hidden;
margin: 0;
padding: 0;
transition: all 0.5s ease;
}
/* Particle background */
#particles-js {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: -1;
opacity: 0.3;
}
/* Header styles */
header {
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 1.5rem 3rem;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 1000;
transition: all 0.3s ease;
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(10px);
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}
.dark header {
background: rgba(15, 23, 42, 0.9);
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}
.logo {
display: flex;
align-items: center;
transform: translateX(-50px);
opacity: 0;
animation: slideIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.3s;
}
.logo svg {
width: 40px;
height: 40px;
margin-right: 10px;
}
.logo-text {
font-weight: 700;
font-size: 1.5rem;
background: linear-gradient(90deg, var(--primary), var(--accent));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.tagline {
font-size: 0.9rem;
color: var(--primary);
opacity: 0.8;