* { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-tap-highlight-color: transparent; }

body, html { width: 100%; min-height: 100%; background-color: #0b0b0f; background-image: url('assets/bg.png'); background-size: cover; background-position: center top; background-attachment: fixed; color: #ffffff; padding-bottom: 70px; }

.glass-container { display: flex; flex-direction: column; min-height: 100dvh; width: 100%; max-width: 1200px; margin: 0 auto; padding: 15px; background: rgba(15, 15, 20, 0.4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); gap: 15px; }

.panel { display: flex; flex-direction: column; justify-content: center; }
.guide-panel { background: rgba(0, 0, 0, 0.5); border-radius: 16px; padding: 20px; border: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 20px;}

.app-rating { text-align: center; color: #ffd700; font-size: 14px; font-weight: bold; margin-bottom: 10px; background: rgba(0,0,0,0.3); padding: 8px; border-radius: 20px;}

.image-wrapper { display: flex; justify-content: center; align-items: center; overflow: hidden; margin-bottom: 12px; border-radius: 12px; }
.hero-img-wrapper { max-height: 30vh; }
.fit-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }

.hero-text { text-align: center; margin-bottom: 15px; }
.hero-text h1 { font-size: 24px; color: #ff3b30; text-transform: uppercase; margin-bottom: 5px; }
.hero-text p { font-size: 14px; color: #ccc; }

.guide-panel h3 { text-align: center; font-size: 18px; margin-bottom: 15px; color: #ffd700; }

/* Аккуратные шаги вместо агрессивной инструкции */
.step-clean { display: flex; align-items: center; margin-bottom: 12px; background: rgba(255,255,255,0.05); padding: 10px; border-radius: 10px;}
.step-num { width: 28px; height: 28px; background: #ff3b30; color: #fff; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: bold; margin-right: 12px; flex-shrink: 0; }
.step-clean p { font-size: 14px; line-height: 1.4; color: #ddd; }
.step-clean b { color: #ffd700; }

.promo-box { background: linear-gradient(135deg, #1e1e24 0%, #15151a 100%); border: 2px dashed #1ed760; border-radius: 12px; padding: 12px; text-align: center; cursor: pointer; margin-bottom: 15px; position: relative; transition: all 0.3s ease; }
.promo-box:active { transform: scale(0.97); background: rgba(30, 215, 96, 0.2); }
.promo-box p { font-size: 12px; color: #aaa; margin-bottom: 4px; }
.promo-box strong { font-size: 26px; color: #fff; letter-spacing: 2px; }
.copy-hint { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); background: #1ed760; color: #000; padding: 4px 8px; border-radius: 8px; font-size: 12px; font-weight: bold; }

.btn { position: relative; overflow: hidden; width: 100%; background: linear-gradient(90deg, #ff3b30 0%, #ff6b00 100%); color: white; border: none; padding: 18px; font-size: 20px; font-weight: 900; border-radius: 50px; cursor: pointer; text-transform: uppercase; box-shadow: 0 4px 20px rgba(255, 59, 48, 0.4); transition: transform 0.2s ease; margin-bottom: 8px; }
.btn:active { transform: scale(0.95); }
.btn::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%); transform: skewX(-25deg); animation: shimmer 3s infinite; }

.trust-payments { text-align: center; font-size: 12px; color: #888; }

/* Sticky Bottom Bar */
.sticky-bottom-bar { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(15, 15, 20, 0.98); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; z-index: 999; border-top: 1px solid rgba(255, 255, 255, 0.1); transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.sticky-bottom-bar.visible { transform: translateY(0); }
.sticky-code { font-size: 14px; color: #aaa; }
.sticky-code b { font-size: 18px; color: #1ed760; letter-spacing: 1px; }
.mini-btn { padding: 10px 20px; font-size: 16px; width: auto; margin-bottom: 0; box-shadow: none; }

@keyframes shimmer { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }

@media (min-width: 768px) {
    body, html { overflow: hidden; padding-bottom: 0; }
    .glass-container { flex-direction: row; justify-content: space-between; padding: 40px; border-radius: 24px; height: 90vh; min-height: 90vh; margin-top: 5vh; gap: 40px; }
    .panel { height: 100%; overflow: hidden; }
    .info-panel { flex: 0 0 50%; justify-content: center; padding-bottom: 0; gap: 15px;}
    .guide-panel { flex: 0 0 40%; padding: 30px; margin-bottom: 0; display: flex; flex-direction: column; justify-content: center;}
    .hero-img-wrapper { flex: 0 0 35vh; margin-bottom: 0; }
    .guide-img-wrapper { flex: 1; margin-bottom: 0; height: 100%; }
    .fit-img { height: 100%; width: auto; object-fit: contain; }
    .sticky-bottom-bar { display: none; }
}