/* Базовые настройки */
html, body {
  margin: 0;
  padding: 0;
  font-size: 17px;
  font-family: 'Open Sans', sans-serif;
  background-color: #f7f7f7;
  color: #264653;
}

/* Navbar */
.navbar {
  background-color: #264653;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.navbar .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: #e9c46a;
}
.navbar .nav-link {
  color: #a8dadc !important;
  font-weight: 600;
  transition: color 0.2s;
}
.navbar .nav-link:hover {
  color: #e9c46a !important;
}
.navbar .nav-link.active {
  color: #e76f51 !important;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #2a9d8f 0%, #e9c46a 100%);
  padding: 8rem 0;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.25rem;
  color: #264653;
  margin-bottom: 1.5rem;
}

/* Countdown */
#countdown {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.time-block {
  margin: 0 1.25rem;
  text-align: center;
}
.time-number {
  font-size: 3rem;
  font-weight: 700;
  color: #264653;
}
.time-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(38,70,83,0.7);
}

/* Buttons */
.btn-warning {
  background-color: #e76f51;
  border: none;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(231,111,81,0.3);
  transition: transform 0.1s;
}
.btn-warning:hover {
  transform: translateY(-2px);
}
.btn-secondary {
  background-color: #ffffff;
  color: #2a9d8f;
  border: 2px solid #2a9d8f;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover {
  background-color: #2a9d8f;
  color: #ffffff;
}
#lotto {
  background-color: #CAF0F8;
  border-radius: 0.5rem;
}
#system-entry {
  background: linear-gradient(135deg, #e76f51 0%, #2a9d8f 100%);
  border-radius: 0.5rem;
  margin: 2rem 0;
  padding: 3rem 0;
}
#system-entry h2 {
  color: #f1faee;
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
}
#system-entry h3 {
  color: #f1faee;
  font-weight: 600;
}
#system-entry p,
#system-entry li {
  color: rgba(241,250,238,0.9);
}
.system-card {
  background: rgba(241,250,238,0.85);
  border-radius: 0.5rem;
}
.system-card .table thead th {
  background-color: #264653;
  color: #f1faee;
  border: none;
}
.system-card .table td {
  border-top: none;
  color: #264653;
}
/* Container styling */
#game-play-section {
  background-color: #CAF0F8;
  border-radius: 0.5rem;
  margin: 2rem 0;
  padding: 2rem 0;
}

/* Cards */
#game-play-section .game-card,
#game-play-section .basket-card {
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Step labels */
#game-play-section .game-step div {
  font-weight: 600;
  color: #264653;
  margin-bottom: 0.25rem;
}

#game-play-section .game-step-number {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  background-color: #2A9D8F;
  color: #fff;
  border-radius: 50%;
  margin-right: 0.5rem;
}

/* Select dropdowns */
#gp_playMode,
#gp_numGames {
  font-size: 0.95rem;
}

/* Number table */
.game-number-table {
  border-collapse: separate;
  border-spacing: 0.5rem;
  margin-top: 1rem;
}

.game-number-table td {
  width: 3rem;
  height: 2.5rem;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #2A9D8F;
  border-radius: 0.35rem;
  color: #264653;
  transition: background 0.2s, color 0.2s;
}

.game-number-table td:hover {
  background-color: #2A9D8F;
  color: #fff;
}

.game-number-table td.active {
  background-color: #E76F51;
  color: #fff;
}

/* Buttons */
#game-play-section .btn-warning {
  background-color: #E76F51;
  border: none;
  font-weight: 600;
}

#game-play-section .btn-secondary {
  background-color: #264653;
  color: #fff;
  border: none;
}

/* Basket styling */
#game-play-section .basket-card h4 {
  color: #264653;
  font-family: 'Playfair Display', serif;
}

#game-play-section .basket-total {
  font-size: 1.5rem;
  font-weight: 700;
  color: #E76F51;
  text-align: right;
}

#gp_totalAmount {
  display: block;
  margin-top: 0.5rem;
  font-size: 2rem;
}
#join-benefits {
  background-color: #264653;
  border-radius: 0.5rem;
  margin: 2rem 0;
  padding: 4rem 0;
}

.join-benefits__title {
  color: #e76f51;
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
}

