/* Navigation & Header */
.nav-bar { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid #e5e7eb; margin-bottom: 20px; }
.back-btn { text-decoration: none; color: #6b7280; font-size: 0.9rem; font-weight: 600; padding: 5px 10px; border-radius: 6px; transition: 0.2s; }
.back-btn:hover { background: #f3f4f6; color: #3b82f6; }
.logo { font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.logo span { color: #3b82f6; }

/* Main UI */
.main-counter-area { text-align: center; margin-bottom: 20px; }
.stat-label { display: block; font-size: 0.7rem; text-transform: uppercase; color: #9ca3af; font-weight: 700; margin-bottom: 5px; }
#wallet-count { font-size: 3.5rem; font-weight: 800; color: #1a1a1a; line-height: 1; }

#game-ui { background: #f9fafb; border-bottom: 1px solid #e5e7eb; }
.stats-row { display: flex; justify-content: space-around; padding: 15px; }
.stat-value { font-size: 1.2rem; font-weight: 700; color: #1a1a1a; }

/* Game Area */
#shrimp-area { height: 350px; background-color: #f0f7ff; position: relative; cursor: crosshair; overflow: hidden; }
#shrimp-target { position: absolute; width: 60px; height: auto; user-select: none; z-index: 10; cursor: pointer; transition: transform 0.1s; }
#shrimp-target.golden { filter: drop-shadow(0 0 15px gold); transform: scale(1.3); }

.subtle-info { position: absolute; right: 15px; top: 15px; text-align: right; pointer-events: none; z-index: 5; }
#lifetime-small, #pps-small, #gold-chance-small, #maintenance-small { font-size: 0.75rem; color: rgba(0,0,0,0.3); font-weight: 600; line-height: 1.3; }
.warning { color: rgba(220, 38, 38, 0.5) !important; }

/* Floating Numbers */
.floating-number {
    position: absolute; pointer-events: none; font-weight: 800; font-size: 1.2rem; color: #3b82f6; z-index: 20;
    animation: floatUp 0.8s ease-out forwards;
}
.floating-number.gold-text { color: #d4af37; font-size: 1.6rem; text-shadow: 0 0 10px rgba(212, 175, 55, 0.5); }
@keyframes floatUp { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(-100px); opacity: 0; } }

/* Overlays */
#congrats-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.95);
    z-index: 100; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px;
}
.hidden { display: none !important; }
.congrats-content h2 { color: #059669; font-size: 2rem; margin-bottom: 10px; }
.rewards { background: #f0fdf4; padding: 15px; border-radius: 10px; margin: 15px 0; border: 1px solid #bbf7d0; text-align: left; }
.rewards ul { list-style: none; padding: 0; color: #166534; font-weight: 600; margin-top: 5px; }
#next-level-btn { background: #3b82f6; color: white; border: none; padding: 12px 25px; border-radius: 8px; font-weight: 700; cursor: pointer; transition: 0.2s; }
#next-level-btn:hover { background: #2563eb; }

/* Progress & Shop */
.progress-section { padding: 20px; background: #fff; border-top: 1px solid #e5e7eb; }
.progress-info { display: flex; justify-content: space-between; font-size: 0.8rem; color: #4b5563; margin-bottom: 8px; }
.progress-bar-bg { width: 100%; height: 14px; background: #e5e7eb; border-radius: 10px; overflow: hidden; }
#progress-fill { width: 0%; height: 100%; background: linear-gradient(90deg, #3b82f6, #60a5fa); transition: width 0.3s ease; }

#shop { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 15px; background: #f9fafb; border-top: 1px solid #e5e7eb; }
.shop-btn { display: flex; flex-direction: column; padding: 12px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; cursor: pointer; text-align: center; }
.shop-btn:hover:not(:disabled) { border-color: #3b82f6; background: #f0f7ff; }
.btn-title { font-weight: 700; color: #1a1a1a; font-size: 0.85rem; }
.btn-price { color: #3b82f6; font-weight: 700; margin: 2px 0; font-size: 0.85rem; }
.next-gain { color: #059669; font-weight: 600; font-size: 0.75rem; margin-bottom: 2px; }
.upgrade-count { font-size: 0.65rem; color: #9ca3af; border-top: 1px dotted #e5e7eb; padding-top: 3px; }
.shop-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* SEO CONTENT SECTION STYLING */
.content-section { padding: 30px 20px; background: #fff; color: #4b5563; line-height: 1.6; }
.category-title { color: #1a1a1a; margin: 25px 0 10px; font-size: 1.25rem; border-left: 4px solid #3b82f6; padding-left: 15px; font-weight: 800; }
.instructions { list-style: disc; padding-left: 20px; margin: 15px 0; }
.instructions li { margin-bottom: 10px; }
.instructions strong { color: #1a1a1a; }