:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-bg: #C30808;
  --login-bg: #C30808;
  --register-login-font: #FFFF00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f9f9f9;
  --border-light: #e0e0e0;
}

.page-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--secondary-color);
}

.page-casino__section {
  padding: 80px 0;
  text-align: center;
}

.page-casino__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-casino__section-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-casino__section-title--white {
  color: var(--text-light);
}

.page-casino__section-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__section-subtitle--white {
  color: #f0f0f0;
}

.page-casino__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-casino__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
}

.page-casino__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-casino__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-casino__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
}

.page-casino__hero-title {
  font-size: 52px;
  font-weight: 900;
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.page-casino__hero-description {
  font-size: 22px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.page-casino__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.page-casino__cta-button,
.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-block;
  padding: 16px 45px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 19px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-casino__cta-button--register {
  background: var(--register-bg);
  color: var(--register-login-font);
  box-shadow: 0 6px 20px rgba(195, 8, 8, 0.4);
}

.page-casino__cta-button--download {
  background: var(--primary-color);
  color: var(--text-light);
  box-shadow: 0 6px 20px rgba(1, 116, 57, 0.3);
}

.page-casino__cta-button:hover,
.page-casino__btn-primary:hover,
.page-casino__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-casino__cta-button--register:hover {
  background: #e00b0b;
}

.page-casino__cta-button--download:hover {
  background: #015f2d;
}

.page-casino__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(1, 116, 57, 0.2);
}

.page-casino__btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-casino__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-casino__about-section {
  padding: 80px 0;
}

.page-casino__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-casino__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-casino__text-block {
  flex: 1;
  font-size: 17px;
  color: var(--text-dark);
}

.page-casino__text-block--white {
  color: var(--text-light);
}

.page-casino__text-block p {
  margin-bottom: 20px;
}

.page-casino__text-block strong {
  color: var(--primary-color);
}

.page-casino__text-block--white strong {
  color: var(--register-login-font);
}

.page-casino__image-wrapper {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-casino__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-casino__games-section {
  padding: 80px 0;
}

.page-casino__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-casino__game-card {
  background: var(--secondary-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-casino__game-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-casino__game-description {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 25px;
  padding: 0 20px;
  flex-grow: 1;
}

.page-casino__promotions-section {
  padding: 80px 0;
}

.page-casino__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-casino__promo-card {
  background: var(--secondary-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__promo-card img {
  width: 100%;
  
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-casino__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-casino__promo-description {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 25px;
  padding: 0 20px;
  flex-grow: 1;
}

.page-casino__security-support-section {
  padding: 80px 0;
}

.page-casino__getting-started-section {
  padding: 80px 0;
}

.page-casino__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-casino__step-card {
  background: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}