:root {
  /* Colors */
  --bg-primary: #11051E;
  --bg-yellow: #facc15;
  --text-white: #FFFFFF;
  --text-dark: #11051E;
  --text-accent: #facc15;
  --selection-bg: #FD59A1;
  --selection-text: #FFFFFF;

  /* Fonts */
  --font-heading: 'PT Serif', serif;
  --font-body: 'Ubuntu', sans-serif;

  /* Spacing */
  --container-width: 1400px;
  --header-height: 80px;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-white);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: var(--selection-bg);
  color: var(--selection-text);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.hidden {
  display: none !important;
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex !important;
  }

  .md\:hidden {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .lg\:flex {
    display: flex !important;
  }

  .lg\:hidden {
    display: none !important;
  }
}

/* === HEADER === */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 1.5rem 0;
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  height: 40px;
  width: auto;
}

.header__nav {
  display: none;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .header__nav {
    display: flex;
  }
}

.header__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.125rem;
  /* 18px */
  color: var(--text-white);
  transition: color 0.3s ease;
}

.header__link:hover {
  color: var(--text-accent);
}

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible !important;
  padding-top: var(--header-height);
  padding-bottom: 2rem;
}

.hero__wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 1rem 2rem 4rem 2rem;
  /* Increased horizontal padding to prevent shadow clipping */
  overflow: visible !important;
}

/* Yellow Card Background */
.hero__card {
  position: relative;
  width: 100%;
  /* background-color: var(--bg-yellow); replaced with image */
  background-image: url('../img/fone.svg');
  background-size: 100% 100%;
  /* Ensure full SVG is visible without cropping */
  background-repeat: no-repeat;
  background-position: center;
  /* border-radius removed to prevent clipping of hand-drawn SVG background */
  filter: drop-shadow(0 25px 30px rgba(0, 0, 0, 0.3));
  /* Using drop-shadow instead of box-shadow to follow SVG shape */
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .hero__card {
    flex-direction: row;
  }
}

/* Decorations inside card */
.hero__card-bg-pattern {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}

.hero__card-bg-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#000 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.05;
}



/* Outer Stickers */
.hero__sticker-gender {
  position: absolute;
  top: -3rem;
  left: 20%;
  width: 4rem;
  z-index: 20;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
  animation: float-gender 4s ease-in-out infinite;
}

.hero__sticker-mask {
  position: absolute;
  bottom: -3.5rem;
  left: -2rem;
  width: 6rem;
  z-index: 20;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
  animation: float-mask 5s ease-in-out 1.5s infinite;
}

@media (min-width: 768px) {
  .hero__sticker-gender {
    width: 6rem;
    left: 25%;
  }

  .hero__sticker-mask {
    left: 0;
    width: 8rem;
  }
}

/* Content Layout (Counter-rotated to standard) */
.hero__content-box {
  position: relative;
  z-index: 10;
  width: 100%;
  /* transform: rotate(2deg); removed counter-rotation */
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .hero__content-box {
    flex-direction: row;
  }
}

/* Left Column */
.hero__left {
  position: relative;
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero__left {
    padding: 4rem;
  }
}

@media (min-width: 1024px) {
  .hero__left {
    width: 55%;
    padding: 5rem;
  }
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 3.75rem;
  /* 60px */
  line-height: 0.9;
  color: var(--text-dark);
  margin-bottom: 2rem;
  position: relative;
  z-index: 10;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 4.5rem;
    /* 72px */
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 6rem;
    /* 96px */
  }
}

.hero__description {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.125rem;
  color: rgba(17, 5, 30, 0.8);
  max-width: 28rem;
  margin-bottom: 2.5rem;
  line-height: 1.625;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .hero__description {
    font-size: 1.25rem;
  }
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 20;
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    align-items: center;
  }
}

.store-button {
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: var(--bg-primary);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
}

.store-button:hover {
  transform: scale(1.05);
}

/* Unified Store Buttons Style */
.store-button-new {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  width: fit-content;
  text-decoration: none;
}

/* Dark background for the button SVG using filters */
.store-button-new__bg {
  height: 3.2rem;
  width: auto;
  display: block;
  filter: brightness(0) saturate(100%) invert(5%) sepia(34%) saturate(7351%) hue-rotate(264deg) brightness(88%) contrast(108%);
  /* Dark purple/blackish */
}

