.terms-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.15);display:flex;align-items:center;justify-content:center;z-index:1000;opacity:0;transition:opacity .3s cubic-bezier(.4,0,.2,1);padding:20px}.terms-modal-overlay.visible{opacity:1}.terms-modal-container{background:#ffffff;border:1px solid #dddddd;border-radius:24px;max-width:600px;width:100%;max-height:90vh;overflow:hidden;transform:scale(.9) translateY(20px);transition:transform .3s cubic-bezier(.4,0,.2,1);box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,.04),0 0 0 1px rgba(221,221,221,.5);display:flex;flex-direction:column;position:relative;will-change:transform}.terms-modal-container.visible{transform:scale(1) translateY(0)}.terms-modal-header{padding:32px 32px 24px;text-align:center;background:#f8f8f8;border-bottom:1px solid #dddddd;flex-shrink:0}.terms-modal-icon{width:64px;height:64px;background:linear-gradient(135deg,#fbda05,#e6b800);border-radius:20px;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;color:#1f2937;box-shadow:0 8px 32px rgba(251,218,5,.3)}.terms-modal-title{font-size:24px;font-weight:700;color:#475569;margin:0 0 8px;line-height:1.2}.terms-modal-subtitle{color:#6b7280;font-size:16px;margin:0;font-weight:500}.terms-modal-content{padding:24px 32px;overflow-y:auto;overflow-x:hidden;flex:1 1;min-height:0;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.terms-section{margin-bottom:24px}.terms-section:last-child{margin-bottom:0}.terms-section h3{font-size:18px;font-weight:600;color:#1e293b;margin:0 0 12px;display:flex;align-items:center;gap:8px}.terms-section h3:before{content:"";width:4px;height:20px;background:linear-gradient(135deg,#fbda05,#e6b800);border-radius:2px}.terms-section p{color:#475569;line-height:1.6;margin:0 0 12px;font-size:15px}.terms-section ul{margin:12px 0 0;padding-left:20px}.terms-section li{color:#475569;line-height:1.6;margin-bottom:8px;font-size:15px}.terms-disclaimer{margin-top:24px;padding:16px 20px;background:rgba(96,165,250,.05);border:1px solid rgba(96,165,250,.1);border-radius:12px}.terms-disclaimer p{color:#1e293b;font-weight:500;margin:0;font-size:14px;text-align:center}.terms-modal-actions{padding:20px 32px 32px;gap:16px;background:#f8f8f8;border-top:1px solid #dddddd;flex-shrink:0;margin-top:auto}.terms-button,.terms-modal-actions{display:flex;justify-content:center}.terms-button{padding:12px 24px;border-radius:12px;font-weight:600;font-size:15px;border:none;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);align-items:center;gap:8px;min-width:140px;position:relative;overflow:hidden}.terms-button:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(45deg,transparent,rgba(255,255,255,.1),transparent);transform:translateX(-100%);transition:transform .5s}.terms-button:hover:before{transform:translateX(100%)}.terms-button.decline{background:linear-gradient(135deg,#6b7280,#4b5563 50%,#374151);color:white;border:1px solid #9ca3af;font-weight:500}.terms-button.decline:hover{background:linear-gradient(135deg,#7c8a95,#6b7280 50%,#4b5563);transform:translateY(-1px);box-shadow:0 4px 12px rgba(107,114,128,.3);filter:brightness(1.05)}.terms-button.accept{background:linear-gradient(135deg,#fbda05,#f7c52d 50%,#e6b800);color:#1f2937;box-shadow:0 4px 16px rgba(251,218,5,.4);font-weight:600}.terms-button.accept:hover{background:linear-gradient(135deg,#fde047,#fbda05 50%,#facc15);transform:translateY(-2px);box-shadow:0 8px 24px rgba(251,218,5,.5);filter:brightness(1.05) saturate(1.1)}.terms-button:active{transform:translateY(0)}@media (max-width:768px){.terms-modal-container{margin:15px;max-height:85vh;border-radius:20px}.terms-modal-header{padding:24px 24px 20px}.terms-modal-icon{width:56px;height:56px;border-radius:16px}.terms-modal-title{font-size:22px}.terms-modal-subtitle{font-size:15px}.terms-modal-content{padding:20px 24px;scroll-behavior:smooth}.terms-modal-actions{padding:18px 24px 28px;flex-direction:column;gap:12px}.terms-button{width:100%;min-width:auto}}@media (max-width:480px){.terms-modal-overlay{padding:12px}.terms-modal-container{margin:0;max-height:88vh}.terms-modal-header{padding:20px 20px 16px}.terms-modal-content{padding:16px 20px;scroll-behavior:smooth}.terms-modal-actions{padding:16px 20px 24px;gap:12px}.terms-section h3{font-size:16px}.terms-section li,.terms-section p{font-size:14px}}.terms-modal-content::-webkit-scrollbar{width:8px}.terms-modal-content::-webkit-scrollbar-track{background:rgba(0,0,0,.05);border-radius:4px;margin:4px 0}.terms-modal-content::-webkit-scrollbar-thumb{background:rgba(251,218,5,.4);border-radius:4px;border:1px solid rgba(255,255,255,.1);min-height:20px;-webkit-transition:background .2s ease;transition:background .2s ease}.terms-modal-content::-webkit-scrollbar-thumb:hover{background:rgba(251,218,5,.6)}.terms-modal-content::-webkit-scrollbar-thumb:active{background:rgba(230,184,0,.8)}.terms-modal-content{scrollbar-width:thin;scrollbar-color:rgba(251,218,5,.4) rgba(0,0,0,.05)}.terms-modal-content *{scroll-margin-top:8px;scroll-margin-bottom:8px}.terms-modal-content{transform:translateZ(0);-webkit-transform:translateZ(0)}html{scroll-behavior:smooth}.terms-modal-overlay{overscroll-behavior:none}.terms-modal-content a{color:#3b82f6;text-decoration:none;transition:color .2s ease;font-weight:inherit}.terms-modal-content a:hover{color:#2563eb;text-decoration:underline}.terms-modal-content a:focus{outline:2px solid #3b82f6;outline-offset:2px;border-radius:2px}