:root {
    --green-dark: #004d40;
    --green: #00796b;
    --green-light: #009688;
    --yellow: #ffc107;
    --red: #d32f2f;
    --white: #f1f1f1;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    font-size: 15px;
    color: var(--white);
    background: var(--green);
    line-height: 1.5;
}

/* Headings Bold */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    font-weight: 800;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header {
    background: var(--green-light);
    padding: 20px 0;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
}
.register-btn {
    background: var(--yellow);
    color: var(--green);
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
}
.hero {
    text-align: center;
    padding: 100px 0;
}
.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}
.hero p {
    font-size: 20px;
    color: var(--yellow);
    margin-bottom: 40px;
}
.jackpot {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
    display: inline-block;
    text-align: center;
}
.jackpot h2 {
    font-size: 24px;
    margin-bottom: 10px;
}
.amount {
    font-size: 64px;
    color: var(--yellow);
    margin-bottom: 20px;
    font-weight: 800;
}
.draw-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-weight: bold;
    align-items: center;
    flex-direction: column;
}
.date {
    font-size: 20px;
}
.play-btn {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
}
.winning-numbers {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}
.winning-numbers span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--green);
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
}
.winning-numbers span.special {
    background: var(--yellow);
    color: var(--green);
}
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .header .container {
        flex-direction: row;
    }
    .hero h1 {
        font-size: 36px;
    }
    .amount {
        font-size: 48px;
    }
}
/* Features Section */
.features {
padding: 60px 0;
background: #f9fafb;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
}
.feature-item {
background: var(--white);
padding: 30px;
text-align: center;
border-radius: 8px;
}
.feature-item .icon {
width: 60px;
height: 60px;
margin: 0 auto 20px;
}
.feature-item h3 {
font-size: 20px;
color: var(--green-dark);
margin-bottom: 10px;
}
.feature-item p {
font-size: 16px;
color: #555;
}

/* How to Play Section */
.how-to-play {
padding: 60px 0;
}
.how-to-play h2 {
text-align: center;
font-size: 32px;
color: var(--green-dark);
margin-bottom: 40px;
}
.steps-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 30px;
}
.step-item {
background: var(--white);
padding: 30px;
text-align: center;
border-radius: 8px;
position: relative;
}
.step-number {
position: absolute;
top: -20px;
left: 50%;
transform: translateX(-50%);
background: var(--green);
color: var(--white);
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
}
.step-item .icon {
width: 50px;
height: 50px;
margin: 20px auto;
}
.step-item h4 {
font-size: 18px;
color: var(--green-dark);
margin-bottom: 10px;
}
.step-item p {
font-size: 14px;
color: #555;
}

@media (max-width: 768px) {
.features,
.how-to-play {
padding: 40px 0;
}
}
/* Games Section */
.games {
padding: 60px 0;
background: #ffffff;
}
.games h2 {
text-align: center;
font-size: 36px;
color: var(--green-dark);
margin-bottom: 40px;
}
.games-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 30px;
align-items: stretch;
}
.game-item {
background: var(--white);
border-radius: 10px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
display: flex;
flex-direction: column;
height: 100%;
}
.game-header {
padding: 24px;
text-align: center;
color: var(--white);
}
.lotto-standard { background: var(--green); }
.powerball { background: var(--yellow); }
.cash4life { background: var(--red); }
.game-header h3 {
margin: 0;
font-size: 22px;
}
.numbers {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 12px;
padding: 24px;
background: #f4f4f4;
}
.numbers span {
width: 44px;
height: 44px;
background: var(--white);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 18px;
color: var(--green-dark);
}
.numbers span.special {
background: var(--yellow);
color: var(--white);
}
.game-features {
list-style: none;
padding: 20px 30px;
flex-grow: 1;
}
.game-features li {
margin-bottom: 12px;
padding-left: 24px;
position: relative;
font-size: 16px;
color: #555;
}
.game-features li:before {
content: "¹3";
position: absolute;
left: 0;
color: var(--green-dark);
}
.game-btn {
display: block;
text-align: center;
padding: 18px;
text-decoration: none;
font-weight: bold;
font-size: 18px;
}
.standard-btn { background: var(--green); color: var(--white); }
.powerball-btn { background: var(--yellow); color: var(--white); }
.cash4life-btn { background: var(--red); color: var(--white); }

@media (max-width: 768px) {
.games, .games-grid {
padding: 40px 0;
}
}
/* Join & Register Section */
.join-register {
padding: 60px 0;
background: #ffffff;
}
.join-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
align-items: stretch;
}
@media (max-width: 768px) {
.join-grid {
grid-template-columns: 1fr;
}
}
.promo {
height: 100%;
background: var(--green);
color: var(--white);
padding: 40px;
border-radius: 10px 0 0 10px;
display: flex;
flex-direction: column;
justify-content: center;
}
.promo h2 {
font-size: 32px;
margin-bottom: 20px;
}
.promo p {
font-size: 18px;
margin-bottom: 20px;
}
.promo-list {
list-style: none;
padding: 0;
margin: 0;
}
.promo-list li {
position: relative;
padding-left: 24px;
margin-bottom: 12px;
font-size: 16px;
}
.promo-list li:before {
content: "¹3";
position: absolute;
left: 0;
color: var(--yellow);
}
.form-wrap {
height: 100%;
background: var(--white);
padding: 40px;
border-radius: 0 10px 10px 0;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.form-wrap h2 {
font-size: 32px;
color: var(--green-dark);
margin-bottom: 20px;
}
.form-wrap label {
display: block;
font-size: 16px;
color: var(--green-dark);
margin-bottom: 8px;
}
.form-wrap input {
width: 100%;
padding: 12px;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 16px;
}
.btn.create-account {
width: 100%;
padding: 15px;
background: var(--red);
color: var(--white);
border: none;
border-radius: 6px;
font-size: 18px;
cursor: pointer;
margin-top: 10px;
}
.terms {
font-size: 12px;
color: #777;
margin-top: 12px;
}
.terms a {
color: var(--green-dark);
text-decoration: underline;
}
}
/* Responsible Gambling Section */
.responsible-gambling {
    padding: 60px 0;
    background: #f9fafb;
    text-align: center;
}
.rg-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}
.rg-logos img {
    max-height: 60px;
}
.responsible-gambling h2 {
    font-size: 28px;
    color: var(--green-dark);
    margin-bottom: 15px;
}
.responsible-gambling p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    color: #555;
}

