-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.html
More file actions
175 lines (148 loc) · 6.98 KB
/
about.html
File metadata and controls
175 lines (148 loc) · 6.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BrainTrain Game - About</title>
<link rel="icon" type="image/jpeg" href="icon.png">
<style>
@property --accent { syntax: '<color>'; initial-value: #ff0000; inherits: true; }
:root[data-theme="dark"] {
--bg: #050505;
--panel: #111;
--text: #fff;
--border: #333;
--subtext: #888;
--brain: #ff77ff;
--shadow-color: var(--accent);
}
:root[data-theme="light"] {
--bg: #f5f5f5;
--panel: #ffffff;
--text: #000;
--border: #ddd;
--subtext: #555;
--brain: #9900ff;
--shadow-color: transparent;
}
@keyframes rainbow-loop {
0% { --accent: #ff0000; }
20% { --accent: #ffcc00; }
40% { --accent: #00ff00; }
60% { --accent: #00ffff; }
80% { --accent: #9900ff; }
100% { --accent: #ff0000; }
}
.rainbow-active { animation: rainbow-loop 5s infinite linear !important; }
body {
font-family: 'Segoe UI', sans-serif;
background: var(--bg);
color: var(--text);
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
padding: 20px;
box-sizing: border-box;
}
header { width: 100%; max-width: 800px; display: flex; justify-content: flex-start; margin-bottom: 40px; }
.back-btn {
color: var(--text);
text-decoration: none;
border: 1px solid var(--border);
padding: 8px 20px;
border-radius: 20px;
font-size: 0.9rem;
transition: 0.3s;
}
.back-btn:hover { border-color: var(--accent); background: var(--accent); color: white; }
.content-wrap { max-width: 700px; width: 100%; }
.title-area { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.about-logo {
width: 60px; height: 60px; border-radius: 12px;
border: 2px solid var(--accent);
box-shadow: 0 0 10px var(--shadow-color);
}
h1 { font-size: 2.5rem; letter-spacing: 3px; margin: 0; }
h1 span { color: var(--accent); }
.section { background: var(--panel); border: 1px solid var(--border); padding: 25px; border-radius: 20px; margin-bottom: 20px; }
h2 { color: var(--accent); font-size: 1.2rem; margin-top: 0; text-transform: uppercase; letter-spacing: 1px; }
p { color: var(--subtext); line-height: 1.6; }
.rank-list { list-style: none; padding: 0; }
.rank-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.rank-list li:last-child { border: none; }
.rank-name { font-weight: bold; }
.rank-val { color: var(--brain); }
.tips-list { color: var(--subtext); padding-left: 20px; }
.tips-list li { margin-bottom: 10px; }
.footer { margin-top: 40px; color: var(--subtext); font-size: 0.8rem; text-align: center; }
</style>
</head>
<body>
<header>
<a href="index.html" class="back-btn">← BACK TO BRAINTRAIN GAME</a>
</header>
<div class="content-wrap">
<div class="title-area">
<img src="logo.png" alt="Logo" class="about-logo">
<h1>ABOUT <span>BrainTrain</span></h1>
</div>
<div class="section">
<h2>THE MISSION</h2>
<p>Brain Train is designed to sharpen your cognitive reflexes, mathematical speed, and linguistic accuracy. By engaging in daily "trainings," you build <b>Brain Power</b> and master your mental discipline.</p>
</div>
<div class="section">
<h2>HOW IT WORKS</h2>
<p>🧠 <b>Games:</b> Earn <b>Brain Power (🧠)</b> by playing Math, Grammar, Dots, or Memory Matrix.</p>
<p>📈 <b>Progression:</b> Unlimited levels. As the level increases, the speed and difficulty scale up to keep your brain challenged.</p>
<p>🎨 <b>Customization:</b> Spend your <b>Brain Power (🧠)</b> in the Skin Shop to unlock new theme colors that apply to the entire platform.</p>
</div>
<div class="section">
<h2>PRO TIPS</h2>
<ul class="tips-list">
<li><b>Consistency:</b> Playing 5 minutes every day is better than 1 hour once a week.</li>
<li><b>Mastery:</b> Reach <b>10,000 Brain Power (🧠)</b> to unlock the legendary Rainbow Skin!</li>
<li><b>High Levels:</b> High levels give more <b>BP (🧠)</b> per win, so keep pushing your limits.</li>
</ul>
</div>
<div class="section">
<h2>RANKING SYSTEM</h2>
<ul class="rank-list">
<li><span class="rank-name">🎓 STUDENT</span> <span class="rank-val">0 - 499 BP (🧠)</span></li>
<li><span class="rank-name">📜 SCHOLAR</span> <span class="rank-val">500 - 1,999 BP (🧠)</span></li>
<li><span class="rank-name">💡 GENIUS</span> <span class="rank-val">2,000 - 4,999 BP (🧠)</span></li>
<li><span class="rank-name">👑 MASTERMIND</span> <span class="rank-val">5,000 - 9,999 BP (🧠)</span></li>
<li><span class="rank-name">🌌 OVERLORD</span> <span class="rank-val">10,000+ BP (🧠)</span></li>
</ul>
</div>
<div class="section">
<h2>DATA STORAGE</h2>
<p>Your progress, unlocked levels, and purchased skins are saved locally in your browser (LocalStorage). <b>Note:</b> Clearing your browser cache or site data will reset your progress.</p>
</div>
<div class="footer">
BRAIN TRAIN v1.0 <br>
Designed and Developed By <b>Shadowed</b>
</div>
</div>
<script>
function applyTheme() {
const mode = localStorage.getItem('bt_mode') || 'dark';
document.documentElement.setAttribute('data-theme', mode);
const skin = localStorage.getItem('bt_current_skin') || 'red';
const colors = {
red: '#ff0000', blue: '#0088ff', yellow: '#ffcc00',
green: '#00ff00', cyan: '#00ffff', pink: '#ff00ff',
purple: '#9900ff', orange: '#ff6600', gold: '#ffd700'
};
if (skin === 'rainbow') {
document.body.classList.add('rainbow-active');
} else {
document.body.classList.remove('rainbow-active');
document.documentElement.style.setProperty('--accent', colors[skin] || '#ff0000');
}
}
window.onload = applyTheme;
</script>
</body>
</html>