* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Poppins', sans-serif; } .container { width: 100%; display: flex; flex-wrap: wrap; gap: 15px; margin: 0 auto; } .card, .summary-result { width: 100%; max-width: 300px; padding: 20px; border-radius: 15px; background: linear-gradient(145deg, #23232f, #2e2e3e); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); } .header h1 { font-size: 20px; text-align: center; color: #e0e0e0; margin-bottom: 18px; letter-spacing: 1px; } .section-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; } .section-header h2 { font-size: 16px; color: #666; } button, .reset-all { padding: 7px 14px; font-size: 13px; border: none; border-radius: 8px; cursor: pointer; background-color: #2872fa; color: #fff; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); transition: all 0.3s ease; font-weight: bold; } button:hover, .reset-all:hover { background-color: #1559ed; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); } .speedup-group, .summary-table { display: flex; flex-direction: column; gap: 12px; } .speedup-item, .summary-item { display: flex; align-items: center; gap: 8px; } .label-box { display: flex; justify-content: center; align-items: center; min-width: 60px; height: 35px; background: #2872fa; color: #fff; font-size: 14px; border-radius: 8px; font-weight: bold; } input, .summary-item .value-box { flex-grow: 1 !important; padding: 7px !important; font-size: 14px !important; border: none !important; border-radius: 10px !important; background: #33334d !important; color: #fff !important; text-align: left !important; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4) !important; } input::placeholder, input[readonly]::placeholder { color: rgba(255, 255, 255, 0.5); } input:focus { outline: none; background: #3a3a5a; box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6); } .result, #healing .result, #universal .result { margin-top: 18px; font-size: 16px; color: #e0e0e0; } .result span, #healing .result span, #universal .result span { color: #ffcc66; font-weight: bold; font-size: 16px; } input[readonly] { cursor: default; } @media (max-width: 600px) { .container { flex-direction: column; padding: 12px; } .card { max-width: 100%; } .speedup-item { flex-direction: row; } input { width: 100%; } } .title-summary { color: #9370db; } .title-building { color: #dc3545; } .title-research { color: #28a745; } .title-training { color: #2872fa; } .title-healing { color: #ffc107; } .title-universal { color: #f08080; } #building .label-box { background: #dc3545; } #research .label-box { background: #28a745; } #training .label-box { background: #2872fa; } #healing .label-box { background: #ffc107; color: #333; } #universal .label-box { background: #f08080; } #summary .label-box { background: #9370db; } .reset-all-summary { background: #9370db; color: #fff; } .reset-all-summary:hover { background: #805bb8; } .reset-building { background: #dc3545; color: #fff; } .reset-building:hover { background: #b22a36; } .reset-research { background: #28a745; color: #fff; } .reset-research:hover { background: #208a37; } .reset-training { background: #2872fa; color: #fff; } .reset-training:hover { background: #1f5bc7; } .reset-healing { background: #ffc107; color: #333; } .reset-healing:hover { background: #d6a006; } .reset-universal { background: #f08080; color: #fff; } .reset-universal:hover { background: #d07070; } #total-seconds-building, #total-minutes-building, #total-hours-building, #total-days-building { color: #dc3545; } #total-seconds-research, #total-minutes-research, #total-hours-research, #total-days-research { color: #28a745; } #total-seconds-training, #total-minutes-training, #total-hours-training, #total-days-training { color: #2872fa; } #total-seconds-healing, #total-minutes-healing, #total-hours-healing, #total-days-healing { color: #ffc107; } #total-seconds-universal, #total-minutes-universal, #total-hours-universal, #total-days-universal { color: #f08080; } #total-seconds-summary, #total-minutes-summary, #total-hours-summary, #total-days-summary { color: #9370db; } #summary .section-header .reset-all { background: #9370db; } #summary .section-header .reset-all:hover { background: #805bb8; } #building .section-header .reset { background: #dc3545; } #building .section-header .reset:hover { background: #b22a36; } #research .section-header .reset { background: #28a745; } #research .section-header .reset:hover { background: #208a37; } #training .section-header .reset { background: #2872fa; } #training .section-header .reset:hover { background: #1f5bc7; } #healing .section-header .reset { background: #ffc107; color: #333; } #healing .section-header .reset:hover { background: #d6a006; } #universal .section-header .reset { background: #f08080; } #universal .section-header .reset:hover { background: #d07070; } button { padding: 7px 14px; font-size: 13px; border: none; border-radius: 8px; cursor: pointer; color: #fff; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); transition: all 0.3s ease; font-weight: bold; } button:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); } .summary-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 20px 0; padding: 10px; border-radius: 10px; } .summary-card { display: flex; flex-direction: column; justify-content: center; align-items: center; padding-top: 20px; border: 3px solid #202020; border-radius: 8px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); text-align: center; color: #fff; } .summary-card.total { background: #33334d; } .summary-card.total .summary-label { color: #ffffff; } .summary-card.total .summary-value { background: rgba(147, 112, 219, 0.8); color: #ffffff; } .summary-card.bu { background: #33334d; } .summary-card.bu .summary-label { color: #ffffff; } .summary-card.bu .summary-value { background: rgba(220, 53, 69, 0.8); color: #ffffff; } .summary-card.ru { background: #33334d; } .summary-card.ru .summary-label { color: #ffffff; } .summary-card.ru .summary-value { background: rgba(40, 167, 69, 0.8); color: #ffffff; } .summary-card.tu { background: #33334d; } .summary-card.tu .summary-label { color: #ffffff; } .summary-card.tu .summary-value { background: rgba(40, 114, 250, 0.8); color: #ffffff; } .summary-card.hu { background: #33334d; } .summary-card.hu .summary-label { color: #fff; } .summary-card.hu .summary-value { background: rgba(255, 193, 7, 0.8); color: #fff; } .summary-label { font-size: 18px; font-weight: bold; text-transform: uppercase; margin-bottom: 10px; letter-spacing: 1px; } .summary-value { font-size: 20px; font-weight: bold; padding: 5px 10px; border-radius: 5px; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); } .summary-value:hover { transform: scale(1.05); transition: all 0.3s ease; } .result { margin-top: 20px; font-size: 16px; color: #e0e0e0; border: 3px solid #202020; border-radius: 10px; padding: 20px 0 0 20px; line-height: 0.3; background: linear-gradient(145deg, #23232f, #2e2e3e); box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3); white-space: nowrap; overflow-x: auto; max-width: 100%; } .result-line { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: bold; font-size: 18px; color: #f5f5f5; } .result-line:last-child { margin-bottom: 0; } .result-label { color: #ffa500; text-transform: uppercase; letter-spacing: 1px; } .result-value { color: #ffcc66; font-size: 20px; padding: 3px 8px; border-radius: 5px; background: rgba(255, 255, 255, 0.1); text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); } .result-value:hover { background: rgba(255, 255, 255, 0.2); transform: scale(1.05); transition: all 0.3s ease; }