.store-button-new:hover {
  transform: scale(1.05);
}

.store-button-new:active {
  transform: scale(0.95);
}

.store-button-new__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
}

@media (min-width: 768px) {
  .store-button-new__bg {
    height: 3.8rem;
  }

  .store-button-new__content {
    font-size: 0.95rem;
    gap: 0.75rem;
  }
}

.hero__sticker-envelope {
  position: absolute;
  top: -3rem;
  right: -4rem;
  width: 5rem;
  display: none;
  animation: float-envelope 3s ease-in-out 1s infinite;
}

@media (min-width: 1024px) {
  .hero__sticker-envelope {
    display: block;
  }
}

.hero__web-link {
  margin-top: 3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-weight: 300;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 20;
  width: fit-content;
}

.hero__web-link:hover {
  opacity: 1;
}

.hero__web-link span {
  border-bottom: 2px solid rgba(17, 5, 30, 0.2);
  transition: border-color 0.3s ease;
}

.hero__web-link:hover span {
  border-color: var(--text-dark);
}

/* === BENEFITS SECTION === */
.benefits {
  background-color: var(--bg-primary);
  padding: 5rem 0;
  overflow: hidden;
}

.benefits__header {
  margin-bottom: 4rem;
  text-align: center;
}

@media (min-width: 768px) {
  .benefits__header {
    text-align: left;
  }
}

.benefits__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 3rem;
  /* 48px */
  line-height: 1;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.benefits__title span {
  color: var(--text-accent);
}

@media (min-width: 768px) {
  .benefits__title {
    font-size: 4.5rem;
    /* 72px */
  }
}

@media (min-width: 1024px) {
  .benefits__title {
    font-size: 6rem;
    /* 96px */
  }
}

.benefits__description {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 42rem;
  line-height: 1.625;
}

@media (min-width: 768px) {
  .benefits__description {
    font-size: 1.25rem;
  }
}

.benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Benefit Card */
.benefit-card {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  will-change: transform;
}

/* Card Variants */
.benefit-card--pink {
  background-color: #d946ef;
  color: var(--text-white);
  /* Organic shape + slight rotation */
  border-radius: 60px 40px 70px 50px / 50px 70px 40px 60px;
  transform: rotate(-1.5deg);
}

.benefit-card--pink:hover {
  transform: translateY(-10px) rotate(-1.5deg);
}

.benefit-card--yellow {
  background-color: #facc15;
  color: var(--text-dark);
  /* Different organic shape + opposite rotation */
  border-radius: 50px 80px 40px 90px / 80px 40px 90px 50px;
  transform: rotate(2deg);
}

.benefit-card--yellow:hover {
  transform: translateY(-10px) rotate(2deg);
}

.benefit-card--purple {
  background-color: #a855f7;
  color: var(--text-white);
  /* Another organic shape + slight rotation */
  border-radius: 70px 50px 80px 40px / 40px 80px 50px 70px;
  transform: rotate(-1deg);
}

.benefit-card--purple:hover {
  transform: translateY(-10px) rotate(-1deg);
}

/* Card Content */
/* Card Content */
.benefit-card__pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-repeat: repeat;
  background-size: 500px;
  /* Smaller pattern scale */
  opacity: 0.12;
  /* Reduced opacity */
  pointer-events: none;
  z-index: 0;
  /* Behind everything */
}

.benefit-card__scratches {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  /* 4x larger relative to the small ones before */
  height: 200px;
  background-image: url('../img/scratch-corner.svg');
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 10;
  opacity: 1;
  mix-blend-mode: multiply;
}

/* Colorize patterns using filters */
/* Colorize patterns using filters */
.benefit-card--pink .benefit-card__pattern,
.benefit-card--purple .benefit-card__pattern {
  /* Make pattern white for dark/saturated backgrounds */
  filter: brightness(0) invert(1);
}

.full-width-card .benefit-card__pattern {
  /* White pattern + extra transparent */
  filter: brightness(0) invert(1);
  opacity: 0.05;
}

.benefit-card--yellow .benefit-card__pattern {
  /* Make pattern dark/black for yellow background */
  filter: brightness(0);
  opacity: 0.08;
  /* Even more transparent for dark on yellow */
}

