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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="vi">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Ho Den Tu Than - Modern Cinema</title>
|
| 7 |
+
<meta name="description" content="Watch Black Movie online in HD quality">
|
| 8 |
+
|
| 9 |
+
<!-- Google Fonts: Inter for modern readability -->
|
| 10 |
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 11 |
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 12 |
+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&display=swap" rel="stylesheet">
|
| 13 |
+
|
| 14 |
+
<!-- Font Awesome for Icons -->
|
| 15 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 16 |
+
|
| 17 |
+
<style>
|
| 18 |
+
:root {
|
| 19 |
+
--primary-color: #e50914; /* Cinematic Red */
|
| 20 |
+
--primary-hover: #b20710;
|
| 21 |
+
--dark-bg: #0f0f0f;
|
| 22 |
+
--card-bg: #1a1a1a;
|
| 23 |
+
--text-main: #ffffff;
|
| 24 |
+
--text-secondary: #b3b3b3;
|
| 25 |
+
--gradient-overlay: linear-gradient(to top, #000000 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
|
| 26 |
+
--shadow-card: 0 4px 6px rgba(0,0,0,0.3);
|
| 27 |
+
--shadow-hover: 0 10px 20px rgba(0,0,0,0.5);
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
* {
|
| 31 |
+
margin: 0;
|
| 32 |
+
padding: 0;
|
| 33 |
+
box-sizing: border-box;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
body {
|
| 37 |
+
font-family: 'Inter', sans-serif;
|
| 38 |
+
background-color: var(--dark-bg);
|
| 39 |
+
color: var(--text-main);
|
| 40 |
+
line-height: 1.6;
|
| 41 |
+
overflow-x: hidden;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
/* --- Header / Navbar --- */
|
| 45 |
+
header {
|
| 46 |
+
position: fixed;
|
| 47 |
+
top: 0;
|
| 48 |
+
width: 100%;
|
| 49 |
+
z-index: 1000;
|
| 50 |
+
padding: 20px 5%;
|
| 51 |
+
transition: all 0.3s ease;
|
| 52 |
+
display: flex;
|
| 53 |
+
justify-content: space-between;
|
| 54 |
+
align-items: center;
|
| 55 |
+
background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
header.scrolled {
|
| 59 |
+
background-color: var(--dark-bg);
|
| 60 |
+
padding: 15px 5%;
|
| 61 |
+
box-shadow: 0 2px 10px rgba(0,0,0,0.8);
|
| 62 |
+
border-bottom: 1px solid #333;
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
.logo {
|
| 66 |
+
font-size: 28px;
|
| 67 |
+
font-weight: 900;
|
| 68 |
+
text-transform: uppercase;
|
| 69 |
+
letter-spacing: 2px;
|
| 70 |
+
color: var(--text-main);
|
| 71 |
+
text-decoration: none;
|
| 72 |
+
display: flex;
|
| 73 |
+
align-items: center;
|
| 74 |
+
gap: 10px;
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
.logo i {
|
| 78 |
+
color: var(--primary-color);
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
.nav-links {
|
| 82 |
+
display: flex;
|
| 83 |
+
gap: 30px;
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
.nav-links a {
|
| 87 |
+
color: var(--text-main);
|
| 88 |
+
text-decoration: none;
|
| 89 |
+
font-weight: 500;
|
| 90 |
+
font-size: 14px;
|
| 91 |
+
transition: color 0.3s;
|
| 92 |
+
text-transform: uppercase;
|
| 93 |
+
letter-spacing: 1px;
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
.nav-links a:hover {
|
| 97 |
+
color: var(--primary-color);
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
.user-actions {
|
| 101 |
+
display: flex;
|
| 102 |
+
gap: 20px;
|
| 103 |
+
align-items: center;
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
.btn-login {
|
| 107 |
+
color: var(--text-main);
|
| 108 |
+
text-decoration: none;
|
| 109 |
+
font-size: 14px;
|
| 110 |
+
transition: 0.3s;
|
| 111 |
+
}
|
| 112 |
+
|
| 113 |
+
.btn-signup {
|
| 114 |
+
background-color: var(--primary-color);
|
| 115 |
+
color: white;
|
| 116 |
+
padding: 8px 20px;
|
| 117 |
+
border-radius: 4px;
|
| 118 |
+
text-decoration: none;
|
| 119 |
+
font-size: 14px;
|
| 120 |
+
font-weight: 700;
|
| 121 |
+
transition: background 0.3s;
|
| 122 |
+
}
|
| 123 |
+
|
| 124 |
+
.btn-signup:hover {
|
| 125 |
+
background-color: var(--primary-hover);
|
| 126 |
+
}
|
| 127 |
+
|
| 128 |
+
/* --- Hero Section (The Main Movie) --- */
|
| 129 |
+
.hero {
|
| 130 |
+
position: relative;
|
| 131 |
+
height: 85vh;
|
| 132 |
+
width: 100%;
|
| 133 |
+
display: flex;
|
| 134 |
+
align-items: center;
|
| 135 |
+
overflow: hidden;
|
| 136 |
+
}
|
| 137 |
+
|
| 138 |
+
.hero-bg {
|
| 139 |
+
position: absolute;
|
| 140 |
+
top: 0;
|
| 141 |
+
left: 0;
|
| 142 |
+
width: 100%;
|
| 143 |
+
height: 100%;
|
| 144 |
+
object-fit: cover;
|
| 145 |
+
z-index: 1;
|
| 146 |
+
/* Placeholder for a dark movie poster background */
|
| 147 |
+
background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.3)), url('https://picsum.photos/id/1/1920/1080');
|
| 148 |
+
background-size: cover;
|
| 149 |
+
background-position: center;
|
| 150 |
+
}
|
| 151 |
+
|
| 152 |
+
.hero-content {
|
| 153 |
+
position: relative;
|
| 154 |
+
z-index: 2;
|
| 155 |
+
width: 100%;
|
| 156 |
+
max-width: 1200px;
|
| 157 |
+
margin: 0 auto;
|
| 158 |
+
padding: 0 5%;
|
| 159 |
+
display: flex;
|
| 160 |
+
align-items: center;
|
| 161 |
+
gap: 50px;
|
| 162 |
+
}
|
| 163 |
+
|
| 164 |
+
.hero-text {
|
| 165 |
+
max-width: 600px;
|
| 166 |
+
}
|
| 167 |
+
|
| 168 |
+
.movie-title {
|
| 169 |
+
font-size: 64px;
|
| 170 |
+
font-weight: 900;
|
| 171 |
+
line-height: 1.1;
|
| 172 |
+
margin-bottom: 20px;
|
| 173 |
+
text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
|
| 174 |
+
}
|
| 175 |
+
|
| 176 |
+
.movie-meta {
|
| 177 |
+
display: flex;
|
| 178 |
+
align-items: center;
|
| 179 |
+
gap: 15px;
|
| 180 |
+
margin-bottom: 20px;
|
| 181 |
+
font-size: 16px;
|
| 182 |
+
color: var(--text-secondary);
|
| 183 |
+
}
|
| 184 |
+
|
| 185 |
+
.rating {
|
| 186 |
+
color: #ffd700;
|
| 187 |
+
font-weight: bold;
|
| 188 |
+
}
|
| 189 |
+
|
| 190 |
+
.movie-desc {
|
| 191 |
+
font-size: 18px;
|
| 192 |
+
color: #ddd;
|
| 193 |
+
margin-bottom: 30px;
|
| 194 |
+
line-height: 1.8;
|
| 195 |
+
}
|
| 196 |
+
|
| 197 |
+
.hero-buttons {
|
| 198 |
+
display: flex;
|
| 199 |
+
gap: 15px;
|
| 200 |
+
}
|
| 201 |
+
|
| 202 |
+
.btn-play {
|
| 203 |
+
background-color: white;
|
| 204 |
+
color: black;
|
| 205 |
+
padding: 12px 35px;
|
| 206 |
+
font-size: 18px;
|
| 207 |
+
font-weight: 700;
|
| 208 |
+
border-radius: 4px;
|
| 209 |
+
cursor: pointer;
|
| 210 |
+
display: flex;
|
| 211 |
+
align-items: center;
|
| 212 |
+
gap: 10px;
|
| 213 |
+
transition: transform 0.2s, background 0.3s;
|
| 214 |
+
text-decoration: none;
|
| 215 |
+
}
|
| 216 |
+
|
| 217 |
+
.btn-play:hover {
|
| 218 |
+
background-color: #f0f0f0;
|
| 219 |
+
transform: scale(1.05);
|
| 220 |
+
}
|
| 221 |
+
|
| 222 |
+
.btn-more {
|
| 223 |
+
background-color: rgba(109, 109, 110, 0.75);
|
| 224 |
+
color: white;
|
| 225 |
+
padding: 12px 35px;
|
| 226 |
+
font-size: 18px;
|
| 227 |
+
font-weight: 700;
|
| 228 |
+
border-radius: 4px;
|
| 229 |
+
cursor: pointer;
|
| 230 |
+
transition: background 0.3s;
|
| 231 |
+
text-decoration: none;
|
| 232 |
+
border: 1px solid rgba(255,255,255,0.2);
|
| 233 |
+
}
|
| 234 |
+
|
| 235 |
+
.btn-more:hover {
|
| 236 |
+
background-color: rgba(109, 109, 110, 0.9);
|
| 237 |
+
}
|
| 238 |
+
|
| 239 |
+
/* --- Categories / Movie Grid --- */
|
| 240 |
+
.section-container {
|
| 241 |
+
padding: 60px 5%;
|
| 242 |
+
max-width: 1400px;
|
| 243 |
+
margin: 0 auto;
|
| 244 |
+
}
|
| 245 |
+
|
| 246 |
+
.section-header {
|
| 247 |
+
display: flex;
|
| 248 |
+
justify-content: space-between;
|
| 249 |
+
align-items: flex-end;
|
| 250 |
+
margin-bottom: 30px;
|
| 251 |
+
border-bottom: 1px solid #333;
|
| 252 |
+
padding-bottom: 15px;
|
| 253 |
+
}
|
| 254 |
+
|
| 255 |
+
.section-title {
|
| 256 |
+
font-size: 28px;
|
| 257 |
+
font-weight: 700;
|
| 258 |
+
text-transform: uppercase;
|
| 259 |
+
}
|
| 260 |
+
|
| 261 |
+
.view-all {
|
| 262 |
+
color: var(--text-secondary);
|
| 263 |
+
text-decoration: none;
|
| 264 |
+
font-size: 14px;
|
| 265 |
+
display: flex;
|
| 266 |
+
align-items: center;
|
| 267 |
+
gap: 5px;
|
| 268 |
+
transition: color 0.3s;
|
| 269 |
+
}
|
| 270 |
+
|
| 271 |
+
.view-all:hover {
|
| 272 |
+
color: var(--text-main);
|
| 273 |
+
}
|
| 274 |
+
|
| 275 |
+
.movie-grid {
|
| 276 |
+
display: grid;
|
| 277 |
+
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
| 278 |
+
gap: 30px;
|
| 279 |
+
}
|
| 280 |
+
|
| 281 |
+
.movie-card {
|
| 282 |
+
position: relative;
|
| 283 |
+
border-radius: 8px;
|
| 284 |
+
overflow: hidden;
|
| 285 |
+
cursor: pointer;
|
| 286 |
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
| 287 |
+
background-color: var(--card-bg);
|
| 288 |
+
}
|
| 289 |
+
|
| 290 |
+
.movie-card:hover {
|
| 291 |
+
transform: translateY(-10px);
|
| 292 |
+
box-shadow: var(--shadow-hover);
|
| 293 |
+
}
|
| 294 |
+
|
| 295 |
+
.card-img {
|
| 296 |
+
width: 100%;
|
| 297 |
+
height: 330px;
|
| 298 |
+
object-fit: cover;
|
| 299 |
+
transition: opacity 0.3s;
|
| 300 |
+
}
|
| 301 |
+
|
| 302 |
+
.movie-card:hover .card-img {
|
| 303 |
+
opacity: 0.8;
|
| 304 |
+
}
|
| 305 |
+
|
| 306 |
+
.card-content {
|
| 307 |
+
padding: 15px;
|
| 308 |
+
}
|
| 309 |
+
|
| 310 |
+
.card-title {
|
| 311 |
+
font-size: 18px;
|
| 312 |
+
font-weight: 600;
|
| 313 |
+
margin-bottom: 5px;
|
| 314 |
+
white-space: nowrap;
|
| 315 |
+
overflow: hidden;
|
| 316 |
+
text-overflow: ellipsis;
|
| 317 |
+
}
|
| 318 |
+
|
| 319 |
+
.card-meta {
|
| 320 |
+
font-size: 13px;
|
| 321 |
+
color: var(--text-secondary);
|
| 322 |
+
display: flex;
|
| 323 |
+
justify-content: space-between;
|
| 324 |
+
}
|
| 325 |
+
|
| 326 |
+
.badge {
|
| 327 |
+
background-color: var(--primary-color);
|
| 328 |
+
padding: 2px 6px;
|
| 329 |
+
border-radius: 3px;
|
| 330 |
+
font-size: 10px;
|
| 331 |
+
font-weight: 700;
|
| 332 |
+
text-transform: uppercase;
|
| 333 |
+
}
|
| 334 |
+
|
| 335 |
+
/* --- Modal (Popup) --- */
|
| 336 |
+
.modal-overlay {
|
| 337 |
+
position: fixed;
|
| 338 |
+
top: 0;
|
| 339 |
+
left: 0;
|
| 340 |
+
width: 100%;
|
| 341 |
+
height: 100%;
|
| 342 |
+
background-color: rgba(0,0,0,0.85);
|
| 343 |
+
z-index: 2000;
|
| 344 |
+
display: none; /* Hidden by default */
|
| 345 |
+
justify-content: center;
|
| 346 |
+
align-items: center;
|
| 347 |
+
backdrop-filter: blur(5px);
|
| 348 |
+
opacity: 0;
|
| 349 |
+
transition: opacity 0.3s ease;
|
| 350 |
+
}
|
| 351 |
+
|
| 352 |
+
.modal-overlay.active {
|
| 353 |
+
display: flex;
|
| 354 |
+
opacity: 1;
|
| 355 |
+
}
|
| 356 |
+
|
| 357 |
+
.modal-content {
|
| 358 |
+
background-color: var(--dark-bg);
|
| 359 |
+
width: 90%;
|
| 360 |
+
max-width: 900px;
|
| 361 |
+
height: 80vh;
|
| 362 |
+
border-radius: 10px;
|
| 363 |
+
position: relative;
|
| 364 |
+
overflow: hidden;
|
| 365 |
+
animation: slideUp 0.4s ease;
|
| 366 |
+
border: 1px solid #333;
|
| 367 |
+
}
|
| 368 |
+
|
| 369 |
+
@keyframes slideUp {
|
| 370 |
+
from { transform: translateY(50px); opacity: 0; }
|
| 371 |
+
to { transform: translateY(0); opacity: 1; }
|
| 372 |
+
}
|
| 373 |
+
|
| 374 |
+
.close-modal {
|
| 375 |
+
position: absolute;
|
| 376 |
+
top: 20px;
|
| 377 |
+
right: 20px;
|
| 378 |
+
background-color: rgba(0,0,0,0.7);
|
| 379 |
+
color: white;
|
| 380 |
+
width: 40px;
|
| 381 |
+
height: 40px;
|
| 382 |
+
border-radius: 50%;
|
| 383 |
+
display: flex;
|
| 384 |
+
justify-content: center;
|
| 385 |
+
align-items: center;
|
| 386 |
+
cursor: pointer;
|
| 387 |
+
z-index: 10;
|
| 388 |
+
font-size: 20px;
|
| 389 |
+
transition: background 0.3s;
|
| 390 |
+
}
|
| 391 |
+
|
| 392 |
+
.close-modal:hover {
|
| 393 |
+
background-color: var(--primary-color);
|
| 394 |
+
}
|
| 395 |
+
|
| 396 |
+
.video-placeholder {
|
| 397 |
+
width: 100%;
|
| 398 |
+
height: 100%;
|
| 399 |
+
background-color: #000;
|
| 400 |
+
display: flex;
|
| 401 |
+
flex-direction: column;
|
| 402 |
+
justify-content: center;
|
| 403 |
+
align-items: center;
|
| 404 |
+
color: white;
|
| 405 |
+
}
|
| 406 |
+
|
| 407 |
+
.video-placeholder i {
|
| 408 |
+
font-size: 60px;
|
| 409 |
+
margin-bottom: 20px;
|
| 410 |
+
color: var(--primary-color);
|
| 411 |
+
}
|
| 412 |
+
|
| 413 |
+
/* --- Footer --- */
|
| 414 |
+
footer {
|
| 415 |
+
background-color: #000;
|
| 416 |
+
padding: 60px 5% 20px;
|
| 417 |
+
border-top: 1px solid #333;
|
| 418 |
+
margin-top: 60px;
|
| 419 |
+
}
|
| 420 |
+
|
| 421 |
+
.footer-content {
|
| 422 |
+
max-width: 1200px;
|
| 423 |
+
margin: 0 auto;
|
| 424 |
+
display: grid;
|
| 425 |
+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
| 426 |
+
gap: 40px;
|
| 427 |
+
}
|
| 428 |
+
|
| 429 |
+
.footer-col h4 {
|
| 430 |
+
color: white;
|
| 431 |
+
margin-bottom: 20px;
|
| 432 |
+
font-size: 16px;
|
| 433 |
+
text-transform: uppercase;
|
| 434 |
+
}
|
| 435 |
+
|
| 436 |
+
.footer-col ul {
|
| 437 |
+
list-style: none;
|
| 438 |
+
}
|
| 439 |
+
|
| 440 |
+
.footer-col li {
|
| 441 |
+
margin-bottom: 10px;
|
| 442 |
+
}
|
| 443 |
+
|
| 444 |
+
.footer-col a {
|
| 445 |
+
color: var(--text-secondary);
|
| 446 |
+
text-decoration: none;
|
| 447 |
+
font-size: 14px;
|
| 448 |
+
transition: color 0.3s;
|
| 449 |
+
}
|
| 450 |
+
|
| 451 |
+
.footer-col a:hover {
|
| 452 |
+
color: white;
|
| 453 |
+
}
|
| 454 |
+
|
| 455 |
+
.copyright {
|
| 456 |
+
text-align: center;
|
| 457 |
+
margin-top: 50px;
|
| 458 |
+
color: #777;
|
| 459 |
+
font-size: 13px;
|
| 460 |
+
padding-top: 20px;
|
| 461 |
+
border-top: 1px solid #222;
|
| 462 |
+
}
|
| 463 |
+
|
| 464 |
+
/* --- Built with anycoder Link --- */
|
| 465 |
+
.anycoder-link {
|
| 466 |
+
position: fixed;
|
| 467 |
+
bottom: 20px;
|
| 468 |
+
right: 20px;
|
| 469 |
+
background-color: rgba(255,255,255,0.1);
|
| 470 |
+
backdrop-filter: blur(5px);
|
| 471 |
+
padding: 10px 20px;
|
| 472 |
+
border-radius: 50px;
|
| 473 |
+
text-decoration: none;
|
| 474 |
+
color: #a0a0a0;
|
| 475 |
+
font-size: 12px;
|
| 476 |
+
border: 1px solid rgba(255,255,255,0.2);
|
| 477 |
+
transition: all 0.3s;
|
| 478 |
+
z-index: 9999;
|
| 479 |
+
}
|
| 480 |
+
|
| 481 |
+
.anycoder-link:hover {
|
| 482 |
+
background-color: white;
|
| 483 |
+
color: black;
|
| 484 |
+
transform: translateY(-5px);
|
| 485 |
+
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
|
| 486 |
+
}
|
| 487 |
+
|
| 488 |
+
/* --- Responsive Design --- */
|
| 489 |
+
@media (max-width: 768px) {
|
| 490 |
+
.hero-content {
|
| 491 |
+
flex-direction: column;
|
| 492 |
+
text-align: center;
|
| 493 |
+
align-items: center;
|
| 494 |
+
}
|
| 495 |
+
|
| 496 |
+
.hero-text {
|
| 497 |
+
margin-top: 100px;
|
| 498 |
+
}
|
| 499 |
+
|
| 500 |
+
.movie-title {
|
| 501 |
+
font-size: 40px;
|
| 502 |
+
}
|
| 503 |
+
|
| 504 |
+
.hero-buttons {
|
| 505 |
+
flex-direction: column;
|
| 506 |
+
width: 100%;
|
| 507 |
+
}
|
| 508 |
+
|
| 509 |
+
.btn-play, .btn-more {
|
| 510 |
+
width: 100%;
|
| 511 |
+
justify-content: center;
|
| 512 |
+
}
|
| 513 |
+
|
| 514 |
+
.nav-links {
|
| 515 |
+
display: none; /* Simple hide for mobile in this demo */
|
| 516 |
+
}
|
| 517 |
+
|
| 518 |
+
.logo {
|
| 519 |
+
font-size: 22px;
|
| 520 |
+
}
|
| 521 |
+
}
|
| 522 |
+
</style>
|
| 523 |
+
</head>
|
| 524 |
+
<body>
|
| 525 |
+
|
| 526 |
+
<!-- Navbar -->
|
| 527 |
+
<header id="navbar">
|
| 528 |
+
<a href="#" class="logo"><i class="fas fa-film"></i> HO ĐEN</a>
|
| 529 |
+
|
| 530 |
+
<nav class="nav-links">
|
| 531 |
+
<a href="#" class="active">Trang Chủ</a>
|
| 532 |
+
<a href="#">Phim Mới</a>
|
| 533 |
+
<a href="#">Bộ Sưu Tập</a>
|
| 534 |
+
<a href="#">Thể Loại</a>
|
| 535 |
+
<a href="#">Danh Sách Xem Sau</a>
|
| 536 |
+
</nav>
|
| 537 |
+
|
| 538 |
+
<div class="user-actions">
|
| 539 |
+
<a href="#" class="btn-login"><i class="fas fa-user"></i> Đăng Nhập</a>
|
| 540 |
+
<a href="#" class="btn-signup">Đăng Ký</a>
|
| 541 |
+
</div>
|
| 542 |
+
</header>
|
| 543 |
+
|
| 544 |
+
<!-- Hero Section -->
|
| 545 |
+
<section class="hero">
|
| 546 |
+
<div class="hero-bg"></div>
|
| 547 |
+
<div class="hero-content">
|
| 548 |
+
<div class="hero-text">
|
| 549 |
+
<div class="movie-meta">
|
| 550 |
+
<span class="rating"><i class="fas fa-star"></i> 9.8/10</span>
|
| 551 |
+
<span>2023</span>
|
| 552 |
+
<span>HD VietSub</span>
|
| 553 |
+
<span>1h 58m</span>
|
| 554 |
+
<span class="badge">Hot</span>
|
| 555 |
+
</div>
|
| 556 |
+
<h1 class="movie-title">HỒ ĐEN TỪ THẦN</h1>
|
| 557 |
+
<p class="movie-desc">
|
| 558 |
+
Trong một thế giới tối tăm đầy bí ẩn, một hiện tượng siêu nhiên xảy ra khiến cả thành phố chìm trong bóng tối. Một nhóm nhỏ những người dũng cảm phải đối mặt với nỗi sợ hãi nội tâm và những thế lực hắc ám để tìm ra sự thật bị chôn vùi hàng trăm năm trước.
|
| 559 |
+
</p>
|
| 560 |
+
<div class="hero-buttons">
|
| 561 |
+
<button class="btn-play" onclick="openModal()">
|
| 562 |
+
<i class="fas fa-play"></i> XEM NGAY
|
| 563 |
+
</button>
|
| 564 |
+
<button class="btn-more" onclick="openModal()">
|
| 565 |
+
<i class="fas fa-info-circle"></i> Chi Tiết
|
| 566 |
+
</button>
|
| 567 |
+
</div>
|
| 568 |
+
</div>
|
| 569 |
+
</div>
|
| 570 |
+
</section>
|
| 571 |
+
|
| 572 |
+
<!-- Categories / Movie Grid -->
|
| 573 |
+
<section class="section-container">
|
| 574 |
+
<div class="section-header">
|
| 575 |
+
<h2 class="section-title">Phim Đề Cử</h2>
|
| 576 |
+
<a href="#" class="view-all">Xem tất cả <i class="fas fa-arrow-right"></i></a>
|
| 577 |
+
</div>
|
| 578 |
+
|
| 579 |
+
<div class="movie-grid" id="movieGrid">
|
| 580 |
+
<!-- Movies will be injected here by JS -->
|
| 581 |
+
</div>
|
| 582 |
+
</section>
|
| 583 |
+
|
| 584 |
+
<section class="section-container" style="background-color: #111;">
|
| 585 |
+
<div class="section-header">
|
| 586 |
+
<h2 class="section-title">Thể Loại Kinh Dị</h2>
|
| 587 |
+
<a href="#" class="view-all">Xem tất cả <i class="fas fa-arrow-right"></i></a>
|
| 588 |
+
</div>
|
| 589 |
+
<div class="movie-grid" id="horrorGrid">
|
| 590 |
+
<!-- Movies will be injected here by JS -->
|
| 591 |
+
</div>
|
| 592 |
+
</section>
|
| 593 |
+
|
| 594 |
+
<!-- Footer -->
|
| 595 |
+
<footer>
|
| 596 |
+
<div class="footer-content">
|
| 597 |
+
<div class="footer-col">
|
| 598 |
+
<h4>Liên Hệ</h4>
|
| 599 |
+
<ul>
|
| 600 |
+
<li><a href="#">Giới thiệu</a></li>
|
| 601 |
+
<li><a href="#">Tuyển dụng</a></li>
|
| 602 |
+
<li><a href="#">Quy chế hoạt động</a></li>
|
| 603 |
+
</ul>
|
| 604 |
+
</div>
|
| 605 |
+
<div class="footer-col">
|
| 606 |
+
<h4>Hỗ Trợ</h4>
|
| 607 |
+
<ul>
|
| 608 |
+
<li><a href="#">Trung tâm Trợ giúp</a></li>
|
| 609 |
+
<li><a href="#">Quyền riêng tư</a></li>
|
| 610 |
+
<li><a href="#">Điều khoản sử dụng</a></li>
|
| 611 |
+
</ul>
|
| 612 |
+
</div>
|
| 613 |
+
<div class="footer-col">
|
| 614 |
+
<h4>Theo Dõi</h4>
|
| 615 |
+
<ul>
|
| 616 |
+
<li><a href="#"><i class="fab fa-facebook"></i> Facebook</a></li>
|
| 617 |
+
<li><a href="#"><i class="fab fa-twitter"></i> Twitter</a></li>
|
| 618 |
+
<li><a href="#"><i class="fab fa-instagram"></i> Instagram</a></li>
|
| 619 |
+
</ul>
|
| 620 |
+
</div>
|
| 621 |
+
<div class="footer-col">
|
| 622 |
+
<h4>Ứng Dụng</h4>
|
| 623 |
+
<p style="color: #777; font-size: 14px; margin-top: 10px;">
|
| 624 |
+
Tải ngay ứng dụng để xem phim mọi lúc mọi nơi.
|
| 625 |
+
</p>
|
| 626 |
+
<div style="display: flex; gap: 10px; margin-top: 15px;">
|
| 627 |
+
<i class="fab fa-apple fa-2x" style="color: white;"></i>
|
| 628 |
+
<i class="fab fa-google-play fa-2x" style="color: white;"></i>
|
| 629 |
+
</div>
|
| 630 |
+
</div>
|
| 631 |
+
</div>
|
| 632 |
+
<div class="copyright">
|
| 633 |
+
© 2023 HoDenTuThan Cinema. All rights reserved. This is a demo redesign.
|
| 634 |
+
</div>
|
| 635 |
+
</footer>
|
| 636 |
+
|
| 637 |
+
<!-- Built with anycoder Link -->
|
| 638 |
+
<a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" class="anycoder-link">
|
| 639 |
+
Built with anycoder
|
| 640 |
+
</a>
|
| 641 |
+
|
| 642 |
+
<!-- Video Modal -->
|
| 643 |
+
<div class="modal-overlay" id="videoModal">
|
| 644 |
+
<div class="modal-content">
|
| 645 |
+
<div class="close-modal" onclick="closeModal()">
|
| 646 |
+
<i class="fas fa-times"></i>
|
| 647 |
+
</div>
|
| 648 |
+
<div class="video-placeholder">
|
| 649 |
+
<i class="fas fa-circle-play"></i>
|
| 650 |
+
<h2>Trailer: Hồ Đen Từ Thần</h2>
|
| 651 |
+
<p style="margin-top: 20px; color: #aaa;">(Video player placeholder for streaming)</p>
|
| 652 |
+
</div>
|
| 653 |
+
</div>
|
| 654 |
+
</div>
|
| 655 |
+
|
| 656 |
+
<!-- JavaScript Logic -->
|
| 657 |
+
<script>
|
| 658 |
+
// 1. Navbar Scroll Effect
|
| 659 |
+
window.addEventListener('scroll', function() {
|
| 660 |
+
const header = document.getElementById('navbar');
|
| 661 |
+
if (window.scrollY > 50) {
|
| 662 |
+
header.classList.add('scrolled');
|
| 663 |
+
} else {
|
| 664 |
+
header.classList.remove('scrolled');
|
| 665 |
+
}
|
| 666 |
+
});
|
| 667 |
+
|
| 668 |
+
// 2. Mock Data for Movies
|
| 669 |
+
const movies = [
|
| 670 |
+
{ title: "Bóng Ma Trong Nhà Cũ", year: "2023", rating: "9.2", img: "https://picsum.photos/id/106/300/450" },
|
| 671 |
+
{ title: "Hầm Tối Bí Ẩn", year: "2022", rating: "8.8", img: "https://picsum.photos/id/24/300/450" },
|
| 672 |
+
{ title: "Tiếng Gọi Từ Xa Xăm", year: "2023", rating: "9.5", img: "https://picsum.photos/id/85/300/450" },
|
| 673 |
+
{ title: "Chuyến Xe Đêm Định Mệnh", year: "2021", rating: "8.5", img: "https://picsum.photos/id/137/300/450" },
|
| 674 |
+
{ title: "Ngôi Nhà Không Chủ", year: "2020", rating: "7.9", img: "https://picsum.photos/id/153/300/450" },
|
| 675 |
+
{ title: "Cuốn Sách Chứa Lời Nguyền", year: "2023", rating: "9.0", img: "https://picsum.photos/id/182/300/450" },
|
| 676 |
+
{ title: "Đêm Hội Ma", year: "2022", rating: "8.2", img: "https://picsum.photos/id/249/300/450" },
|
| 677 |
+
{ title: "Gương Thần Bí", year: "2019", rating: "7.5", img: "https://picsum.photos/id/250/300/450" },
|
| 678 |
+
{ title: "Âm Phủ Báo Thù", year: "2023", rating: "9.1", img: "https://picsum.photos/id/293/300/450" },
|
| 679 |
+
{ title: "Lời Thầm thì", year: "2021", rating: "8.0", img: "https://picsum.photos/id/337/300/450" },
|
| 680 |
+
{ title: "Hồn Ma Cô Độc", year: "2022", rating: "8.7", img: "https://picsum.photos/id/426/300/450" },
|
| 681 |
+
{ title: "Căn Hộ 304", year: "2020", rating: "7.8", img: "https://picsum.photos/id/535/300/450" }
|
| 682 |
+
];
|
| 683 |
+
|
| 684 |
+
// 3. Function to Render Movies
|
| 685 |
+
function renderMovies(gridId, movieList) {
|
| 686 |
+
const grid = document.getElementById(gridId);
|
| 687 |
+
grid.innerHTML = movieList.map(movie => `
|
| 688 |
+
<div class="movie-card" onclick="openModal()">
|
| 689 |
+
<img src="${movie.img}" alt="${movie.title}" class="card-img" loading="lazy">
|
| 690 |
+
<div class="card-content">
|
| 691 |
+
<h3 class="card-title">${movie.title}</h3>
|
| 692 |
+
<div class="card-meta">
|
| 693 |
+
<span>${movie.year}</span>
|
| 694 |
+
<span class="rating"><i class="fas fa-star"></i> ${movie.rating}</span>
|
| 695 |
+
</div>
|
| 696 |
+
</div>
|
| 697 |
+
</div>
|
| 698 |
+
`).join('');
|
| 699 |
+
}
|
| 700 |
+
|
| 701 |
+
// Initialize Grids
|
| 702 |
+
renderMovies('movieGrid', movies);
|
| 703 |
+
renderMovies('horrorGrid', movies.slice(5, 11)); // Show different subset
|
| 704 |
+
|
| 705 |
+
// 4. Modal Logic
|
| 706 |
+
const modal = document.getElementById('videoModal');
|
| 707 |
+
|
| 708 |
+
function openModal() {
|
| 709 |
+
modal.classList.add('active');
|
| 710 |
+
document.body.style.overflow = 'hidden'; // Prevent background scrolling
|
| 711 |
+
}
|
| 712 |
+
|
| 713 |
+
function closeModal() {
|
| 714 |
+
modal.classList.remove('active');
|
| 715 |
+
document.body.style.overflow = 'auto'; // Restore scrolling
|
| 716 |
+
}
|
| 717 |
+
|
| 718 |
+
// Close modal when clicking outside content
|
| 719 |
+
modal.addEventListener('click', (e) => {
|
| 720 |
+
if (e.target === modal) {
|
| 721 |
+
closeModal();
|
| 722 |
+
}
|
| 723 |
+
});
|
| 724 |
+
|
| 725 |
+
// Close with Escape key
|
| 726 |
+
document.addEventListener('keydown', (e) => {
|
| 727 |
+
if (e.key === 'Escape' && modal.classList.contains('active')) {
|
| 728 |
+
closeModal();
|
| 729 |
+
}
|
| 730 |
+
});
|
| 731 |
+
</script>
|
| 732 |
+
</body>
|
| 733 |
+
</html>
|