*{box-sizing:border-box;margin:0;padding:0}html{background-color:#0a0a0a}body{color:#e5e7eb;background-color:#0a0a0a;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.6}.app{background-color:#0a0a0a;flex-direction:column;min-height:100vh;display:flex}.app-header{color:#fff;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);padding:1rem 0;box-shadow:0 2px 10px #0000001a}.header-content{justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto;padding:0 2rem;display:flex}.app-title{letter-spacing:-.02em;font-size:2rem;font-weight:700}.hamburger-container{position:relative}.hamburger-button{cursor:pointer;background:0 0;border:none;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-width:44px;min-height:44px;padding:.7rem;transition:all .3s;display:flex}.hamburger-button:hover{background:#ffffff1a;border-radius:6px}.hamburger-line{background:#fff;border-radius:2px;width:30px;height:3px;transition:all .3s;display:block}.hamburger-menu{z-index:1000;background:#2d2d2d;border:1px solid #4b5563;border-radius:8px;min-width:200px;margin-top:1rem;position:absolute;top:100%;right:0;box-shadow:0 10px 25px #00000080}.hamburger-menu-item{color:#e5e7eb;cursor:pointer;border-bottom:1px solid #3f3f3f;padding:.75rem 1.25rem;font-size:.95rem;transition:all .2s}.hamburger-menu-item:last-child{border-bottom:none}.hamburger-menu-item:hover{color:#667eea;background:#3f3f3f}.hamburger-submenu{padding-left:1rem}.hamburger-menu-item.has-submenu{justify-content:space-between;align-items:center;display:flex}.submenu-items{background:#1f1f1f}.submenu-items .hamburger-menu-item{padding-left:2rem;font-size:.9rem}.team-menu-container{position:relative}.team-menu-button{color:#fff;cursor:pointer;background:#fff3;border:1px solid #ffffff4d;border-radius:6px;padding:.5rem 1rem;font-size:.9rem;transition:all .2s}.team-menu-button:hover{background:#ffffff4d}.team-menu-overlay{z-index:1000;background:#00000080;position:fixed;inset:0}.team-menu-modal{z-index:1001;background:#2d2d2d;border:1px solid #3f3f3f;border-radius:12px;min-width:400px;max-width:90vw;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 20px 25px -5px #00000080}.team-menu-header{border-bottom:1px solid #4b5563;justify-content:space-between;align-items:center;padding:1.5rem;display:flex}.team-menu-header h3{color:#f3f4f6;font-size:1.25rem;font-weight:600}.close-button{cursor:pointer;color:#9ca3af;background:0 0;border:none;padding:.25rem;font-size:1.5rem}.close-button:hover{color:#f3f4f6}.team-menu-content{padding:1.5rem}.team-form .form-group{margin-bottom:1rem}.team-form label{color:#e5e7eb;margin-bottom:.5rem;font-weight:500;display:block}.team-form input{color:#f3f4f6;background:#1f1f1f;border:1px solid #4b5563;border-radius:6px;width:100%;padding:.75rem;font-size:1rem}.team-form input:focus{background:#242424;border-color:#667eea;outline:none;box-shadow:0 0 0 3px #667eea33}.create-team-button,.leave-team-button{color:#fff;cursor:pointer;background:#667eea;border:none;border-radius:6px;width:100%;padding:.75rem;font-size:1rem;font-weight:500;transition:background .2s}.create-team-button:hover{background:#5a67d8}.create-team-button:disabled{cursor:not-allowed;background:#9ca3af}.leave-team-button{background:#ef4444;margin-top:1rem}.leave-team-button:hover{background:#dc2626}.team-status p{color:#e5e7eb;margin-bottom:.5rem}.about-overlay{z-index:1000;background:#0009;position:fixed;inset:0}.about-modal{z-index:1001;background:#2d2d2d;border:1px solid #3f3f3f;border-radius:12px;width:90vw;min-width:350px;max-width:500px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 20px 25px -5px #00000080}.about-header{border-bottom:1px solid #4b5563;justify-content:space-between;align-items:center;padding:1.5rem;display:flex}.about-header h2{color:#f3f4f6;margin:0;font-size:1.5rem;font-weight:600}.about-content{max-height:60vh;padding:1.5rem;overflow-y:auto}.about-section{margin-bottom:1.5rem;padding-left:5px}.about-section:last-child{margin-bottom:0}.about-section h3{color:#60a5fa;margin:0 0 .5rem;font-size:1.1rem;font-weight:600}.about-section p{color:#d1d5db;margin:0;line-height:1.6}.app-main{background-color:#0a0a0a;flex:1;width:100%;max-width:900px;margin:0 auto;padding:2rem 1.5rem}.home-container{max-width:100%;margin:0 auto}.game-header{text-align:center;margin-bottom:3rem}.game-header h1{color:#f3f4f6;margin-bottom:1rem;font-size:3rem;font-weight:700}.game-description{color:#9ca3af;margin-bottom:1rem;font-size:1.1rem;line-height:1.7}.team-status,.solo-status{color:#667eea;font-size:.9rem;font-weight:500}.guess-section{background:#2d2d2d;border:1px solid #3f3f3f;border-radius:12px;margin-bottom:1rem;padding:2rem;box-shadow:0 4px 6px -1px #0000004d}.guess-input-container{gap:1rem;margin-bottom:1rem;display:flex}.mobile-button-row{gap:1rem;display:flex}.guess-input{color:#f3f4f6;background:#1f1f1f;border:2px solid #4b5563;border-radius:8px;flex:1;padding:1rem;font-size:1.1rem;transition:border-color .2s}.guess-input:focus{background:#242424;border-color:#667eea;outline:none}.guess-input::placeholder{color:#6b7280}.guess-button{color:#fff;cursor:pointer;white-space:nowrap;background:#667eea;border:none;border-radius:8px;padding:1rem 2rem;font-size:1.1rem;font-weight:500;transition:background .2s}.guess-button:hover:not(:disabled){background:#5a67d8}.guess-button:disabled{cursor:not-allowed;background:#9ca3af}.give-up-button{color:#fff;cursor:pointer;white-space:nowrap;background:#ef4444;border:none;border-radius:8px;padding:1rem 2rem;font-size:1.1rem;font-weight:500;transition:background .2s}.give-up-button:hover:not(:disabled){background:#dc2626}.give-up-button:disabled{cursor:not-allowed;background:#9ca3af}.revealed-word{color:#fca5a5;background:#ef44441a;border:2px solid #ef44444d;border-radius:8px;margin-top:1rem;padding:1rem;font-size:1.2rem;font-weight:600}.winner-section{flex-direction:column;align-items:center;gap:1rem;margin-top:1rem;display:flex}.share-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border:none;border-radius:8px;padding:.75rem 1.5rem;font-size:1rem;font-weight:600;transition:transform .2s,box-shadow .2s;box-shadow:0 4px 6px #0000004d}.share-button:hover{transform:translateY(-2px);box-shadow:0 6px 12px #0006}.share-button:active{transform:translateY(0)}.share-image-container{justify-content:center;margin-top:1rem;display:flex}.share-image{border-radius:8px;max-width:100%;box-shadow:0 4px 12px #0000004d}.error-message{color:#dc2626;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;padding:.75rem;font-size:.9rem}.recent-guesses{background:linear-gradient(135deg,#1e3a5f 0%,#2d2d2d 100%);border:1px solid #3b82f6;border-radius:12px;margin-bottom:1rem;padding:1rem 1.5rem;animation:2s ease-in-out infinite recent-pulse}@keyframes recent-pulse{0%,to{border-color:#3b82f6}50%{border-color:#60a5fa}}.recent-guesses h4{color:#60a5fa;text-transform:uppercase;letter-spacing:.05em;font-size:.9rem}.recent-guesses-list{flex-direction:column;display:flex}.recent-guess-item{transition:opacity .3s}.guess-history{background:#2d2d2d;border:1px solid #3f3f3f;border-radius:12px;padding:2rem;box-shadow:0 4px 6px -1px #0000004d}.guess-history h3{color:#f3f4f6;margin-bottom:1.5rem;font-size:1.5rem}.history-list{border-collapse:separate;border-spacing:0;width:100%;margin-bottom:1.5rem;display:table}.history-header{color:#9ca3af;text-transform:uppercase;letter-spacing:.05em;background:#1f1f1f;font-size:.85rem;font-weight:600;display:table-row}.history-header>div{border-bottom:2px solid #4b5563;padding:.75rem 1.5rem;display:table-cell}.history-header>div:first-child{width:70%}.history-header>div:last-child{text-align:right;width:30%}.history-item{transition:all .2s;display:table-row}.history-item>div{vertical-align:middle;border-bottom:1px solid #3f3f3f;padding:1rem 1.5rem;display:table-cell}.history-item>div:first-child{width:70%}.history-item>div:last-child{text-align:right;width:30%}.history-item:hover>div{background:#667eea1a}.guess-word{color:#f3f4f6;text-transform:lowercase;font-size:1.2rem;font-weight:600}.guess-score{color:#f3f4f6;font-family:Courier New,monospace;font-size:1.4rem;font-weight:700;text-align:right!important}.guess-rank{color:#667eea;background:#667eea33;border:1px solid #667eea66;border-radius:4px;padding:.25rem .6rem;font-size:.9rem;font-weight:700;display:inline-block}.best-guess{color:#86efac;text-align:center;background:#86efac26;border:1px solid #86efac4d;border-radius:8px;padding:1rem;font-weight:500}.no-guesses{text-align:center;color:#9ca3af;padding:3rem;font-style:italic}.celebration-overlay{pointer-events:none;z-index:9999;position:fixed;inset:0;overflow:hidden}.celebration-content{text-align:center;pointer-events:auto;z-index:10;animation:.5s ease-out celebrate-pulse;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.celebration-text{color:#fbbf24;text-shadow:0 0 20px #fbbf2480,0 4px 8px #0000004d;font-size:4rem;font-weight:800;animation:.6s ease-out celebrate-bounce}.celebration-word{color:#86efac;text-shadow:0 2px 4px #0000004d;margin-top:.5rem;font-size:2rem}.celebration-score{color:#60a5fa;text-shadow:0 2px 4px #0000004d;margin-top:.5rem;font-size:1.5rem}@keyframes celebrate-pulse{0%{opacity:0;transform:translate(-50%,-50%)scale(.5)}50%{opacity:1;transform:translate(-50%,-50%)scale(1.1)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}@keyframes celebrate-bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.confetti{z-index:1;border-radius:2px;width:12px;height:12px;position:absolute;top:0}@keyframes confetti-fall-1{0%{opacity:1;transform:translateY(-20px)translate(0)rotate(0)scale(1)}to{opacity:0;transform:translateY(100vh)translate(50px)rotate(720deg)scale(.5)}}@keyframes confetti-fall-2{0%{opacity:1;transform:translateY(-20px)translate(0)rotate(0)scale(1)}to{opacity:0;transform:translateY(100vh)translate(-30px)rotate(540deg)scale(.5)}}@keyframes confetti-fall-3{0%{opacity:1;transform:translateY(-20px)translate(0)rotate(0)scale(1)}to{opacity:0;transform:translateY(100vh)translate(40px)rotate(900deg)scale(.5)}}@keyframes confetti-fall-4{0%{opacity:1;transform:translateY(-20px)translate(0)rotate(0)scale(1)}to{opacity:0;transform:translateY(100vh)translate(-60px)rotate(630deg)scale(.5)}}.winner-revealed{color:#fbbf24;text-align:center;background:linear-gradient(135deg,#fbbf2426 0%,#86efac26 100%);border:2px solid #fbbf2466;border-radius:12px;margin-top:1rem;padding:1.5rem;font-size:1.4rem;font-weight:700}@media (max-width:768px){.header-content{padding:0 .5rem}.app-header{padding:.5rem 0}.app-title{font-size:1.25rem}.app-main{padding:0 .25rem .25rem}.game-header{margin-bottom:.25rem}.game-header h1{margin-bottom:.25rem;font-size:1.5rem}.game-description{margin-bottom:.2rem;font-size:.9rem}.team-status,.solo-status{font-size:.8rem}.guess-section{z-index:100;border-radius:6px;margin-bottom:.25rem;padding:.25rem;position:sticky;top:0}.guess-input-container{flex-direction:row;align-items:stretch;gap:.25rem;margin-bottom:.25rem}.guess-input{border-radius:6px;flex:1;min-width:0;padding:.4rem .5rem;font-size:1rem}.mobile-button-row{flex-direction:column;flex-shrink:0;gap:.2rem;display:flex}.mobile-button-row .guess-button,.mobile-button-row .hint-button,.mobile-button-row .give-up-button{white-space:nowrap;text-align:center;border-radius:4px;min-width:60px;padding:.3rem .6rem;font-size:.8rem}.team-menu-modal{min-width:280px}.history-item>div{padding:.4rem .5rem}.guess-word{font-size:.9rem}.guess-score{font-size:1rem}.guess-history{border-radius:6px;margin-top:0;padding:.5rem}.guess-history h3{margin-bottom:.5rem;font-size:1rem}.history-header>div{padding:.4rem .5rem;font-size:.7rem}.recent-guesses{margin-bottom:.25rem;padding:.5rem}.best-guess{padding:.4rem;font-size:.8rem}}.share-modal{text-align:center;background:#2d2d2d;border-radius:8px;margin-top:1rem;padding:1rem}.share-text{white-space:pre-wrap;color:#f3f4f6;margin-bottom:1rem;font-family:sans-serif;font-size:1rem;line-height:1.4}@media (max-width:768px){.share-image-container{display:none!important}}