.join-benefits__card {
  background-color: #ffffff;
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.join-benefits__heading {
  color: #264653;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.join-benefits__text {
  color: #264653;
  opacity: 0.85;
  font-size: 0.95rem;
  line-height: 1.5;
}
#join-benefits {
  background: linear-gradient(120deg, #1b3b5f 0%, #226f63 50%, #48a9a6 100%);
  border-radius: 0.5rem;
  margin: 2rem 0;
  padding: 4rem 0;
}
#bundle-section {
  background-color: #f1faee;
  border-radius: 0.5rem;
  margin: 2rem 0;
  padding: 3rem 0;
}
#bundle-section h2 {
  color: #264653;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
}
.bundle-card {
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, border-color 0.2s;
}
.bundle-card:hover {
  transform: translateY(-4px);
}
.bundle-card.selected {
  border: 2px solid #e76f51;
}
.bundle-card__qty {
  font-size: 1.25rem;
  font-weight: 600;
  color: #264653;
}
.bundle-card__price {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #2a9d8f;
}
.bundle-card__btn {
  width: 100%;
  font-weight: 600;
}
.bundle-card.selected .bundle-card__btn {
  background-color: #e76f51;
  border-color: #e76f51;
  color: #fff;
}
.bundle-total {
  font-size: 1.25rem;
  font-weight: 600;
  color: #264653;
}
#bundle_total {
  font-size: 1.75rem;
  color: #e76f51;
}
#bundle_add_btn {
  background-color: #e76f51;
  border: none;
  font-weight: 600;
}
#syndicate-info {
  background: linear-gradient(180deg, #CAF0F8 0%, #E0F7FA 100%);
  border-radius: 0.5rem;
  margin: 2rem 0;
  padding: 4rem 0;
}

#syndicate-info h2 {
  color: #264653;
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
}

.info-item {
  background: #ffffff;
  border-left: 4px solid #e76f51;
  border-radius: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.info-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.info-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e76f51;
  color: #fff;
  border-radius: 50%;
  font-size: 1.25rem;
}

.info-title {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #264653;
}

.info-text {
  color: rgba(38,70,83,0.85);
  font-size: 0.95rem;
  line-height: 1.5;
}
#promo-block {
  background: linear-gradient(135deg, #f7fafc 0%, #e2e8f0 100%);
  border-radius: 0.5rem;
  margin: 2rem 0;
  padding: 3rem 1rem;
}

.promo-block__title {
  color: #264653;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
}

.promo-bundle-card {
  border: none;
  border-radius: 0.75rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
}

.promo-bundle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.promo-bundle-card.selected {
  border: 2px solid #2a9d8f;
}

.promo-bundle-card__heading {
  color: #264653;
  font-weight: 700;
  font-size: 1.25rem;
}

.promo-bundle-card__qty {
  color: #2a9d8f;
  font-weight: 600;
}

.promo-bundle-card__price {
  color: #264653;
  font-size: 1rem;
}

.promo-bundle-card__btn {
  background-color: #2a9d8f;
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: background 0.2s;
}

.promo-bundle-card.selected .promo-bundle-card__btn {
  background-color: #e76f51;
}

.promo-bundle-card__btn:hover {
  background-color: #1f6f72;
}

.promo-block__divider {
  border-color: #ccdacf;
}

.promo-block__summary {
  color: #264653;
  font-size: 1.25rem;
  font-weight: 600;
}

#promo-block-total {
  font-size: 1.75rem;
  margin-left: 0.5rem;
  color: #2a9d8f;
}

.promo-block__add-btn {
  background-color: #264653;
  color: #fff;
  border: none;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  transition: background 0.2s;
}

.promo-block__add-btn:hover {
  background-color: #1b2f3d;
}
.mla-footer {
  background: linear-gradient(135deg, #264653 0%, #2a9d8f 60%, #e76f51 100%);
  color: #f1faee;
  font-size: 0.9rem;
}

.mla-footer-top {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.mla-footer-logo {
  width: 100px;
  border-radius: 50%;
}

.mla-footer-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #ffbe0b;
}

.mla-footer-text {
  color: rgba(241,250,238,0.85);
}

.mla-footer-newsletter .mla-input-email {
  background: rgba(241,250,238,0.9);
  border: none;
}

.mla-btn-subscribe {
  background-color: #ffbe0b;
  color: #264653;
  border: none;
}
.mla-btn-subscribe:hover {
  background-color: #e6ac00;
}

.mla-footer-bottom {
  border-top: 1px solid rgba(241,250,238,0.2);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.mla-footer-legal {
  color: rgba(241,250,238,0.8);
}
.mla-footer-legal a {
  color: #e76f51;
  text-decoration: underline;
}


.mla-footer-icons .mla-icon:hover {
  opacity: 1;
}

.mla-footer-links a {
  color: #f1faee;
  text-decoration: none;
  font-weight: 500;
}
.mla-footer-links a:hover {
  color: #ffbe0b;
}

.mla-footer-copy {
  color: rgba(241,250,238,0.6);
  font-size: 0.8rem;
}
.mla-footer-icons .mla-icon {
  height: 90px;
  width: auto;
  transition: opacity 0.2s;
  border-radius: 10px;
}
