/* Disable text selection for UI elements but allow for content */ .header, .input-section h2, .crafting-list h2, .results-section h2, .btn, .checkbox-label, .remove-btn, .empty-state { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; } /* Allow text selection for important content users might want to copy */ .material-item, .crafting-item span, .deep-desert-indicator, input, select, textarea { -webkit-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #2c1810 0%, #8B4513 50%, #CD853F 100%); min-height: 100vh; color: #f4f4f4; padding: 20px; } .container { max-width: 1200px; margin: 0 auto; background: rgba(0, 0, 0, 0.8); border-radius: 15px; padding: 30px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); backdrop-filter: blur(10px); } .header { text-align: center; margin-bottom: 30px; } .header h1 { font-size: 2.5em; color: #D4AF37; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); margin-bottom: 10px; } .header p { color: #ccc; font-size: 1.1em; } .main-content { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 30px; } .input-section { background: rgba(139, 69, 19, 0.2); padding: 25px; border-radius: 12px; border: 2px solid rgba(212, 175, 55, 0.3); } .input-section h2 { color: #D4AF37; margin-bottom: 20px; font-size: 1.5em; } .form-group { margin-bottom: 20px; } label { display: block; margin-bottom: 8px; color: #f4f4f4; font-weight: 500; } /* Custom dropdown styles */ .custom-select { position: relative; width: 100%; } .select-input { width: 100%; padding: 12px; border: 2px solid #8B4513; border-radius: 8px; background: rgba(0, 0, 0, 0.6); color: #f4f4f4; font-size: 16px; transition: border-color 0.3s ease; cursor: pointer; } .select-input:focus { outline: none; border-color: #D4AF37; box-shadow: 0 0 10px rgba(212, 175, 55, 0.3); } .select-input.disabled { opacity: 0.6; cursor: not-allowed; } .selected-icon { width: 24px; height: 24px; margin-right: 8px; border-radius: 4px; border: 1px solid rgba(212, 175, 55, 0.3); vertical-align: middle; display: inline-block; } .selected-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; } .select-input::placeholder { color: #888; } .dropdown-arrow { position: absolute; right: 12px; top: 50%; transform: translateY(-50%) rotate(180deg); color: #D4AF37; pointer-events: none; transition: transform 0.3s ease; } .dropdown-arrow.open { transform: translateY(-50%) rotate(0deg); } .dropdown-list { position: absolute; top: 100%; left: 0; right: 0; background: rgba(0, 0, 0, 0.95); border: 2px solid #8B4513; border-top: none; border-radius: 0 0 8px 8px; max-height: 300px; overflow-y: auto; z-index: 1000; display: none; } /* Custom scrollbar for dropdown lists only */ .dropdown-list::-webkit-scrollbar { width: 12px; } .dropdown-list::-webkit-scrollbar-track { background: rgba(139, 69, 19, 0.2); border-radius: 6px; border: 1px solid rgba(212, 175, 55, 0.1); } .dropdown-list::-webkit-scrollbar-thumb { background: linear-gradient(135deg, #8B4513, #D4AF37); border-radius: 6px; border: 1px solid rgba(212, 175, 55, 0.3); transition: all 0.3s ease; } .dropdown-list::-webkit-scrollbar-thumb:hover { background: linear-gradient(135deg, #D4AF37, #FFD700); border-color: rgba(212, 175, 55, 0.6); box-shadow: 0 0 8px rgba(212, 175, 55, 0.4); } .dropdown-list::-webkit-scrollbar-thumb:active { background: linear-gradient(135deg, #FFD700, #D4AF37); } .dropdown-list::-webkit-scrollbar-corner { background: rgba(139, 69, 19, 0.2); } .dropdown-list.show { display: block; } .dropdown-group { border-bottom: 1px solid rgba(212, 175, 55, 0.2); } .dropdown-group:last-child { border-bottom: none; } .dropdown-group-header { padding: 10px 12px; background: rgba(139, 69, 19, 0.3); color: #D4AF37; font-weight: bold; font-size: 14px; border-bottom: 1px solid rgba(212, 175, 55, 0.2); } .dropdown-option { padding: 12px 20px; cursor: pointer; transition: background-color 0.2s ease; border-bottom: 1px solid rgba(212, 175, 55, 0.1); } .dropdown-option:last-child { border-bottom: none; } .dropdown-option:hover, .dropdown-option.highlighted { background: rgba(212, 175, 55, 0.2); } .dropdown-option.hidden { display: none; } .no-results { padding: 20px; text-align: center; color: #888; font-style: italic; } /* Original styles for other elements */ select, input[type="number"] { width: 100%; padding: 12px; border: 2px solid #8B4513; border-radius: 8px; background: rgba(0, 0, 0, 0.6); color: #f4f4f4; font-size: 16px; transition: border-color 0.3s ease; } select:focus, input[type="number"]:focus { outline: none; border-color: #D4AF37; box-shadow: 0 0 10px rgba(212, 175, 55, 0.3); } /* Custom number input spinner arrows */ input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } input[type="number"] { -moz-appearance: textfield; position: relative; } /* Custom spinner container */ .number-input-container { position: relative; display: inline-block; width: 100%; } .number-spinner { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 2px; } .spinner-btn { width: 20px; height: 16px; background: linear-gradient(135deg, #8B4513, #D4AF37); border: 1px solid rgba(212, 175, 55, 0.5); border-radius: 3px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; user-select: none; } .spinner-btn:hover { background: linear-gradient(135deg, #D4AF37, #FFD700); border-color: #FFD700; transform: scale(1.1); } .spinner-btn:active { transform: scale(0.95); } .spinner-btn::before { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; } .spinner-btn.up::before { border-bottom: 6px solid #fff; } .spinner-btn.down::before { border-top: 6px solid #fff; } .checkbox-group { display: flex; align-items: center; margin-bottom: 20px; cursor: pointer; padding: 15px; border-radius: 8px; background: rgba(139, 69, 19, 0.2); border: 2px solid rgba(212, 175, 55, 0.3); transition: all 0.3s ease; } .checkbox-group:hover { background: rgba(139, 69, 19, 0.3); border-color: rgba(212, 175, 55, 0.5); transform: translateY(-1px); } .checkbox-wrapper { position: relative; margin-right: 15px; } .checkbox-group input[type="checkbox"] { appearance: none; width: 24px; height: 24px; border: 2px solid #8B4513; border-radius: 4px; background: rgba(0, 0, 0, 0.6); cursor: pointer; position: relative; transition: all 0.3s ease; } .checkbox-group input[type="checkbox"]:hover { border-color: #D4AF37; box-shadow: 0 0 8px rgba(212, 175, 55, 0.3); } .checkbox-group input[type="checkbox"]:checked { background: linear-gradient(45deg, #8B4513, #D4AF37); border-color: #D4AF37; box-shadow: 0 0 12px rgba(212, 175, 55, 0.5); } .checkbox-group input[type="checkbox"]:checked::after { content: '✓'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: white; font-weight: bold; font-size: 16px; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); } .checkbox-label { font-weight: 500; color: #f4f4f4; font-size: 16px; cursor: pointer; user-select: none; } .checkbox-group:hover .checkbox-label { color: #D4AF37; } .btn { background: linear-gradient(45deg, #8B4513, #D4AF37); color: white; border: none; padding: 12px 24px; border-radius: 8px; cursor: pointer; font-size: 16px; font-weight: bold; transition: all 0.3s ease; text-transform: uppercase; } .btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4); } .btn:active { transform: translateY(0); } .crafting-list { background: rgba(139, 69, 19, 0.2); padding: 25px; border-radius: 12px; border: 2px solid rgba(212, 175, 55, 0.3); } .crafting-list h2 { color: #D4AF37; margin-bottom: 20px; font-size: 1.5em; } .crafting-item { background: rgba(0, 0, 0, 0.4); padding: 15px; border-radius: 8px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; border-left: 4px solid #D4AF37; } .crafting-item-info { display: flex; align-items: center; gap: 10px; } .placeable-image { width: 50px; height: 50px; border-radius: 4px; border: 1px solid rgba(212, 175, 55, 0.3); background: rgba(0, 0, 0, 0.4); object-fit: cover; } .placeable-image-fallback { width: 50px; height: 50px; border-radius: 4px; border: 1px solid rgba(212, 175, 55, 0.3); background: rgba(0, 0, 0, 0.4); display: flex; align-items: center; justify-content: center; font-size: 14px; } .crafting-item span { font-weight: 500; } .remove-btn { background: #dc3545; color: white; border: none; padding: 6px 12px; border-radius: 4px; cursor: pointer; font-size: 12px; transition: background 0.3s ease; } .remove-btn:hover { background: #c82333; } .results-section { background: rgba(0, 0, 0, 0.6); padding: 25px; border-radius: 12px; border: 2px solid #D4AF37; margin-top: 20px; } .results-section h2 { color: #D4AF37; margin-bottom: 20px; font-size: 1.8em; text-align: center; } .materials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; } .material-item { background: rgba(139, 69, 19, 0.3); padding: 15px; border-radius: 8px; border: 1px solid rgba(212, 175, 55, 0.5); display: flex; justify-content: space-between; align-items: center; } .material-info { display: flex; align-items: center; gap: 10px; } .material-image { width: 32px; height: 32px; border-radius: 4px; border: 1px solid rgba(212, 175, 55, 0.3); background: rgba(0, 0, 0, 0.4); object-fit: cover; } .material-image-fallback { width: 32px; height: 32px; border-radius: 4px; border: 1px solid rgba(212, 175, 55, 0.3); background: rgba(0, 0, 0, 0.4); display: flex; align-items: center; justify-content: center; font-size: 18px; } .material-name { font-weight: 500; color: #f4f4f4; } .material-quantity { font-weight: bold; color: #D4AF37; font-size: 1.1em; } .deep-desert-indicator { text-align: center; margin-bottom: 15px; padding: 10px; background: rgba(212, 175, 55, 0.2); border-radius: 8px; color: #D4AF37; font-weight: bold; } .empty-state { text-align: center; color: #888; font-style: italic; padding: 40px; } .contact-section { background: rgba(139, 69, 19, 0.2); padding: 25px; border-radius: 12px; border: 2px solid rgba(212, 175, 55, 0.3); margin-top: 30px; } .contact-section h2 { color: #D4AF37; margin-bottom: 10px; font-size: 1.8em; text-align: center; } .contact-section p { text-align: center; color: #ccc; margin-bottom: 25px; font-size: 1.1em; } .contact-form { max-width: 600px; margin: 0 auto; } .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; } .contact-form .form-group { margin-bottom: 20px; } .contact-form label { display: block; margin-bottom: 8px; color: #f4f4f4; font-weight: 500; } .contact-form input, .contact-form textarea { width: 100%; padding: 12px; border: 2px solid #8B4513; border-radius: 8px; background: rgba(0, 0, 0, 0.6); color: #f4f4f4; font-size: 16px; transition: border-color 0.3s ease; font-family: inherit; resize: vertical; } .contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #D4AF37; box-shadow: 0 0 10px rgba(212, 175, 55, 0.3); } .contact-form textarea { min-height: 100px; } .contact-btn { width: 100%; position: relative; margin-bottom: 15px; } .contact-btn:disabled { background: #666; cursor: not-allowed; transform: none; } .contact-btn:disabled:hover { box-shadow: none; transform: none; } .btn-loading { display: none; } .contact-status { text-align: center; padding: 10px; border-radius: 8px; margin-bottom: 10px; display: none; } .contact-status.success { background: rgba(40, 167, 69, 0.2); border: 1px solid #28a745; color: #28a745; display: block; } .contact-status.error { background: rgba(220, 53, 69, 0.2); border: 1px solid #dc3545; color: #dc3545; display: block; } .cooldown-timer { text-align: center; color: #D4AF37; font-weight: bold; padding: 10px; background: rgba(212, 175, 55, 0.1); border-radius: 8px; border: 1px solid rgba(212, 175, 55, 0.3); } .footer { margin-top: 30px; padding: 20px 0; border-top: 1px solid rgba(212, 175, 55, 0.3); text-align: center; } .footer-content { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .footer-content p { color: #ccc; font-size: 14px; margin: 0 0 15px 0; } .footer-content strong { color: #D4AF37; font-weight: bold; } .social-links { display: flex; justify-content: center; gap: 15px; margin-top: 15px; } .social-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; position: relative; overflow: hidden; } .social-link.discord { background: #5865F2; box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3); } .social-link.youtube { background: #FF0000; box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3); } .social-link:hover { transform: translateY(-5px) scale(1.1); box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5); } .social-link::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent); transition: left 0.5s ease; } .social-link:hover::before { left: 100%; } .social-icon { width: 24px; height: 24px; fill: white; animation: float 3s ease-in-out infinite; z-index: 2; position: relative; } .discord .social-icon { animation-delay: 0s; } .youtube .social-icon { animation-delay: 1.5s; } .social-link:hover .social-icon { animation: bounce 0.6s ease; } @keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-3px); } } @keyframes bounce { 0%, 20%, 60%, 100% { transform: translateY(0); } 40% { transform: translateY(-8px); } 80% { transform: translateY(-4px); } } @media (max-width: 768px) { .main-content { grid-template-columns: 1fr; } .container { padding: 20px; } .header h1 { font-size: 2em; } .form-row { grid-template-columns: 1fr; gap: 0; } } .power-section { background: rgba(139, 69, 19, 0.2); padding: 28px 24px 24px 24px; border-radius: 14px; border: 2px solid rgba(212, 175, 55, 0.3); margin-bottom: 32px; max-width: 680px; margin-left: auto; margin-right: auto; box-shadow: 0 2px 12px rgba(0,0,0,0.08); margin-top: 32px; } .power-section h2 { color: #FFD700; text-align: center; font-size: 1.7em; margin-bottom: 18px; font-weight: bold; letter-spacing: 0.5px; } .power-summary { text-align: center; font-size: 1.15em; margin-bottom: 18px; color: #fff; } .power-sources-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; } .power-source-row { display: flex; align-items: center; gap: 16px; background: rgba(212,175,55,0.08); border-radius: 8px; padding: 12px 16px; } .power-source-info { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 220px; } .power-source-icon { width: 64px; height: 64px; margin-right: 6px; display: inline-block; vertical-align: middle; } .power-source-name { font-weight: bold; color: #FFD700; font-size: 1em; white-space: nowrap; } .power-info-icon { font-size: 0.75em; color: #aaa; cursor: help; position: relative; transition: all 0.2s; flex-shrink: 0; background: rgba(255, 255, 255, 0.1); border: 1px solid #aaa; border-radius: 50%; width: 14px; height: 14px; display: inline-flex; align-items: center; justify-content: center; font-weight: bold; vertical-align: middle; } .power-info-icon:hover { color: #FFD700; border-color: #FFD700; background: rgba(212, 175, 55, 0.2); transform: scale(1.1); } .power-source-watt { color: #aaa; font-size: 0.9em; white-space: nowrap; flex-shrink: 0; } .power-source-btn { background: rgba(0, 0, 0, 0.6); color: #FFD700; border: 2px solid #8B4513; border-radius: 8px; padding: 8px 16px; font-size: 1.2em; cursor: pointer; font-weight: bold; transition: border-color 0.3s, background 0.2s, color 0.2s; flex-shrink: 0; min-width: 36px; } .power-source-btn:hover { background: rgba(139, 69, 19, 0.18); color: #FFD700; border-color: #D4AF37; } .power-source-qty { min-width: 40px; display: inline-block; text-align: center; font-weight: bold; color: #FFD700; font-size: 1.2em; flex-shrink: 0; } .power-bar-container { background: #222; border-radius: 8px; overflow: hidden; height: 32px; border: 2px solid #FFD700; margin-bottom: 8px; position: relative; } .power-bar { height: 100%; width: 0%; background: linear-gradient(90deg,#28a745,#FFD700); transition: width 0.5s; position: absolute; left: 0; top: 0; bottom: 0; } .power-bar-insufficient { background: linear-gradient(90deg,#dc3545,#FFD700) !important; color: #fff !important; } .power-status-ok { color: #28a745; font-size: 1.18em; text-align: center; margin-top: 10px; } .power-status-bad { color: #dc3545; font-size: 1.18em; text-align: center; margin-top: 10px; } .power-bar-label { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.1em; color: #fff; pointer-events: none; z-index: 2; } .power-bar-label-insufficient { color: #fff; } .runtime-section { margin: 18px 0; padding: 16px; background: rgba(212,175,55,0.05); border-radius: 8px; border: 1px solid rgba(212,175,55,0.2); } .runtime-input-group { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; } .runtime-input-group label { color: #FFD700; font-weight: bold; font-size: 1em; white-space: nowrap; } .runtime-input-group input { background: rgba(0,0,0,0.4); border: 2px solid #8B4513; border-radius: 6px; padding: 8px 12px; color: #fff; font-size: 1em; width: 80px; } .runtime-input-group input:focus { border-color: #FFD700; outline: none; } .runtime-input-group input:disabled { background: rgba(0,0,0,0.3) !important; border-color: #666 !important; color: #999 !important; cursor: not-allowed !important; } .auto-balance-btn { background: linear-gradient(135deg, #28a745, #20c997); color: white; border: none; border-radius: 8px; padding: 12px 20px; font-size: 1em; font-weight: bold; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3); width: 100%; } .auto-balance-btn:hover { background: linear-gradient(135deg, #218838, #1e7e34); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4); } .auto-balance-btn:active { transform: translateY(0); } .auto-balance-btn:disabled { background: #666 !important; cursor: not-allowed !important; transform: none !important; opacity: 0.5 !important; } .auto-balance-btn:disabled:hover { background: #666 !important; transform: none !important; box-shadow: none !important; } .fuel-consumption { color: #20c997; font-size: 0.95em; font-style: italic; } .power-toast { position: fixed; top: 20px; right: 20px; padding: 12px 20px; border-radius: 8px; color: white; font-weight: bold; font-size: 0.95em; z-index: 10000; transform: translateX(100%); opacity: 0; transition: all 0.3s ease; max-width: 300px; box-shadow: 0 4px 12px rgba(0,0,0,0.3); } .power-toast.show { transform: translateX(0); opacity: 1; } .power-toast-success { background: linear-gradient(135deg, #28a745, #20c997); } .power-toast-info { background: linear-gradient(135deg, #17a2b8, #6f42c1); } .power-toast-error { background: linear-gradient(135deg, #dc3545, #fd7e14); } .power-tooltip { position: fixed; background: rgba(0, 0, 0, 0.9); color: #FFD700; padding: 8px 12px; border-radius: 6px; font-size: 0.85em; max-width: 250px; z-index: 10001; opacity: 0; transform: translateY(5px); transition: all 0.2s ease; pointer-events: none; border: 1px solid rgba(212, 175, 55, 0.4); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); line-height: 1.3; } .power-tooltip.show { opacity: 1; transform: translateY(0); } @media (max-width: 600px) { .power-section { padding: 14px 4px 16px 4px; max-width: 98vw; } .power-section h2 { font-size: 1.2em; } .power-summary { font-size: 1em; } .power-sources-list { gap: 10px; } .power-source-row { flex-wrap: wrap; gap: 8px; padding: 12px 8px; } .power-source-info { gap: 6px; flex: 1 1 100%; min-width: 150px; } .runtime-section { padding: 12px 8px; } .runtime-input-group { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 16px; } .runtime-input-group input { width: 100px; } .auto-balance-btn { padding: 14px 16px; font-size: 0.95em; } .power-toast { right: 10px; top: 10px; max-width: calc(100vw - 20px); font-size: 0.9em; } .power-tooltip { max-width: calc(100vw - 20px); font-size: 0.8em; } .power-source-icon { width: 28px; height: 28px; margin-bottom: 2px; } .power-source-name { font-size: 1em; } .power-source-watt { font-size: 0.95em; } .power-source-btn { font-size: 1.2em; padding: 8px 14px; min-width: 40px; } .power-source-qty { font-size: 1.1em; min-width: 32px; } .power-source-watt { order: -1; flex: 1 1 100%; margin-bottom: 4px; font-size: 0.9em; } .power-bar-container { height: 26px; } .power-bar-label { font-size: 1em; } } #visitorCounter { position: fixed; right: 18px; bottom: 18px; background: rgba(0,0,0,0.85); color: #FFD700; font-size: 1.1em; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; padding: 8px 18px; border-radius: 16px; border: 2px solid #8B4513; z-index: 9999; box-shadow: 0 2px 8px rgba(0,0,0,0.18); letter-spacing: 0.5px; min-width: 90px; text-align: center; user-select: none; } @media (max-width: 600px) { #visitorCounter { right: 8px; bottom: 8px; font-size: 0.98em; padding: 6px 10px; border-radius: 10px; min-width: 60px; } } /* Custom Notification Modal */ .notification-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; z-index: 10000; opacity: 0; visibility: hidden; transition: all 0.3s ease; } .notification-overlay.show { opacity: 1; visibility: visible; } .notification-modal { background: linear-gradient(135deg, rgba(139, 69, 19, 0.95) 0%, rgba(0, 0, 0, 0.95) 100%); border: 2px solid #D4AF37; border-radius: 15px; padding: 30px 40px; max-width: 400px; width: 90%; text-align: center; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8); transform: scale(0.7) translateY(-50px); transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); position: relative; overflow: hidden; } .notification-overlay.show .notification-modal { transform: scale(1) translateY(0); } .notification-modal::before { content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), transparent); animation: shimmer 3s ease-in-out infinite; pointer-events: none; } @keyframes shimmer { 0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); } 50% { transform: translateX(100%) translateY(100%) rotate(45deg); } 100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); } } .notification-icon { font-size: 3em; margin-bottom: 15px; display: block; animation: pulse 2s ease-in-out infinite; } @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } } .notification-title { color: #D4AF37; font-size: 1.3em; font-weight: bold; margin-bottom: 15px; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); } .notification-message { color: #f4f4f4; font-size: 1.1em; line-height: 1.4; margin-bottom: 25px; } .notification-buttons { display: flex; gap: 15px; justify-content: center; } .notification-btn { background: linear-gradient(45deg, #8B4513, #D4AF37); color: white; border: none; padding: 12px 25px; border-radius: 8px; cursor: pointer; font-size: 1em; font-weight: bold; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 0.5px; min-width: 80px; } .notification-btn:hover { background: linear-gradient(45deg, #D4AF37, #FFD700); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4); } .notification-btn:active { transform: translateY(0); } .notification-btn.secondary { background: linear-gradient(45deg, #666, #999); } .notification-btn.secondary:hover { background: linear-gradient(45deg, #777, #aaa); } @media (max-width: 600px) { .notification-modal { padding: 25px 30px; max-width: 350px; } .notification-icon { font-size: 2.5em; } .notification-title { font-size: 1.2em; } .notification-message { font-size: 1em; } .notification-buttons { flex-direction: column; } .notification-btn { padding: 14px 20px; } } /* Ore Refinery Calculator Specific Styles */ .ore-refinery-settings { margin-bottom: 20px; } .refinery-selection { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 20px; } .refinery-option { position: relative; } .refinery-icon { width: 32px; height: 32px; margin-right: 10px; border-radius: 4px; border: 1px solid rgba(212, 175, 55, 0.3); vertical-align: middle; } .refinery-icon-fallback { width: 32px; height: 32px; margin-right: 10px; border-radius: 4px; border: 1px solid rgba(212, 175, 55, 0.3); background: rgba(0, 0, 0, 0.4); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; vertical-align: middle; } .material-option { margin-bottom: 12px; } .material-icon { width: 28px; height: 28px; margin-right: 8px; border-radius: 4px; border: 1px solid rgba(212, 175, 55, 0.3); vertical-align: middle; } .material-icon-fallback { width: 28px; height: 28px; margin-right: 8px; border-radius: 4px; border: 1px solid rgba(212, 175, 55, 0.3); background: rgba(0, 0, 0, 0.4); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; vertical-align: middle; } .refinery-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 20px 0; } .refinery-card { background: rgba(139, 69, 19, 0.3); border: 2px solid rgba(212, 175, 55, 0.4); border-radius: 10px; padding: 15px; transition: all 0.3s ease; } .refinery-card:hover { border-color: rgba(212, 175, 55, 0.6); background: rgba(139, 69, 19, 0.4); transform: translateY(-2px); } .refinery-card.selected { border-color: #D4AF37; background: rgba(212, 175, 55, 0.2); box-shadow: 0 0 15px rgba(212, 175, 55, 0.3); } .refinery-card h3 { color: #D4AF37; margin: 0 0 10px 0; font-size: 1.2em; } .refinery-efficiency { background: rgba(40, 167, 69, 0.1); border: 1px solid rgba(40, 167, 69, 0.3); border-radius: 6px; padding: 8px 12px; margin: 10px 0; color: #28a745; font-size: 0.9em; font-weight: bold; } .recipe-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 15px 0; padding: 15px; background: rgba(0, 0, 0, 0.3); border-radius: 8px; border: 1px solid rgba(212, 175, 55, 0.2); } .recipe-stat { text-align: center; padding: 8px; border-radius: 6px; background: rgba(212, 175, 55, 0.1); } .recipe-stat-label { font-size: 0.8em; color: #ccc; margin-bottom: 5px; } .recipe-stat-value { font-size: 1.1em; font-weight: bold; color: #D4AF37; } .efficiency-badge { display: inline-block; background: linear-gradient(135deg, #28a745, #20c997); color: white; padding: 4px 8px; border-radius: 12px; font-size: 0.75em; font-weight: bold; margin-left: 8px; } .time-savings { color: #28a745; font-weight: bold; font-size: 0.9em; margin-top: 5px; } .material-savings { color: #17a2b8; font-weight: bold; font-size: 0.9em; margin-top: 5px; } /* Enhanced material items for ore refinery */ .ore-material-item { background: rgba(139, 69, 19, 0.2); border: 1px solid rgba(212, 175, 55, 0.3); border-radius: 8px; padding: 12px; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; transition: all 0.2s ease; } .ore-material-item:hover { background: rgba(139, 69, 19, 0.3); border-color: rgba(212, 175, 55, 0.5); transform: translateX(3px); } .ore-material-info { display: flex; align-items: center; gap: 12px; } .ore-material-icon { width: 36px; height: 36px; border-radius: 6px; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; font-size: 18px; border: 1px solid rgba(212, 175, 55, 0.3); } .ore-material-name { font-weight: 500; color: #f4f4f4; font-size: 1em; } .ore-material-quantity { font-weight: bold; color: #D4AF37; font-size: 1.1em; min-width: 40px; text-align: right; } /* Results section enhancements */ .calculation-summary { background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(139, 69, 19, 0.1)); border: 2px solid rgba(212, 175, 55, 0.4); border-radius: 12px; padding: 20px; margin-bottom: 20px; text-align: center; } .summary-title { color: #D4AF37; font-size: 1.3em; font-weight: bold; margin-bottom: 15px; } .summary-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; } .summary-stat { background: rgba(0, 0, 0, 0.4); border-radius: 8px; padding: 12px; border: 1px solid rgba(212, 175, 55, 0.2); } .summary-stat-icon { font-size: 1.5em; margin-bottom: 5px; } .summary-stat-value { font-size: 1.2em; font-weight: bold; color: #D4AF37; margin-bottom: 3px; } .summary-stat-label { font-size: 0.9em; color: #ccc; } @media (max-width: 768px) { .refinery-selection { grid-template-columns: 1fr; } .refinery-comparison { grid-template-columns: 1fr; } .recipe-comparison { grid-template-columns: 1fr; } .summary-stats { grid-template-columns: 1fr; } .ore-material-item { padding: 10px; } .ore-material-icon { width: 32px; height: 32px; font-size: 16px; } .refinery-icon { width: 28px; height: 28px; } .refinery-icon-fallback { width: 28px; height: 28px; font-size: 16px; } .material-icon { width: 24px; height: 24px; margin-right: 6px; } .material-icon-fallback { width: 24px; height: 24px; margin-right: 6px; font-size: 14px; } } /* NEW ORE REFINERY CALCULATOR STYLES */ .recipe-preview { background: rgba(139, 69, 19, 0.2); border: 2px solid rgba(212, 175, 55, 0.4); border-radius: 10px; padding: 20px; margin-bottom: 15px; } .recipe-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; } .recipe-icon { width: 48px; height: 48px; border-radius: 6px; border: 1px solid rgba(212, 175, 55, 0.3); } .recipe-icon-fallback { width: 48px; height: 48px; border-radius: 6px; border: 1px solid rgba(212, 175, 55, 0.3); background: rgba(0, 0, 0, 0.4); display: flex; align-items: center; justify-content: center; font-size: 24px; } .recipe-header h3 { color: #D4AF37; margin: 0; font-size: 1.3em; } .recipe-header p { color: #ccc; margin: 5px 0 0 0; font-size: 0.9em; } .recipe-stats { display: flex; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; } .stat { display: flex; align-items: center; gap: 8px; background: rgba(0, 0, 0, 0.3); padding: 8px 12px; border-radius: 6px; border: 1px solid rgba(212, 175, 55, 0.2); } .stat-icon { font-size: 1.2em; } .stat-value { font-weight: bold; color: #D4AF37; } .stat-label { color: #ccc; font-size: 0.9em; } .recipe-ingredients h4 { color: #D4AF37; margin: 0 0 10px 0; font-size: 1.1em; } .ingredients-list { display: flex; flex-direction: column; gap: 8px; } .ingredient-item { display: flex; align-items: center; gap: 12px; background: rgba(0, 0, 0, 0.2); padding: 10px; border-radius: 6px; border: 1px solid rgba(212, 175, 55, 0.1); } .ingredient-icon { width: 28px; height: 28px; border-radius: 4px; border: 1px solid rgba(212, 175, 55, 0.3); } .ingredient-icon-fallback { width: 28px; height: 28px; border-radius: 4px; border: 1px solid rgba(212, 175, 55, 0.3); background: rgba(0, 0, 0, 0.4); display: flex; align-items: center; justify-content: center; font-size: 16px; } .ingredient-name { flex: 1; color: #f4f4f4; font-weight: 500; } .ingredient-amount { color: #D4AF37; font-weight: bold; min-width: 30px; text-align: right; } .materials-breakdown h4 { color: #D4AF37; margin: 0 0 15px 0; font-size: 1.2em; } .efficiency-note { background: rgba(212, 175, 55, 0.1); border: 1px solid rgba(212, 175, 55, 0.3); border-radius: 8px; padding: 15px; margin-top: 20px; text-align: center; } .efficiency-note p { margin: 5px 0; color: #f4f4f4; } .efficiency-note p:first-child { color: #D4AF37; font-weight: bold; }