:root {
  --primary-color: #4a6bff;
  --secondary-color: #f5f7ff;
  --accent-color: #ff6b6b;
  --text-color: #333;
  --light-text: #666;
  --border-color: #ddd;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1560px;
  min-width: 1240px;
  margin: 20px auto;
 color: var(--text-color);
}

.container * {
  box-sizing: border-box;
}

header {
  text-align: center;
  margin-bottom: 25px;
}

header h1 {
  font-size: 32px;
  margin-bottom: 5px;
}

header p {
  font-size: 18px;
  font-weight: 300;
  max-width: 95%;
  margin: 0 auto;
  line-height: 1.6;
}

.timer-selector {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

.timer-option {
  padding: 8px 24px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 15px;
  opacity: 0.85;
}

.timer-option:hover {
  background: var(--secondary-color);
}

.timer-option.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.stats-container {
  display: flex;
  justify-content: space-around;
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: var(--shadow);
}

.stat-box {
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 1rem;
  color: var(--light-text);
}

.click-area-container {
  position: relative;
  margin-bottom: 25px;
}

.click-area {
  height: 300px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.1s;
}

.click-area-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--light-text);
  z-index: 2;
}

.click-area.active .click-area-text {
  color: var(--primary-color);
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(74, 107, 255, 0.15);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.records-container {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: var(--shadow);
}

.records-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.records-title {
  font-size: 1.35rem;
  font-weight: 600;
}

.record-actions {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: #3a5bef;
}

.btn-danger {
  background: var(--accent-color);
  color: white;
}

.btn-danger:hover {
  background: #e05a5a;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  background: var(--secondary-color);
  font-weight: 600;
}

tr:hover {
  background: var(--secondary-color);
}

.footer-content {
  margin-bottom: 25px;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
}

.footer-title {
  font-size: 1.35rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.footer-section {
  margin-bottom: 20px;
}

.footer-section:last-child{
  margin-bottom: 0;
}

.footer-section h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.footer-section p {
  margin-bottom: 10px;
  opacity: 0.8;
  font-size: 14px;
}

footer {
  text-align: center;
  opacity: 0.85;
}