.benefit-card__content {
  position: relative;
  z-index: 2;
  /* Content above pattern */
  padding: 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.benefit-card__icon-box {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
}

.benefit-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.75rem;
  /* Increased by ~40% */
  line-height: 1;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.benefit-card__text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* Illustrations inside cards */
.benefit-card__illustration {
  position: relative;
  z-index: 2;
  /* Images above pattern */
  width: 100%;
  height: 250px;
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.benefit-illustration-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-illustration-img {
  transform: scale(1.05) rotate(2deg);
}

/* Floating Elements Styles */
.float-elem {
  position: absolute;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.float-elem--1 {
  top: 10%;
  right: 10%;
  width: 4rem;
  animation: float-1 4s ease-in-out infinite;
}

.float-elem--2 {
  bottom: 20%;
  left: 10%;
  width: 3.5rem;
  animation: float-2 5s ease-in-out infinite;
}

.float-elem--3 {
  bottom: 10%;
  right: 20%;
  width: 4rem;
  animation: float-3 4.5s ease-in-out infinite;
}

@keyframes float-1 {

  0%,
  100% {
    transform: translateY(0) rotate(5deg);
  }

  50% {
    transform: translateY(-10px) rotate(10deg);
  }
}

@keyframes float-2 {

  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }

  50% {
    transform: translateY(-8px) rotate(-10deg);
  }
}

@keyframes float-3 {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(5px) rotate(3deg);
  }
}

/* Full Width Content area (no card background) */
.benefits__full-content {
  grid-column: 1 / -1;
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  overflow: visible !important;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .benefits__full-content {
    flex-direction: row;
    padding: 2rem 0;
    gap: 4rem;
    justify-content: space-between;
    align-items: center;
  }
}

.full-width-card__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  flex: 1;
}

@media (min-width: 768px) {
  .full-width-card__main {
    flex-direction: row;
    text-align: left;
  }
}

.full-width-card__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background-color: #d946ef;
  filter: blur(150px);
  opacity: 0.1;
  pointer-events: none;
}

.full-width-card__image-box {
  position: relative;
  z-index: 10;
  width: 12rem;
  height: 12rem;
  flex-shrink: 0;
}

.full-width-card__qr {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
}

.qr-container {
  background: white;
  padding: 2rem;
  border-radius: 30px 50px 25px 40px / 40px 25px 50px 30px;
  /* Irregular edge */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.qr-container img {
  width: 120px;
  height: 120px;
}

.qr-container span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: #000;
  font-weight: 500;
  text-align: center;
}

@media (min-width: 768px) {
  .qr-container img {
    width: 150px;
    height: 150px;
  }
}

@media (min-width: 768px) {
  .full-width-card__image-box {
    width: 14rem;
    height: 14rem;
  }
}

.full-width-card__content {
  position: relative;
  z-index: 10;
  flex: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .full-width-card__content {
    text-align: left;
  }
}

.full-width-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--text-white);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .full-width-card__title {
    font-size: 3.5rem;
  }
}

.full-width-card__text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.create-profile-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  width: fit-content;
}

.create-profile-btn:hover {
  transform: scale(1.05);
}

.create-profile-btn__bg {
  height: 3.5rem;
  width: auto;
  display: block;
}

.create-profile-btn__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  /* Slight vertical offset for optical centering */
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-white);
  white-space: nowrap;
  pointer-events: none;
}

/* Right Column (Phones) */
.hero__right {
  position: relative;
  width: 100%;
  height: 500px;
  pointer-events: none;
  z-index: 20;
  /* transform: rotate(2deg); removed counter-rotation */
}

@media (min-width: 1024px) {
  .hero__right {
    width: 45%;
    height: auto;
  }
}

.phone-card {
  position: absolute;
  background-color: var(--bg-primary);
  border: 14px solid var(--bg-primary);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  /* Changed overflow to visible to allow chat bubbles to fly out */
  overflow: visible;
}

.phone-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  /* Rounded corners for the screen images */
}

.phone-1 {
  /* Back/Right - Yellow Screen */
  top: 5%;
  right: -10%;
  width: 280px;
  aspect-ratio: 9/19;
  border-radius: 40px;
  transform: rotate(15deg);
  z-index: 10;
}

.phone-2 {
  /* Front/Left - Purple Screen */
  top: 10%;
  right: 20%;
  width: 280px;
  aspect-ratio: 9/19;
  border-radius: 44px;
  transform: rotate(-5deg);
  z-index: 20;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .phone-1 {
    width: 320px;
    right: -5%;
  }

  .phone-2 {
    width: 320px;
    right: 30%;
  }
}

