:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --login-color: #EA7C07;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-color-light: #ffffff;
    --background-color-dark: #26A9E0;
    --border-color: #e0e0e0;
    --section-padding: 60px 0;
    --container-max-width: 1200px;
}

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

.page-register__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-register__section {
    padding: var(--section-padding);
    text-align: center;
}

.page-register__section-title {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-register__section-description {
    font-size: 18px;
    color: var(--text-color-dark);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.page-register__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;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.page-register__hero-container {
    position: relative;
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

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

.page-register__hero-image-wrapper img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.page-register__hero-image-wrapper img:hover {
    transform: scale(1.02);
}

.page-register__hero-content {
    text-align: center;
    color: var(--text-color-dark);
}

.page-register__hero-title {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.1;
}

.page-register__hero-description {
    font-size: 22px;
    color: var(--text-color-dark);
    max-width: 900px;
    margin: 0 auto 30px;
    line-height: 1.5;
}

.page-register__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-register__cta-button:hover {
    background: #1e87b7;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-register__cta-button--secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-register__cta-button--secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.page-register__cta-button--hero {
    margin-top: 30px;
    padding: 18px 50px;
    font-size: 24px;
}

.page-register__cta-button--final {
    margin-top: 40px;
    padding: 20px 60px;
    font-size: 26px;
}

.page-register__why-register {
    background-color: var(--background-color-light);
    padding-bottom: 80px;
}

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

.page-register__feature-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-register__feature-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.3;
}

.page-register__feature-text {
    font-size: 16px;
    color: var(--text-color-dark);
    line-height: 1.7;
}

.page-register__registration-guide {
    background-color: #f8f9fa;
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-register__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
    text-align: left;
}

.page-register__step-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    position: relative;
    padding-top: 70px;
}

.page-register__step-number {
    position: absolute;
    top: 20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-register__step-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1.3;
}

.page-register__step-text {
    font-size: 16px;
    color: var(--text-color-dark);
    line-height: 1.7;
}

.page-register__benefits {
    background-color: var(--background-color-dark);
    color: var(--text-color-light);
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-register__benefits .page-register__section-title,
.page-register__benefits .page-register__section-description {
    color: var(--text-color-light);
}

.page-register__benefits-list {
    list-style: none;
    padding: 0;
    margin: 50px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-register__benefit-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-register__benefit-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.page-register__benefit-title {
    font-size: 24px;
    color: var(--text-color-light);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.3;
}

.page-register__benefit-text {
    font-size: 16px;
    color: var(--text-color-light);
    line-height: 1.7;
}

.page-register__faq-section {
    background-color: var(--background-color-light);
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-register__faq-list {
    max-width: 900px;
    margin: 50px auto 0;
    text-align: left;
}

.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: var(--text-color-dark);
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #f9f9f9;
  border-top: 1px solid var(--border-color);
  border-radius: 0 0 8px 8px;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-register__faq-item.active .page-register__faq-question {
    border-radius: 8px 8px 0 0;
    border-bottom: none;
}

.page-register__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-register__faq-question:active {
  background: #eeeeee;
}

.page-register__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-color-dark);
  pointer-events: none;
}

.page-register__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg);
  color: #c0392b;
}

.page-register__responsible-gambling {
    background-color: var(--background-color-dark);
    color: var(--text-color-light);
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-register__responsible-gambling .page-register__section-title,
.page-register__responsible-gambling .page-register__section-description {
    color: var(--text-color-light);
}

.page-register__info-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: left;
}

.page-register__info-block {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-register__info-block:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.page-register__info-title {
    font-size: 24px;
    color: var(--text-color-light);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.3;
}

.page-register__info-text {
    font-size: 16px;
    color: var(--text-color-light);
    line-height: 1.7;
}

.page-register__final-cta {
    background-color: #f8f9fa;
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-register__final-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-register__image-wrapper {
    margin-top: 40px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-register__image-wrapper--center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-register__image-wrapper img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

@media (max-width: 1024px) {
    .page-register__section-title {
        font-size: 32px;
    }
    .page-register__hero-title {
        font-size: 42px;
    }
    .page-register__hero-description {
        font-size: 20px;
    }
    .page-register__cta-button--hero {
        padding: 16px 45px;
        font-size: 22px;
    }
    .page-register__cta-button--final {
        padding: 18px 50px;
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .page-register__section {
        padding: 40px 0;
    }
    .page-register__container {
        padding: 0 15px;
    }
    .page-register__section-title {
        font-size: 28px;
    }
    .page-register__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-register__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-register__hero-title {
        font-size: 34px;
    }
    .page-register__hero-description {
        font-size: 18px;
    }
    .page-register__cta-button--hero {
        padding: 14px 35px;
        font-size: 18px;
    }

    .page-register__cta-button,
    .page-register__btn-primary,
    .page-register__btn-secondary,
    .page-register a[class*="button"],
    .page-register a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .page-register__cta-buttons,
    .page-register__button-group,
    .page-register__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important;
        gap: 15px;
    }

    .page-register__features-grid,
    .page-register__guide-steps,
    .page-register__benefits-list,
    .page-register__info-blocks {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-register__feature-item,
    .page-register__step-item,
    .page-register__benefit-item,
    .page-register__info-block {
        padding: 25px;
        padding-top: 60px;
    }
    .page-register__step-number {
        top: 15px;
        left: 25px;
    }

    .page-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-register__section,
    .page-register__card,
    .page-register__container,
    .page-register__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-register__image-wrapper--center {
        padding-left: 0;
        padding-right: 0;
    }

    .page-register__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-register__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-register__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    .page-register__faq-answer {
        padding: 0 15px;
    }
    .page-register__faq-item.active .page-register__faq-answer {
        padding: 15px !important;
    }
}

.page-register img {
    min-width: 200px;
    min-height: 200px;
}

.page-register__guide-steps img,
.page-register__benefits-list img,
.page-register__info-blocks img {
    min-width: 200px;
    min-height: 200px;
    object-fit: contain;
}

.page-register__dark-section {
  background: var(--background-color-dark);
  color: var(--text-color-light);
}
.page-register__dark-section .page-register__section-title,
.page-register__dark-section .page-register__section-description,
.page-register__dark-section .page-register__feature-title,
.page-register__dark-section .page-register__feature-text,
.page-register__dark-section .page-register__benefit-title,
.page-register__dark-section .page-register__benefit-text,
.page-register__dark-section .page-register__info-title,
.page-register__dark-section .page-register__info-text {
    color: var(--text-color-light);
}

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

.page-register img {
    filter: none !important;
}