.game-modal{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.9);display:flex;align-items:center;justify-content:center;z-index:10000;backdrop-filter:blur(5px)}.modal-content{background:var(--card-bg);border-radius:16px;width:90%;max-width:1000px;height:90%;max-height:700px;display:flex;flex-direction:column;border:1px solid var(--border);overflow:hidden}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid var(--border);background:var(--secondary-bg)}.modal-header h2{margin:0;color:var(--text-primary)}.close-modal{background:none;border:none;color:var(--text-secondary);font-size:2rem;cursor:pointer;padding:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .3s ease}.close-modal:hover{background:var(--accent);color:#fff}.modal-body{flex:1;padding:0;position:relative}.modal-body iframe{width:100%;height:100%;border:none}@keyframes pulse{0%{opacity:.6}50%{opacity:1}100%{opacity:.6}}.loading{animation:pulse 2s infinite}.notification{position:fixed;top:20px;right:20px;background:var(--card-bg);border:1px solid var(--border);border-radius:12px;padding:1rem 1.5rem;color:var(--text-primary);box-shadow:var(--shadow);transform:translateX(400px);transition:transform .3s ease;z-index:10001;max-width:300px}.notification.show{transform:translateX(0)}.notification.success{border-left:4px solid #10b981}.notification.error{border-left:4px solid #ef4444}.achievement-notification{position:fixed;top:20px;right:20px;background:var(--card-bg);border:2px solid var(--accent);border-radius:16px;padding:1.5rem;color:var(--text-primary);box-shadow:0 20px 40px rgba(0,212,255,.3);transform:translateX(400px);transition:all .5s cubic-bezier(.4,0,.2,1);z-index:10001;max-width:350px;backdrop-filter:blur(10px)}.achievement-notification.show{transform:translateX(0);animation:achievementGlow 2s ease-in-out}@keyframes achievementGlow{0%,100%{box-shadow:0 20px 40px rgba(0,212,255,.3)}50%{box-shadow:0 20px 60px rgba(0,212,255,.6)}}.achievement-content{display:flex;align-items:center;gap:1rem}.achievement-icon{font-size:2rem;background:var(--gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.achievement-text h4{margin:0 0 .25rem 0;color:var(--accent);font-size:.9rem;text-transform:uppercase;letter-spacing:.5px}.achievement-text p{margin:.25rem 0;font-size:.9rem}.xp-reward{color:var(--accent)!important;font-weight:600!important}@media(max-width:768px){.modal-content{width:95%;height:95%;border-radius:12px}.modal-header{padding:.75rem 1rem}.modal-header h2{font-size:1.1rem}.close-modal{font-size:1.5rem;width:32px;height:32px}.notification,.achievement-notification{right:10px;left:10px;max-width:none;transform:translateY(-100px)}.notification.show,.achievement-notification.show{transform:translateY(0)}}.theme-toggle{position:fixed;bottom:20px;right:20px;background:var(--card-bg);border:1px solid var(--border);border-radius:50%;width:50px;height:50px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;z-index:1000;color:var(--text-primary)}.theme-toggle:hover{background:var(--accent);border-color:var(--accent);transform:scale(1.1)}.search-suggestions{position:absolute;top:100%;left:0;right:0;background:var(--card-bg);border:1px solid var(--border);border-top:none;border-radius:0 0 12px 12px;max-height:200px;overflow-y:auto;z-index:1000;display:none}.search-suggestions.show{display:block}.suggestion-item{padding:.75rem 1rem;cursor:pointer;border-bottom:1px solid var(--border);transition:background .2s ease}.suggestion-item:hover{background:rgba(0,212,255,.1)}.suggestion-item:last-child{border-bottom:none}.category-badge{display:inline-block;background:var(--accent);color:#fff;padding:.25rem .5rem;border-radius:12px;font-size:.7rem;text-transform:uppercase;letter-spacing:.5px;font-weight:600}.category-badge.action{background:#ef4444}.category-badge.puzzle{background:#8b5cf6}.category-badge.arcade{background:#10b981}.category-badge.strategy{background:#f59e0b}html{scroll-behavior:smooth}button:focus,input:focus,.nav-link:focus,.game-card:focus{outline:2px solid var(--accent);outline-offset:2px}@media print{.header,.ad-card,.game-modal{display:none!important}}.footer{background:var(--secondary-bg);border-top:1px solid var(--border);margin-top:4rem;padding:3rem 0 1rem}.footer-content{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:2rem;margin-bottom:2rem}.footer-section h3,.footer-section h4{color:var(--text-primary);margin-bottom:1rem;font-size:1.1rem}.footer-logo p{color:var(--text-secondary);font-size:.9rem;line-height:1.6;margin-top:.5rem}.footer-links{list-style:none;padding:0}.footer-links li{margin-bottom:.5rem}.footer-links a{color:var(--text-secondary);text-decoration:none;font-size:.9rem;transition:color .3s ease}.footer-links a:hover{color:var(--accent)}.footer-bottom{border-top:1px solid var(--border);padding-top:1.5rem}.footer-bottom-content{display:flex;justify-content:space-between;align-items:center;font-size:.9rem;color:var(--text-secondary)}.social-links{display:flex;gap:1rem}.social-link{font-size:1.2rem;text-decoration:none;transition:transform .3s ease}.social-link:hover{transform:scale(1.2)}@media(max-width:768px){.footer{padding:2rem 0 1rem}.footer-content{grid-template-columns:1fr;gap:1.5rem}.footer-bottom-content{flex-direction:column;gap:1rem;text-align:center}}.pagination-info{text-align:center;margin:1rem 0;color:#b3b8c4;font-size:.9rem}.pagination-container{margin:3rem 0;text-align:center}.pagination{display:inline-flex;gap:.5rem;align-items:center;background:#252a3a;padding:1rem;border-radius:8px;flex-wrap:wrap;justify-content:center}.pagination button{background:#1a1f2e;color:#b3b8c4;border:1px solid #333;padding:.5rem 1rem;border-radius:6px;cursor:pointer;transition:all .3s ease;font-size:.9rem;min-width:44px}.pagination button:hover{background:#00d4ff;color:#000;border-color:#00d4ff}.pagination button.active{background:#00d4ff;color:#000;border-color:#00d4ff;font-weight:700}.pagination button:disabled{opacity:.5;cursor:not-allowed;background:#333}.pagination button:disabled:hover{background:#333;color:#b3b8c4;border-color:#333}@media(max-width:768px){.pagination{padding:.8rem;gap:.3rem}.pagination button{padding:.4rem .8rem;font-size:.8rem;min-width:38px}.pagination-info{font-size:.8rem}}@media(max-width:480px){.pagination-info{font-size:.75rem}}.content-sections{margin:4rem 0 2rem;max-width:1400px;padding:0 20px}.content-section{background:#1a1f2e;border-radius:12px;padding:2.5rem;margin-bottom:2rem;border:1px solid rgba(255,255,255,.1)}.content-section h2{color:#00d4ff;font-size:1.8rem;margin-bottom:1.5rem;text-align:center}.content-section h3{color:#00d4ff;font-size:1.2rem;margin-bottom:1rem}.content-section h4{color:#fff;font-size:1.1rem;margin-bottom:.5rem}.content-text p{color:#b3b8c4;line-height:1.7;margin-bottom:1.2rem;font-size:1rem}.categories-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-top:1.5rem}.category-info-card{background:#252a3a;padding:1.5rem;border-radius:8px;border:1px solid rgba(0,212,255,.2);transition:all .3s ease}.category-info-card:hover{border-color:#00d4ff;transform:translateY(-2px)}.category-info-card h3{margin-bottom:1rem;font-size:1.1rem}.category-info-card p{color:#b3b8c4;line-height:1.6;margin:0}.tips-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-top:1.5rem}.tip-card{background:#252a3a;padding:1.5rem;border-radius:8px;text-align:center;border:1px solid rgba(255,255,255,.1);transition:all .3s ease}.tip-card:hover{border-color:#00d4ff;transform:translateY(-3px)}.tip-card h4{margin-bottom:.8rem;font-size:1rem}.tip-card p{color:#b3b8c4;line-height:1.5;margin:0;font-size:.9rem}.faq-list{display:flex;flex-direction:column;gap:1rem;margin-top:1.5rem}.faq-item{background:#252a3a;padding:1.5rem;border-radius:8px;border-left:4px solid #00d4ff}.faq-item h4{margin-bottom:.8rem;color:#00d4ff}.faq-item p{color:#b3b8c4;line-height:1.6;margin:0}@media(max-width:768px){.content-sections{margin:3rem 0 1rem;padding:0 15px}.content-section{padding:1.5rem;margin-bottom:1.5rem}.content-section h2{font-size:1.4rem;margin-bottom:1rem}.categories-grid,.tips-grid{grid-template-columns:1fr;gap:1rem}.category-info-card,.tip-card,.faq-item{padding:1rem}}@media(max-width:480px){.content-section{padding:1rem}.content-section h2{font-size:1.2rem}.content-text p{font-size:.9rem}}