@media (min-width: 1024px) {
  .phone-1 {
    right: -12%;
  }

  .phone-2 {
    left: 5%;
    right: auto;
    top: 15%;
  }
}

/* Chat Bubbles */
.chat-bubble {
  position: absolute;
  padding: 0.75rem 1.25rem;
  border-radius: 24px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 30;
  max-width: 180px;
  animation: pop-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  opacity: 0;
}

.bubble-1 {
  top: 3rem;
  left: -3rem;
  background-color: white;
  color: black;
  border-bottom-right-radius: 4px;
  transform: rotate(-3deg);
  animation-delay: 1s;
}

.bubble-2 {
  top: 8rem;
  right: -3rem;
  background-color: #d946ef;
  color: white;
  border-bottom-left-radius: 4px;
  transform: rotate(6deg);
  animation-delay: 1.8s;
}

.bubble-3 {
  top: 13rem;
  left: -2rem;
  background-color: white;
  color: black;
  border-bottom-right-radius: 4px;
  transform: rotate(-6deg);
  animation-delay: 2.6s;
}

/* Animations */
@keyframes float-gender {

  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }

  50% {
    transform: translateY(-10px) rotate(0deg);
  }
}

@keyframes float-mask {

  0%,
  100% {
    transform: translateY(0) rotate(15deg);
  }

  50% {
    transform: translateY(5px) rotate(20deg);
  }
}

@keyframes float-envelope {

  0%,
  100% {
    transform: translateY(0) rotate(5deg);
  }

  50% {
    transform: translateY(-8px) rotate(10deg);
  }
}

@keyframes pop-in {
  0% {
    transform: scale(0.8) translate(var(--tx, 0), 20px);
    opacity: 0;
  }

  100% {
    transform: scale(1) translate(var(--tx, 0), 0);
    opacity: 1;
  }
}






/* Telegram Section */
/* Telegram Section */
.telegram-section {
  padding: 4rem 0 8rem;
}

.telegram-card {
  grid-column: 1 / -1;
  background-image: url('../img/tg_blok.svg');
  background-size: 1314px auto !important;
  /* Force original width */
  background-position: center bottom;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
  position: relative;
  overflow: visible !important;
  color: var(--text-dark);
  box-shadow: none !important;
  border: none !important;
  width: 100% !important;
  max-width: none !important;
}

.telegram-card .benefit-card__pattern {
  mask-image: url('../img/tg_blok.svg');
  mask-size: 1314px auto;
  mask-position: center bottom;
  mask-repeat: no-repeat;
  -webkit-mask-image: url('../img/tg_blok.svg');
  -webkit-mask-size: 1314px auto;
  -webkit-mask-position: center bottom;
  -webkit-mask-repeat: no-repeat;
}

@media (min-width: 768px) {
  .telegram-card {
    flex-direction: row !important;
    /* Force row layout */
    align-items: center;
    justify-content: flex-start;
    /* Align to start to match previous layout flow */
    padding: 4rem 4rem;
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .telegram-card {
    min-height: 486px;
    padding-left: 2rem !important;
    /* Adjusted padding to align text correctly */
    justify-content: flex-start;
    /* Keep left alignment */
    align-items: center !important;
  }
}

.telegram-card__bg-logo {
  display: none !important;
  /* Removed as requested */
}

/* New Main Icon Styles */
.telegram-card__icon-wrap {
  background-color: #11051e;
  /* Dark background matching the theme */
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 35% 65% 70% 30% / 30% 40% 60% 70%;
  /* Irregular/ragged edge */
  flex-shrink: 0;
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-30px);
  /* Shifted up by 30px */
}

.telegram-card__main-icon {
  width: 5.5rem;
  /* Increased size */
  height: 5.5rem;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

@media (min-width: 768px) {
  .telegram-card__icon-wrap {
    margin-bottom: 0;
    padding: 1.5rem;
    border-radius: 40% 60% 55% 45% / 45% 35% 65% 55%;
  }

  .telegram-card__main-icon {
    width: 8rem;
    /* Increased size */
    height: 8rem;
  }
}

@media (min-width: 1024px) {
  .telegram-card__icon-wrap {
    padding: 2rem;
  }

  .telegram-card__main-icon {
    width: 9.5rem;
    /* Increased size */
    height: 9.5rem;
  }
}

.telegram-card__icon-box {
  display: none;
}

.telegram-card__content {
  position: relative;
  z-index: 10;
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
  /* Limit content width */
}

@media (min-width: 768px) {
  .telegram-card__content {
    text-align: left;
    align-items: flex-start;
  }
}

.telegram-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--text-dark);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .telegram-card__title {
    font-size: 3.5rem;
  }
}

