:root { --main-bg: #121313; --card-bg: #181e17; --accent: #1b7427; --accent-dark: #0c3f17; --accent-light: #27c46a; --text: #fff; --text-muted: #cccccc; --border-radius: 12px; --transition: 0.2s; --max-content-width: 1200px; } html, body { margin: 0; padding: 0; box-sizing: border-box; background: var(--main-bg); color: var(--text); font-family: 'Segoe UI', Arial, sans-serif; overflow-x: hidden; width: 100vw; } body { min-height: 100vh; } .section { max-width: var(--max-content-width); margin: 0 auto; width: 100%; } .navbar { width: 100vw; background: #181e17ea; display: flex; justify-content: space-between; align-items: center; padding: 12px 12vw 12px 32px; position: fixed; top: 0; left: 0; z-index: 100; min-width: 290px; box-sizing: border-box; } .nav-left .logo { font-weight: bold; font-size: 1.3em; letter-spacing: 1px; white-space:nowrap; cursor: pointer; user-select: none; } .ver-tag { background: linear-gradient(90deg, #27c46a, #1b7427 80%); color: #fff; font-size: 0.85em; padding: 2px 8px; border-radius: 6px; margin-left: 8px; font-weight: 700; box-shadow: 0 2px 8px #1b742732; } .flag { width: 24px; vertical-align: middle; margin-right: 4px; } .lang-selector { position: relative; cursor: pointer; user-select: none; display: inline-flex; align-items: center; gap: 3px; z-index: 200; } .lang-arrow { display: inline-block; margin-left: 2px; font-size: 0.9em; pointer-events: none; } .lang-dropdown { position: absolute; top: 115%; left: 0; background: #191e19; border-radius: 10px; box-shadow: 0 2px 14px #000b; min-width: 135px; z-index: 999; padding: 8px 0; opacity: 0; pointer-events: none; transform: translateY(-10px) scale(0.98); transition: opacity .28s cubic-bezier(.6,.3,.4,1.1), transform .28s cubic-bezier(.6,.3,.4,1.1); will-change: opacity, transform; } .lang-dropdown.animated { animation-duration: 0.3s; animation-fill-mode: both; } .lang-dropdown:not(.hidden) { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); } .lang-dropdown .lang-option { padding: 10px 18px; color: #fff; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 1em; transition: background 0.14s; border-radius: 6px; } .lang-dropdown .lang-option:hover { background: #1b7427cc; } .hidden { display: none !important; } .nav-right { display: flex; align-items: center; gap: 10px; margin-right: 0; } .nav-link { color: #fff; text-decoration: none; font-size: 1em; margin: 0 2px; transition: color var(--transition); white-space:nowrap; } .nav-link:hover { color: var(--accent-light); } .btn-auth { background: linear-gradient(90deg, #27c46a, #1b7427 80%); color: #fff; border: none; border-radius: var(--border-radius); padding: 8px 18px; font-size: 1em; cursor: pointer; margin-left: 3px; display: flex; align-items: center; transition: background var(--transition); font-weight: 600; box-shadow: 0 2px 12px #0007; } .btn-auth:hover { background: linear-gradient(90deg, #1b7427 30%, #27c46a 100%); color: #fff; } .auth-icon { font-size: 1.2em; margin-right: 6px; } main { padding-top: 64px; min-height: 100vh; background: var(--main-bg); width: 100vw; box-sizing: border-box; transition: opacity 0.5s; } .main-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 80px 4vw 40px 4vw; background: linear-gradient(90deg, #121313 30%, transparent 70%); min-height: 440px; position: relative; overflow: visible; width: 100%; } .header-content { max-width: 380px; min-width: 280px; z-index: 1; animation: fadeInLeft 1s; } .header-content h1 { font-size: 2.6em; margin: 0 0 10px 0; animation: floatUp 0.8s; } .header-content p { font-size: 1.2em; color: var(--text-muted); animation: fadeIn 1.1s; } .header-btns { margin-top: 36px; display: flex; gap: 16px; animation: fadeIn 1.2s; } .btn-buy, .btn-read { font-size: 1em; padding: 10px 26px; border: none; border-radius: var(--border-radius); margin-right: 0; cursor: pointer; transition: background var(--transition), color var(--transition), transform .13s; font-weight: 500; opacity: 0.93; } .btn-buy { background: linear-gradient(90deg, #27c46a, #1b7427 80%); color: #fff; box-shadow: 0 2px 12px #0007; } .btn-buy:hover { background: linear-gradient(90deg, #1b7427 30%, #27c46a 100%); color: #fff; transform: scale(1.07); box-shadow: 0 6px 24px #27c46a55; } .btn-read { background: #232923; color: #fff; } .btn-read:hover { background: var(--accent-dark); color: var(--accent-light); transform: scale(1.07); } .header-image { flex: 1; display: flex; justify-content: flex-end; align-items: flex-end; min-width: 220px; z-index: 0; } .hero-img { height: 350px; opacity: 0.96; filter: none; box-shadow: none; } .advantages { padding: 15px 4vw 15px 4vw; } .advantages h2 { font-size: 2em; margin-bottom: 2px; } .advantages p { color: var(--text-muted); margin-bottom: 18px; } .adv-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; max-width: 100%; } .adv-card { background: var(--card-bg); border-radius: var(--border-radius); padding: 18px 12px; color: var(--text); font-size: 1em; box-shadow: 0 4px 24px #0004; transition: transform var(--transition), box-shadow .25s; opacity: 0; transform: translateY(30px); animation: advCardIn 1.2s forwards; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; height: 100%; min-width: 0; } .adv-card > b { margin-bottom: 6px; margin-top: 2px; text-align: center; } .adv-card > p { text-align: center; font-size: 0.98em; } .adv-card:nth-child(1) {animation-delay: .15s;} .adv-card:nth-child(2) {animation-delay: .25s;} .adv-card:nth-child(3) {animation-delay: .35s;} .adv-card:nth-child(4) {animation-delay: .45s;} .adv-card:nth-child(5) {animation-delay: .55s;} .adv-card:hover { transform: translateY(-8px) scale(1.045); box-shadow: 0 10px 36px #27c46a33, 0 2px 18px #0005; } @keyframes advCardIn { 0% {opacity:0; transform: translateY(30px);} 100% {opacity:1; transform: none;} } .adv-icon { font-size: 1.8em; margin-bottom: 10px; filter: drop-shadow(0 0 6px #27c46a55); animation: iconBounce 2s infinite alternate; } @keyframes iconBounce { 0% {transform: translateY(0);} 100% {transform: translateY(-7px);} } .video-section { padding: 40px 4vw 10px 4vw; } .video-section h2 { font-size: 2em; } .video-section p { color: var(--text-muted); margin-bottom: 24px; } .video-container { display: flex; justify-content: center; align-items: center; margin-bottom: 20px; animation: fadeIn 1.3s; } .stats { display: flex; justify-content: center; gap: 32px; padding: 32px 0 60px 0; background: #181e1710; width: 100%; max-width: var(--max-content-width); margin: 0 auto; } .stat-card { background: var(--card-bg); border-radius: var(--border-radius); padding: 17px 30px; min-width: 150px; text-align: center; font-size: 1em; box-shadow: 0 4px 20px #0002; display: flex; align-items: center; gap: 16px; opacity: 0; transform: scale(0.93) translateY(20px); animation: statCardIn 1s forwards; } .stat-card:nth-child(1) {animation-delay: .1s;} .stat-card:nth-child(2) {animation-delay: .25s;} .stat-card:nth-child(3) {animation-delay: .4s;} .stat-card:nth-child(4) {animation-delay: .55s;} @keyframes statCardIn { 0% {opacity:0; transform: scale(0.93) translateY(20px);} 100% {opacity:1; transform: none;} } .stat-icon { font-size: 2em; color: var(--accent-light); filter: drop-shadow(0 0 8px #27c46a55); transition: color .2s; } .stat-card:hover .stat-icon { color: var(--accent); } .stat-num { font-size: 1.2em; font-weight: bold; color: var(--accent-light); } footer { background: #111212; color: var(--text-muted); padding: 40px 4vw; width: 100%; min-width: 250px; } .footer-nav { display: flex; justify-content: space-between; flex-wrap: wrap; max-width: var(--max-content-width); margin: 0 auto; } .footer-nav ul { list-style-type: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 7px; } .footer-nav a { color: var(--text); text-decoration: none; transition: color var(--transition); } .footer-nav a:hover { color: var(--accent-light); } .products-section { padding: 70px 4vw 40px 4vw; max-width: var(--max-content-width); margin: 0 auto; } .products-section h2 { text-align: center; font-size: 2em; margin-bottom: 38px; } .products-grid { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; } .product-card { background: var(--card-bg); border-radius: var(--border-radius); padding: 18px 24px 30px 24px; text-align: center; min-width: 210px; max-width: 260px; box-shadow: 0 4px 24px #0002; display: flex; flex-direction: column; align-items: center; margin-bottom: 24px; opacity: 0; transform: translateY(40px) scale(0.97); animation: productCardIn 1.1s forwards; } .product-card:nth-child(1) {animation-delay: .1s;} .product-card:nth-child(2) {animation-delay: .23s;} .product-card:nth-child(3) {animation-delay: .36s;} .product-card:nth-child(4) {animation-delay: .49s;} @keyframes productCardIn { 0% {opacity:0; transform: translateY(40px) scale(0.97);} 100% {opacity:1; transform: none;} } .product-card:hover { transform: scale(1.035); box-shadow: 0 10px 32px #27c46a33, 0 2px 18px #0005; } .product-img { width: 96px; height: 42px; object-fit: contain; margin-bottom: 12px; border-radius: 6px; background: #242824; } .auth-center { display: flex; justify-content: center; align-items: center; min-height: 70vh; background: var(--main-bg); margin-top: 60px; } .auth-box { display: flex; flex-direction: column; align-items: center; min-width: 300px; background: var(--card-bg); padding: 32px 26px; border-radius: var(--border-radius); box-shadow: 0 6px 28px #0007; opacity: 0; transform: scale(0.98) translateY(30px); animation: authIn 1.17s forwards; } @keyframes authIn { 0% {opacity:0; transform: scale(0.98) translateY(30px);} 100% {opacity:1; transform: none;} } .auth-input { width: 220px; margin: 12px 0; padding: 10px 12px; border-radius: 7px; border: none; font-size: 1em; background: #222; color: #fff; } .auth-actions { display: flex; gap: 18px; margin-top: 12px; } .btn-auth-action { background: linear-gradient(90deg, #27c46a, #1b7427 80%); color: #fff; padding: 8px 20px; border: none; border-radius: var(--border-radius); font-size: 1em; cursor: pointer; transition: background var(--transition), box-shadow .2s; box-shadow: 0 2px 6px #0005; font-weight: 600; } .btn-auth-action:hover { background: linear-gradient(90deg, #1b7427 30%, #27c46a 100%); color: #fff; box-shadow: 0 8px 18px #27c46a44; } .captcha-box { margin: 8px 0 0 0; display: flex; align-items: center; gap: 12px; } .captcha-code { font-family: 'Cascadia Mono', 'Consolas', monospace; font-size: 1.2em; letter-spacing: 5px; padding: 7px 14px; background: linear-gradient(90deg,#252,#191); color: #fff; border-radius: 8px; box-shadow: 0 2px 8px #0004; user-select: none; text-shadow: 0 1px 4px #2f2 0.7; font-weight: bold; } .captcha-input { width: 90px; padding: 8px; border-radius: 6px; border: none; background: #232; color: #fff; font-size: 1em; } .captcha-reload { padding: 4px 10px; border-radius: 6px; border: none; background: #2c2; color: #fff; font-size: 1.1em; cursor: pointer; transition: background .14s; } .captcha-reload:hover { background: #1b7427; } ::-webkit-scrollbar { width: 8px; background: #222; } ::-webkit-scrollbar-thumb { background: #283d29; border-radius: 8px; } /* ----------- USER PANEL STYLES ----------- */ .user-panel-center { display: flex; justify-content: center; align-items: flex-start; min-height: 80vh; margin-top: 40px; background: transparent; } .user-box { min-width: 340px; background: var(--card-bg); border-radius: var(--border-radius); box-shadow: 0 6px 32px #0007; padding: 40px 32px 32px 32px; display: flex; flex-direction: column; align-items: center; } .user-row { width: 100%; display: flex; justify-content: space-between; font-size: 1.08em; margin: 10px 0; } .user-btns { display: flex; gap: 17px; margin: 32px 0 0 0; width: 100%; justify-content: center; flex-wrap: wrap; } .btn-user { background: linear-gradient(90deg, #27c46a, #1b7427 80%); color: #fff; border: none; border-radius: var(--border-radius); padding: 10px 26px; font-size: 1em; cursor: pointer; font-weight: 500; box-shadow: 0 2px 12px #0007; margin-bottom: 8px; transition: background .18s, box-shadow .18s, transform .14s; } .btn-user:hover { background: linear-gradient(90deg, #1b7427 30%, #27c46a 100%); color: #fff; transform: scale(1.07); box-shadow: 0 8px 22px #27c46a55; } /* ----------- MODAL ----------- */ .modal-bg { position: fixed; z-index: 3000; top:0;left:0;right:0;bottom:0; background: rgba(15,18,16,0.80); transition: background .22s; animation: fadeIn .2s; } .modal { position: fixed; z-index: 4000; top: 50%; left: 50%; transform: translate(-50%,-60%) scale(0.98); min-width: 320px; max-width: 96vw; background: var(--card-bg); border-radius: 20px; box-shadow: 0 12px 60px #000b; padding: 32px 32px 28px 32px; opacity: 0; pointer-events: none; transition: opacity .18s, transform .19s; } .modal-in { opacity: 1; transform: translate(-50%,-50%) scale(1); pointer-events: auto; } .modal-title { font-size: 1.25em; font-weight: 700; margin-bottom: 12px; text-align: center; color: var(--accent-light); } .modal-info { font-size: 1em; color: var(--text-muted); margin-bottom: 18px; text-align: center; } .modal-input { width: 93%; margin: 8px 0 12px 0; padding: 10px 14px; border-radius: 8px; border: none; font-size: 1em; background: #242824; color: #fff; outline: none; transition: box-shadow .16s; } .btn-modal, .btn-admin-modal { background: linear-gradient(90deg, #27c46a, #1b7427 80%); color: #fff; border: none; border-radius: 10px; padding: 9px 22px; font-size: 1em; cursor: pointer; font-weight: 500; box-shadow: 0 2px 12px #0007; margin: 8px 4px 2px 4px; transition: background .17s, box-shadow .17s, transform .13s; } .btn-modal:hover, .btn-admin-modal:hover { background: linear-gradient(90deg, #1b7427 30%, #27c46a 100%); color: #fff; transform: scale(1.07); box-shadow: 0 8px 16px #27c46a44; } .btn-modal-close { background: #222c; color: #fff !important; } .btn-modal-close:hover { background: #2b2b2b; color: #fff; } .modal-msg { text-align: center; margin-top: 12px; font-size: 1em; color: #e74c3c; min-height: 22px; } .admin-modal-btns { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; justify-content: center; } #admin-modal-content { margin-top: 12px; min-height: 60px; } /* ----------- RESPONSIVE ----------- */ @media (max-width: 1200px) { .adv-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } } @media (max-width: 950px) { .navbar, main, .footer-nav, .section { min-width: 290px; max-width: 99vw; box-sizing: border-box; } .main-header { flex-direction: column; padding: 70px 2vw 24px 2vw; align-items: flex-start; } .header-image { display: none; } .footer-nav { flex-direction: column; gap: 30px; align-items: start; } .stats { flex-direction: column; gap: 18px; } .products-grid { flex-direction: column; gap: 18px; align-items: center; } .adv-grid { grid-template-columns: 1fr; } .user-box { min-width: 92vw; padding: 28px 3vw; } .modal { min-width: 75vw; padding: 18px 2vw 16px 2vw; } } @media (max-width: 600px) { .lang-dropdown { min-width: 95px; } .user-box { min-width: 98vw !important; padding: 14px 2vw 12px 2vw; } .modal { min-width: 98vw; } } /* ----------- ANIMATIONS ----------- */ @keyframes fadeIn { from {opacity:0;} to {opacity:1;} } @keyframes fadeInLeft { from {opacity:0; transform:translateX(-40px);} to {opacity:1; transform:none;} } @keyframes floatUp { 0% {opacity:0; transform:translateY(40px);} 100% {opacity:1; transform:none;} }