﻿/* class 1 বেঞ্জনবরন ড্রাগ*/
.Clr_Bjn_drg_row { display: flex; justify-content: center; gap: 8px; margin-bottom: 15px; width: 100%; max-width: 650px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
.Clr_Bjn_drg_card { flex: 1; max-width: 115px; aspect-ratio: 4/3; display: flex; font-size: clamp(1.8rem, 6vw, 3.5rem); color: #000; border-radius: 12px; align-items: center; justify-content: center; cursor: grab; user-select: none; transition: opacity .1s, transform .2s; touch-action: none; position: relative; box-sizing: border-box; }
.Clr_Bjn_drg_drop { flex: 1; max-width: 115px; aspect-ratio: 4/3; display: flex; font-size: clamp(1.8rem, 6vw, 3.5rem); color: #000; border: 2px dashed #aaa; border-radius: 12px; justify-content: center; align-items: center; box-sizing: border-box; }
.Clr_Bjn_drg_dropped { border: 3px solid green !important; background: #e0ffe0; }
.Clr_Bjn_drg_shake { border: 3px solid red !important; animation: .1s Clr_Bjn_drg_shake_anim; }
@keyframes Clr_Bjn_drg_shake_anim { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* শিক্ষক যে শব্দটি বলবেন, সেই শব্দে ক্লিক করো */
 .TWen-section {width: 100%;text-align: center; font-family: "SolaimanLipi", "Hind Siliguri", sans-serif; box-sizing: border-box; }
 .TWen {max-width: 800px;}
.TWrd-teacher-hint { font-size: 13px; color: #94a3b8; opacity: 0.4; font-weight: 600; text-align:center; } 
.TWrd-board { position: relative; width: 100%; height: 540px; background: #f8fafc; border: 3px dashed #94a3b8; border-radius: 24px; overflow: hidden; box-sizing: border-box; touch-action: manipulation; box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04); }
.TWrd-item { position: absolute; background: #ffffff; border: 2px solid #e2e8f0; padding: 8px 22px; font-size: clamp(1.25rem, 4vw, 1.5rem); font-weight: 700; color: #1e293b; cursor: pointer; font-family: inherit; user-select: none; border-radius: 50px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08); transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s, color 0.2s, box-shadow 0.2s; white-space: nowrap; transform: translate(-50%, -50%); }
.TWrd-item:hover { color: #2563eb; border-color: #93c5fd; transform: translate(-50%, -50%) scale(1.12); box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2); }
.TWrd-item.TWrd-correct { background: linear-gradient(135deg, #22c55e, #16a34a); color: #ffffff; border-color: #16a34a; font-weight: 800; transform: translate(-50%, -50%) scale(1.25); box-shadow: 0 12px 28px rgba(34, 197, 94, 0.4); pointer-events: none; }
.TWrd-item.TWrd-wrong { background: linear-gradient(135deg, #ef4444, #dc2626); color: #ffffff; border-color: #dc2626; font-weight: 800; animation: TWrd-shake 0.4s ease; pointer-events: none; }
.TWrd-score { display: flex; justify-content: center; gap: 30px; margin-top: 20px; font-size: 1.25rem; font-weight: 700; }
.TWrd-correct { color: #16a34a; background: #dcfce7; padding: 6px 18px; border-radius: 20px; border: 1px solid #86efac; }
.TWrd-wrong { color: #dc2626; background: #fee2e2; padding: 6px 18px; border-radius: 20px; border: 1px solid #fca5a5; }
@keyframes TWrd-shake { 0%, 100% { transform: translate(-50%, -50%); } 20%, 60% { transform: translate(-55%, -50%); } 40%, 80% { transform: translate(-45%, -50%); } }
@media (max-width: 600px) {.TWen-section {width: 100%;} .TWrd-board { height: 480px; } }

/* শেষ বর্ণ দিয়ে শব্দ তৈরি করা - গ্রিড C-5 BN*/
.Cain_wg-grid,.Cain_wg-box{box-sizing:border-box;display:flex}.Cain_wg-grid{flex-wrap:wrap;width:100%;max-width:650px;margin:20px auto;border:2px solid #ff4d4d;background:#fff}.Cain_wg-box{width:20%;height:75px;border:1px solid #ff4d4d;position:relative;align-items:center;justify-content:center}.Cain_wg-box input{width:100%;height:100%;border:none;text-align:center;font-size:1.1rem;font-weight:700;outline:0;background:0 0}.Cain_wg-box.Cain_wg-correct{background-color:#d4edda!important}.Cain_wg-box.Cain_wg-finish{background-color:gold!important;border:2px solid orange}.Cain_wg-box.Cain_wg-wrong{background-color:#f8d7da!important;animation:.3s Cain_wg-shake}.Cain_wg-status{text-align:center}@keyframes Cain_wg-shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}

/* শেষ বর্ণ দিয়ে শব্দ তৈরি করা C-5 BN*/
#ChainWrd-display{font-size:1.1rem;color:#34495e;background:#f8f9fa;text-align:center;padding:15px;border-radius:10px;min-height:40px;margin:20px 0;word-wrap:break-word;line-height:1.5;border:1px solid #dee2e6}#ChainWrd-input{margin:0 auto;display:flex;padding:12px;border:2px solid #bdc3c7;border-radius:8px;font-size:1.1rem;text-align:center;outline:none}#ChainWrd-input:focus{border-color:#3498db}#ChainWrd-submit-btn{display:flex;margin:20px auto;font-size:1rem}#ChainWrd-submit-btn:disabled{background:#bdc3c7}.ChainWrd-status{margin-top:15px;font-weight:700;min-height:40px;text-align:center}.ChainWrd-error{color:#e74c3c}.ChainWrd-success{color:#27ae60}.ChainWrd-loading{color:#f39c12}

 
 


/* Find Letter*/
.FindL-card { background: #ffffff; border-radius: 28px; padding: 24px 20px; width: 100%; max-width: 800px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18); border: 4px solid #94a3b8; }
.FindL-title { font-size: 42px; font-weight: 900; color: #0f172a; margin: 0 0 10px 0; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; user-select: none; transition: transform 0.1s ease; }
.FindL-title:active { transform: scale(0.96); }
.FindL-level-container { display: flex; gap: 8px; margin-bottom: 15px; }
.FindL-btn-level { padding: 5px 22px; font-size: 16px; font-weight: 600; border: 2px solid #cbd5e1; background-color: #f8fafc; color: #334155; border-radius: 16px; cursor: pointer; transition: all 0.2s ease; }
.FindL-btn-level.FindL-active { background-color: #2563eb; color: #ffffff; border-color: #1d4ed8; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35); }
.FindL-options-section { width: 100%; text-align: center; margin: 20px 0; }
.FindL-options-container { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; min-height: 80px; }
.FindL-btn-letter { width: 80px; height: 80px; font-size: 4em; font-weight: 600; background-color: #eff6ff; border: 3px solid #3b82f6; border-radius: 18px; cursor: pointer; color: #1d4ed8; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1); transition: all 0.15s ease; }
.FindL-btn-letter:active { transform: scale(0.90); }
.FindL-btn-letter.FindL-correct { background-color: #16a34a !important; color: #ffffff !important; border-color: #15803d !important; box-shadow: 0 5px 12px rgba(22, 163, 74, 0.4); }
.FindL-btn-letter.FindL-wrong { background-color: #dc2626 !important; color: #ffffff !important; border-color: #b91c1c !important; box-shadow: 0 5px 12px rgba(220, 38, 38, 0.4); }
.FindL-word-display { display: flex; gap: 12px; justify-content: center; margin: 20px 0; }
.FindL-letter-box { font-size: 6em; font-weight: 900; display: flex; align-items: center; justify-content: center; min-width: 50px; }
.FindL-hint-container { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 110px; }
.FindL-btn-hint { background-color: #f59e0b; color: #ffffff; border: none; padding: 6px 16px; border-radius: 35px; font-size: 16px; font-weight: 600; cursor: pointer; }
.FindL-emoji-display { font-size: 90px; line-height: 1; display: none; cursor: pointer; user-select: none; transition: transform 0.15s ease; }
.FindL-emoji-display:active { transform: scale(0.9); }
.FindL-bn-meaning { font-size: 38px; font-weight: 900; color: #2563eb; display: none; user-select: none; }
.FindL-bottom-action { width: 100%; display: flex; flex-direction: column; align-items: center; }
.FindL-score-board { display: flex; gap: 20px; font-size: 22px; font-weight: 900; margin-bottom: 10px; }
.FindL-score-correct { color: #16a34a; }
.FindL-score-wrong { color: #dc2626; }
.FindL-msg-box { font-size: 22px; font-weight: 900; min-height: 30px; margin-bottom: 10px; }
.FindL-msg-success { color: #16a34a; }
.FindL-msg-error { color: #dc2626; }
.FindL-btn-next { width: 100%; padding: 18px 0; font-size: 24px; font-weight: 900; background-color: #10b981; color: white; border: none; border-radius: 18px; cursor: pointer; visibility: hidden; box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4); }
.FindL-btn-next.FindL-visible { visibility: visible; }






/*ছোট থেকে বড় শব্দ*/
#LtrPrm { display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 680px; margin: 0 auto; padding: 28px; background: #ffffff; border-radius: 28px; box-shadow: 0 12px 30px rgba(0,0,0,0.08); font-family: 'Hind Siliguri', sans-serif; user-select: none; }
#LtrPrm-title { font-size: 34px; font-weight: 800; color: #1e293b; margin: 0; text-align: center; }
#LtrPrm-tray { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; min-height: 110px; width: 100%; padding: 18px; background: #f8fafc; border: 2px solid #e2e8f0; border-radius: 24px; box-sizing: border-box; }
.LtrPrm-tile-btn { font-size: 38px; font-weight: 900; width: 75px; height: 85px; border-radius: 20px; border: 2px solid #cbd5e1; border-bottom-width: 5px; background: #ffffff; color: #1e293b; cursor: pointer; transition: all 0.15s ease; font-family: 'Nunito', sans-serif; }
.LtrPrm-tile-btn:active { transform: scale(0.92); }
.LtrPrm-tile-btn.LtrPrm-active { background: #0284c7; color: #ffffff; border-color: #0369a1; box-shadow: 0 0 0 4px #bae6fd; }
#LtrPrm-display { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; padding: 32px; background: #f0f9ff; border: 2px solid #bae6fd; border-radius: 26px; box-sizing: border-box; font-family: 'Nunito', sans-serif; font-size: 68px; font-weight: 900; }
 
#LtrPrm-base-word { color: #0f172a; }
#LtrPrm-ext-banner { width: 100%; }
#LtrPrm-grow-btn { width: 100%; background: #059669; color: #ffffff; font-size: 24px; font-weight: 800; padding: 18px; border: none; border-radius: 20px; cursor: pointer; box-shadow: 0 4px 12px rgba(5,150,105,0.2); transition: background 0.2s; }
#LtrPrm-grow-btn:hover { background: #047857; }
#LtrPrm-meaning-box { width: 100%; min-height: 80px; background: #fffbeb; border: 2px solid #fde68a; border-radius: 22px; display: flex; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box; cursor: pointer; transition: all 0.2s ease; }
#LtrPrm-meaning-btn { font-size: 24px; font-weight: 800; color: #b45309; display: block; }
#LtrPrm-meaning-text { font-size: 28px; font-weight: 800; color: #451a03; text-align: center; display: none; }
#LtrPrm-meaning-box:hover #LtrPrm-meaning-btn { display: none; }
#LtrPrm-meaning-box:hover #LtrPrm-meaning-text { display: block; }
#LtrPrm-next-btn { width: 100%; background: #0284c7; color: #ffffff; font-size: 24px; font-weight: 800; padding: 18px; border: none; border-radius: 22px; cursor: pointer; box-shadow: 0 4px 12px rgba(2,132,199,0.2); transition: background 0.2s; }
#LtrPrm-next-btn:hover { background: #0369a1; }
.LtrPrm-hidden { display: none !important; }