/* Footer */
.site-footer {
    background: var(--green-dark);
    color: var(--white);
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}
.footer-col h4 {
    margin-bottom: 15px;
    font-size: 18px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
}
.social-icons a {
    margin-right: 10px;
}
.social-icons img {
    width: 24px;
    height: 24px;
}
.subscribe-form {
    display: flex;
    margin-top: 10px;
}
.subscribe-form input {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}
.subscribe-form button {
    padding: 8px 16px;
    border: none;
    background: var(--yellow);
    color: var(--green-dark);
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 14px;
}
.footer-copy {
    text-align: center;
    font-size: 12px;
}
.feature-item .icon i {
    font-size: 40px;
    color: var(--green-dark);
}
/* Custom How to Play Enhancements */
.how-to-play .icon i {
    font-size: 36px;
    color: var(--red);          /* иконки красного цвета */
}

.how-to-play .step-item:nth-child(odd) {
    background: #e3f2fd;        /* светло-голубой для нечётных */
}

.how-to-play .step-item:nth-child(even) {
    background: #bbdefb;        /* чуть более тёмный голубой для чётных */
}

.how-to-play .step-item:hover {
    background: #90caf9;        /* более насыщенный при наведении */
    transition: background 0.3s;
}
.games .icon {
    text-align: center;
    margin-bottom: 20px;
}
.games .icon i {
    font-size: 36px;
    color: var(--yellow);
}
.games .game-item:nth-child(odd) {
    background: #e8f5e9;
}
.games .game-item:nth-child(even) {
    background: #c8e6c9;
}
.games .game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}
.responsible-gambling {
    padding: 60px 0;
    background: #fff3e0;
    text-align: center;
}
.responsible-gambling .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.responsible-gambling .rg-logos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}
.responsible-gambling .rg-logos a i {
    font-size: 32px;
    color: var(--green-dark);
    transition: color 0.3s, transform 0.3s;
}
.responsible-gambling .rg-logos a i:hover {
    color: var(--yellow);
    transform: scale(1.1);
}
.responsible-gambling h2 {
    font-size: 30px;
    color: var(--red);
    margin: 20px 0;
}
.responsible-gambling p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    color: #333;
}
.responsible-gambling .rg-logos {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
/* Cookie Consent Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    text-align: center;
    padding: 15px;
    z-index: 1000;
}
#cookie-banner p {
    margin: 0;
    font-size: 14px;
}
#cookie-accept {
    background: var(--yellow);
    color: var(--green-dark);
    border: none;
    padding: 8px 16px;
    margin-left: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

/* Скрываем баннер после клика с помощью простого JS */
/* Hero Section */
.hero {
  position: relative;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  padding: 120px 20px;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

/* Слегка приглушающая маска над фоном, но не слишком тёмная */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(45 38 38 / 89%);  /* уменьшили до 0.3 */
  z-index: 1;
}

/* Все внутренние элементы поднимаем над маской */
.hero h1,
.hero p,
.hero .jackpot,
.hero .winning-numbers {
  position: relative;
  z-index: 2;
}

/* Увеличиваем цифры таймера и делаем их контрастными */
.timer {
  display: inline-flex;
  gap: 12px;
  font-weight: bold;
  align-items: center;
  color: #fff;
  font-size: 22px; /* общий размер текста таймера */
}

.timer span {
  background: var(--yellow);
  color: var(--green-dark);
  padding: 12px 18px;  /* больше внутренних отступов */
  border-radius: 6px;
  min-width: 60px;
  font-size: 40px;     /* увеличили цифры */
  line-height: 1;
}

/* Обновлённый джекпот-блок, чтобы всё читалось */
.jackpot {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.2);
  padding: 40px;
  border-radius: 12px;
  display: inline-block;
}

/* Восстанавливаем видимость номеров */
.winning-numbers span {
  z-index: 2;
  position: relative;
}

/* Адаптив */
@media (max-width: 768px) {
  .timer {
    flex-direction: column;
    font-size: 20px;
  }
  .timer span {
    font-size: 32px;
    padding: 10px 14px;
  }
}
/* Jackpot Amount Pulse Animation */
@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.hero .amount {
  display: inline-block;      /* чтобы transform работал корректно */
  animation: pulse 2s ease-in-out infinite;
}
.cookie-policy .container,
.privacy-policy .container, 
.terms-conditions .container {
    flex-direction: column;
    line-height: 1.8;
    padding: 20px;
}