/* landing.css */




.btn-view {
  margin-top: 10px;
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  background: #f9f9f9;
  color: #333;
}

a {
  text-decoration: none;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: #ff6600; /* основной цвет OYNA, можешь заменить */
}

.gray-suffix {
    color: #888888; /* или #999 / #aaa — любой мягкий серый */
    font-weight: normal;
}

nav a {
  margin: 0 1rem;
  color: #333;
}

.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
  display: inline-block;
  font-weight: bold;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  transition: background 0.3s ease;
  color: white;
}

.btn-orange {
  background: #ff6f3c;
}

.btn-orange:hover {
  background: #e05b2c;
}

.btn-blue {
  background: #007bff;
}

.btn-blue:hover {
  background: #0056b3;
}

.hero {
  padding: 4rem 2rem;
  text-align: center;
  background: #fff;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero .cta {
  padding: 1rem 2rem;
  background: #ff6f3c;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2rem;
}

.hero .cta:hover {
  background: #e05b2c;
}

.features {
  background: #eef2f7;
  padding: 4rem 2rem;
  text-align: center;
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 250px;
}

.card h3 {
  margin-bottom: 1rem;
  color: #007bff;
}

.card p {
  font-size: 0.95rem;
}

.trust {
  background: #fff;
  padding: 3rem 2rem;
  text-align: center;
}

.trust h2 {
  margin-bottom: 1rem;
}

.trust p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

footer {
  padding: 2rem;
  background: #f1f1f1;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

.blue-text {
  color: #007bff;
}

@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }

  header, .hero, .features, .trust {
    padding: 2rem 1rem;
  }
}


/* events */
.events-section {
  padding: 50px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.events-section h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #333;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.event-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-align: left;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.event-card h3 {
  margin: 0 0 10px;
  color: #6C63FF;
  font-size: 22px;
}

.event-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.event-meta {
  display: block;
  font-size: 13px;
  color: #999;
  margin-bottom: 15px;
}






.btn-view {
  display: inline-block;
  background-color: #6C63FF;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.btn-view:hover {
  background-color: #5a54e0;
}


/* Шапка */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: #fff;
    color: #111;
}

.main-header {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.oyna {
    color: #6C63FF;
}

.space {
    color: #666;
    margin-left: 3px;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}


.btn {
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.register {
    background: #FF6A28;
    color: white;
}

.login {
    background: #0066FF;
    color: white;
}

.hero {
    text-align: center;
    padding: 40px 20px;
}

.hero h1 {
    font-size: 28px;
    margin-bottom: 16px;
}

.hero .highlight {
    color: #0066FF;
    font-weight: bold;
}

.hero p {
    font-size: 16px;
    color: #444;
    max-width: 380px;
    margin: 0 auto 24px;
}

.hero .primary {
    background: #FF6A28;
    color: white;
    padding: 14px 24px;
    display: inline-block;
    border-radius: 8px;
}

/* Бургер */
.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}

.logo {
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.burger {
    display: none;
}@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 60px;
        right: 10px;
        width: 200px;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        padding: 10px;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .burger {
        display: block;
        font-size: 26px;
        cursor: pointer;
        z-index: 1001;
    }
}


.how-it-works {
  padding: 60px 20px;
  background-color: #f8f9fb;
  text-align: center;
}

.how-it-works h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #333;
}

.steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.step {
  background-color: #fff;
  border-radius: 16px;
  padding: 20px;
  max-width: 300px;
  flex: 1 1 250px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.step-number {
  font-size: 24px;
  color: #6C63FF;
  font-weight: bold;
  margin-bottom: 10px;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #222;
}

.step p {
  font-size: 16px;
  color: #666;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .steps {
    flex-direction: column;
    gap: 20px;
  }
}


.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 18px;
  padding: 18px 20px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

.faq-answer {
  display: none;
  padding: 0 20px 15px;
  font-size: 16px;
  color: #555;
  line-height: 1.5;
  border-top: 1px solid #eee;
}
.faq-container {
  max-width: 720px;
  margin: 50px auto;
  padding: 0 15px;
  text-align: center;
}

.faq-title {
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 700;
  color: #222;
}



.floating-messengers {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.messenger-icon {
    background-color: white;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.messenger-icon:hover {
    transform: scale(1.1);
}

.messenger-icon img {
    width: 32px;
    height: 32px;
}

.whatsapp-icon img {
    filter: drop-shadow(0 0 2px #25D366);
}

.telegram-icon img {
    filter: drop-shadow(0 0 2px #0088cc);
}

.user-greeting {
  color: #6C63FF;
  font-weight: bold;
  text-decoration: none;
  margin-left: 10px;
}

.user-greeting:hover {
  text-decoration: underline;
}

.btn-ground {
  background-color: #7c3aed !important;
  color: white !important;
  border: none;
}

.btn-ground:hover {
  background-color: #5b21b6 !important;
}



.complexes-section {
    padding: 60px 20px;
    background: #f9f9f9;
    text-align: center;
}

.complexes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.complex-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.complex-card:hover {
    transform: translateY(-4px);
}

.complex-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.complex-card h3 {
    margin: 16px 0 8px;
    font-size: 20px;
    color: #222;
}

.complex-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
}

.complex-card .btn-view {
    margin-bottom: 16px;
    background-color: #6c63ff;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
}

.complex-card .btn-view:hover {
    background-color: #5a54e0;
}