.telegram-card__text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.25rem;
  color: rgba(17, 5, 30, 0.75);
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 32rem;
}

.tg-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: fit-content;
  text-decoration: none;
}

.tg-button:hover {
  transform: translateY(-5px) scale(1.05);
}

.tg-button__bg {
  height: 3.5rem;
  width: auto;
  display: block;
  filter: brightness(0);
  /* Black button background */
}

.tg-button__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  /* Dark text as requested */
  white-space: nowrap;
  pointer-events: none;
}

.tg-button:active {
  transform: scale(0.98);
}

.telegram-activity-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: -100px;
  /* Slightly lower to hide images */
  opacity: 0;
  animation: stream-rise 8s linear infinite;
  z-index: 5;
  pointer-events: none;
}

.telegram-activity-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

@keyframes stream-rise {
  0% {
    bottom: 0%;
    opacity: 0;
    transform: scale(0.6) rotate(-10deg);
  }

  15% {
    opacity: 0.8;
  }

  50% {
    transform: scale(1) translateX(-15px) rotate(-5deg);
  }

  80% {
    opacity: 0.6;
  }

  100% {
    bottom: 150%;
    opacity: 0;
    transform: scale(0.7) rotate(10deg);
  }
}

.icon-1 {
  font-size: 2.5rem;
  width: 4.5rem;
  height: 4.5rem;
  right: 5%;
  animation-delay: 0s;
}

.icon-2 {
  font-size: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  right: 25%;
  animation-delay: 1.5s;
}

.icon-3 {
  font-size: 2.2rem;
  width: 4rem;
  height: 4rem;
  right: 15%;
  animation-delay: 3s;
}

.icon-4 {
  font-size: 1.8rem;
  width: 3rem;
  height: 3rem;
  right: 35%;
  animation-delay: 0.8s;
}

.icon-5 {
  font-size: 2.8rem;
  width: 5rem;
  height: 5rem;
  right: 10%;
  animation-delay: 4.5s;
}

.icon-6 {
  font-size: 2.3rem;
  width: 4.2rem;
  height: 4.2rem;
  right: 20%;
  animation-delay: 2.2s;
}

.icon-7 {
  font-size: 2.1rem;
  width: 3.8rem;
  height: 3.8rem;
  right: 30%;
  animation-delay: 5.5s;
}

.icon-8 {
  font-size: 2.4rem;
  width: 4.4rem;
  height: 4.4rem;
  right: 12%;
  animation-delay: 6.8s;
}

.icon-9 {
  font-size: 1.9rem;
  width: 3.2rem;
  height: 3.2rem;
  right: 22%;
  animation-delay: 4s;
}

.icon-10 {
  font-size: 2.6rem;
  width: 4.8rem;
  height: 4.8rem;
  right: 38%;
  animation-delay: 1.2s;
}

/* === Footer === */
.footer {
  background-color: #11051e;
  /* Dark background matching theme context */
  padding: 3rem 0;
  color: #fff;
  margin-top: -1px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer__content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer__brand {
    align-items: flex-start;
  }
}

.footer__logo-link {
  display: inline-block;
}

.footer__logo {
  width: 140px;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.footer__logo:hover {
  opacity: 1;
}

.footer__copyright {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.footer__links-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .footer__links-wrapper {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }
}

.footer__nav,
.footer__apps {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {

  .footer__nav,
  .footer__apps {
    justify-content: flex-start;
  }
}

.footer__link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: color 0.3s, transform 0.2s;
}

.footer__link:hover {
  color: var(--primary-magenta);
  transform: translateY(-2px);
}

.footer__app-link {
  color: var(--text-accent);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: transparent;
  padding: 0;
}

.footer__app-link:hover {
  color: #fff;
  transform: translateY(-2px);
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
}

.footer__app-link--web {
  font-weight: 700;
}

.footer__app-link--web:hover {
  color: #fff;
}