:root{--primary: #3B82F6;--primary-light: #60A5FA;--primary-dark: #2563EB;--secondary: #10B981;--secondary-light: #34D399;--secondary-dark: #059669;--accent: #FACC15;--accent-light: #FDE047;--accent-dark: #EAB308;--action: #F97316;--action-light: #FB923C;--action-dark: #EA580C;--success: #10B981;--warning: #F59E0B;--error: #EF4444;--info: #3B82F6;--surface: #FFFFFF;--bg: #FFD700;--bg-white: #FFFFFF;--bg-secondary: #F3F4F6;--text: #111827;--text-secondary: #6B7280;--text-light: #9CA3AF;--border: #E5E7EB;--gradient-primary: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);--gradient-secondary: linear-gradient(135deg, #10B981 0%, #059669 100%);--gradient-action: linear-gradient(135deg, #F97316 0%, #EA580C 100%)}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--text);background-image:radial-gradient(circle at 20% 50%,rgba(59,130,246,.05) 0%,transparent 50%),radial-gradient(circle at 80% 80%,rgba(16,185,129,.05) 0%,transparent 50%)}.app{padding:1.5rem}header{text-align:center}header h1{margin:0;background:var(--gradient-primary);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;font-size:2.5rem}header p{margin-top:.25rem;color:var(--text-secondary);font-size:1.1rem}.shop-container{max-width:1200px;margin:0 auto;padding:2rem}.shop-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.shop-header h2{font-size:2rem;color:var(--text);margin:0}.coins-display{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:var(--gradient-primary);color:#fff;border-radius:50px;font-weight:600;font-size:1.1rem;box-shadow:0 4px 12px #3b82f64d}.coin-icon{font-size:1.3rem}.coin-count{font-weight:700}.error-banner{padding:1rem;background:#fee2e2;border:2px solid #EF4444;border-radius:8px;color:#991b1b;margin-bottom:1.5rem;font-weight:500}.shop-tabs{display:flex;gap:.5rem;margin-bottom:2rem;border-bottom:2px solid var(--border);overflow-x:auto}.shop-tab{padding:1rem 1.5rem;background:none;border:none;border-bottom:3px solid transparent;color:var(--text-secondary);font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.shop-tab:hover{color:var(--primary);background:var(--bg-secondary)}.shop-tab.active{color:var(--primary);border-bottom-color:var(--primary)}.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;margin-bottom:2rem}.product-card{background:var(--bg-white);border:2px solid var(--border);border-radius:12px;padding:1.5rem;display:flex;flex-direction:column;gap:1rem;transition:all .3s;box-shadow:0 2px 8px #0000000d}.product-card:hover{border-color:var(--primary);box-shadow:0 8px 24px #3b82f626;transform:translateY(-2px)}.product-header{display:flex;justify-content:space-between;align-items:flex-start}.product-header h3{margin:0;font-size:1.3rem;color:var(--text)}.product-price{font-size:1.5rem;font-weight:700;color:var(--secondary);margin:0}.product-description{color:var(--text-secondary);margin:0;font-size:.95rem;line-height:1.5}.product-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:var(--gradient-secondary);color:#fff;border-radius:50px;font-weight:600;font-size:.95rem;width:fit-content}.product-benefits{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}.product-benefits li{color:var(--text-secondary);font-size:.9rem;padding-left:.25rem}.purchase-button{width:100%;padding:1rem;background:var(--gradient-action);color:#fff;border:none;border-radius:8px;font-size:1.1rem;font-weight:700;cursor:pointer;transition:all .2s;box-shadow:0 4px 12px #f973164d;margin-top:auto}.purchase-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #f9731666}.purchase-button:disabled{opacity:.6;cursor:not-allowed}.empty-state{text-align:center;padding:3rem;color:var(--text-secondary)}.empty-state p{font-size:1.1rem}.header-stats{display:flex;gap:1rem;justify-content:center;margin-top:.75rem;font-weight:600}.header-stats span{background:var(--bg-white);padding:.5rem 1rem;border-radius:20px;box-shadow:0 4px 12px #3b82f626;border:2px solid var(--border)}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;margin-top:1rem}.card{background:var(--bg-white);border-radius:20px;padding:1.5rem;box-shadow:0 8px 24px #3b82f61a,0 4px 8px #10b9810f;border:2px solid var(--border);transition:transform .2s ease,box-shadow .2s ease}.card:hover{transform:translateY(-2px);box-shadow:0 12px 32px #3b82f626,0 6px 12px #10b9811a}.main-card{grid-column:span 2}.crossword-container{display:flex;justify-content:center;padding:1.5rem 0}.crossword-grid{display:grid;gap:0;margin-top:1rem;border:3px solid var(--text);background:var(--text);box-shadow:0 8px 24px #00000026}.cell{width:45px;height:45px;background:#fff;border:1px solid var(--text);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.5rem;transition:all .15s ease;position:relative;cursor:pointer;font-family:Georgia,Times New Roman,serif}@media (max-width: 768px){.cell{width:32px;height:32px;font-size:1.1rem}.cell-number{font-size:.5rem!important}}.cell:not(.block):hover{background:#fef3c7;border-color:var(--action)}.cell.block{background:var(--text);border-color:var(--text);cursor:default}.cell.active{background:#dbeafe;border:2px solid var(--primary);box-shadow:inset 0 0 0 2px var(--primary);z-index:1}.cell-number{position:absolute;top:2px;left:3px;font-size:.6rem;font-weight:600;color:var(--text);line-height:1;font-family:Inter,system-ui,sans-serif}.cell-letter{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:var(--text);text-transform:uppercase;padding-top:4px}.clues-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin-top:2rem;padding-top:2rem;border-top:2px solid var(--border)}.clues-section h3{color:var(--primary);font-size:1.1rem;margin-bottom:1rem;font-weight:700}.clues-list{display:flex;flex-direction:column;gap:.75rem}.clue-item{display:flex;gap:.5rem;padding:.75rem;background:var(--bg);border-radius:8px;font-size:.95rem;line-height:1.5;color:var(--text-secondary);transition:background .2s ease}.clue-item:hover{background:var(--bg-secondary)}.clue-item strong{color:var(--primary);font-weight:700;min-width:24px}.actions{display:flex;gap:.5rem;align-items:center;margin-top:.75rem;flex-wrap:wrap}button{background:var(--gradient-action);border:none;color:#fff;padding:.75rem 1.5rem;border-radius:16px;cursor:pointer;font-weight:700;box-shadow:0 6px 20px #f973164d;transition:all .2s ease;font-size:1rem}button:hover{transform:translateY(-2px);box-shadow:0 8px 24px #f9731666}button:active{transform:translateY(0)}button.primary{background:var(--gradient-primary);box-shadow:0 6px 20px #3b82f64d}button.primary:hover{box-shadow:0 8px 24px #3b82f666}button.secondary{background:var(--gradient-secondary);box-shadow:0 6px 20px #10b9814d}button.secondary:hover{box-shadow:0 8px 24px #10b98166}.ad-banner{margin-top:.75rem;padding:1rem;background:linear-gradient(135deg,var(--accent) 0%,var(--accent-dark) 100%);border-radius:16px;text-align:center;color:#78350f;font-weight:600;box-shadow:0 4px 16px #facc1540;border:2px solid var(--accent-dark)}footer{margin-top:1.5rem;text-align:center;color:var(--text-secondary)}.shake{animation:wm-shake .2s linear 1}@keyframes wm-shake{0%{transform:translate(0)}25%{transform:translate(-3px)}50%{transform:translate(3px)}75%{transform:translate(-2px)}to{transform:translate(0)}}.flash-green{animation:wm-flash-green .3s ease-in-out}@keyframes wm-flash-green{0%{box-shadow:0 0 #10b98199}to{box-shadow:0 0 0 8px #10b98100}}.landing{max-width:1200px;margin:0 auto;padding:2rem 1.5rem}.hero{text-align:center;padding:4rem 0}.hero h1{font-size:3.5rem;margin-bottom:1rem;color:var(--text);line-height:1.2}.hero .gradient-text{background:var(--gradient-primary);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.hero p{font-size:1.25rem;color:var(--text-secondary);margin-bottom:2rem;max-width:600px;margin-left:auto;margin-right:auto}.hero-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.hero-buttons button{font-size:1.1rem;padding:1rem 2rem}.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem;margin:4rem 0}.feature{text-align:center;padding:2rem}.feature-icon{font-size:3rem;margin-bottom:1rem}.feature h3{color:var(--primary);margin-bottom:.5rem}.feature p{color:var(--text-secondary)}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem}.auth-card{background:var(--bg-white);border-radius:24px;padding:3rem;max-width:450px;width:100%;box-shadow:0 20px 60px #3b82f626;border:2px solid var(--border)}.auth-card h2{text-align:center;color:var(--text);margin-bottom:.5rem}.auth-card p{text-align:center;color:var(--text-secondary);margin-bottom:2rem}.auth-form{display:flex;flex-direction:column;gap:1rem}.form-group{display:flex;flex-direction:column}.form-group label{color:var(--text);font-weight:600;margin-bottom:.5rem}.form-group input{padding:.875rem;border:2px solid var(--border);border-radius:12px;font-size:1rem;transition:border-color .2s}.form-group input:focus{outline:none;border-color:var(--primary)}.auth-form button{margin-top:1rem}.auth-link{text-align:center;margin-top:1.5rem;color:var(--text-secondary)}.auth-link a{color:var(--primary);text-decoration:none;font-weight:600}.auth-link a:hover{text-decoration:underline}.page{max-width:900px;margin:0 auto;padding:3rem 1.5rem}.page h1{color:var(--text);margin-bottom:1rem}.page h2{color:var(--primary);margin-top:2rem;margin-bottom:1rem}.page p{color:var(--text-secondary);line-height:1.8;margin-bottom:1rem}.page ul{color:var(--text-secondary);line-height:1.8;margin-left:1.5rem}.page a{color:var(--primary);text-decoration:none}.page a:hover{text-decoration:underline}nav{background:var(--bg-white);border-bottom:2px solid var(--border);padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center}nav .logo{font-weight:800;font-size:1.5rem;color:var(--primary)}nav .nav-links{display:flex;gap:2rem;align-items:center}nav .nav-links a{color:var(--text-secondary);text-decoration:none;font-weight:600;transition:color .2s}nav .nav-links a:hover{color:var(--primary)}nav button{padding:.5rem 1.25rem;font-size:.95rem}.card h2{color:var(--primary);margin-top:0;font-size:1.5rem}.card ul{list-style:none;padding:0}.card li{padding:.75rem;margin:.5rem 0;background:var(--bg);border-radius:12px;border-left:4px solid var(--secondary);transition:transform .2s ease}.card li:hover{transform:translate(4px);background:var(--bg-secondary)}.admin-dashboard{max-width:1400px;margin:0 auto;padding:2rem;background:var(--bg);min-height:100vh}.admin-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:3px solid var(--border)}.admin-header h1{color:var(--text);margin:0;font-size:2.5rem}.back-button{background:var(--bg-white);color:var(--text);border:2px solid var(--border);box-shadow:none}.back-button:hover{border-color:var(--primary);color:var(--primary);transform:none}.analytics-period{display:flex;align-items:center;gap:1rem;margin-bottom:2rem;padding:1rem;background:var(--bg-white);border-radius:12px;border:2px solid var(--border)}.analytics-period label{font-weight:600;color:var(--text)}.analytics-period select{padding:.75rem 1rem;border:2px solid var(--border);border-radius:8px;font-size:1rem;background:#fff;cursor:pointer;color:var(--text);min-width:180px}.analytics-period select:focus{outline:none;border-color:var(--primary)}.analytics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem;margin-bottom:3rem}.stat-card{background:var(--bg-white);padding:1.5rem;border-radius:16px;border:2px solid var(--border);box-shadow:0 4px 12px #0000000d;transition:all .3s}.stat-card:hover{border-color:var(--primary);transform:translateY(-4px);box-shadow:0 8px 24px #3b82f626}.stat-card h3{color:var(--text-secondary);font-size:.9rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;margin:0 0 .75rem}.stat-number{color:var(--text);font-size:2.5rem;font-weight:800;margin:0;line-height:1}.stat-number.success{color:var(--secondary)}.stat-number.warning{color:var(--action)}.revenue-section{background:var(--bg-white);padding:2rem;border-radius:16px;border:2px solid var(--border);margin-bottom:3rem}.revenue-section h2{color:var(--text);margin-top:0;margin-bottom:1.5rem}.revenue-chart{display:flex;gap:.5rem;align-items:flex-end;justify-content:space-between;height:200px;padding:1rem;background:var(--bg);border-radius:12px;overflow-x:auto}.revenue-bar{display:flex;flex-direction:column;align-items:center;gap:.5rem;min-width:40px}.revenue-bar .bar{width:32px;background:var(--gradient-secondary);border-radius:4px 4px 0 0;transition:all .3s;cursor:pointer;min-height:10px}.revenue-bar .bar:hover{opacity:.8;transform:scaleY(1.05)}.revenue-bar .bar-label{font-size:.7rem;color:var(--text-secondary);transform:rotate(-45deg);white-space:nowrap;margin-top:.5rem}.accounts-section{background:var(--bg-white);padding:2rem;border-radius:16px;border:2px solid var(--border)}.accounts-section h2{color:var(--text);margin-top:0;margin-bottom:1.5rem}.accounts-table-wrapper{overflow-x:auto}.accounts-table{width:100%;border-collapse:collapse;font-size:.95rem}.accounts-table thead{background:var(--bg);border-bottom:2px solid var(--border)}.accounts-table th{text-align:left;padding:1rem;color:var(--text);font-weight:700;text-transform:uppercase;font-size:.85rem;letter-spacing:.05em}.accounts-table td{padding:1rem;border-bottom:1px solid var(--border);color:var(--text-secondary)}.accounts-table tr:hover{background:var(--bg)}.accounts-table tr.banned-row{background:#ef44440d}.accounts-table tr.banned-row:hover{background:#ef44441a}.admin-badge{display:inline-block;padding:.25rem .5rem;background:var(--gradient-action);color:#fff;border-radius:4px;font-size:.75rem;font-weight:700;margin-left:.5rem}.status-badge{display:inline-block;padding:.375rem .75rem;border-radius:50px;font-size:.85rem;font-weight:600}.status-badge.active{background:#10b9811a;color:var(--secondary-dark)}.status-badge.banned{background:#ef44441a;color:#991b1b}.action-btn{padding:.5rem 1rem;font-size:.85rem;border-radius:8px;font-weight:600;cursor:pointer;border:none;transition:all .2s}.action-btn.ban{background:#ef44441a;color:#991b1b}.action-btn.ban:hover{background:#ef444433;transform:translateY(-1px)}.action-btn.restore{background:#10b9811a;color:var(--secondary-dark)}.action-btn.restore:hover{background:#10b98133;transform:translateY(-1px)}.action-btn.delete{background:#dc26261a;color:#991b1b}.action-btn.delete:hover{background:#dc262633;transform:translateY(-1px)}.action-btn.upgrade{background:#facc151a;color:#854d0e}.action-btn.upgrade:hover{background:#facc1533;transform:translateY(-1px)}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:var(--bg-white);padding:2rem;border-radius:16px;max-width:500px;width:90%;box-shadow:0 20px 60px #0000004d;animation:slideUp .3s}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-content h3{color:var(--text);margin-top:0;margin-bottom:1rem}.modal-content p{color:var(--text-secondary);margin-bottom:1rem}.modal-content textarea{width:100%;padding:.875rem;border:2px solid var(--border);border-radius:12px;font-size:1rem;font-family:inherit;resize:vertical;margin-bottom:1.5rem}.modal-content textarea:focus{outline:none;border-color:var(--primary)}.modal-actions{display:flex;gap:1rem;justify-content:flex-end}.cancel-btn{background:var(--bg);color:var(--text);border:2px solid var(--border)}.cancel-btn:hover{background:var(--bg-secondary);transform:translateY(-1px)}.confirm-btn{background:linear-gradient(135deg,#ef4444,#dc2626)}.confirm-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px #ef444466}.app-header{background:var(--surface);border-bottom:2px solid var(--border);box-shadow:0 2px 8px #0000000d;position:sticky;top:0;z-index:1000}.header-content{max-width:1400px;margin:0 auto;padding:1rem 2rem;display:flex;align-items:center;justify-content:space-between}.logo-section{display:flex;align-items:center;gap:.75rem;transition:opacity .2s}.logo-section:hover{opacity:.8}.logo-image{width:48px;height:48px;object-fit:contain}.logo-text{font-size:1.5rem;font-weight:700;background:var(--gradient-primary);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.header-nav{display:flex;align-items:center;gap:2rem}.header-nav a{color:var(--text);text-decoration:none;font-weight:500;font-size:1rem;transition:color .2s;position:relative}.header-nav a:hover{color:var(--primary)}.header-nav a:after{content:"";position:absolute;bottom:-4px;left:0;width:0;height:2px;background:var(--gradient-primary);transition:width .3s}.header-nav a:hover:after{width:100%}.counseling-btn{background:var(--gradient-action);color:#fff!important;padding:.625rem 1.5rem;border-radius:50px;font-weight:600;transition:all .3s;box-shadow:0 4px 12px #f973164d}.counseling-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #f9731666}.counseling-btn:after{display:none}.user-info{display:flex;align-items:center;gap:1rem}.coins-badge{background:var(--gradient-primary);color:#fff;padding:.5rem 1rem;border-radius:50px;font-weight:600;font-size:.9rem;box-shadow:0 2px 8px #3b82f64d}.user-name{color:var(--text);font-weight:500;display:flex;align-items:center;gap:.5rem}.admin-badge{background:var(--gradient-action);color:#fff;padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:700}.logout-btn{background:var(--bg-secondary);color:var(--text);border:2px solid var(--border);padding:.5rem 1rem;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.logout-btn:hover{background:var(--border);transform:translateY(-1px)}.app-footer{background:linear-gradient(to bottom,var(--surface),var(--bg-secondary));border-top:2px solid var(--border);margin-top:4rem;padding:3rem 2rem 1.5rem}.footer-content{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:3rem;margin-bottom:2rem}.footer-section h4{color:var(--text);font-size:1.1rem;font-weight:700;margin-bottom:1rem}.footer-logo{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.footer-logo span{font-size:1.3rem;font-weight:700;background:var(--gradient-primary);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.footer-tagline{color:var(--text-secondary);font-size:.95rem;margin-bottom:1rem}.footer-copyright{color:var(--text-light);font-size:.85rem;margin:0}.footer-links{list-style:none;padding:0;margin:0}.footer-links li{margin-bottom:.75rem}.footer-links a{color:var(--text-secondary);text-decoration:none;font-size:.95rem;transition:color .2s}.footer-links a:hover{color:var(--primary)}.footer-bottom{max-width:1400px;margin:0 auto;padding-top:2rem;border-top:1px solid var(--border);text-align:center}.footer-bottom p{color:var(--text-light);font-size:.85rem;line-height:1.6;margin:0}@media (max-width: 1024px){.header-nav{gap:1.5rem}.header-nav a{font-size:.9rem}.counseling-btn{padding:.5rem 1.25rem;font-size:.9rem}}@media (max-width: 768px){.header-content{flex-direction:column;gap:1rem;padding:1rem}.header-nav{flex-wrap:wrap;justify-content:center;gap:1rem}.header-nav a{font-size:.85rem}.logo-text{font-size:1.25rem}.logo-image{width:40px;height:40px}.footer-content{grid-template-columns:1fr;gap:2rem}.user-info{flex-direction:column;align-items:flex-start;gap:.5rem}.coins-badge{font-size:.85rem;padding:.4rem .75rem}}@media (max-width: 480px){.header-nav{font-size:.8rem}.counseling-btn{padding:.4rem 1rem;font-size:.8rem}.logout-btn{padding:.4rem .75rem;font-size:.85rem}}@keyframes slideIn{0%{transform:translate(400px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes slideOut{0%{transform:translate(0);opacity:1}to{transform:translate(400px);opacity:0}}
