/* ==========================================================================
   RETRO GAMING HUB - MASTER CSS BUNDLE (v9.1 - HALO FIX)
   ========================================================================== */

/* --- 1. CORE & VARIABLES --- */
:root { --cc-surface: #14162b; --cc-surface-2: #1b1e36; --cc-accent: #ff2e63; --cc-accent-2: #ffa443; --cc-cyan: #22e6ff; --cc-text: #e9edf4; --cc-muted: #9aa3b2; --rail-width: 70px; --header-height: 70px; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--cc-surface); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--cc-accent); }
body, p, span, a, li, input, button, textarea, select, div { font-family: 'Rubik', 'Noto Sans Hebrew', sans-serif !important; }
h1, h2, h3, h4, h5, h6, .logo-text, .stat-number, .auth-title, .hero-title, .pagination-btn, .blog-hero-title { font-family: 'Orbitron', 'Rubik', sans-serif !important; letter-spacing: 1px; }
body { background: #0f1020; color: var(--cc-text); overflow-x: hidden; display: flex; flex-direction: column; min-height: 100vh; direction: rtl; text-align: right; padding-right: 0; }
@media (min-width: 901px) { body { padding-right: var(--rail-width); } }
body::before { content: ''; position: fixed; top: -50%; left: -50%; width: 200%; height: 200%; z-index: -5; background: radial-gradient(circle at 20% 30%, rgba(255, 46, 99, 0.08) 0%, transparent 40%), radial-gradient(circle at 80% 70%, rgba(34, 230, 255, 0.05) 0%, transparent 40%); animation: rotate 60s linear infinite; pointer-events: none; }
@keyframes rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* --- 2. HEADER & NAV --- */
.page-container, .container, .footer-container, .nav-container, .content-page-container { max-width: 1400px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; width: 100%; }
.main-nav { position: sticky; top: 0; z-index: 1000; background: rgba(15, 16, 32, 0.95); border-bottom: 1px solid rgba(255, 255, 255, .06); backdrop-filter: blur(12px); height: var(--header-height); display: flex; align-items: center; box-shadow: 0 5px 20px rgba(0, 0, 0, .4); }
.nav-container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.site-logo { display: flex; align-items: center; text-decoration: none; height: 100%; }
.logo-image { height: 45px; width: auto; transition: transform 0.2s; }
.site-logo:hover .logo-image { transform: scale(1.05); filter: drop-shadow(0 0 5px var(--cc-cyan)); }
.nav-menu-desktop { display: flex; gap: 1.5rem; align-items: center; list-style: none; }
.nav-menu-desktop .nav-link { display: inline-flex; align-items: center; padding: 8px 15px; border-radius: 8px; color: var(--cc-muted); font-weight: 700; text-decoration: none; transition: .2s; }
.nav-menu-desktop .nav-link:hover, .nav-menu-desktop .nav-link.active { color: #fff; background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 10px rgba(255,255,255,0.05); }
.nav-auth-desktop { display: flex; gap: .8rem; align-items: center; }
.btn-primary { background: linear-gradient(135deg, var(--cc-accent), #ff5183); color: #fff; padding: 8px 22px; border-radius: 50px; border: none; font-weight: 700; cursor: pointer; transition: 0.2s; text-decoration: none; box-shadow: 0 4px 15px rgba(255, 46, 99, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255, 46, 99, 0.5); filter: brightness(1.1); }
.btn-secondary { background: transparent; border: 2px solid var(--cc-accent); color: var(--cc-accent); padding: 6px 18px; border-radius: 50px; font-weight: 700; cursor: pointer; text-decoration: none; transition: 0.2s; }
.btn-secondary:hover { background: var(--cc-accent); color: #fff; box-shadow: 0 0 15px var(--cc-accent); }

/* --- 3. SIDEBAR RAIL --- */
#global-command-rail { position: fixed; right: 0; top: 0; height: 100vh; width: var(--rail-width); background: #0b0c15; border-left: 1px solid rgba(255,255,255,0.08); z-index: 1001; display: flex; flex-direction: column; transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); overflow: hidden; box-shadow: -5px 0 30px rgba(0,0,0,0.6); }
#global-command-rail:hover { width: 260px; border-left-color: var(--cc-cyan); }
.rail-header { height: var(--header-height); display: flex; align-items: center; padding: 0 22px; border-bottom: 1px solid rgba(255,255,255,0.08); flex-shrink: 0; }
.brand-name { font-weight: 800; color: var(--cc-cyan); margin-right: 15px; opacity: 0; transition: 0.2s; white-space: nowrap; }
#global-command-rail:hover .brand-name { opacity: 1; transform: translateX(0); }
.rail-static-section { padding: 15px 0; }
.rail-item { display: flex; align-items: center; height: 48px; padding: 0 20px; color: var(--cc-muted); text-decoration: none; transition: 0.2s; white-space: nowrap; cursor: pointer; position: relative; }
.rail-item:hover { background: rgba(255,255,255,0.05); color: #fff; }
.rail-item.active { color: #fff; background: linear-gradient(to left, rgba(34,230,255,0.1), transparent); border-right: 3px solid var(--cc-cyan); }
.rail-icon { font-size: 1.2rem; width: 30px; display: flex; justify-content: center; flex-shrink: 0; }
.rail-text { margin-right: 15px; font-size: 0.95rem; opacity: 0; transform: translateX(10px); transition: 0.2s; }
#global-command-rail:hover .rail-text { opacity: 1; transform: translateX(0); }
.rail-scroll-area { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 10px 0; }
.data-row-link { display: flex; align-items: center; padding: 12px 20px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.02); transition: all 0.2s; position: relative; }
.data-row-link:hover { background: rgba(34,230,255,0.05); }
.row-index { font-family: monospace; font-size: 0.8rem; color: #444; width: 24px; text-align: center; flex-shrink: 0; }
.data-row-link:hover .row-index { color: var(--cc-cyan); }
.row-content { margin-right: 15px; opacity: 0; transition: 0.2s; width: 180px; }
#global-command-rail:hover .row-content { opacity: 1; }
.row-title { color: #e2e8f0; font-size: 0.85rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-meta { font-size: 0.65rem; color: #64748b; text-transform: uppercase; display: flex; justify-content: space-between; }
.tiny-arrow { opacity: 0; transform: translateX(5px); transition: 0.2s; color: var(--cc-cyan); }
.data-row-link:hover .tiny-arrow { opacity: 1; transform: translateX(0); }

/* --- 4. HERO & SECTIONS --- */
.hero { min-height: 500px; display: flex; align-items: center; justify-content: center; padding: 3rem 0; text-align: center; background: radial-gradient(circle at center, rgba(34,230,255,0.05) 0%, transparent 70%); }
.hero-title { font-size: 3.5rem; font-weight: 900; margin-bottom: 1rem; color: #fff; text-shadow: 0 0 30px rgba(34,230,255,0.3); }
.hero-subtitle { color: #b9c1d3; font-size: 1.3rem; margin-bottom: 2rem; max-width: 700px; line-height: 1.6; }
.hero-platforms { display: flex; gap: 1rem; justify-content: center; margin-bottom: 2.5rem; }
.platform-badge { padding: 8px 18px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.3); color: var(--cc-cyan); font-weight: 700; font-size: 0.9rem; }
.hero-scroll-chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 35px; border-radius: 50px; background: var(--cc-accent); color: #fff; font-weight: 700; transition: .3s; text-decoration: none; box-shadow: 0 0 20px rgba(255, 46, 99, 0.4); }
.hero-scroll-chip:hover { transform: scale(1.05); background: #ff5183; }
/* --- FIX: GLOWING HALO DIVIDER --- */
.section-divider { display: flex; align-items: center; justify-content: center; margin: 60px 0; position: relative; opacity: 1; }
.divider-line { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--cc-cyan), transparent); box-shadow: 0 0 10px rgba(34, 230, 255, 0.3); }
.divider-icon { position: absolute; background: #0f1020; padding: 0; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--cc-cyan); font-size: 1.2rem; z-index: 2; border: 1px solid rgba(34, 230, 255, 0.3); box-shadow: 0 0 15px rgba(34, 230, 255, 0.4), 0 0 30px rgba(255, 46, 99, 0.2), inset 0 0 10px rgba(34, 230, 255, 0.1); transition: all 0.5s ease; }
.section-divider:hover .divider-icon { transform: scale(1.1) rotate(360deg); box-shadow: 0 0 25px rgba(34, 230, 255, 0.6), 0 0 50px rgba(255, 46, 99, 0.4), inset 0 0 15px rgba(34, 230, 255, 0.3); border-color: var(--cc-cyan); color: #fff; }
.platforms { padding: 2rem 0; }
.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.platform-card { background: linear-gradient(145deg, #1b1e36, #14162b); border: 1px solid rgba(255,255,255,0.05); border-radius: 20px; padding: 40px 20px; text-align: center; cursor: pointer; transition: .3s; position: relative; overflow: hidden; }
.platform-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.platform-icon { font-size: 3rem; color: #fff; margin-bottom: 20px; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--cc-accent), #ff5183); border-radius: 50%; box-shadow: 0 10px 20px rgba(255,46,99,0.3); }
.platform-card h3 { font-size: 1.4rem; color: #fff; margin-bottom: 10px; }
.platform-card p { color: var(--cc-muted); }

/* --- 5. GAMES GRID --- */
.games-section { padding: 2rem 0 5rem; }
.section-header { margin-bottom: 3rem; text-align: center; }
.section-title { font-size: 2.5rem; color: #fff; margin-bottom: 20px; display: inline-block; position: relative; }
.filter-controls { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.03); padding: 15px 25px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.05); }
.platform-filter-buttons { display: flex; gap: 10px; }
.filter-btn { padding: 8px 20px; border-radius: 30px; background: transparent; border: 1px solid rgba(255,255,255,0.1); color: #ccc; cursor: pointer; transition: 0.2s; font-weight: bold; display: flex; align-items: center; gap: 8px; }
.filter-btn:hover, .filter-btn.active { background: var(--cc-accent); color: #fff; border-color: transparent; box-shadow: 0 0 15px rgba(255, 46, 99, 0.4); }
.search-input { padding: 10px 20px; border-radius: 30px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); color: #fff; width: 250px; transition: 0.3s; }
.search-input:focus { border-color: var(--cc-cyan); box-shadow: 0 0 10px rgba(34, 230, 255, 0.2); outline: none; }
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 25px; width: 100%; min-height: 400px; }
.game-card { background: var(--cc-surface-2); border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s; position: relative; height: 100%; display: flex; flex-direction: column; }
.game-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.5); border-color: var(--cc-cyan); }
.game-image { width: 100%; aspect-ratio: 4/3; position: relative; background: #000; overflow: hidden; }
.game-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.game-card:hover .game-image img { transform: scale(1.1); }
.game-info { padding: 15px; text-align: center; display: flex; flex-direction: column; flex-grow: 1; justify-content: space-between; }
.game-title { font-weight: 700; color: #fff; margin-bottom: 10px; font-size: 1rem; line-height: 1.3; }
.game-meta-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.game-tag { font-size: 0.75rem; color: #fff; background: var(--cc-surface); padding: 4px 8px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.1); }
.play-link { color: var(--cc-accent); font-size: 0.8rem; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 60px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.pagination-btn { min-width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; background: rgba(20, 22, 43, 0.6); color: #fff; font-size: 1rem; font-weight: 700; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 8px; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; backdrop-filter: blur(5px); }
.pagination-btn:hover:not(:disabled) { border-color: var(--cc-cyan); color: var(--cc-cyan); background: rgba(34, 230, 255, 0.1); box-shadow: 0 0 15px rgba(34, 230, 255, 0.4), inset 0 0 10px rgba(34, 230, 255, 0.1); transform: translateY(-3px) scale(1.05); z-index: 2; }
.pagination-btn.active { background: var(--cc-accent); border-color: var(--cc-accent); color: #fff; box-shadow: 0 0 25px rgba(255, 46, 99, 0.5); transform: scale(1.15); z-index: 3; }
.pagination-btn:disabled { opacity: 0.3; cursor: not-allowed; border-color: transparent; background: rgba(0,0,0,0.2); }
.pagination-dots { color: var(--cc-muted); font-family: 'Orbitron', sans-serif; font-size: 1.2rem; letter-spacing: 2px; margin: 0 5px; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }
.no-games-state { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px; background: rgba(255,255,255,0.02); border-radius: 20px; border: 1px dashed rgba(255,255,255,0.1); }
.no-games-icon { font-size: 4rem; color: var(--cc-surface-2); margin-bottom: 20px; }

/* --- 6. FOOTER --- */
.main-footer { background: #0a0b15; border-top: 1px solid rgba(255, 255, 255, .06); padding: 60px 0 20px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-section h3 { font-size: 1.1rem; color: #fff; margin-bottom: 20px; border-bottom: 2px solid var(--cc-accent); display: inline-block; padding-bottom: 5px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--cc-muted); text-decoration: none; transition: .2s; font-size: 0.95rem; }
.footer-links a:hover { color: var(--cc-cyan); padding-right: 5px; }
.footer-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.stat-item { background: rgba(255, 255, 255, .03); padding: 15px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .06); display: flex; flex-direction: column; align-items: center; text-align: center; transition: 0.3s; }
.stat-item:hover { border-color: var(--cc-accent); transform: translateY(-3px); }
.stat-item i { font-size: 1.5rem; color: var(--cc-accent); margin-bottom: 8px; }
.stat-content { display: flex; flex-direction: column; }
.stat-number { font-size: 1.3rem; color: #fff; font-weight: bold; line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 0.8rem; color: #aaa; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .06); padding-top: 25px; text-align: center; color: #666; font-size: 0.9rem; }

/* --- 7. CONTENT PAGES --- */
.content-page-container { max-width: 900px; margin: 40px auto; padding: 0 20px; min-height: 60vh; }
.content-box { background: var(--cc-surface-2); padding: 40px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.content-box h2 { font-size: 2rem; color: #fff; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.content-box h3 { font-size: 1.4rem; color: var(--cc-cyan); margin-top: 30px; margin-bottom: 15px; }
.content-box p { font-size: 1.1rem; line-height: 1.8; color: #d1d5db; margin-bottom: 15px; }
.content-box ul { background: rgba(0,0,0,0.2); padding: 20px 40px 20px 20px; border-radius: 10px; border-right: 3px solid var(--cc-cyan); margin-bottom: 20px; }
.content-box li { color: #ccc; margin-bottom: 10px; line-height: 1.6; }
.legal-header { text-align: center; margin-bottom: 40px; }
.legal-header h1 { color: var(--cc-accent); font-size: 2.5rem; }
.legal-section { margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 30px; }
.legal-section:last-child { border-bottom: none; }
.about-hero { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center !important; padding: 100px 20px; width: 100%; background: radial-gradient(circle at center, rgba(34,230,255,0.05) 0%, transparent 70%); min-height: 400px; }
.about-hero .hero-content { width: 100%; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center !important; }
.about-hero h1 { font-size: 3.5rem; margin-bottom: 20px; color: #fff; text-shadow: 0 0 30px rgba(34,230,255,0.3); width: 100%; text-align: center !important; }
.about-hero .subtitle { font-size: 1.3rem; color: var(--cc-muted); max-width: 700px; margin: 0 auto; line-height: 1.6; text-align: center !important; }
.about-wrapper-centered { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 50px; padding-bottom: 60px; }
.centered-box { text-align: center !important; display: flex; flex-direction: column; align-items: center; }
.icon-header { font-size: 2.5rem; color: var(--cc-cyan); margin-bottom: 20px; background: rgba(34, 230, 255, 0.1); width: 90px; height: 90px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(34, 230, 255, 0.3); box-shadow: 0 0 30px rgba(34, 230, 255, 0.15); }
.lead { font-size: 1.25rem; line-height: 1.8; color: #fff; max-width: 800px; }
.tech-detailed-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; width: 100%; margin-top: 40px; text-align: right; }
.tech-card { background: rgba(255,255,255,0.03); padding: 25px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s; display: flex; flex-direction: column; align-items: flex-start; }
.tech-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.06); border-color: var(--cc-accent); }
.tech-icon { font-size: 2rem; color: var(--cc-accent); margin-bottom: 15px; background: rgba(255,46,99,0.1); padding: 10px; border-radius: 8px; }
.tech-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.tech-card p { font-size: 1rem; margin: 0; }
.features-list { list-style: none; padding: 0; margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; text-align: right; }
.features-list li { background: rgba(0,0,0,0.2); padding: 20px; border-radius: 10px; border-right: 4px solid var(--cc-cyan); display: flex; align-items: flex-start; gap: 15px; color: #ccc; }
.features-list i { font-size: 1.5rem; color: var(--cc-cyan); margin-top: 4px; }
.features-list strong { color: #fff; display: block; margin-bottom: 5px; font-size: 1.1rem; }
.about-footer-centered { text-align: center; margin-top: 30px; }
.about-footer-centered p { font-size: 1.4rem; margin-bottom: 20px; color: #fff; }

/* --- 8. BLOG PAGE FIX (DARK BLUE BACKGROUND) --- */
.blog-hero-section { position: relative; height: 500px; width: 100%; margin-bottom: 60px; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.1); background-color: #000; }
.blog-hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover !important; background-position: center center !important; transition: transform 0.8s ease; opacity: 0.6; }
.blog-hero-section:hover .blog-hero-bg { transform: scale(1.05); opacity: 0.4; }
.blog-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(0deg, #0f1020 0%, rgba(15,16,32,0.8) 50%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 60px; z-index: 2; }
.blog-hero-title { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; color: #fff; text-shadow: 0 10px 30px rgba(0,0,0,0.9); max-width: 900px; }
.blog-hero-excerpt { font-size: 1.2rem; color: #e0e0e0; margin-bottom: 30px; max-width: 700px; line-height: 1.7; text-shadow: 0 2px 5px rgba(0,0,0,0.8); }
.blog-hero-tag { background: var(--cc-accent); color: #fff; padding: 8px 18px; border-radius: 6px; font-weight: 800; font-size: 0.9rem; margin-bottom: 20px; box-shadow: 0 0 25px rgba(255, 46, 99, 0.4); display: inline-block; text-transform: uppercase; letter-spacing: 1px; }
.blog-hero-btn { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 14px 35px; font-weight: 700; border-radius: 50px; text-decoration: none; transition: 0.3s; display: inline-flex; align-items: center; gap: 12px; font-size: 1rem; }
.blog-hero-btn:hover { background: var(--cc-cyan); color: #000; border-color: var(--cc-cyan); box-shadow: 0 0 30px rgba(34, 230, 255, 0.4); transform: translateY(-3px); }
.blog-grid-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 40px; margin-bottom: 80px; }
.blog-card { background: var(--cc-surface-2); border: 1px solid rgba(255,255,255,0.05); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); height: 100%; position: relative; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5); }
.blog-card:hover { transform: translateY(-12px); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.7); border-color: var(--cc-cyan); }
.blog-thumb { width: 100%; height: 250px; position: relative; overflow: hidden; background-color: #0f1522; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.blog-thumb img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform 0.6s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-cat-tag { position: absolute; top: 20px; right: 20px; background: rgba(15, 16, 32, 0.85); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15); color: var(--cc-cyan); padding: 6px 14px; border-radius: 6px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; z-index: 2; box-shadow: 0 4px 15px rgba(0,0,0,0.3); letter-spacing: 1px; }
.blog-details { padding: 35px 30px; display: flex; flex-direction: column; flex-grow: 1; justify-content: flex-start; }
.blog-date { font-size: 0.85rem; color: #8899ac; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; font-family: 'Orbitron', sans-serif; letter-spacing: 1px; }
.blog-date::before { content: ''; width: 6px; height: 6px; background: var(--cc-accent); border-radius: 50%; box-shadow: 0 0 10px var(--cc-accent); }
.blog-details h3 { font-size: 1.4rem; margin-bottom: 15px; color: #fff; line-height: 1.4; font-weight: 700; transition: 0.3s; height: 3.9rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.blog-card:hover h3 { color: var(--cc-cyan); }
.blog-details p { color: #a0aec0; font-size: 0.95rem; line-height: 1.7; margin-bottom: 25px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-more-link { margin-top: auto; color: #fff; font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; width: 100%; }
.read-more-link i { transition: transform 0.3s; font-size: 1.1rem; color: var(--cc-accent); }
.blog-card:hover .read-more-link { color: var(--cc-accent); }
.blog-card:hover .read-more-link i { transform: translateX(-5px); }
.blog-pagination { display: flex; justify-content: center; gap: 10px; margin-top: 60px; }
.p-btn { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: var(--cc-surface-2); border: 1px solid rgba(255,255,255,0.1); color: #fff; border-radius: 12px; font-weight: 700; text-decoration: none; transition: 0.3s; font-family: 'Orbitron', sans-serif; }
.p-btn:hover, .p-btn.active { background: var(--cc-cyan); color: #000; border-color: var(--cc-cyan); box-shadow: 0 0 25px rgba(34, 230, 255, 0.3); transform: translateY(-3px); }

/* --- 9. ARTICLE PAGE PRO - REAL FULL IMAGE FIX & RIGHT SIDEBAR (SINGLE LINE) --- */
.article-header-hero { position: relative; width: 100%; height: auto; min-height: 400px; aspect-ratio: 16/7; background-color: #0f1020; margin-bottom: -100px; z-index: 0; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; background-size: contain !important; background-position: top center !important; background-repeat: no-repeat !important; }
.article-header-hero::before, .article-header-hero::after { display: none; }
.hero-overlay { width: 100%; height: 100%; position: absolute; top: 0; left: 0; background: linear-gradient(to top, #0f1020 15%, rgba(15,16,32,0.8) 35%, transparent 60%); display: flex; align-items: flex-end; padding-bottom: 40px; }
.hero-container { max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 24px; text-align: center; position: relative; z-index: 10; }
.cat-badge { background: var(--cc-accent); color: #fff; padding: 6px 16px; border-radius: 50px; font-weight: 800; text-transform: uppercase; display: inline-block; box-shadow: 0 0 20px rgba(255, 46, 99, 0.5); font-size: 0.85rem; margin-bottom: 15px; border: 1px solid rgba(255,255,255,0.2); }
.article-title-main { font-size: 3.2rem; color: #fff; font-weight: 900; text-shadow: 0 4px 20px rgba(0,0,0,1); line-height: 1.1; margin-bottom: 15px; max-width: 950px; margin-left: auto; margin-right: auto; }
.meta-info { background: rgba(0,0,0,0.8); backdrop-filter: blur(8px); padding: 8px 20px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.15); display: inline-flex; gap: 20px; color: #ddd; font-size: 0.9rem; margin-top: 10px; }
.meta-info span { display: flex; align-items: center; gap: 6px; }
.meta-info i { color: var(--cc-cyan); }
.article-layout { display: grid; grid-template-columns: 340px 1fr; gap: 40px; position: relative; z-index: 2; margin-top: 40px; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } .article-sidebar { order: 2; } }
.article-main { background: var(--cc-surface); padding: 40px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.article-lead { font-size: 1.3rem; font-weight: 400; line-height: 1.6; color: #e9edf4; margin-bottom: 30px; border-right: 4px solid var(--cc-cyan); padding-right: 20px; background: linear-gradient(to left, transparent, rgba(34,230,255,0.05) 100%); }
.article-divider { border: 0; height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent); margin: 40px 0; }
.article-body { font-size: 1.1rem; line-height: 1.9; color: #cbd5e0; }
.article-body p { margin-bottom: 20px; }
.article-body strong { color: #fff; font-weight: 700; }
.article-body a { color: var(--cc-cyan); text-decoration: none; border-bottom: 1px dashed var(--cc-cyan); transition: 0.2s; }
.article-body a:hover { background: var(--cc-cyan); color: #000; border-bottom-style: solid; }
.article-body img { display: block; max-width: 100%; height: auto; margin: 40px 0; border-radius: 12px; box-shadow: 0 15px 50px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); }
.article-body h2 { font-size: 2rem; color: #fff; margin-top: 50px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.article-body h2::before { content: '#'; color: var(--cc-accent); font-family: 'Orbitron', sans-serif; opacity: 0.7; }
.article-body h3 { font-size: 1.5rem; color: var(--cc-cyan); margin-top: 35px; margin-bottom: 15px; }
.article-sidebar { position: sticky; top: 90px; height: fit-content; }
.sidebar-widget { background: var(--cc-surface-2); padding: 25px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.08); margin-bottom: 25px; }
.sidebar-title { font-size: 1.2rem; color: #fff; margin-bottom: 20px; border-bottom: 2px solid var(--cc-cyan); display: inline-block; padding-bottom: 8px; }
.mini-post { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; text-decoration: none; color: #ccc; transition: 0.2s; padding: 8px; border-radius: 10px; }
.mini-post:hover { background: rgba(34, 230, 255, 0.05); color: #fff; transform: translateX(-5px); }
.mini-thumb { width: 70px; height: 70px; border-radius: 8px; overflow: hidden; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.1); }
.mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-info h4 { font-size: 0.95rem; line-height: 1.3; margin-bottom: 6px; color: #fff; }
.mini-info span { font-size: 0.75rem; color: #8899ac; }

/* --- 10. AUTH MODALS --- */
.auth-modal { display: none; position: fixed !important; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85) !important; backdrop-filter: blur(8px); }
.modal-content { position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; width: 90%; max-width: 400px; background: linear-gradient(145deg, #151725, #0f1020) !important; border: 2px solid var(--cc-accent) !important; border-radius: 20px; padding: 40px; box-shadow: 0 0 60px rgba(0,0,0,0.9), 0 0 15px var(--cc-accent) !important; text-align: center; direction: rtl; }
.close-modal { position: absolute; top: 15px; left: 20px; color: #fff; font-size: 2rem; cursor: pointer; z-index: 100; transition: 0.3s; line-height: 1; }
.close-modal:hover { color: var(--cc-accent); transform: rotate(90deg); }
.auth-title { font-size: 1.8rem; color: #fff; margin-bottom: 25px; border-bottom: 2px solid var(--cc-accent); display: inline-block; padding-bottom: 10px; }
.form-group { margin-bottom: 20px; width: 100%; text-align: right; }
.form-group label { display: block; margin-bottom: 8px; color: var(--cc-cyan); font-weight: bold; font-size: 0.9rem; }
.form-group input { width: 100%; padding: 12px 15px; background: rgba(255, 255, 255, 0.05) !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; border-radius: 8px; color: #fff !important; outline: none; transition: 0.3s; }
.form-group input:focus { border-color: var(--cc-cyan) !important; background: rgba(0, 0, 0, 0.4) !important; box-shadow: 0 0 15px rgba(34, 230, 255, 0.3); }
.btn-auth-submit { width: 100%; padding: 12px; margin-top: 15px; background: linear-gradient(90deg, var(--cc-accent), #ff5183) !important; color: #fff; border: none; border-radius: 50px; font-weight: bold; font-size: 1.1rem; cursor: pointer; transition: 0.3s; box-shadow: 0 5px 15px rgba(255, 46, 99, 0.4); }
.btn-auth-submit:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(255, 46, 99, 0.6); }
.auth-switch-text { margin-top: 20px; color: #aaa; font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 15px; }
.auth-switch-link { color: var(--cc-cyan); font-weight: bold; cursor: pointer; margin-right: 5px; }
.message-box { margin-top: 15px; padding: 10px; border-radius: 8px; font-size: 0.9rem; font-weight: bold; display: none; text-align: center; }
.message-box.error { background: rgba(255, 46, 99, 0.15); border: 1px solid var(--cc-accent); color: #ff8fa3; }
.message-box.success { background: rgba(34, 230, 255, 0.15); border: 1px solid var(--cc-cyan); color: #aeffff; }
@keyframes fadeInBackdrop { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOutBackdrop { from { opacity: 1; } to { opacity: 0; } }
@keyframes popInModal { 0% { opacity: 0; transform: translate(-50%, -60%) scale(0.8); } 70% { transform: translate(-50%, -50%) scale(1.05); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes popOutModal { 0% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -40%) scale(0.8); } }
.auth-modal[style*="display: flex"] { animation: fadeInBackdrop 0.3s ease-out forwards; }
.auth-modal[style*="display: flex"] .modal-content { animation: popInModal 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.auth-modal.is-closing { animation: fadeOutBackdrop 0.3s ease-in forwards !important; pointer-events: none; }
.auth-modal.is-closing .modal-content { animation: popOutModal 0.3s ease-in forwards !important; }

/* --- 11. ADMIN SECTION FIX (CENTERED) --- */
.admin-page-container { max-width: 1400px; margin: 40px auto; padding: 0 24px; min-height: 80vh; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }
.admin-form-wrapper { background: var(--cc-surface-2); padding: 40px; border-radius: 20px; max-width: 800px; margin: 0 auto; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.admin-card { background: var(--cc-surface-2); padding: 30px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); text-align: center; transition: 0.3s; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; text-decoration: none; color: #fff; }
.admin-card:hover { transform: translateY(-5px); border-color: var(--cc-cyan); box-shadow: 0 10px 30px rgba(34, 230, 255, 0.15); }
.admin-card i { font-size: 3rem; color: var(--cc-accent); }
.admin-card span { font-size: 1.5rem; font-family: 'Orbitron', sans-serif; font-weight: bold; }
.games-table { width: 100%; border-collapse: separate; border-spacing: 0 10px; margin-top: 20px; }
.games-table th { text-align: right; padding: 15px; color: var(--cc-muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.games-table td { background: var(--cc-surface-2); padding: 15px; color: #fff; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.games-table td:first-child { border-top-right-radius: 10px; border-bottom-right-radius: 10px; border-right: 1px solid rgba(255,255,255,0.05); }
.games-table td:last-child { border-top-left-radius: 10px; border-bottom-left-radius: 10px; border-left: 1px solid rgba(255,255,255,0.05); }
.games-table img { width: 50px; height: 50px; object-fit: cover; border-radius: 6px; border: 1px solid #444; }
.btn-admin { padding: 8px 16px; border-radius: 6px; font-size: 0.9rem; font-weight: bold; text-decoration: none; transition: 0.2s; display: inline-block; }
.btn-edit { background: rgba(34, 230, 255, 0.1); color: var(--cc-cyan); border: 1px solid var(--cc-cyan); }
.btn-edit:hover { background: var(--cc-cyan); color: #000; }
.btn-delete { background: rgba(255, 46, 99, 0.1); color: var(--cc-accent); border: 1px solid var(--cc-accent); }
.btn-delete:hover { background: var(--cc-accent); color: #fff; }

/* --- 12. MOBILE RESPONSIVE --- */
#mobile-menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }
.mobile-menu-dropdown { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(15, 16, 32, 0.98); backdrop-filter: blur(15px); padding-top: 100px; z-index: 2000; flex-direction: column; align-items: center; gap: 30px; transition: 0.3s; }
.mobile-menu-open { display: flex !important; }
.mobile-menu-dropdown .nav-link { font-size: 2rem; color: #fff; font-weight: bold; text-decoration: none; }
@media (max-width: 900px) {
    #global-command-rail, .nav-menu-desktop, .nav-auth-desktop { display: none; }
    #mobile-menu-toggle { display: block; }
    .footer-stats { grid-template-columns: 1fr; }
    .platform-grid { grid-template-columns: repeat(2, 1fr); }
    .games-grid { grid-template-columns: repeat(2, 1fr); }
    .content-box { padding: 20px; }
    .tech-detailed-grid { grid-template-columns: 1fr; text-align: center; }
    .tech-card { align-items: center; }
    .features-list { grid-template-columns: 1fr; }
    .about-hero { padding: 50px 15px; }
    .about-hero h1 { font-size: 2.2rem; }
    .article-layout { grid-template-columns: 1fr; }
    .article-header-hero { height: 300px; }
    .article-header-hero h1 { font-size: 2rem; }
    .article-main { padding: 25px; }
    .blog-grid-container { grid-template-columns: 1fr; }
}

/* --- 13. COOKIE BANNER --- */
#cookie-consent-banner { display: none; position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 900px; background: rgba(20, 22, 43, 0.95); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.1); border-right: 4px solid var(--cc-accent); border-radius: 16px; padding: 25px 35px; z-index: 10001; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); flex-direction: row; justify-content: space-between; align-items: center; gap: 20px; animation: slideUpFade 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.cookie-consent-content p { margin: 0; font-size: 1rem; color: #e0e0e0; }
.cookie-consent-content a { color: var(--cc-cyan); font-weight: bold; text-decoration: none; }
#cookie-consent-accept { font-family: 'Rubik', sans-serif; font-size: 1rem; font-weight: 700; padding: 12px 30px; border-radius: 50px; background: linear-gradient(135deg, var(--cc-accent), #ff5183); color: #fff; border: none; cursor: pointer; white-space: nowrap; }
@keyframes slideUpFade { from { opacity: 0; transform: translate(-50%, 50px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* --- 14. PLAY PAGE FIXES (GRID LAYOUT FOR HEADER - NO STRETCHING) --- */
.play-page-wrapper { display: grid; grid-template-columns: 180px 1fr 180px; gap: 30px; margin-top: 30px; max-width: 1400px; margin-left: auto; margin-right: auto; padding: 0 20px; width: 100%; }
.ad-sidebar { position: sticky; top: 90px; height: fit-content; }
.ad-container { width: 160px; min-height: 600px; background: rgba(20,22,43,0.5); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 10px; font-size: 0.8rem; color: #666; text-align: center; transition: all 0.3s ease; }
.ad-container:hover { border-color: var(--cc-accent); background: rgba(20,22,43,0.7); }
/* השינוי ל-GRID: זה מונע מתיחה לחלוטין */
.game-header { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; background: linear-gradient(135deg,var(--cc-surface-2) 0%,var(--cc-surface) 100%); padding: 20px 30px; border-radius: 16px; margin-bottom: 25px; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 10px 40px rgba(0,0,0,0.5); height: 100px; overflow: hidden; }
/* min-width: 0 הוא הקסם שמונע את המתיחה ב-Grid */
.game-title-section { min-width: 0; text-align: right; display: flex; flex-direction: column; justify-content: center; }
.game-title-section h1 { margin: 0 0 8px 0; font-size: 1.8rem; color: #fff; font-family: 'Orbitron',sans-serif; text-shadow: 2px 2px 10px rgba(255,46,99,0.4); letter-spacing: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.game-meta { display: flex; gap: 15px; align-items: center; flex-wrap: nowrap; overflow: hidden; text-overflow: ellipsis; }
.platform-badge { padding: 6px 14px; background: linear-gradient(135deg,var(--cc-accent) 0%,#ff5183 100%); color: #fff; border-radius: 25px; font-weight: 700; font-size: 0.85rem; box-shadow: 0 4px 15px rgba(255,46,99,0.4); white-space: nowrap; flex-shrink: 0; }
.game-actions { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.action-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 20px; height: 40px; background: rgba(20, 22, 43, 0.6); border: 1px solid var(--cc-cyan); border-radius: 50px; color: var(--cc-cyan); font-family: 'Orbitron', sans-serif; font-size: 0.85rem; font-weight: 700; text-decoration: none !important; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }
.action-btn:hover { background: var(--cc-cyan); color: #000; box-shadow: 0 0 20px rgba(34, 230, 255, 0.6); transform: translateY(-2px); }
a[href*="admin/edit.php"].action-btn { border-color: var(--cc-accent); color: var(--cc-accent); }
a[href*="admin/edit.php"].action-btn:hover { background: var(--cc-accent); color: #fff; box-shadow: 0 0 20px rgba(255, 46, 99, 0.6); }
.game-wrapper { width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 16px; overflow: hidden; position: relative; box-shadow: 0 0 0 3px rgba(255,46,99,0.3),0 0 60px rgba(0,0,0,0.9),inset 0 0 30px rgba(0,0,0,0.6); border: 3px solid #1a1a2e; }
#game { width: 100%; height: 100%; }
.loading { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; color: var(--cc-accent); z-index: 10; }
.spinner { width: 70px; height: 70px; border: 6px solid rgba(255,255,255,0.1); border-top-color: var(--cc-accent); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 20px; box-shadow: 0 0 20px rgba(255,46,99,0.3); }
@keyframes spin { to { transform: rotate(360deg); } }
.game-info-grid { display: grid; gap: 25px; margin-top: 35px; }
.game-description { background: linear-gradient(135deg,var(--cc-surface) 0%,rgba(20,22,43,0.8) 100%); padding: 30px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 8px 25px rgba(0,0,0,0.3); transition: all 0.3s ease; }
.game-description:hover { border-color: var(--cc-cyan); transform: translateY(-2px); box-shadow: 0 12px 35px rgba(0,0,0,0.4); }
.description-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; margin-bottom: 20px; }
.description-header h3 { margin: 0; color: var(--cc-cyan); font-size: 1.5rem; border-bottom: 2px solid rgba(34,230,255,0.3); padding-bottom: 12px; display: flex; align-items: center; gap: 10px; flex-grow: 1; }
.lang-switcher { display: flex; align-items: center; gap: 8px; }
.lang-btn { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); color: var(--cc-muted); padding: 6px 14px; border-radius: 6px; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; font-family: inherit; }
.lang-btn:hover { background: rgba(255,255,255,0.1); border-color: var(--cc-cyan); color: #fff; }
.lang-btn.active { background: var(--cc-cyan); border-color: var(--cc-cyan); color: #000; box-shadow: 0 0 15px rgba(34,230,255,0.4); }
.lang-btn.loading { opacity: 0.6; cursor: wait; }
.lang-divider { color: rgba(255,255,255,0.3); font-weight: 300; font-size: 0.9rem; }
.game-description p { color: var(--cc-text); line-height: 1.9; font-size: 1.05rem; }
.game-controls { background: linear-gradient(135deg,var(--cc-surface) 0%,rgba(20,22,43,0.8) 100%); padding: 30px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 8px 25px rgba(0,0,0,0.3); transition: all 0.3s ease; }
.game-controls:hover { border-color: var(--cc-cyan); transform: translateY(-2px); box-shadow: 0 12px 35px rgba(0,0,0,0.4); }
.game-controls h3 { color: var(--cc-cyan); margin-top: 0; margin-bottom: 20px; font-size: 1.5rem; border-bottom: 2px solid rgba(34,230,255,0.3); padding-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.game-controls p { color: var(--cc-text); line-height: 1.9; font-size: 1.05rem; }
.game-controls ul { background: rgba(255,255,255,0.04); padding: 25px 45px 25px 25px; border-radius: 10px; border-right: 4px solid var(--cc-accent); list-style: none; margin: 20px 0; }
.game-controls ul li { margin-bottom: 15px; padding-right: 30px; position: relative; color: var(--cc-text); font-size: 1.05rem; }
.game-controls ul li:before { content: "▸"; position: absolute; right: 0; color: var(--cc-accent); font-weight: bold; font-size: 1.2rem; }
.related-games { margin-top: 50px; margin-bottom: 60px; padding: 30px; background: linear-gradient(135deg,rgba(255,255,255,0.03) 0%,rgba(255,255,255,0.01) 100%); border-radius: 16px; border: 1px solid rgba(255,255,255,0.08); }
.related-games h3 { color: #fff; margin: 0 0 25px 0; font-size: 1.8rem; text-align: center; border-bottom: 2px solid var(--cc-accent); padding-bottom: 12px; font-family: 'Orbitron',sans-serif; }
.games-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.game-card { background: var(--cc-surface-2); border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); transition: all 0.3s ease; display: flex; flex-direction: column; text-decoration: none; }
.game-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.5); border-color: var(--cc-cyan); }
.game-image { width: 100%; height: 160px; overflow: hidden; background: #000; flex-shrink: 0; }
.game-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.game-card:hover .game-image img { transform: scale(1.08); }
.game-info { padding: 12px 15px; text-align: center; flex-grow: 1; display: flex; align-items: center; justify-content: center; min-height: 70px; background: var(--cc-surface-2); }
.game-title { color: #fff !important; margin: 0 !important; font-size: 0.95rem !important; font-weight: 700 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4 !important; height: 2.8em; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.game-card:hover .game-title { color: var(--cc-cyan) !important; }
.no-rom-message { padding: 60px 30px; text-align: center; background: rgba(255,46,99,0.1); border: 2px dashed var(--cc-accent); border-radius: 16px; }
.no-rom-message h2 { color: var(--cc-accent); margin-bottom: 15px; }
@media (max-width: 1200px) { .play-page-wrapper { grid-template-columns: 1fr; max-width: 900px; } .ad-sidebar { display: none; } .games-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 768px) { .game-header { display: flex; flex-direction: column; text-align: center; padding: 20px; height: auto; } .game-title-section { text-align: center; width: 100%; margin-bottom: 15px; } .game-title-section h1 { font-size: 1.4rem; white-space: normal; overflow: visible; } .game-actions { margin-right: 0; width: 100%; justify-content: center; } .game-meta { justify-content: center; margin-bottom: 10px; } .game-description, .game-controls { padding: 20px; } .game-info-grid { gap: 20px; } .related-games { padding: 25px 20px; } .games-grid { grid-template-columns: repeat(2,1fr); gap: 15px; } .game-image { height: 140px; } .game-title { font-size: 0.85rem !important; } .description-header { flex-direction: column; align-items: flex-start; } }
@media (max-width: 480px) { .play-page-wrapper { padding: 0 10px; } .game-wrapper { border-radius: 10px; } .game-header { padding: 20px 15px; } .game-title-section h1 { font-size: 1.2rem; } .games-grid { grid-template-columns: repeat(2,1fr); gap: 12px; } .game-image { height: 130px; } .game-title { font-size: 0.8rem !important; } }
/* --- ADS PLACEHOLDER STYLING --- */
.adsbygoogle { display: block; background: rgba(255,255,255,0.03); border: 1px dashed rgba(255,255,255,0.1); border-radius: 8px; min-height: 100px; position: relative; overflow: hidden; text-align: center; }
.adsbygoogle::before { content: 'פרסומות Google'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: rgba(255,255,255,0.2); font-family: 'Orbitron', sans-serif; font-size: 0.9rem; font-weight: bold; pointer-events: none; z-index: 0; }
/* --- ELEGANT AD BANNER STYLING --- */
.ad-banner-wrapper { width: 100%; max-width: 1000px; margin: 40px auto; padding: 2px; background: linear-gradient(90deg, transparent, rgba(34, 230, 255, 0.2), transparent); border-radius: 12px; position: relative; overflow: hidden; }
.ad-banner-inner { background: #0b0c15; border-radius: 10px; padding: 20px; display: flex; justify-content: center; align-items: center; min-height: 120px; border: 1px solid rgba(255,255,255,0.05); position: relative; }
.ad-label { position: absolute; top: 5px; right: 10px; font-size: 0.6rem; color: #444; text-transform: uppercase; letter-spacing: 1px; font-family: sans-serif; background: rgba(0,0,0,0.5); padding: 2px 6px; border-radius: 4px; }
/* Placeholder למקרה שאין פרסומת עדיין */
.ad-placeholder { color: rgba(255,255,255,0.1); font-family: 'Orbitron', sans-serif; font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; }
