/* Стили для блока контактной формы */
.contact-form-section {
    background:  linear-gradient(135deg, #4a90e2, #7b68ee);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.contact-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.contact-form-info {
    color: white;
}

.contact-form-info h2 {
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.2;
    color: white;
}

.contact-form-info p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
}

.contact-form {
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}


.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 2px solid #ddd;
    background: transparent;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s ease;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

.form-group input::placeholder {
    color: #999;
}

.contact-fields-container {
    margin-top: 25px;
    margin-bottom: 20px;
    min-height: 80px;
    position: relative;
}

.phone-field, .telegram-field {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
}

.phone-field.show, .telegram-field.show {
    opacity: 1;
    visibility: visible;
}

.field-error {
    border-bottom-color: #ff6b6b !important;
}

.error-message {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.privacy-notice {
    margin-top: 15px;
    text-align: center;
}

.privacy-notice p {
    font-size: 12px;
    color: #888;
    line-height: 1.4;
    margin: 0;
}

.privacy-notice p a {
    color: #9AC7DD;
    text-decoration: underline;
}

.age-restriction {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
}

/* Добавить к существующим стилям */
.checkbox-group {
    margin-top: 30px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-wrapper {
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-wrapper input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom {
    background: #4a90e2;
    border-color: #4a90e2;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom::after {
    opacity: 1;
}

.checkbox-wrapper input[type="checkbox"]:focus + .checkbox-custom {
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.3);
}

.checkbox-label {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-label a {
    color: #9AC7DD;
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: #7ba8c4;
}

/* Добавить к существующим стилям для анимации подсветки */
.checkbox-group {
    transition: all 0.3s ease;
}

.checkbox-group.highlight-checkbox {
    background: rgba(74, 144, 226, 0.1);
    padding: 10px;
    border-radius: 8px;
    border: 2px solid rgba(74, 144, 226, 0.3);
}

.checkbox-group.highlight-checkbox .checkbox-custom {
    animation: checkboxPulse 1s ease-in-out;
}

@keyframes checkboxPulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(74, 144, 226, 0.4);
    }
    50% { 
        transform: scale(1.1); 
        box-shadow: 0 0 0 10px rgba(74, 144, 226, 0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .contact-form-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-info h2 {
        font-size: 32px;
        text-align: center;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-form-section {
        padding: 60px 0;
    }
}

/* Referral Section */
.referral-section {
  background: /*linear-gradient(135deg, #ff9966, #ff5e62)*/ linear-gradient(135deg, #7b68ee, #4a90e2); /* по аналогии с contact-form */
  padding-top: 80px;
  padding-bottom: 60px;
  margin-top: 80px;
  text-align: center;
  color: white;
}

.referral-center {
  max-width: 800px;
  margin: 0 auto;
}

.referral-clarify { font-size: 20px; margin-top: 40px; }

.referral-text {
  font-size: 32px;
  line-height: 1.8;
  font-weight: 300;
    margin: 0 10px;
}

.referral-logo {
  display: inline-block;       /* остаётся в строке */
  height: 1.8em;               /* подгоняем по высоте текста */
  vertical-align: middle;      /* выравнивание по центру строки */
  margin: -6px 6px;               /* немного отступов слева и справа */
    filter: invert(1) hue-rotate(180deg); /* Инвертирует чёрный в белый; hue-rotate корректирует оттенок */
}


.referral-btn {
  display: inline-block;
  background: #fff;
  color: #333;
  padding: 16px 36px;
  border-radius: 40px;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
}

.referral-right {
  text-align: center;
}

.referral-reward {
  font-size: 150px;
    font-weight: 700;

  /*font-family: 'Lemon Tuesday';*/
  color: #fff;
}

.referral-currency {
  /*font-family: 'Lemon Tuesday';*/
  font-size: 40px;
  margin-left: 4px;
}

.r-currency { font-weight:700; margin-left:6px; display:inline-block; }

.referral-offer { font-size: 14px; color: #fff; text-decoration: underline; display:inline-block; margin-top: 20px; }


/* Мобилка */
@media (max-width: 768px) {

.referral-section {
  padding: 60px 0;
  margin-top: 20px;
}
  .referral-text {
    font-size: 20px;
  }

  .referral-currency {
  /*font-family: 'Lemon Tuesday';*/
  font-size: 20px;
}

  .referral-reward {
    font-size: 50px;
    margin-top: 20px;
  }

.referral-btn {
  margin-top: 20px;
}
}


@font-face {
  font-family: 'Lemon Tuesday';
  src: 
    local('Lemon Tuesday'),
    url('../fonts/Lemon Tuesday.otf') format('otf'),
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/*
.referral-light-section { padding: 40px 0; }
.referral-card {
  display: flex;
  gap: 28px;
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  align-items: center;
  box-shadow: 0 8px 30px rgba(20,20,20,0.06);
}

.referral-left { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.referral-line { font-size: 20px; color: #2c2c2c; line-height: 1.3; margin-top: 2px; }
.referral-sub { font-size: 18px; color: #555; font-weight: 600; margin-top: 4px; }
.referral-clarify-dark { font-size: 15px; color: #666; margin-top: 6px; }
.referral-clarify.small { font-size: 14px; color: #666; }
.referral-actions { margin-top: 14px; display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.referral-offer-dark { font-size:13px; color: #4A8BB8; text-decoration: underline; display:inline-block; margin-left:6px; }

.referral-cta {
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

.referral-v1 .referral-card { align-items: center; }
.referral-v1 .referral-right {
  flex: 0 0 220px;
  border-left: 1px solid #eee;
  padding-left: 22px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
}
.referral-v1 .reward-label { font-size:13px; text-transform:uppercase; color:var(--accent-color); font-weight:700; letter-spacing:0.6px; }
.referral-v1 .reward-amount { font-size:40px; font-weight:800; color:var(--accent-color); }
.referral-v1 .r-currency { font-size:40px; font-weight:700; color:#444; margin-left:6px; display:inline-block; }
.referral-v1 .reward-note { font-size:12px; color:#888; margin-top:6px; text-align:center; }
*/
