@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;0,800;0,900;1,800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }
body { background-color: #0d1217; color: #ffffff; font-size: 14px; min-height: 100vh; overflow-x: hidden; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0b0e14; }
::-webkit-scrollbar-thumb { background: #2a323d; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #ffcc00; }

a { text-decoration: none; color: #a3a3a3; transition: color 0.2s; }
a:hover { color: #ffffff; }
.app-container { display: flex; flex-direction: column; min-height: 100vh; }

/* HEADER */
.top-nav { display: flex; justify-content: space-between; align-items: center; background: #0a0d11; padding: 12px 30px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-left { display: flex; align-items: center; gap: 30px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 900; letter-spacing: 1px; color: #fff; text-transform: uppercase; cursor: pointer; }
.logo-icon { background: #ffcc00; color: #000; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 900; }
.nav-stats { display: flex; gap: 20px; color: #a3a3a3; font-weight: 600; font-size: 13px; align-items: center; }
.online-users { display: flex; align-items: center; gap: 6px; }
.dot-green { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; box-shadow: 0 0 10px #4ade80; }
.lang-select { background: transparent; color: #a3a3a3; border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 2px 5px; font-weight: bold; font-family: inherit; cursor: pointer; font-size: 12px; outline: none; }
.lang-select option { background: #12171c; color: #fff; }

.nav-center { display: flex; gap: 25px; font-weight: 700; font-size: 13px; }
.user-panel { display: flex; align-items: center; gap: 15px; }

.user-stat-pill { display: flex; align-items: center; gap: 5px; background: #12171c; padding: 6px 12px; border-radius: 20px; font-weight: 800; font-size: 13px; border: 1px solid rgba(255,255,255,0.05); }
.user-profile-trigger { display: flex; align-items: center; gap: 10px; background: #12171c; padding: 5px 15px 5px 5px; border-radius: 30px; cursor: pointer; border: 1px solid rgba(255,255,255,0.05); transition: 0.2s; }
.user-profile-trigger:hover { border-color: #ffcc00; }
.user-profile-trigger img { border-radius: 50%; border: 2px solid #4ade80; }
.user-profile-trigger .balance { color: #4ade80; font-weight: 900; font-size: 15px; }

.deposit-btn { background: #ffcc00; color: #0b0e13; border: none; padding: 8px 18px; font-weight: 900; font-size: 13px; border-radius: 20px; cursor: pointer; transition: 0.2s; text-transform: uppercase; }
.deposit-btn:hover { background: #ff8c00; transform: scale(1.05); }
.menu-dots-btn { background: none; border: none; color: #a3a3a3; font-size: 20px; cursor: pointer; padding: 0 10px;}
.menu-dots-btn:hover { color: #fff; }
.special-login-btn { background: #ffcc00; color: #000; padding: 10px 25px; font-weight: 900; border-radius: 20px; border: none; cursor: pointer; }

/* DROPDOWN MENU */
.user-dropdown-menu { position: absolute; top: 60px; right: 0; width: 280px; background: #1c222b; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.8); border: 1px solid rgba(255,255,255,0.05); display: none; flex-direction: column; padding: 20px; z-index: 1000; }
.dropdown-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.dropdown-avatar { position: relative; width: 50px; height: 50px; background: linear-gradient(135deg, #10b981, #059669); border-radius: 50%; padding: 2px; }
.dropdown-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.dropdown-lvl { position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); background: #7c92b5; color: #fff; font-size: 10px; font-weight: 900; padding: 1px 8px; border-radius: 10px; border: 2px solid #1c222b; }
.dropdown-info h4 { margin: 0; font-size: 16px; font-weight: 800; color: #fff; }
.dropdown-uid { font-size: 12px; color: #7c92b5; display: flex; align-items: center; gap: 5px; margin-top: 3px; font-weight: 600; }
.dropdown-refill { width: 100%; background: #ffcc00; color: #0b0e13; border: none; padding: 12px; font-weight: 900; font-size: 14px; border-radius: 20px; cursor: pointer; text-transform: uppercase; margin-bottom: 20px; transition: 0.2s;}
.dropdown-refill:hover { background: #ff8c00; transform: scale(1.03); }
.dropdown-menu-list { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.dropdown-menu-list li { display: flex; align-items: center; gap: 10px; color: #a3a3a3; font-weight: 700; font-size: 14px; padding: 12px 10px; border-radius: 6px; cursor: pointer; transition: 0.2s; }
.dropdown-menu-list li:hover { background: rgba(255,255,255,0.05); color: #fff; }
.dropdown-menu-list li .badge-green { margin-left: auto; background: rgba(74,222,128,0.2); color: #4ade80; padding: 2px 8px; border-radius: 12px; font-size: 11px; box-shadow: 0 0 10px rgba(74,222,128,0.3); }

/* SUB-NAV */
.sub-nav { display: flex; justify-content: center; gap: 40px; background: #12171c; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.sub-nav a { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; text-transform: uppercase; color: #a3a3a3; position: relative; }
.sub-nav a.active, .sub-nav a:hover { color: #ffcc00; }
.sub-nav a.active::after { content: ''; position: absolute; bottom: -16px; left: 0; width: 100%; height: 3px; background: #ffcc00; box-shadow: 0 0 10px #ffcc00; }

/* LIVE DROPS */
.live-drops-bar { display: flex; align-items: center; height: 90px; background: linear-gradient(90deg, #10151c, #0a0d11); overflow: hidden; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,0.02); }
.hd-item { display: inline-flex; flex-direction: column; justify-content: center; position: relative; padding: 10px 20px; height: 100%; border-right: 1px solid rgba(255,255,255,0.05); min-width: 180px; transition: 0.3s; background: rgba(0,0,0,0.2); }
.hd-item:hover { background: rgba(255,255,255,0.05); }
.hd-info { display: flex; flex-direction: column; z-index: 2; position: relative; }
.hd-rarity { font-size: 9px; font-weight: 900; text-transform: uppercase; color: #a3a3a3; margin-bottom: 2px; }
.hd-name { font-weight: 800; font-size: 11px; color: #fff; }
.hd-skin { font-weight: bold; font-size: 10px; }
.hd-img { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); max-width: 75px; max-height: 50px; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.8)); z-index: 1; }
.main-content { display: flex; flex-direction: column; }

/* HERO */
.hero-section { position: relative; width: 100%; min-height: 450px; background: linear-gradient(to bottom, rgba(13,18,23,0.3) 0%, #0d1217 100%), url('https://placehold.co/1920x600/1e293b/000?text=Background+Image') center/cover; display: flex; flex-direction: column; align-items: center; padding-top: 60px; margin-bottom: 150px; }
.hero-content { text-align: center; z-index: 2; }
.hero-title { font-size: 60px; font-weight: 900; font-style: italic; color: #fff; text-shadow: 3px 3px 0 #0066ff, -2px -2px 0 #ff004c; letter-spacing: 2px; margin-bottom: 10px; }
.hero-subtitle { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.hero-desc { color: #d1d5db; font-size: 15px; font-weight: 600; margin-bottom: 30px; line-height: 1.5; }
.hero-btn { background: #ffcc00; color: #000; border: none; padding: 15px 40px; font-size: 16px; font-weight: 900; border-radius: 30px; cursor: pointer; transition: 0.3s; box-shadow: 0 5px 20px rgba(255,204,0,0.4); text-transform: uppercase; }
.hero-btn:hover { transform: scale(1.05); background: #ff8c00; box-shadow: 0 8px 25px rgba(255,140,0,0.5); }

.hero-cases { position: absolute; bottom: -100px; left: 50%; transform: translateX(-50%); display: flex; justify-content: center; gap: 30px; width: 100%; max-width: 1200px; z-index: 5; }
.hero-case-card { display: flex; flex-direction: column; align-items: center; cursor: pointer; transition: 0.3s; position: relative; }
.hero-case-card:hover { transform: translateY(-15px); }
.hero-case-card img { width: 140px; height: 180px; object-fit: contain; position: relative; z-index: 2; filter: drop-shadow(0 15px 15px rgba(0,0,0,0.8)); }
.hc-glow { position: absolute; bottom: 40px; width: 80px; height: 20px; border-radius: 50%; filter: blur(20px); z-index: 1; }
.hc-name { font-weight: 900; font-size: 16px; margin-top: 5px; color: #fff; }
.hc-price { color: #ffcc00; font-weight: 900; font-size: 18px; margin-top: 5px; }

.section-divider { display: flex; justify-content: center; align-items: center; gap: 15px; margin: 20px 0 40px 0; }
.section-divider h2 { font-size: 28px; font-weight: 900; font-style: italic; }
.section-divider span { color: #ffcc00; font-size: 24px; font-weight: 900; }

.cases-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; max-width: 1400px; margin: 0 auto; padding: 0 40px; width: 100%; padding-bottom: 50px;}
.case-item { background: linear-gradient(180deg, #161d26 0%, #0d1217 100%); border: 1px solid rgba(255,255,255,0.05); border-bottom: 3px solid #ffcc00; border-radius: 8px; padding: 30px 20px; text-align: center; cursor: pointer; transition: 0.3s; position: relative; overflow: hidden; }
.case-item:hover { transform: translateY(-10px); border-color: #ffcc00; box-shadow: 0 15px 40px rgba(255, 204, 0, 0.15); }
.premium-glow, .gold-glow { position: absolute; top: -50px; left: 50%; transform: translateX(-50%); width: 150px; height: 150px; background: rgba(255, 215, 0, 0.2); filter: blur(40px); pointer-events: none; }
.case-item img { position: relative; z-index: 1; width: 100%; max-width: 160px; height: 130px; object-fit: contain; margin: 0 auto 15px auto; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5)); transition: 0.3s; }
.case-item:hover img { transform: scale(1.1); filter: drop-shadow(0 10px 20px rgba(255,255,255,0.1)); }
.case-info h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; color: #fff; text-transform: uppercase; }
.case-price { display: block; font-size: 18px; font-weight: 900; color: #4ade80; margin-bottom: 20px; }
.open-case-btn { background: rgba(255, 255, 255, 0.05); color: #fff; font-size: 13px; padding: 12px 0; font-weight: 800; cursor: pointer; width: 100%; border: none; transition: 0.2s; border-radius: 4px;}
.case-item:hover .open-case-btn { background: #ffcc00; color: #000; box-shadow: 0 0 15px rgba(255, 204, 0, 0.5); }

.battles-section, .battle-arena-section, .upgrade-section, .contract-section, .profile-section { max-width: 1400px; margin: 40px auto; padding: 0 40px; width: 100%; }
.buy-case-main-btn { background: linear-gradient(45deg, #ffcc00, #ff8c00); color: #0b0e13; border: none; padding: 15px 40px; font-size: 16px; font-weight: 900; cursor: pointer; transition: 0.3s; text-transform: uppercase; border-radius: 6px; }
.buy-case-main-btn:hover:not([disabled]) { transform: scale(1.05); box-shadow: 0 0 20px rgba(255, 204, 0, 0.5); }

.case-interior-section { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 1000px; margin: 40px auto; padding: 0 20px; }
.back-to-cases { background: transparent; color: #a3a3a3; font-weight: 900; font-size: 14px; border: none; cursor: pointer; margin-bottom: 20px; text-transform: uppercase; align-self: flex-start; }
.back-to-cases:hover { color: #ffcc00; }
.case-interior-header { background: radial-gradient(circle at 50% 0%, #161d26 0%, #0d1117 100%); padding: 50px 20px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 20px 50px rgba(0,0,0,0.5); margin-bottom: 40px; width: 100%; text-align: center; }
.case-contents-container { width: 100%; margin-top: 20px; }
.contents-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 15px; width: 100%; }
.content-skin-card { background: rgba(18,23,29,0.8); border: 1px solid rgba(255,255,255,0.05); border-radius: 6px; padding: 15px; text-align: center; position: relative; overflow: hidden; }
.content-skin-card img { max-width: 100%; height: 75px; object-fit: contain; margin-bottom: 12px; position: relative; z-index: 2; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5)); }
.content-skin-card p { font-size: 11px; font-weight: 800; margin-bottom: 5px; position: relative; z-index: 2; }
.drop-chance { display: block; font-size: 11px; color: #a3a3a3; position: relative; z-index: 2; }

/* PROFIL */
.prof-page-title { text-align: center; font-size: 28px; font-weight: 900; margin-bottom: 30px; margin-top: 10px; }
.prof-card-container { background: #1b212a; border-radius: 12px; max-width: 1100px; margin: 0 auto; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.prof-tabs-top { display: flex; background: #161c23; border-bottom: 1px solid rgba(255,255,255,0.05); }
.ptab { padding: 15px 30px; color: #a3a3a3; font-weight: 800; cursor: pointer; border-right: 1px solid rgba(255,255,255,0.05); transition: 0.2s; font-size: 13px; }
.ptab.active { background: #1b212a; color: #fff; border-top: 2px solid #ffcc00; }
.prof-card-main { display: flex; padding: 30px; position: relative; gap: 40px; }
.prof-card-left { flex: 1.5; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid rgba(255,255,255,0.05); padding-right: 40px; }
.prof-user-row { display: flex; gap: 20px; align-items: center; margin-bottom: 30px; }
.prof-avatar-wrapper { position: relative; width: 90px; height: 90px; border-radius: 50%; padding: 3px; background: linear-gradient(135deg, #10b981, #059669); }
.prof-avatar-wrapper img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #1b212a; }
.prof-lvl-badge { position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); background: #1b212a; color: #fff; font-weight: 900; padding: 2px 10px; border-radius: 12px; font-size: 12px; border: 2px solid #4ade80; }
.prof-info-block h3 { font-size: 20px; font-weight: 900; margin-bottom: 10px; display: flex; align-items: center; gap: 10px;}
.prof-uid { font-size: 11px; color: #a3a3a3; font-weight: 600; }
.prof-balances { display: flex; align-items: center; gap: 15px; margin-bottom: 10px; }
.prof-main-bal { color: #ffcc00; font-size: 22px; font-weight: 900; }
.prof-sec-bal { color: #fff; font-size: 16px; font-weight: bold; }
.prof-hold-balance { color: #ffcc00; font-size: 12px; font-weight: 700; }
.prof-progress-wrapper { width: 100%; }
.prof-progress-bar { width: 100%; height: 6px; background: #0f1318; border-radius: 3px; overflow: hidden; margin-top: 8px; }
.prof-progress-fill { width: 0%; height: 100%; background: #ffcc00; transition: width 0.5s;}
.prof-progress-text { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; color: #fff; }
.prof-card-right { flex: 1; display: flex; flex-direction: column; gap: 20px; justify-content: center;}
.prof-action-buttons { display: flex; flex-direction: column; gap: 10px; }
.prof-btn-yellow { background: #ffcc00; color: #000; border: none; padding: 12px; border-radius: 20px; font-weight: 900; cursor: pointer; text-transform: uppercase; font-size: 13px; transition: 0.2s;}
.prof-btn-yellow:hover { transform: scale(1.05); }
.prof-btn-purple { background: #6b46c1; color: #fff; border: none; padding: 12px; border-radius: 20px; font-weight: 900; cursor: pointer; text-transform: uppercase; font-size: 13px; display: flex; justify-content: center; align-items: center; gap: 10px; transition: 0.2s;}
.prof-btn-purple:hover { transform: scale(1.05); }
.badge-10 { background: #4ade80; color: #000; padding: 2px 6px; border-radius: 10px; font-size: 10px; }
.prof-faq-list { background: #161c23; border-radius: 8px; padding: 15px; }
.faq-tabs { display: flex; gap: 15px; margin-bottom: 15px; font-size: 12px; font-weight: 800; color: #a3a3a3; }
.faq-tabs span.active { color: #fff; }
.prof-faq-list ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.prof-faq-list li { color: #ffcc00; font-size: 12px; font-weight: 600; cursor: pointer; }
.prof-faq-list li span { margin-right: 5px; }
.logout-corner-btn { position: absolute; top: 15px; right: 15px; background: transparent; color: #a3a3a3; border: none; font-size: 18px; cursor: pointer; }
.logout-corner-btn:hover { color: #eb4b4b; }

.prof-tabs-bottom { display: flex; justify-content: center; gap: 40px; border-bottom: 1px solid rgba(255,255,255,0.05); margin-top: 40px; padding-bottom: 15px; }
.pbtab { font-size: 15px; color: #a3a3a3; cursor: pointer; font-weight: 800; text-transform: uppercase; position: relative; transition: 0.2s;}
.pbtab:hover { color: #fff; }
.pbtab.active { color: #ffcc00; }
.pbtab.active::after { content: ''; position: absolute; bottom: -16px; left: 0; width: 100%; height: 3px; background: #ffcc00; box-shadow: 0 0 10px #ffcc00; }

.inventory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }
.inventory-item { background: rgba(18,23,29,0.8); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; padding: 20px; text-align: center; transition: 0.3s; position: relative; overflow: hidden; }
.inventory-item:hover { transform: translateY(-5px); border-color: #4ade80; box-shadow: 0 10px 20px rgba(74, 222, 128, 0.1); }
.inventory-item img { max-width: 100%; height: 90px; object-fit: contain; margin-bottom: 15px; position: relative; z-index: 2; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5)); }
.inventory-price { display: block; color: #4ade80; font-weight: 900; font-size: 16px; margin: 10px 0; }
.sell-btn { background: rgba(235, 75, 75, 0.1); color: #eb4b4b; border: 1px solid #eb4b4b; padding: 10px 0; width: 100%; border-radius: 4px; font-weight: 900; cursor: pointer; transition: 0.2s; position: relative; z-index: 2; }
.sell-btn:hover { background: #eb4b4b; color: #fff; box-shadow: 0 0 15px rgba(235, 75, 75, 0.4); }

/* UPGRADE */
.upgrade-layout { display: flex; justify-content: center; align-items: center; gap: 50px; margin-top: 20px; }
.upgrade-box { width: 250px; height: 250px; border: 2px dashed #2a323d; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(18,23,29,0.5); text-align: center; padding: 20px; position: relative; overflow: hidden; }
.upgrade-box img { max-width: 100%; max-height: 110px; object-fit: contain; margin-bottom: 10px; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5)); }

.upgrade-roulette-wrapper { position: relative; width: 320px; height: 320px; margin: 0 auto; border-radius: 50%; border: 8px solid #1f2630; overflow: hidden; box-shadow: 0 0 50px rgba(0,0,0,0.8); }
.upgrade-wheel { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; background: conic-gradient(#4ade80 0% 50%, #eb4b4b 50% 100%); transition: transform 6s cubic-bezier(0.15, 0.9, 0.3, 1); }
.upgrade-wheel-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 230px; height: 230px; background: #0f1318; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 900; color: #fff; z-index: 2; border: 6px solid #1f2630; box-shadow: inset 0 0 30px rgba(0,0,0,0.8); }
.upgrade-pointer { position: absolute; top: -5px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 20px solid transparent; border-right: 20px solid transparent; border-top: 35px solid #fff; z-index: 3; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.8)); }

.upgrade-pickers { display: flex; gap: 40px; margin-top: 40px; }
.picker-column { flex: 1; background: #12171c; padding: 25px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
.picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; max-height: 450px; overflow-y: auto; padding-right: 10px; }
.picker-item { background: rgba(0,0,0,0.3); border: 1px solid #2a323d; border-radius: 8px; padding: 15px 10px; text-align: center; cursor: pointer; transition: 0.2s; position: relative; overflow: hidden; }
.picker-item img { max-width: 100%; height: 75px; object-fit: contain; margin-bottom: 10px; filter: drop-shadow(0 3px 8px rgba(0,0,0,0.4)); }
.picker-item.selected { border-color: #ffcc00; box-shadow: 0 0 15px rgba(255,204,0,0.2); }

/* BATTLES */
.battles-top-bar { display: flex; justify-content: space-between; align-items: center; background: #12171c; padding: 15px 25px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); }
.b-tab { background: #1a2028; border: 1px solid #2a323d; color: #a3a3a3; padding: 10px 20px; font-weight: 800; border-radius: 6px; cursor: pointer; }
.b-tab.active, .b-tab:hover { background: #ffcc00; color: #000; border-color: #ffcc00; }
.create-match-btn { background: #4ade80; color: #000; border: none; padding: 10px 20px; font-weight: 900; border-radius: 6px; cursor: pointer; text-transform: uppercase; }
.battle-card { background: #12171d; border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; padding: 15px 25px; display: flex; align-items: center; justify-content: space-between; margin-top: 15px; }

/* MODALS */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(11, 14, 20, 0.9); align-items: center; justify-content: center; backdrop-filter: blur(8px); }
.modal-content { background: #12171d; border: 1px solid rgba(255,255,255,0.1); padding: 40px; border-radius: 12px; width: 90%; max-width: 500px; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.8); }
.close-btn { color: #a3a3a3; position: absolute; top: 15px; right: 25px; font-size: 32px; font-weight: bold; cursor: pointer; }
.close-btn:hover { color: #fff; }
.custom-input { width: 100%; padding: 15px; background: rgba(0,0,0,0.3); border: 1px solid #2a323d; color: #fff; border-radius: 6px; margin-bottom: 20px; font-size: 15px; font-weight: 600; }
.custom-input:focus { border-color: #ffcc00; outline: none; }

/* BUTOANE DECONECTARE ANIMATE ȘI STILIZATE */
.btn-cancel { background: #2a323d; color: #fff; border: none; padding: 12px 25px; border-radius: 6px; cursor: pointer; transition: 0.2s; font-weight: 800; font-size: 14px; text-transform: uppercase; }
.btn-cancel:hover { background: #3f4a59; transform: translateY(-2px); }
.btn-danger { background: #eb4b4b; color: #fff; border: none; padding: 12px 25px; border-radius: 6px; cursor: pointer; transition: 0.2s; font-weight: 800; font-size: 14px; text-transform: uppercase; }
.btn-danger:hover { background: #ff5e5e; transform: translateY(-2px) scale(1.05); box-shadow: 0 5px 15px rgba(235, 75, 75, 0.4); }

/* WIDGET AI HELP */
.ai-chat-widget { position: fixed; bottom: 30px; right: 30px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; }
.ai-chat-toggle-btn { background: linear-gradient(45deg, #ffcc00, #ff8c00); color: #0b0e13; border: none; padding: 15px 25px; border-radius: 30px; font-weight: 900; font-size: 14px; cursor: pointer; box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
.ai-chat-window { width: 350px; max-width: 90vw; height: 450px; background: #12171d; border: 1px solid rgba(255, 204, 0, 0.5); border-radius: 12px; margin-bottom: 15px; display: flex; flex-direction: column; overflow: hidden; }
.ai-chat-header { background: #1a2028; border-bottom: 2px solid #ffcc00; padding: 15px; display: flex; justify-content: space-between; align-items: center; font-weight: 900; color: #ffcc00; }
.ai-chat-header button { background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; }
.ai-chat-messages { flex: 1; padding: 15px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { max-width: 85%; padding: 12px 15px; border-radius: 8px; font-size: 13px; font-weight: 600; line-height: 1.5; }
.bot-msg { background: rgba(255, 204, 0, 0.1); border-left: 3px solid #ffcc00; color: #fff; align-self: flex-start; border-bottom-left-radius: 0; }
.user-msg { background: rgba(74, 222, 128, 0.15); border-right: 3px solid #4ade80; color: #fff; align-self: flex-end; border-bottom-right-radius: 0; }
.ai-chat-input-area { display: flex; padding: 15px; background: #1a2028; gap: 10px; border-top: 1px solid rgba(255,255,255,0.05); }
#ai-chat-input { flex: 1; background: #0b0e14; border: 1px solid #2a323d; color: #fff; padding: 12px; border-radius: 6px; outline: none; }
#ai-chat-send { background: #ffcc00; border: none; width: 45px; border-radius: 6px; font-weight: 900; cursor: pointer; }

/* MISC TWEAKS */
.inline-roulette { width: 100%; min-height: 160px; background: #0b0e14; border: 2px solid #2a323d; border-radius: 8px; position: relative; display: flex; flex-direction: column; padding: 4px 0; overflow: hidden; }
.center-line-inline { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; background: #ffcc00; z-index: 10; transform: translateX(-50%); box-shadow: 0 0 15px #ffcc00; }
.roulette-track { display: flex; align-items: center; width: max-content; }
.skin-item { width: 150px; height: 140px; text-align: center; padding: 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.skin-item img { max-width: 110px; max-height: 80px; object-fit: contain; margin-bottom: 10px; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5)); }
.skin-item p { font-size: 12px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }

.custom-popup-overlay { display: flex; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(11, 14, 20, 0.85); align-items: center; justify-content: center; backdrop-filter: blur(8px); }
.custom-popup-box { background: #12171d; border: 1px solid rgba(255, 204, 0, 0.3); padding: 30px; border-radius: 12px; width: 90%; max-width: 420px; text-align: center; position: relative; }
.custom-popup-icon { font-size: 40px; margin-bottom: 15px; filter: drop-shadow(0 0 10px rgba(255,204,0,0.5)); }
.custom-popup-text { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 25px; }
.custom-popup-btn { background: linear-gradient(45deg, #ffcc00, #ff8c00); color: #0b0e13; border: none; padding: 12px 35px; font-size: 15px; font-weight: 900; border-radius: 6px; cursor: pointer; width: 100%; }
.custom-popup-input { width: 100%; padding: 12px; background: rgba(0,0,0,0.4); border: 1px solid #2a323d; color: #fff; border-radius: 6px; margin-bottom: 20px; text-align: center; outline: none; }

/* CONTRACTS */
.contract-layout { display: flex; gap: 40px; justify-content: center; align-items: flex-start; margin-top: 30px; }
.contract-arena { flex: 1.5; background: #12171c; padding: 30px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); text-align: center; }
.contract-slots-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; margin-bottom: 30px; }
.contract-slot { height: 100px; border: 2px dashed #2a323d; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.3); cursor: pointer; transition: 0.2s; position: relative; }
.contract-slot.filled { border: 2px solid #ffcc00; background: rgba(255,204,0,0.1); }
.contract-slot img { max-width: 80%; max-height: 60px; object-fit: contain; filter: drop-shadow(0 3px 5px rgba(0,0,0,0.5)); }
.contract-slot:hover { border-color: #eb4b4b; background: rgba(235,75,75,0.1); }
.contract-inventory { flex: 1; background: #12171c; padding: 25px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); max-height: 600px; overflow-y: auto; }