*{box-sizing:border-box;margin:0;padding:0}:root{--bg-dark:#0a0a0a;--bg-card:#141414;--bg-elevated:#1c1c1c;--accent:#d4a038;--accent-secondary:#e85d4c;--accent-gradient:linear-gradient(135deg, #d4a038 0%, #e85d4c 100%);--text:#fff;--text-muted:#8b8b8b;--border:#2a2a2a;--success:#22c55e;--glow:0 0 20px #d4a0384d}body{background:radial-gradient(circle at 20% 20%, #d4a0380f 0%, transparent 40%), radial-gradient(circle at 80% 80%, #e85d4c0f 0%, transparent 40%), linear-gradient(#19191980 1px, transparent 1px), linear-gradient(90deg, #19191980 1px, transparent 1px), var(--bg-dark);color:var(--text);background-size:100% 100%,100% 100%,50px 50px,50px 50px,100% 100%;background-attachment:fixed;min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.6}a{color:var(--accent);text-decoration:none}a:hover{opacity:.8}a.game-tile{opacity:1!important}button{cursor:pointer;text-transform:uppercase;letter-spacing:.5px;border:none;border-radius:8px;padding:.875rem 1.75rem;font-size:.95rem;font-weight:600;transition:all .2s}.btn-primary{background:var(--accent-gradient);color:var(--bg-dark);box-shadow:var(--glow)}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 0 30px #d4a03880}.btn-secondary{color:var(--accent);border:2px solid var(--accent);background:0 0}.btn-secondary:hover{background:#d4a0381a}.container{max-width:1200px;margin:0 auto;padding:0 1.5rem}.header{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--border);z-index:100;background:#0a0a0ff2;padding:1rem 0;position:sticky;top:0}.header-content{justify-content:space-between;align-items:center;display:flex}.logo{background:var(--accent-gradient);-webkit-text-fill-color:transparent;letter-spacing:-.5px;-webkit-background-clip:text;background-clip:text;font-size:1.75rem;font-weight:800}nav ul{gap:2.5rem;list-style:none;display:flex}nav a{color:var(--text-muted);font-size:.95rem;font-weight:500;transition:color .2s}nav a:hover{color:var(--text)}.hamburger{cursor:pointer;z-index:200;background:0 0;border:none;flex-direction:column;justify-content:center;gap:5px;width:32px;height:32px;padding:4px;display:none}.hamburger span{background:var(--text);border-radius:2px;width:100%;height:2px;transition:all .3s;display:block}.hamburger.open span:first-child{transform:rotate(45deg)translate(5px,5px)}.hamburger.open span:nth-child(2){opacity:0}.hamburger.open span:nth-child(3){transform:rotate(-45deg)translate(5px,-5px)}.nav-overlay{display:none}.footer{background:var(--bg-card);border-top:1px solid var(--border);margin-top:6rem;padding:4rem 0 1.5rem}.footer-content{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:3rem;margin-bottom:3rem;display:grid}.footer-section h4{color:var(--text);margin-bottom:1.25rem;font-size:1rem;font-weight:600}.footer-section ul{list-style:none}.footer-section li{margin-bottom:.75rem}.footer-section a{color:var(--text-muted);font-size:.9rem}.footer-section a:hover{color:var(--accent)}.footer-bottom{border-top:1px solid var(--border);text-align:center;color:var(--text-muted);padding-top:1.5rem;font-size:.85rem}.home-page{background:radial-gradient(circle at 20% 20%, #d4a03814 0%, transparent 40%), radial-gradient(circle at 80% 80%, #e85d4c14 0%, transparent 40%), linear-gradient(#141414e6 1px, transparent 1px), linear-gradient(90deg, #141414e6 1px, transparent 1px), var(--bg-dark);background-size:100% 100%,100% 100%,50px 50px,50px 50px,100% 100%;align-items:stretch;min-height:calc(100vh - 70px);display:flex}.games-showcase{grid-template-columns:1fr 1fr 1fr;width:100%;height:calc(100vh - 70px);display:grid}.game-tile{cursor:pointer;border-right:1px solid var(--border);color:inherit;min-width:0;min-height:0;text-decoration:none;position:relative;overflow:hidden}.game-tile:last-child{border-right:none}.game-tile-content{background:0 0;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:relative;overflow:hidden}.game-tile-overlay{z-index:10;background:linear-gradient(#0000 0%,#000000e6 100%);padding:2rem;position:absolute;bottom:0;left:0;right:0}.game-tile-overlay h2{margin-bottom:.5rem;font-size:2rem;font-weight:800;transition:transform .3s}.game-tile:hover .game-tile-overlay h2{color:var(--accent)}.play-prompt{color:var(--accent);text-transform:uppercase;letter-spacing:1px;opacity:0;font-size:.9rem;font-weight:600;transition:all .3s;display:inline-block;transform:translateY(10px)}.game-tile:hover .play-prompt{opacity:1;transform:translateY(0)}.preview-board{flex-shrink:0;transition:filter .4s}.game-tile:hover .preview-board{filter:drop-shadow(0 0 30px #d4a03866)}.chess-preview{border-radius:5px;flex-shrink:0;grid-template-columns:repeat(8,40px);width:320px;height:320px;display:grid;overflow:hidden;box-shadow:0 20px 60px #00000080}.chess-preview .preview-cell{justify-content:center;align-items:center;width:40px;height:40px;font-size:1.75rem;transition:background .3s;display:flex}.chess-preview .preview-cell.light{background:#4a4a5a}.chess-preview .preview-cell.dark{background:#2a2a3a}.checkers-preview{border-radius:8px;flex-shrink:0;grid-template-columns:repeat(8,40px);width:320px;height:320px;display:grid;overflow:hidden;box-shadow:0 20px 60px #00000080}.checkers-preview .preview-cell{justify-content:center;align-items:center;display:flex}.checkers-preview .preview-cell.light{background:#4a4a5a}.checkers-preview .preview-cell.dark{background:#2a2a3a}.preview-piece{border-radius:50%;width:70%;height:70%;transition:transform .3s}.preview-piece.red{background:linear-gradient(135deg,#ff6b6b 0%,#c92a2a 100%);box-shadow:0 4px 12px #c92a2a66}.preview-piece.black{background:linear-gradient(135deg,#495057 0%,#212529 100%);box-shadow:0 4px 12px #0006}.ttt-preview{flex-shrink:0;grid-template-columns:repeat(3,74.67px);gap:8px;width:240px;height:240px;display:grid}.preview-ttt-cell{background:var(--bg-card);border:2px solid var(--border);border-radius:12px;justify-content:center;align-items:center;width:70px;height:70px;font-size:2.5rem;font-weight:800;transition:all .3s;display:flex}.preview-ttt-cell.x{color:var(--accent);text-shadow:0 0 20px #d4a03880}.preview-ttt-cell.o{color:var(--accent-secondary);text-shadow:0 0 20px #e85d4c80}.preview-ttt-cell.winning{border-color:var(--accent);background:#d4a03826;animation:.6s ease-in-out infinite alternate pulse-glow}@keyframes pulse-glow{0%{box-shadow:0 0 10px #d4a0384d}to{box-shadow:0 0 25px #d4a03899}}.game-tile:before{content:"";opacity:0;z-index:1;pointer-events:none;background:radial-gradient(circle,#d4a0381f 0%,#0000 60%);transition:opacity .3s;position:absolute;inset:0}.game-tile:hover:before{opacity:1}@media (width<=900px){.games-showcase{grid-template-rows:auto auto auto;grid-template-columns:1fr;height:auto;min-height:calc(100vh - 70px)}.game-tile{border-right:none;border-bottom:1px solid var(--border);height:auto;min-height:320px}.game-tile:last-child{border-bottom:none}.game-tile-content{padding:40px 20px 80px}.chess-preview,.checkers-preview{grid-template-rows:repeat(8,25px);grid-template-columns:repeat(8,25px);width:200px;height:200px}.chess-preview .preview-cell,.checkers-preview .preview-cell{width:25px;height:25px;font-size:.9rem}.ttt-preview{grid-template-columns:repeat(3,50px);gap:6px;width:auto;height:auto}.preview-ttt-cell{width:50px;height:50px;font-size:1.5rem}.game-tile-overlay h2{font-size:1.5rem}}.game-container{max-width:560px;margin:3rem auto;padding:0 1rem}.game-header{text-align:center;margin-bottom:2rem}.game-header h1{margin-bottom:.5rem;font-size:2rem}.game-header p{color:var(--text-muted)}.game-status{background:var(--bg-card);border:1px solid var(--border);text-align:center;border-radius:12px;margin-bottom:1.5rem;padding:1rem 1.5rem;font-size:1.1rem;font-weight:600}.game-controls{justify-content:center;gap:1rem;margin-top:2rem;display:flex}.board{border:3px solid var(--border);border-radius:12px;grid-template-columns:repeat(8,1fr);display:grid;overflow:hidden;box-shadow:0 8px 32px #0006}.square{aspect-ratio:1;cursor:pointer;justify-content:center;align-items:center;font-size:2.25rem;transition:all .15s;display:flex}.square.light{background:#3d3d4a}.square.dark{background:#252530}.square:hover{filter:brightness(1.2)}.square.selected{box-shadow:inset 0 0 20px #00d4ff4d;background:#00d4ff66!important}.square.valid-move{position:relative}.square.valid-move:after{content:"";background:var(--accent);opacity:.6;border-radius:50%;width:28%;height:28%;position:absolute}.move-dot{background:var(--accent);opacity:.6;border-radius:50%;width:28%;height:28%}.square.capture-move{position:relative}.square.capture-move:after{content:"";border:4px solid var(--accent);opacity:.8;border-radius:50%;width:85%;height:85%;position:absolute}.square.last-move.light{background:#82976980!important}.square.last-move.dark{background:#64785099!important}.game-status.check{color:#f59e0b;border-color:#f59e0b}.game-status.checkmate{border-color:var(--success);color:var(--success);animation:.5s ease-in-out pulse-success}@keyframes pulse-success{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}.piece{text-shadow:0 2px 4px #0000004d;font-size:2.25rem;line-height:1}.piece.white-piece,.piece.black-piece{filter:drop-shadow(0 1px 2px #00000080)}.ttt-board{grid-template-columns:repeat(3,1fr);gap:12px;max-width:320px;margin:0 auto;display:grid}.ttt-cell{aspect-ratio:1;background:var(--bg-card);border:2px solid var(--border);cursor:pointer;border-radius:12px;font-size:3rem;font-weight:800;transition:all .2s}.ttt-cell:hover:not(.taken){border-color:var(--accent);background:var(--bg-elevated)}.ttt-cell.x{color:var(--accent);text-shadow:0 0 20px #d4a03880}.ttt-cell.o{color:var(--accent-secondary);text-shadow:0 0 20px #e85d4c80}.ttt-cell.winning{animation:.6s ease-in-out infinite alternate pulse-glow;border-color:var(--accent)!important;background:#d4a03826!important}.score-display{justify-content:center;gap:3rem;margin-bottom:1.5rem;display:flex}.score-item{text-align:center}.score-label{font-size:1.25rem;font-weight:700}.score-label.x{color:var(--accent)}.score-label.o{color:var(--accent-secondary)}.score-label.draw{color:var(--text-muted)}.score-value{font-size:2rem;font-weight:800}.game-info{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;margin-top:2.5rem;padding:1.5rem}.game-info h3{margin-bottom:1rem;font-size:1rem}.game-info ul{color:var(--text-muted);padding-left:1.25rem}.game-info li{margin-bottom:.5rem;font-size:.9rem}.mode-selection{text-align:center;padding:2rem 0}.mode-btn{width:100%;max-width:280px;margin:.75rem auto;padding:1rem 1.5rem;display:block}.color-selection{color:var(--text-muted);margin-top:1.5rem;font-size:.9rem}.color-selection strong{color:var(--accent)}.game-status.winner{border-color:var(--success);color:var(--success)}.game-status.draw{color:#f59e0b;border-color:#f59e0b}.policy-page{background:var(--bg-card);border:1px solid var(--border);border-radius:16px;max-width:800px;margin:3rem auto;padding:3rem}.policy-page h1{margin-bottom:.5rem;font-size:2rem}.policy-page .last-updated{color:var(--text-muted);margin-bottom:2.5rem;font-size:.9rem}.policy-page h2{color:var(--accent);margin-top:2.5rem;margin-bottom:1rem;font-size:1.25rem}.policy-page h3{margin-top:1.5rem;margin-bottom:.75rem;font-size:1.1rem}.policy-page p,.policy-page ul{color:var(--text-muted);margin-bottom:1rem;line-height:1.7}.policy-page ul{padding-left:1.5rem}.policy-page li{margin-bottom:.5rem}.policy-page strong{color:var(--text)}.cookie-consent{background:var(--bg-card);border-top:1px solid var(--border);z-index:1000;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:1.5rem;position:fixed;bottom:0;left:0;right:0}.cookie-content{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:2rem;max-width:1200px;margin:0 auto;display:flex}.cookie-content p{min-width:300px;color:var(--text-muted);flex:1;font-size:.9rem}.cookie-buttons{gap:1rem;display:flex}.btn-accept{background:var(--accent);color:var(--bg-dark);font-weight:600}.btn-decline{border:1px solid var(--border);color:var(--text-muted);background:0 0}.btn-decline:hover{border-color:var(--text-muted);color:var(--text)}@media (width<=768px){.hamburger{display:flex}.header-content{flex-direction:row}.header nav{background:var(--bg-card);border-left:1px solid var(--border);z-index:150;width:260px;height:100vh;padding:5rem 2rem 2rem;display:none;position:fixed;top:0;right:0}.header nav.nav-open{display:block}.header nav ul{flex-direction:column;gap:1.5rem}.header nav a{font-size:1.1rem}.nav-overlay{z-index:140;background:#00000080;display:block;position:fixed;inset:0}.hero{padding:4rem 0}.hero h1{font-size:2.25rem}.features-grid{grid-template-columns:1fr;gap:1rem}.square{font-size:1.5rem}.cookie-content{text-align:center;flex-direction:column}.policy-page{margin:1.5rem;padding:1.5rem}}
