:root {
  --primary-color: #ff9500;
  --secondary-color: #6c5ce7;
  --accent-color: #00d2d3;
  --background-dark: #0a0a0a;
  --background-light: #121212;
  --background-white: #ffffff;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --text-secondary-dark: #666666;
  --text-secondary-light: #b3b3b3;
  --border-color-dark: #e0e0e0;
  --border-color-light: #2a2a2a;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --gradient-start: #ff9500;
  --gradient-end: #ff4757;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--background-dark);
  color: var(--text-color-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--text-color-light);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border-color-light);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(
    to right,
    var(--gradient-start),
    var(--gradient-end)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 2rem;
  background-color: var(--background-dark);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(255, 149, 0, 0.1),
    transparent 70%
  );
  z-index: 0;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  padding-right: 2rem;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.highlight {
  color: var(--primary-color);
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-secondary-light);
  margin-bottom: 2rem;
}

.stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color-light);
}

.label {
  font-size: 0.9rem;
  color: var(--text-secondary-light);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 0.5rem;
  border: none;
}

.primary {
  background: linear-gradient(
    to right,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: white;
  position: relative;
}

.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 71, 87, 0.3);
}

.secondary {
  background-color: var(--background-light);
  color: var(--text-color-light);
  border: 1px solid var(--border-color-light);
}

.secondary:hover {
  background-color: var(--border-color-light);
  transform: translateY(-3px);
}

#copyCA {
  position: relative;
}

.tooltip {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--background-light);
  color: var(--text-color-light);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 0.8rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: 1px solid var(--border-color-light);
}

#copyCA:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--background-light);
  color: var(--text-color-light);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color-light);
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.social-icon.twitter:hover {
  color: #1da1f2;
  border-color: #1da1f2;
}

.social-icon.telegram:hover {
  color: #0088cc;
  border-color: #0088cc;
}

.social-icon.instagram:hover {
  color: #e1306c;
  border-color: #e1306c;
}

.social-icon.youtube:hover {
  color: #ff0000;
  border-color: #ff0000;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--primary-color);
  box-shadow: 0 10px 30px rgba(255, 149, 0, 0.3);
  position: relative;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-container:hover img {
  transform: scale(1.1);
}

/* Gallery Section */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--gradient-start),
    var(--gradient-end)
  );
}

.gallery {
  padding: 6rem 2rem;
  background-color: var(--background-white);
  color: var(--text-color-dark);
}

.gallery .section-title {
  color: var(--text-color-dark);
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  height: 300px;
  position: relative;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* About Section */
.about {
  padding: 6rem 2rem;
  background-color: var(--background-dark);
  color: var(--text-color-light);
}

.about-content {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  gap: 3rem;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-secondary-light);
}

.video-container {
  margin-top: 2rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-color);
}

.video-container video {
  width: 100%;
  display: block;
}

.about-images {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  height: 250px;
  box-shadow: 0 10px 30px var(--shadow-color);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.1);
}

/* Socials Section */
.socials {
  padding: 6rem 2rem;
  background-color: var(--background-white);
  color: var(--text-color-dark);
}

.socials .section-title {
  color: var(--text-color-dark);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.social-card {
  background-color: var(--background-light);
  color: var(--text-color-light);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px var(--shadow-color);
  border: 1px solid var(--border-color-light);
  transition: transform 0.3s ease;
}

.social-card:hover {
  transform: translateY(-10px);
}

.social-card .social-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
}

.social-card h3 {
  margin-bottom: 0.5rem;
}

.social-card p {
  color: var(--text-secondary-light);
  margin-bottom: 0.5rem;
}

.social-card p:last-of-type {
  margin-bottom: 1.5rem;
}

.social-btn {
  width: 100%;
}

.social-card.instagram .social-btn {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}

.social-card.youtube .social-btn {
  background-color: #ff0000;
}

.social-card.twitter .social-btn {
  background-color: #1da1f2;
}

.social-card.telegram .social-btn {
  background-color: #0088cc;
}

/* Footer */
footer {
  background-color: var(--background-dark);
  color: var(--text-color-light);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--border-color-light);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color-light);
}

.footer-logo h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(
    to right,
    var(--gradient-start),
    var(--gradient-end)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-logo p {
  color: var(--text-secondary-light);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.copyright {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  text-align: center;
  color: var(--text-secondary-light);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    padding-right: 0;
    margin-bottom: 3rem;
  }

  .stats {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }

  .about-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .gallery-container {
    grid-template-columns: 1fr;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }
}

/* Social icons in white sections */
.socials .social-icon {
  background-color: var(--background-light);
  color: var(--text-color-light);
  border: 1px solid var(--border-color-light);
}

/* Additional styles for gallery section */
.gallery a {
  color: var(--text-color-dark);
}

.gallery a:hover {
  color: var(--primary-color);
}

/* Additional styles for social cards in white sections */
.socials .social-card {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* Enhance contrast for section titles in white sections */
.gallery .section-title::after,
.socials .section-title::after {
  background: linear-gradient(
    to right,
    var(--gradient-start),
    var(--gradient-end)
  );
}

/* Button styles in white sections */
.gallery .btn,
.socials .btn {
  color: var(--text-color-light);
}

/* Add some subtle transitions between sections */
.gallery,
.socials,
.about,
.hero {
  position: relative;
}

.gallery::before,
.socials::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(
    to bottom,
    var(--background-dark),
    var(--background-white)
  );
  z-index: 1;
}

.about::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(
    to bottom,
    var(--background-white),
    var(--background-dark)
  );
  z-index: 1;
}

/* Add subtle patterns to white sections */
.gallery,
.socials {
  background-image: radial-gradient(
      var(--border-color-dark) 1px,
      transparent 1px
    ),
    radial-gradient(var(--border-color-dark) 1px, var(--background-white) 1px);
  background-size: 50px 50px;
  background-position: 0 0, 25px 25px;
  background-attachment: fixed;
}

/* Mobile background consistency */
@media (max-width: 768px) {
  .gallery,
  .socials,
  .about,
  .hero {
    background-attachment: scroll;
  }

  .gallery::before,
  .socials::before,
  .about::before {
    height: 30px;
    top: -30px;
  }

  /* Ensure background patterns remain visible on mobile */
  .gallery,
  .socials {
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
  }
}

/* Additional mobile optimizations */
@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .about-text p,
  .hero-text p {
    font-size: 1rem;
  }

  /* Ensure proper spacing on mobile */
  .gallery,
  .about,
  .socials {
    padding: 4rem 1.5rem;
  }
}
