:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;background:linear-gradient(135deg,#ffeaa7,#fab1a0);min-height:100vh}.container{max-width:1200px;margin:0 auto;padding:0 20px}.header{background:#fff;box-shadow:0 2px 10px #0000001a;position:sticky;top:0;z-index:100}.header-content{display:flex;justify-content:space-between;align-items:center;padding:1rem 0}.logo{background:none;border:none;cursor:pointer;padding:0}.logo-image{height:60px;width:auto}nav ul{list-style:none;display:flex;gap:2rem}nav a{cursor:pointer;color:#333;font-weight:500;transition:all .3s;padding:.5rem 1rem;border-radius:5px}nav a:hover,nav a.active{color:#d63031;background:#d630311a}.menu-toggle{display:none;background:none;border:none;font-size:1.5rem;cursor:pointer}.hero{background:#fff;border-radius:20px;padding:3rem;margin:3rem 0;text-align:center;box-shadow:0 10px 40px #0000001a}.hero-logo{max-width:500px;width:100%;height:auto;margin-bottom:2rem}.tagline{font-size:1.2rem;color:#666;line-height:1.6;margin-bottom:2rem}.wave-decoration{height:50px;background:linear-gradient(135deg,#ffeaa7,#fab1a0);opacity:.3;border-radius:0 0 20px 20px;margin:2rem -3rem -3rem}.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin:3rem 0}.feature-card{background:#fff;padding:2rem;border-radius:15px;text-align:center;box-shadow:0 5px 20px #0000001a;transition:transform .3s}.feature-card:hover{transform:translateY(-5px)}.feature-icon{font-size:3rem;margin-bottom:1rem}.about-content{background:#fff;border-radius:20px;padding:3rem;margin:3rem 0;box-shadow:0 10px 40px #0000001a}.about-header{text-align:center;margin-bottom:3rem}.profile-pic{width:150px;height:150px;border-radius:50%;background:linear-gradient(135deg,#ffeaa7,#fab1a0);margin:0 auto 2rem;display:flex;align-items:center;justify-content:center;font-size:4rem}.about-text{max-width:800px;margin:0 auto;line-height:1.8;color:#333}.blog-page,.quizzes-page,.resources-page{margin-top:2rem}.blog-header{background:#fff;padding:2rem;border-radius:15px;margin-bottom:2rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}.search-box{display:flex;gap:1rem}.search-box input{padding:.5rem 1rem;border:2px solid #ddd;border-radius:5px;width:250px}.search-box button{padding:.5rem 1rem;background:#d63031;color:#fff;border:none;border-radius:5px;cursor:pointer}.blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:2rem}.blog-card{background:#fff;border-radius:15px;overflow:hidden;box-shadow:0 5px 20px #0000001a;transition:transform .3s;cursor:pointer}.blog-card img{width:100%;height:200px;object-fit:cover;object-position:center center}.blog-card:hover{transform:translateY(-5px)}.blog-image{height:200px;background:linear-gradient(135deg,#ffeaa7,#fab1a0);display:flex;align-items:center;justify-content:center;font-size:3rem}.blog-content{padding:1.5rem}.blog-meta{color:#666;font-size:.9rem;margin-bottom:.5rem}.page-header{background:#fff;padding:2rem;border-radius:15px;margin-bottom:2rem;text-align:center}.games-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}.game-card{background:#fff;border-radius:15px;overflow:hidden;box-shadow:0 5px 20px #0000001a;transition:transform .3s}.game-card:hover{transform:scale(1.05)}.game-image{height:200px;background:linear-gradient(135deg,#ffeaa7,#fab1a0);display:flex;align-items:center;justify-content:center;font-size:4rem}.game-info{padding:1.5rem}.play-button{background:#d63031;color:#fff;border:none;padding:.8rem 2rem;border-radius:25px;font-size:1rem;cursor:pointer;transition:transform .3s;width:100%;margin-top:1rem}.play-button:hover{transform:scale(1.05)}.resources-section{background:#fff;border-radius:15px;padding:2rem;margin-bottom:2rem}.resources-section h2{color:#d63031;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #f0f0f0}.resource-list{list-style:none}.resource-item{padding:1rem;border-left:4px solid #fab1a0;margin-bottom:1rem;background:#fff5f5}.resource-item:hover{background:#ffe8e8}@media (max-width: 768px){.menu-toggle{display:block}nav ul{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;padding:1rem;box-shadow:0 5px 20px #0000001a}nav.mobile-open ul{display:flex}.hero-logo{max-width:300px}.search-box{width:100%}.search-box input{flex:1}.blog-grid,.games-grid{grid-template-columns:1fr}.admin-login{min-height:60vh;display:flex;align-items:center;justify-content:center;padding:2rem}.login-box{background:#fff;padding:3rem;border-radius:15px;box-shadow:0 10px 40px #0000001a;width:100%;max-width:400px}.login-box h2{margin-bottom:2rem;text-align:center;color:#333}.login-box input{width:100%;padding:.8rem;margin-bottom:1rem;border:2px solid #ddd;border-radius:5px;font-size:1rem}.login-box button{width:100%;padding:1rem;background:#d63031;color:#fff;border:none;border-radius:5px;font-size:1rem;cursor:pointer}.error-message{background:#ffe0e0;color:#d63031;padding:.8rem;border-radius:5px;margin-bottom:1rem}.admin-dashboard{padding:2rem 0}.admin-header{background:#fff;padding:2rem;border-radius:15px;margin-bottom:2rem;display:flex;justify-content:space-between;align-items:center}.btn-primary{background:#d63031;color:#fff;border:none;padding:.8rem 2rem;border-radius:5px;cursor:pointer;font-size:1rem}.blog-editor{background:#fff;padding:2rem;border-radius:15px;margin-bottom:2rem}.blog-editor input,.blog-editor textarea,.blog-editor select{width:100%;padding:.8rem;margin-bottom:1rem;border:2px solid #ddd;border-radius:5px;font-size:1rem;font-family:inherit}.blog-editor textarea{resize:vertical}.posts-list{background:#fff;padding:2rem;border-radius:15px}.posts-list table{width:100%;border-collapse:collapse}.posts-list th{text-align:left;padding:1rem;border-bottom:2px solid #f0f0f0}.posts-list td{padding:1rem;border-bottom:1px solid #f0f0f0}.status{padding:.3rem .8rem;border-radius:15px;font-size:.9rem}.status.published{background:#d4edda;color:#155724}.status.draft{background:#fff3cd;color:#856404}.posts-list button{background:#ffeaa7;border:none;padding:.5rem 1rem;border-radius:5px;cursor:pointer;margin-right:.5rem}.posts-list button:hover{background:#fdcb6e}.editor-toolbar{display:flex;gap:.5rem;padding:.5rem;background:#f5f5f5;border:2px solid #ddd;border-bottom:none;border-radius:5px 5px 0 0}.editor-toolbar button{padding:.5rem .8rem;background:#fff;border:1px solid #ddd;border-radius:3px;cursor:pointer;font-weight:700}.editor-toolbar button:hover{background:#ffeaa7}#content-editor{border-radius:0 0 5px 5px;font-family:Courier New,monospace}.blog-editor label{display:block;margin-top:1rem;margin-bottom:.5rem;font-weight:700;color:#333}.form-buttons{display:flex;gap:1rem;margin-top:1.5rem}.btn-secondary{background:#ddd;color:#333;border:none;padding:.8rem 2rem;border-radius:5px;cursor:pointer;font-size:1rem}.btn-secondary:hover{background:#bbb}.posts-list table{font-size:.9rem}.posts-list td button{padding:.3rem .5rem;font-size:.8rem;margin-bottom:.2rem}.blog-post-view{background:#fff;padding:2rem;border-radius:15px;margin:2rem 0;max-width:800px;margin-left:auto;margin-right:auto}.back-button{background:#ffeaa7;border:none;padding:.5rem 1rem;border-radius:5px;cursor:pointer;margin-bottom:2rem}.blog-article h1{color:#333;margin-bottom:1rem}.post-meta{color:#666;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid #f0f0f0}.featured-image{width:100%;height:auto;max-height:500px;object-fit:contain;background-color:#f9f9f9;display:block;margin:0 auto}.post-content{line-height:1.8;font-size:1.1rem}.post-content h2{margin:2rem 0 1rem;color:#333}.post-content h3{margin:1.5rem 0 .8rem;color:#555}.post-content p{margin-bottom:1rem}.post-content ul,.post-content ol{margin-left:2rem;margin-bottom:1rem}.post-content img{max-width:100%;height:auto;border-radius:5px}.post-content blockquote{border-left:4px solid #ffeaa7;padding-left:1rem;margin:1rem 0;font-style:italic;color:#666}}.analytics-controls{margin-bottom:2rem}.analytics-tabs{display:flex;gap:1rem;margin-bottom:2rem;border-bottom:2px solid #e5e7eb}.analytics-tabs button{padding:.75rem 1.5rem;background:none;border:none;color:#6b7280;font-weight:600;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;transition:all .3s}.analytics-tabs button:hover{color:#3b82f6}.analytics-tabs button.active{color:#3b82f6;border-bottom-color:#3b82f6}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:2rem}.metric-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a}.metric-card h3{color:#6b7280;font-size:.875rem;font-weight:600;text-transform:uppercase;margin-bottom:.5rem}.metric-value{font-size:2rem;font-weight:700;color:#1f2937;margin-bottom:.25rem}.metric-value.active{color:#10b981}.metric-label{color:#9ca3af;font-size:.875rem}.chart-container{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:2rem}.chart-container h2{margin-bottom:1rem;color:#1f2937}.top-pages{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a}.data-table{width:100%;border-collapse:collapse}.data-table th{text-align:left;padding:.75rem;border-bottom:2px solid #e5e7eb;color:#6b7280;font-weight:600}.data-table td{padding:.75rem;border-bottom:1px solid #f3f4f6}.page-title{font-weight:600;color:#1f2937}.page-path{color:#6b7280;font-size:.875rem}.charts-row{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:2rem}.chart-box{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a}.chart-box h2{margin-bottom:1rem;color:#1f2937}.content-performance h2{margin-top:2rem;margin-bottom:1rem;color:#1f2937}.content-performance h2:first-child{margin-top:0}@media (max-width: 768px){.metrics-grid,.charts-row{grid-template-columns:1fr}.analytics-tabs{flex-wrap:wrap}.analytics-tabs button{flex:1;min-width:100px}.unread-badge{background:#ef4444;color:#fff;padding:.25rem .5rem;border-radius:12px;font-size:.875rem;margin-left:.5rem}.feedback-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;gap:1rem}.filter-group{display:flex;gap:1rem}.feedback-layout{display:grid;grid-template-columns:1fr 2fr;gap:2rem;min-height:600px}.feedback-list{background:#fff;border-radius:8px;overflow-y:auto;max-height:600px}.feedback-item{padding:1rem;border-bottom:1px solid #f3f4f6;cursor:pointer;transition:background .2s}.feedback-item:hover{background:#f9fafb}.feedback-item.unread{background:#eff6ff;border-left:4px solid #3b82f6}.feedback-item.selected{background:#dbeafe}.feedback-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.category-icon{font-size:1.5rem}.feedback-meta{flex:1}.feedback-from strong{color:#1f2937}.email{color:#6b7280;font-size:.875rem}.feedback-date{color:#9ca3af;font-size:.875rem}.priority-dot{width:8px;height:8px;border-radius:50%}.feedback-subject{font-weight:600;color:#1f2937;margin-bottom:.25rem}.feedback-preview{color:#6b7280;font-size:.875rem;line-height:1.4}.feedback-detail{background:#fff;border-radius:8px;padding:1.5rem;box-shadow:0 2px 4px #0000001a;height:fit-content;min-height:400px}.feedback-detail.empty{display:flex;align-items:center;justify-content:center;color:#9ca3af;font-style:italic}.detail-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #e5e7eb}.close-btn{background:none;border:none;font-size:1.5rem;color:#6b7280;cursor:pointer}.detail-meta{background:#f9fafb;padding:1rem;border-radius:4px;margin-bottom:1.5rem}.detail-meta div{margin-bottom:.5rem}.detail-meta div:last-child{margin-bottom:0}.detail-message{margin-bottom:1.5rem}.detail-message h3,.admin-notes h3{color:#1f2937;margin-bottom:.5rem}.detail-message p,.admin-notes p{color:#4b5563;line-height:1.6}.detail-actions{padding-top:1rem;border-top:1px solid #e5e7eb}.status-actions{display:grid;grid-template-columns:auto 1fr auto 1fr;gap:1rem;align-items:center;margin-bottom:1rem}.status-actions label{font-weight:600;color:#4b5563}.btn-danger{background:#ef4444;color:#fff;padding:.75rem 1.5rem;border:none;border-radius:4px;cursor:pointer;font-weight:600;transition:background .3s}.btn-danger:hover{background:#dc2626}.feedback-layout{grid-template-columns:1fr}.feedback-controls{flex-direction:column}.filter-group{width:100%}.status-actions{grid-template-columns:1fr}}.feedback-form-container{max-width:800px;margin:2rem auto;padding:2rem}.feedback-intro{color:#666;margin-bottom:2rem;line-height:1.6}.feedback-form{background:#fff;border-radius:8px;padding:2rem;box-shadow:0 2px 8px #0000001a}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:1.5rem}.form-group{display:flex;flex-direction:column}.form-group label{font-weight:600;margin-bottom:.5rem;color:#333}.form-group small{color:#666;font-size:.875rem;margin-top:.25rem}.form-input,.form-select,.form-textarea{padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;transition:border-color .3s}.form-input:focus,.form-select:focus,.form-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-textarea{resize:vertical;font-family:inherit}.error-message{background:#fee2e2;color:#dc2626;padding:.75rem;border-radius:4px;margin-bottom:1rem}.success-message{text-align:center;padding:3rem;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a}.success-icon{width:60px;height:60px;background:#10b981;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2rem;margin:0 auto 1rem}.success-message h3{color:#10b981;margin-bottom:1rem}.success-message p{color:#666;line-height:1.6}.btn-primary{background:#3b82f6;color:#fff;padding:.75rem 2rem;border:none;border-radius:4px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .3s}.btn-primary:hover:not(:disabled){background:#2563eb}.btn-primary:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 768px){.form-row{grid-template-columns:1fr}.feedback-form-container{padding:1rem}.feedback-form{padding:1.5rem}}.pdf-resources-page{padding:40px 20px;max-width:1200px;margin:0 auto}.page-header{text-align:center;margin-bottom:40px}.page-header h1{color:#333;margin-bottom:10px}.page-header p{color:#666;font-size:18px}.category-filters{display:flex;justify-content:center;gap:15px;margin-bottom:40px;flex-wrap:wrap}.filter-btn{display:flex;align-items:center;gap:8px;padding:10px 20px;background:#fff;border:2px solid #ddd;border-radius:25px;cursor:pointer;transition:all .3s;font-size:16px}.filter-btn:hover{border-color:#ff6b6b;transform:translateY(-2px)}.filter-btn.active{background:#ff6b6b;color:#fff;border-color:#ff6b6b}.filter-icon{font-size:20px}.loading{text-align:center;padding:40px;color:#666}.pdf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:25px}.pdf-card{background:#fff;border-radius:12px;padding:25px;box-shadow:0 2px 8px #0000001a;transition:transform .3s,box-shadow .3s}.pdf-card:hover{transform:translateY(-4px);box-shadow:0 4px 16px #00000026}.pdf-header{display:flex;align-items:start;gap:15px;margin-bottom:15px}.pdf-icon{font-size:40px;flex-shrink:0}.pdf-info h3{margin:0 0 8px;color:#333;font-size:18px}.pdf-category{display:inline-block;padding:4px 10px;background:#f0f0f0;border-radius:15px;font-size:12px;text-transform:uppercase;color:#666}.pdf-description{color:#666;line-height:1.5;margin-bottom:15px;font-size:14px}.pdf-footer{display:flex;justify-content:space-between;align-items:center;padding-top:15px;border-top:1px solid #eee}.download-count{font-size:13px;color:#999}.download-btn{background:#ff6b6b;color:#fff;padding:8px 16px;border:none;border-radius:20px;cursor:pointer;font-size:14px;transition:background .3s}.download-btn:hover{background:#ff5252}.no-pdfs{grid-column:1 / -1;text-align:center;padding:60px 20px;background:#f9f9f9;border-radius:12px}.no-pdfs p{color:#666;font-size:18px}@media (max-width: 768px){.pdf-grid{grid-template-columns:1fr}.category-filters{flex-direction:column;align-items:stretch}.filter-btn{justify-content:center}}.pdf-manager{padding:20px;max-width:1200px;margin:0 auto}.upload-section{background:#fff;padding:20px;border-radius:8px;margin-bottom:30px;box-shadow:0 2px 4px #0000001a}.form-group{margin-bottom:15px}.form-group label{display:block;margin-bottom:5px;font-weight:600;color:#333}.form-group input[type=text],.form-group input[type=file],.form-group textarea,.form-group select{width:100%;padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px}.file-info{display:block;margin-top:5px;font-size:12px;color:#666}.upload-section button{background:#ff6b6b;color:#fff;padding:10px 20px;border:none;border-radius:4px;cursor:pointer;font-size:16px}.upload-section button:hover{background:#ff5252}.upload-section button:disabled{background:#ccc;cursor:not-allowed}.pdf-list h3{margin-bottom:20px}.pdf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.pdf-card{background:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 4px #0000001a;transition:transform .2s}.pdf-card:hover{transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.pdf-icon{font-size:48px;text-align:center;margin-bottom:10px}.pdf-card h4{margin:10px 0;color:#333}.pdf-category{display:inline-block;padding:4px 8px;background:#f0f0f0;border-radius:4px;font-size:12px;text-transform:uppercase;margin-bottom:10px}.pdf-description{color:#666;font-size:14px;margin-bottom:10px;line-height:1.4}.pdf-stats{display:flex;justify-content:space-between;font-size:12px;color:#999;margin-bottom:10px;padding-top:10px;border-top:1px solid #eee}.pdf-actions{display:flex;gap:10px}.delete-btn{background:#dc3545;color:#fff;padding:6px 12px;border:none;border-radius:4px;cursor:pointer;font-size:14px}.delete-btn:hover{background:#c82333}
