 * {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
 }

 html,
 body {
   height: 100%;
 }

 body {
   font-family:
     Montserrat Alternates,
     sans-serif;
   color: #fff;
   background:
     linear-gradient(rgba(24, 9, 52, 0.62), rgba(18, 7, 43, 0.82)) center / cover fixed no-repeat,
     url("../img/back.jpg") center / cover fixed no-repeat;
 }

 .container-wrapper {
   display: flex;
   flex-direction: column;
   min-width: 320px;
   min-height: 100%;
   height: 100%;
   padding-bottom: 30px;
   overflow-x: hidden;
 }

 .container {
   display: flex;
   flex-direction: column;
   align-items: center;
   width: 100%;
   max-width: 1040px;
   height: 100%;
   min-height: 100%;
   padding: clamp(32px, 6vw, 72px) clamp(16px, 4vw, 40px) 48px;
   margin: 0 auto;
   overflow-y: scroll;
 }

 .container::-webkit-scrollbar {
   display: none;
 }

 .hero {
   max-width: 780px;
   margin-bottom: clamp(28px, 5vw, 48px);
   text-align: center;
 }

 .hero-title {
   margin-bottom: 12px;
   font-size: clamp(30px, 6vw, 60px);
   line-height: 1.05;
   font-weight: 800;
   letter-spacing: -0.03em;
   text-shadow: 0 4px 22px rgba(0, 0, 0, 0.35);
 }

 .hero-subtitle {
   font-size: clamp(16px, 2.8vw, 23px);
   line-height: 1.5;
   font-weight: 500;
   color: rgba(255, 255, 255, 0.9);
 }

 .zodiac-grid {
   display: grid;
   grid-template-columns: repeat(4, minmax(0, 1fr));
   gap: clamp(12px, 2.4vw, 24px);
   width: 100%;
 }

 .answer-button {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   min-width: 0;
   padding: clamp(14px, 2.4vw, 22px) 10px;
   border: 1px solid rgba(255, 255, 255, 0.24);
   border-radius: clamp(16px, 2.4vw, 24px);
   color: #fff;
   background: rgba(255, 255, 255, 0.1);
   box-shadow: 0 14px 36px rgba(8, 1, 24, 0.28);
   backdrop-filter: blur(10px);
   -webkit-backdrop-filter: blur(10px);
   text-decoration: none;
   transition:
     transform 0.25s ease,
     background-color 0.25s ease,
     border-color 0.25s ease;
 }

 .answer-button:hover {
   transform: translateY(-5px);
   border-color: rgba(255, 255, 255, 0.5);
   background: rgba(255, 255, 255, 0.18);
 }

 .answer-button:focus-visible {
   outline: 3px solid rgba(255, 255, 255, 0.8);
   outline-offset: 3px;
 }

 .zodiac-image {
   display: block;
   width: clamp(72px, 10vw, 118px);
   aspect-ratio: 1;
   margin-bottom: 10px;
   object-fit: contain;
   filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.28));
 }

 .zodiac-name {
   font-size: clamp(14px, 2vw, 18px);
   line-height: 1.25;
   font-weight: 700;
   text-align: center;
 }

 @media (max-width: 760px) {
   .zodiac-grid {
     grid-template-columns: repeat(3, minmax(0, 1fr));
   }
 }

 @media (max-width: 520px) {
   .container {
     padding-top: 28px;
   }

   .zodiac-grid {
     grid-template-columns: repeat(2, minmax(0, 1fr));
   }

   .answer-button {
     min-height: 142px;
   }
 }

 .footer {
   display: flex;
   flex-direction: column;
   align-items: center;
   max-width: 550px;
   width: 100%;
   padding: 0 16px;
   margin: 0 auto;
   font-size: 11px;
   line-height: normal;
 }

 .footer p {
   padding: 0;
   margin: 0;
   text-align: center;
 }

 .footer a {
   color: inherit;
   text-decoration: none;
 }