/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;900&display=swap');

/*=============== ANIMATED GRADIENT BUTTON PROPERTIES ===============*/
@property --pos-x {
	syntax: '<percentage>';
	initial-value: 11.14%;
	inherits: false;
}

@property --pos-y {
	syntax: '<percentage>';
	initial-value: 140%;
	inherits: false;
}

@property --spread-x {
	syntax: '<percentage>';
	initial-value: 150%;
	inherits: false;
}

@property --spread-y {
	syntax: '<percentage>';
	initial-value: 180.06%;
	inherits: false;
}

@property --color-1 {
	syntax: '<color>';
	initial-value: #000;
	inherits: false;
}

@property --color-2 {
	syntax: '<color>';
	initial-value: #08012c;
	inherits: false;
}

@property --color-3 {
	syntax: '<color>';
	initial-value: #4e1e40;
	inherits: false;
}

@property --color-4 {
	syntax: '<color>';
	initial-value: #70464e;
	inherits: false;
}

@property --color-5 {
	syntax: '<color>';
	initial-value: #88394c;
	inherits: false;
}

@property --border-angle {
	syntax: '<angle>';
	initial-value: 20deg;
	inherits: true;
}

@property --border-color-1 {
	syntax: '<color>';
	initial-value: hsla(340, 75%, 60%, 0.2);
	inherits: true;
}

@property --border-color-2 {
	syntax: '<color>';
	initial-value: hsla(340, 75%, 40%, 0.75);
	inherits: true;
}

@property --stop-1 {
	syntax: '<percentage>';
	initial-value: 37.35%;
	inherits: false;
}

@property --stop-2 {
	syntax: '<percentage>';
	initial-value: 61.36%;
	inherits: false;
}

@property --stop-3 {
	syntax: '<percentage>';
	initial-value: 78.42%;
	inherits: false;
}

@property --stop-4 {
	syntax: '<percentage>';
	initial-value: 89.52%;
	inherits: false;
}

@property --stop-5 {
	syntax: '<percentage>';
	initial-value: 100%;
	inherits: false;
}

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  --hue: 104;
  --first-color: hsl(var(--hue), 91%, 54%);
  --first-color-alt: hsl(var(--hue), 91%, 50%);
  --title-color: hsl(var(--hue), 4%, 100%);
  --text-color: hsl(var(--hue), 4%, 85%);
  --text-color-light: hsl(var(--hue), 4%, 55%);

  /*Green gradient*/
  --body-color: linear-gradient(90deg, hsl(104, 28%, 40%) 0%, hsl(58, 28%, 40%) 100%);
  --container-color: linear-gradient(136deg, hsl(104, 28%, 35%) 0%, hsl(58, 28%, 35%) 100%);
  
  /*========== Font and typography ==========*/
  --body-font: 'Poppins', sans-serif;
  --heading-font: 'Courier New', 'Courier', monospace;
  --biggest-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-black: 900;

  /*========== Margenes Bottom ==========*/
  --mb-0-25: .25rem;
  --mb-0-5: .5rem;
  --mb-0-75: .75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 992px) {
  :root {
    --biggest-font-size: 4rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
*{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background: var(--body-color);
  color: var(--text-color);
}

h1,h2,h3,h4{
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--heading-font);
  text-shadow: 0 0 10px rgba(132, 204, 22, 0.3);
}

ul{
  list-style: none;
}

a{
  text-decoration: none;
}

img{
  max-width: 100%;
  height: auto;
}

button,
input{
  border: none;
  outline: none;
}

button{
  cursor: pointer;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

/*=============== REUSABLE CSS CLASSES ===============*/
.section{
  padding: 4.5rem 0 2rem;
}

.section__title{
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-2);
  text-align: center;
}

/*=============== LAYOUT ===============*/
.container{
  max-width: 968px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid{
  display: grid;
}

.main{
  overflow: hidden; /*For animation*/
}

/*=============== HEADER ===============*/
.header{
  width: 100%;
  background: var(--body-color); 
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
}

/*=============== NAV ===============*/
.nav{
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo{
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-medium);
}

.nav__logo-img{
  width: 1.25rem;
}

.nav__link,
.nav__logo,
.nav__toggle,
.nav__close{
  color: var(--title-color);
}

.nav__toggle{
  font-size: 1.25rem;
  cursor: pointer;
}

@media screen and (max-width: 767px){
  .nav__menu{
    position: fixed;
    width: 100%;
    background: var(--container-color);
    top: -150%;
    left: 0;
    padding: 3.5rem 0;
    transition: .4s;
    z-index: var(--z-fixed);
    border-radius: 0 0 1.5rem 1.5rem;
  }
}

.nav__img{
  width: 100px;
  position: absolute;
  top: 0;
  left: 0;
}

.nav__close{
  font-size: 1.8rem;
  position: absolute;
  top: .5rem;
  right: .7rem;
  cursor: pointer;
}

.nav__list{
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1.5rem;
}

.nav__link{
  text-transform: uppercase;
  font-weight: var(--font-black);
  transition: .4s;
}

.nav__link:hover{
  color: var(--text-color);
}

/* Show menu */
.show-menu{
  top: 0;
}

/* Change background header */
.scroll-header{
  background: var(--container-color);
}

/* Active link */
.active-link{
  position: relative;
}

.active-link::before{
  content: '';
  position: absolute;
  bottom: -.75rem;
  left: 45%;
  width: 5px;
  height: 5px;
  background-color: var(--title-color);
  border-radius: 50%;
}

/*=============== HOME ===============*/
.home__content{
  row-gap: 1rem;
}

.home__group{
  display: grid;
  position: relative;
  padding-top: 2rem;
}

.home__img{
  height: 250px;
  justify-self: center;
}

.home__indicator{
  width: 8px;
  height: 8px;
  background-color: var(--title-color);
  border-radius: 50%;
  position: absolute;
  top: 7rem;
  right: 2rem;
}

.home__indicator::after{
  content: '';
  position: absolute;
  width: 1px;
  height: 48px;
  background-color: var(--title-color);
  top: -3rem;
  right: 45%;
}

.home__details-img{
  position: absolute;
  right: .5rem;
}

.home__details-title,
.home__details-subtitle{
  display: block;
  font-size: var(--small-font-size);
  text-align: right;
}

.home__subtitle{
  font-size: var(--h3-font-size);
  text-transform: uppercase;
  margin-bottom: var(--mb-1);
}

.home__title{
  font-size: var(--biggest-font-size);
  font-weight: var(--font-black);
  line-height: 109%;
  margin-bottom: var(--mb-1);
}

.home__description{
  margin-bottom: var(--mb-1);
}

.home__buttons{
  display: flex;
  justify-content: space-between;
}

/* Swiper Class */
.swiper-pagination{
  position: initial;
  margin-top: var(--mb-1);
}

.swiper-pagination-bullet{
  width: 5px;
  height: 5px;
  background-color: var(--title-color);
  opacity: 1;
}

.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{
  margin: 0 .5rem;
} 

.swiper-pagination-bullet-active{
  width: 1.5rem;
  height: 5px;
  border-radius: .5rem;
}

/*=============== BUTTONS ===============*/
.button{
  display: inline-block;
  background-color: var(--first-color);
  color: var(--title-color);
  padding: 1rem 1.75rem;
  border-radius: .5rem;
  font-weight: var(--font-medium);
  transition: .3s;
}

.button:hover{
  background-color: var(--first-color-alt);
}

.button__icon{
  font-size: 1.25rem;
}

.button--ghost{
  border: 2px solid;
  background-color: transparent;
  border-radius: 3rem;
  padding: .75rem 1.5rem;
}

.button--ghost:hover{
  background: none;
}

.button--link{
  color: var(--title-color);
}

.button--flex{
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
}

/*=============== CATEGORY ===============*/
.category__container{
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
}

.category__data{
  text-align: center;
}

.category__img{
  width: 120px;
  margin-bottom: var(--mb-0-75);
  transition: .3s;
}

.category__title{
  margin-bottom: var(--mb-0-25);
}

.category__data:hover .category__img{
  transform: translateY(-.5rem);
}

/*=============== ABOUT ===============*/
.about__container{
  row-gap: 2rem;
}

.about__data{
  text-align: center;
}

.about__description{
  margin-bottom: var(--mb-2);
}

.about__img{
  width: 200px;
  justify-self: center;
  animation: floating 2s ease-in-out infinite;
}

/*=============== TRICK OR TREAT ===============*/
.trick__container{
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-top: 1rem;
}

.trick__content{
  position: relative;
  background: var(--container-color);
  border-radius: 1rem;
  padding: 1.5rem 0 1rem 0;
  text-align: center;
  overflow: hidden;
}

.trick__img{
  width: 90px;
  transition: .3s;
}

.trick__subtitle,
.trick__price{
  display: block;
}

.trick__subtitle{
  font-size: var(--smaller-font-size);
  margin-bottom: var(--mb-0-5);
}

.trick__title,
.trick__price{
  color: var(--title-color);
  font-weight: var(--font-medium);
  font-size: var(--normal-font-size);
}

.trick__button{
  display: inline-flex;
  padding: .5rem;
  border-radius: .25rem .25rem .75rem .25rem;
  position: absolute;
  right: -3rem;
  bottom: 0;
}

.trick__icon{
  font-size: 1.25rem;
  color: var(--title-color);
}

.trick__content:hover .trick__img{
  transform: translateY(-.5rem);
}

.trick__content:hover .trick__button{
  right: 0;
}

/*=============== DISCOUNT ===============*/
.discount__container{
  background: var(--container-color);
  border-radius: 1rem;
  padding: 2.5rem 0 1.5rem;
  row-gap: .75rem;
}

.discount__data{
  text-align: center;
}

.discount__title{
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-2);
}

.discount__img{
  width: 200px;
  justify-self: center;
}

/*=============== NEW ARRIVALS ===============*/
.new__container{
  padding-top: 1rem;
}

.new__img{
  width: 120px;
  margin-bottom: var(--mb-0-5);
  transition: .3s;
}

.new__content{
  position: relative;
  background: var(--container-color);
  width: 242px;
  padding: 2rem 0 1.5rem 0;
  border-radius: .75rem;
  text-align: center;
  overflow: hidden;
}

.new__tag{
  position: absolute;
  top: 8%;
  left: 8%;
  background-color: var(--first-color);
  color: var(--title-color);
  font-size: var(--small-font-size);
  padding: .25rem .5rem;
  border-radius: .25rem;
}

.new__title{
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

.new__subtitle{
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-0-5);
}

.new__prices{
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
}

.new__price{
  font-weight: var(--font-medium);
  color: var(--title-color);
}

.new__discount{
  color: var(--first-color);
  font-size: var(--smaller-font-size);
  text-decoration: line-through;
  font-weight: var(--font-medium);
}

.new__button{
  display: inline-flex;
  padding: .5rem;
  border-radius: .25rem .25rem .75rem .25rem;
  position: absolute;
  bottom: 0;
  right: -3rem;
}

.new__icon{
  font-size: 1.25rem;
}

.new__content:hover .new__img{
  transform: translateY(-.5rem);
}

.new__content:hover .new__button{
  right: 0;
}

/*=============== NEWSLETTER ===============*/
.newsletter__description{
  text-align: center;
  margin-bottom: var(--mb-1-5);
}

.newsletter__form{
  background: var(--container-color);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  border-radius: .75rem;
}

.newsletter__input{
  width: 70%;
  padding: 0 .5rem;
  background: none;
  color: var(--title-color);
}

.newsletter__input::placeholder{
  color: var(--text-color);
}

/*=============== FOOTER ===============*/
.footer{
  position: relative;
  overflow: hidden;
}

.footer__img-one,
.footer__img-two{
  position: absolute;
  transition: .3s;
}

.footer__img-one{
  width: 100px;
  top: 6rem;
  right: -2rem;
}

.footer__img-two{
  width: 150px;
  bottom: 4rem;
  right: 4rem;
}

.footer__img-one:hover,
.footer__img-two:hover{
  transform: translateY(-.5rem);
}

.footer__container{
  row-gap: 2rem;
}

.footer__logo{
  display: flex;
  align-items: center;
  column-gap: .5rem;
  margin-bottom: var(--mb-1);
  font-weight: var(--font-medium);
  color: var(--title-color);
}

.footer__logo-img{
  width: 20px;
}

.footer__description{
  margin-bottom: var(--mb-2-5);
}

.footer__social{
  display: flex;
  column-gap: .75rem;
}

.footer__social-link{
  display: inline-flex;
  background: var(--container-color);
  padding: .25rem;
  border-radius: .25rem;
  color: var(--title-color);
  font-size: 1rem;
}

.footer__social-link:hover{
  background: var(--body-color);
}

.footer__title{
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
}

.footer__links{
  display: grid;
  row-gap: .35rem;
}

.footer__link{
  font-size: var(--small-font-size);
  color: var(--text-color);
  transition: .3s;
}

.footer__link:hover{
  color: var(--title-color);
}

.footer__copy{
  display: block;
  text-align: center;
  font-size: var(--smaller-font-size);
  margin-top: 4.5rem;
}

/*=============== SCROLL UP ===============*/
.scrollup{
  position: fixed;
  background: var(--container-color);
  right: 1rem;
  bottom: -20%;
  display: inline-flex;
  padding: .3rem;
  border-radius: .25rem;
  z-index: var(--z-tooltip);
  opacity: .8;
  transition: .4s;
}

.scrollup__icon{
  font-size: 1.25rem;
  color: var(--title-color);
}

.scrollup:hover{
  background: var(--container-color);
  opacity: 1;
}

/* Show Scroll Up*/
.show-scroll{
  bottom: 3rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar{
  width: 0.6rem;
  background: #413e3e;
}

::-webkit-scrollbar-thumb{
  background: #272525;
  border-radius: .5rem;
}

/*===============  BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px){
  .container{
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }

  .home__img{
    height: 200px;
  }
  .home__buttons{
    flex-direction: column;
    width: max-content;
    row-gap: 1rem;
  }

  .category__container,
  .trick__container{
    grid-template-columns: .8fr;
    justify-content: center;
  }
}

/* For medium devices */
@media screen and (min-width: 576px){
  .about__container{
    grid-template-columns: .8fr;
    justify-content: center;
  }

  .newsletter__container{
    display: grid;
    grid-template-columns: .7fr;
    justify-content: center;
  }
  .newsletter__description{
    padding: 0 3rem;
  }
}

@media screen and (min-width: 767px){
  body{
    margin: 0;
  }

  .section{
    padding: 7rem 0 2rem;
  }

  .nav{
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__img,
  .nav__close,
  .nav__toggle{
    display: none;
  }
  .nav__list{
    flex-direction: row;
    column-gap: 3rem;
  }
  .nav__link{
    text-transform: initial;
    font-weight: initial;
  }

  .home__content{
    padding: 8rem 0 2rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
  .home__img{
    height: 300px;
  }
  .swiper-pagination{
    margin-top: var(--mb-2);
  }

  .category__container{
    grid-template-columns: repeat(3, 200px);
    justify-content: center;
  }

  .about__container{
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
  .about__title,
  .about__data{
    text-align: initial;
  }
  .about__img{
    width: 250px;
  }

  .trick__container{
    grid-template-columns: repeat(3, 200px);
    justify-content: center;
    gap: 2rem;
  }

  .discount__container{
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    align-items: center;
    column-gap: 3rem;
    padding: 3rem 0;
    border-radius: 3rem;
  }
  .discount__img{
    width: 350px;
    order: -1;
  }
  .discount__data{
    padding-right: 6rem;
  }

  .newsletter__container{
    grid-template-columns: .5fr;
  }

  .footer__container{
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    column-gap: 1rem;
  }
  .footer__img-two{
    right: initial;
    bottom: 0;
    left: 15%;
  }
}

/* For large devices */
@media screen and (min-width: 992px){
  .container{
    margin-left: auto;
    margin-right: auto;
  }

  .section__title{
    font-size: var(--h1-font-size);
    margin-bottom: 3rem;
  }

  .home__content{
    padding-top: 9rem;
    gap: 3rem;
  }
  .home__group{
    padding-top: 0;
  }
  .home__img{
    height: 400px;
    transform: translateY(-3rem);
  }
  .home__indicator{
    top: initial;
    right: initial;
    bottom: 15%;
    left: 45%;
  }
  .home__indicator::after{
    top: 0;
    height: 75px;
  }
  .home__details-img{
    bottom: 0;
    right: 58%;
  }
  .home__title{
    margin-bottom: var(--mb-1-5);
  }
  .home__description{
    margin-bottom: var(--mb-2-5);
    padding-right: 2rem;
  }

  .category__container{
    column-gap: 8rem;
  }
  .category__img{
    width: 200px;
  }

  .about__container{
    column-gap: 7rem;
  }
  .about__img{
    width: 350px;
  }
  .about__description{
    padding-right: 2rem;
  }

  .trick__container{
    gap: 3.5rem;
  }
  .trick__content{
    border-radius: 1.5rem;
  }
  .trick__img{
    width: 110px;
  }
  .trick__title{
    font-size: var(--h3-font-size);
  }

  .discount__container{
    column-gap: 7rem;
  }

  .new__content{
    width: 310px;
    border-radius: 1rem;
    padding: 2rem 0;
  }
  .new__img{
    width: 150px;
  }
  .new__img,
  .new__subtitle{
    margin-bottom: var(--mb-1);
  }
  .new__title{
    font-size: var(--h3-font-size);
  }

  .footer__copy{
    margin-top: 6rem;
  }
}

@media screen and (min-width: 1200px){
  .home__img{
    height: 420px;
  }
  .swiper-pagination{
    margin-top: var(--mb-2-5);
  }
  .footer__img-one{
    width: 120px;
  }
  .footer__img-two{
    width: 180px;
    top: 30%;
    left: -3%;
  }
}

/*=============== KEYFRAMES ===============*/
@keyframes floating {
  0% { transform: translate(0,  0px); }
  50%  { transform: translate(0, 15px); }
  100%   { transform: translate(0, -0px); }   
}

/*=============== HERO SECTION ===============*/
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(132, 204, 22, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 204, 22, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  z-index: 0;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.hero__container {
  max-width: 1200px;
  z-index: 2;
  position: relative;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__text {
  text-align: left;
}

.hero__glass {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(132, 204, 22, 0.1);
  border-radius: 1.5rem;
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.hero__subtitle {
  font-size: var(--normal-font-size);
  color: var(--first-color);
  margin-bottom: var(--mb-1);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--body-font);
  font-weight: var(--font-medium);
}

.typing-text {
  display: inline-block;
  overflow: hidden;
  border-right: 2px solid var(--first-color);
  white-space: nowrap;
  animation: typing 3s steps(30) 1s forwards, blink 0.75s step-end infinite;
  width: 0;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

.cursor {
  color: var(--first-color);
  animation: blink 0.75s step-end infinite;
}

.hero__title {
  font-size: 5rem;
  margin-bottom: var(--mb-0-75);
  line-height: 1.1;
}

.hero__gradient {
  background: linear-gradient(135deg, #84cc16 0%, #bef264 50%, #84cc16 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
  position: relative;
  display: inline-block;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero__gradient:hover {
  animation: gradientShift 1s ease infinite, glitch 0.3s ease-in-out;
}

@keyframes glitch {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(2px, -2px); }
  60% { transform: translate(-2px, -2px); }
  80% { transform: translate(2px, 2px); }
}

.hero__tagline {
  font-size: var(--h2-font-size);
  color: var(--text-color);
  margin-bottom: var(--mb-1);
  font-weight: var(--font-medium);
}

.hero__description {
  font-size: var(--normal-font-size);
  color: var(--text-color-light);
  line-height: 1.8;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__throne {
  width: 100%;
  max-width: 500px;
  height: auto;
  position: relative;
  z-index: 2;
  animation: floating 3s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(132, 204, 22, 0.3));
  transition: transform 0.3s ease;
}

.hero__throne:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 50px rgba(132, 204, 22, 0.5));
}

.hero__throne-glow {
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 1;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

/* Responsive */
@media screen and (max-width: 968px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero__text {
    text-align: center;
  }
  
  .hero__buttons {
    justify-content: center;
  }
  
  .hero__title {
    font-size: 3.5rem;
  }
  
  .hero__throne {
    max-width: 350px;
  }
}

@media screen and (max-width: 576px) {
  .hero__title {
    font-size: 2.5rem;
  }
  
  .hero__glass {
    padding: 1.5rem;
  }
  
  .hero__throne {
    max-width: 280px;
  }
}

/*=============== SUPER BUTTON ===============*/
.super-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  background: linear-gradient(145deg, #0f0f0f, #1c1c1c);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  box-shadow: 0 0 20px rgba(132, 204, 22, 0.1);
  backdrop-filter: blur(8px);
  z-index: 1;
}

.super-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, #84cc16, #22c55e, #84cc16);
  animation: rotate 4s linear infinite;
  z-index: -2;
}

.super-button::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: #0a0a0a;
  border-radius: inherit;
  z-index: -1;
}

.super-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(132, 204, 22, 0.2);
}

.super-button:hover .arrow {
  transform: translateX(6px);
}

.arrow {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease-in-out;
  color: #84cc16;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*=============== SERVICES SECTION ===============*/
.services__container {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service__card {
  perspective: 1000px;
  height: 280px;
}

.service__card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.service__card:hover .service__card-inner,
.service__card.active .service__card-inner {
  transform: rotateY(180deg);
}

.service__card-front,
.service__card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--container-color);
  border: 2px solid transparent;
  transition: border 0.3s;
}

.service__card:hover .service__card-front,
.service__card:hover .service__card-back {
  border-color: var(--first-color);
  box-shadow: 0 0 20px rgba(132, 204, 22, 0.3);
}

.service__card-back {
  transform: rotateY(180deg);
}

.service__icon {
  font-size: 3rem;
  color: var(--first-color);
  margin-bottom: var(--mb-1);
}

.service__title {
  font-size: var(--h3-font-size);
  margin-bottom: 0;
}

.service__description {
  font-size: var(--normal-font-size);
  color: var(--text-color-light);
  line-height: 1.6;
}

/*=============== ABOUT SECTION ===============*/
.about {
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(132, 204, 22, 0.03) 2px,
    rgba(132, 204, 22, 0.03) 4px
  );
  animation: matrixRain 15s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes matrixRain {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.about__container {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.about__left {
  position: sticky;
  top: 100px;
}

/* Profile Card */
.profile__card {
  background: var(--container-color);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 2px solid rgba(132, 204, 22, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  transform-style: preserve-3d;
}

.profile__card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 20px 40px rgba(132, 204, 22, 0.2);
}

.profile__glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

.profile__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.profile__avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid var(--first-color);
  padding: 0.5rem;
  background: var(--body-color);
  box-shadow: 0 0 30px rgba(132, 204, 22, 0.4);
  animation: floating 3s ease-in-out infinite;
}

.profile__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(132, 204, 22, 0.1);
  border-radius: 50px;
  border: 1px solid var(--first-color);
}

.status__dot {
  width: 10px;
  height: 10px;
  background: var(--first-color);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

.status__text {
  font-size: var(--small-font-size);
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
}

.profile__info {
  text-align: center;
}

.profile__name {
  font-size: var(--h2-font-size);
  color: var(--first-color);
  margin-bottom: 0.5rem;
  font-family: var(--heading-font);
}

.profile__level {
  font-size: var(--normal-font-size);
  color: var(--text-color-light);
  margin-bottom: 1rem;
}

.profile__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(132, 204, 22, 0.2), rgba(132, 204, 22, 0.1));
  border-radius: 50px;
  border: 1px solid var(--first-color);
  font-size: var(--small-font-size);
  color: var(--text-color);
}

.profile__badge i {
  color: var(--first-color);
  font-size: 1.2rem;
}

/* Right Side */
.about__right {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about__story {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(132, 204, 22, 0.1);
  border-radius: 1rem;
  padding: 2rem;
}

.about__description {
  color: var(--text-color-light);
  line-height: 1.8;
  margin-bottom: var(--mb-1-5);
}

.about__description:last-child {
  margin-bottom: 0;
}

.highlight {
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--first-color);
  opacity: 0.3;
}

/* Skills Section */
.skills__section {
  background: var(--container-color);
  border-radius: 1rem;
  padding: 2rem;
  border: 2px solid rgba(132, 204, 22, 0.1);
}

.skills__title {
  font-size: var(--h3-font-size);
  color: var(--first-color);
  margin-bottom: 1.5rem;
  font-family: var(--heading-font);
}

.skill__bars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skill__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill__name {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  font-weight: var(--font-medium);
}

.skill__percentage {
  font-size: var(--small-font-size);
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--heading-font);
}

.skill__bar {
  height: 8px;
  background: rgba(132, 204, 22, 0.1);
  border-radius: 50px;
  overflow: hidden;
  position: relative;
}

.skill__progress {
  height: 100%;
  background: linear-gradient(90deg, var(--first-color), var(--first-color-alt));
  border-radius: 50px;
  position: relative;
  animation: loadSkill 2s ease-out forwards;
  box-shadow: 0 0 10px rgba(132, 204, 22, 0.5);
}

.skill__progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes loadSkill {
  from { width: 0 !important; }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Achievement Badges */
.achievements__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.achievement__badge {
  background: var(--container-color);
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.achievement__badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(132, 204, 22, 0.1), transparent);
  transition: left 0.5s ease;
}

.achievement__badge:hover::before {
  left: 100%;
}

.achievement__badge:hover {
  border-color: var(--first-color);
  box-shadow: 0 0 20px rgba(132, 204, 22, 0.3);
  transform: translateY(-5px);
}

.badge__icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 0.75rem;
  background: linear-gradient(135deg, rgba(132, 204, 22, 0.2), rgba(132, 204, 22, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--first-color);
  flex-shrink: 0;
}

.badge__icon i {
  font-size: 1.5rem;
  color: var(--first-color);
}

.badge__number {
  font-size: 1.75rem;
  color: var(--first-color);
  font-family: var(--heading-font);
  margin-bottom: 0.25rem;
  line-height: 1;
}

.badge__label {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
  line-height: 1.3;
}

/* Responsive */
@media screen and (max-width: 968px) {
  .about__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about__left {
    position: relative;
    top: 0;
  }
  
  .profile__card {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .achievements__grid {
    max-width: 400px;
    margin: 2rem auto 0;
  }
}

@media screen and (max-width: 576px) {
  .achievements__grid {
    grid-template-columns: 1fr;
    max-width: 300px;
  }
  
  .profile__avatar {
    width: 120px;
    height: 120px;
  }
}

/*=============== GALLERY SECTION ===============*/
.gallery__container {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 1rem;
}

.project__card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(132, 204, 22, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(132, 204, 22, 0.03), transparent);
  transform: translateX(-100%);
  transition: 0.5s;
}

.project__card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--first-color);
  box-shadow: 0 10px 30px -10px rgba(132, 204, 22, 0.3);
}

.project__card:hover::before {
  transform: translateX(100%);
}

.project__image-box {
  height: 220px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(132, 204, 22, 0.1);
}

.project__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.project__card:hover .project__img {
  transform: scale(1.1);
}

.project__glitch-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent 50%, rgba(132, 204, 22, 0.1) 50%);
  background-size: 100% 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.project__card:hover .project__glitch-effect {
  opacity: 1;
}

.project__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
  color: var(--white-color);
  font-family: var(--heading-font);
  letter-spacing: 0.5px;
}

.project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project__tags span {
  font-size: var(--smaller-font-size);
  color: var(--first-color);
  background: rgba(132, 204, 22, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  border: 1px solid rgba(132, 204, 22, 0.2);
  font-family: var(--body-font);
}

.project__description {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--first-color);
  color: var(--first-color);
  transition: 0.3s;
  margin-top: auto;
}

.project__button:hover {
  background: var(--first-color);
  color: var(--body-color);
  box-shadow: 0 0 15px rgba(132, 204, 22, 0.4);
}

.project__button i {
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.project__button:hover i {
  transform: translateX(5px);
}

/*=============== FAQ SECTION ===============*/
.faq__container {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  background: var(--container-color);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  border: 2px solid transparent;
  transition: border 0.3s;
}

.faq__item.active {
  border-color: var(--first-color);
}

.faq__header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq__header:hover {
  background: rgba(132, 204, 22, 0.05);
}

.faq__question {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  margin: 0;
}

.faq__icon {
  font-size: 1.5rem;
  color: var(--first-color);
  transition: transform 0.3s;
}

.faq__item.active .faq__icon {
  transform: rotate(180deg);
}

.faq__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq__item.active .faq__content {
  max-height: 500px;
  transition: max-height 0.5s ease-in;
}

.faq__answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-color-light);
  line-height: 1.8;
}

/*=============== CONTACT SECTION ===============*/
.contact__subtitle {
  text-align: center;
  color: var(--text-color-light);
  margin-bottom: var(--mb-2-5);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.contact__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--mb-2-5);
}

.contact__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/*=============== ANIMATED GRADIENT BUTTONS ===============*/
.gradient-btn {
	border-radius: 11px;
	padding: 16px 36px;
	min-width: 132px;
	font-size: 16px;
	line-height: 19px;
	font: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
	letter-spacing: inherit;
	font-weight: 500;
	color: rgba(255 255 255 / 95%);
	border: none;
	position: relative;
	cursor: pointer;
	appearance: none;
	background: radial-gradient(
		var(--spread-x) var(--spread-y) at var(--pos-x) var(--pos-y),
		var(--color-1) var(--stop-1),
		var(--color-2) var(--stop-2),
		var(--color-3) var(--stop-3),
		var(--color-4) var(--stop-4),
		var(--color-5) var(--stop-5)
	);
	text-shadow: 0 0 2px rgba(0, 0, 0, 0.95);
	outline: none;
	-webkit-tap-highlight-color: transparent;
	transition:
		--pos-x 0.5s,
		--pos-y 0.5s,
		--spread-x 0.5s,
		--spread-y 0.5s,
		--color-1 0.5s,
		--color-2 0.5s,
		--color-3 0.5s,
		--color-4 0.5s,
		--color-5 0.5s,
		--border-angle 0.5s,
		--border-color-1 0.5s,
		--border-color-2 0.5s,
		--stop-1 0.5s,
		--stop-2 0.5s,
		--stop-3 0.5s,
		--stop-4 0.5s,
		--stop-5 0.5s;
}

.gradient-btn::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background-image: linear-gradient(var(--border-angle), var(--border-color-1), var(--border-color-2));
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	pointer-events: none;
}

.gradient-btn:hover {
	--pos-x: 0%;
	--pos-y: 91.51%;
	--spread-x: 120.24%;
	--spread-y: 103.18%;

	--color-1: #5865F2;
	--color-2: #4752C4;
	--color-3: #3C45A5;
	--color-4: #2C3680;
	--color-5: #1a1f4d;

	--border-angle: 190deg;
	--border-color-1: hsla(235, 78%, 90%, 0.1);
	--border-color-2: hsla(235, 75%, 90%, 0.6);

	--stop-1: 0%;
	--stop-2: 8.8%;
	--stop-3: 21.44%;
	--stop-4: 71.34%;
	--stop-5: 85.76%;
}

.gradient-btn.variant {
	--color-1: #14532d;
	--color-2: #166534;
	--color-3: #15803d;
	--color-4: #16a34a;
	--color-5: #0f3d20;

	--pos-x: 40%;
	--pos-y: 140%;
	--spread-x: 130%;
	--spread-y: 170.06%;
	--stop-1: 37.35%;
	--stop-2: 61.36%;
	--stop-3: 78.42%;
	--stop-4: 93.52%;
	--stop-5: 100%;

	--border-angle: 180deg;
	--border-color-1: hsla(140, 75%, 90%, 0.9);
	--border-color-2: hsla(140, 50%, 90%, 0.1);
}

.gradient-btn.variant:hover {
	--pos-x: 0%;
	--pos-y: 120%;
	--spread-x: 110.24%;
	--spread-y: 110.2%;

	--color-1: #0f3d20;
	--color-2: #16a34a;
	--color-3: #22c55e;
	--color-4: #4ade80;

	--stop-1: 0%;
	--stop-2: 10%;
	--stop-3: 35.44%;
	--stop-4: 71.34%;
	--stop-5: 150%;

	--border-angle: 190deg;
	--border-color-1: hsla(140, 75%, 90%, 0.1);
	--border-color-2: hsla(140, 50%, 90%, 0.35);
}

.contact__form-container {
  background: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
  border: 2px solid transparent;
  transition: border 0.3s;
}

.contact__form-container:focus-within {
  border-color: var(--first-color);
}

.form__group {
  margin-bottom: var(--mb-1-5);
}

.form__input,
.form__textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid transparent;
  border-radius: 0.5rem;
  padding: 1rem;
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  transition: border 0.3s;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--first-color);
  outline: none;
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-color-light);
}

/*=============== FOOTER ===============*/
.footer {
  padding: 3rem 0 2rem;
  background: rgba(0, 0, 0, 0.3);
}

.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__logo {
  font-size: var(--h2-font-size);
  font-family: var(--heading-font);
  color: var(--first-color);
  text-shadow: 0 0 10px rgba(132, 204, 22, 0.3);
}

.footer__description {
  color: var(--text-color-light);
  margin-top: var(--mb-0-5);
  font-size: var(--small-font-size);
}

.footer__links-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__link {
  color: var(--text-color);
  transition: color 0.3s;
}

.footer__link:hover {
  color: var(--first-color);
}

.footer__copy {
  display: block;
  text-align: center;
  color: var(--text-color-light);
  font-size: var(--smaller-font-size);
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/*=============== RESPONSIVE ADJUSTMENTS ===============*/
@media screen and (min-width: 768px) {
  .about__container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  
  .about__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .hero__title {
    font-size: 2.5rem;
  }
  
  .hero__container {
    padding: 2rem 1rem;
  }
  
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero__content {
    order: 2;
  }
  
  .hero__throne-wrapper {
    order: 1;
    max-width: 100%;
  }
  
  .service__card {
    height: auto;
    min-height: 280px;
  }
  
  .services__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about__left,
  .about__right {
    max-width: 100%;
  }
  
  .gallery__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0.5rem;
  }
  
  .project__card {
    max-width: 100%;
  }
  
  .contact__buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .contact__button,
  .gradient-btn {
    width: calc(100% - 2rem);
    max-width: 100%;
    justify-content: center;
    margin: 0 auto;
  }
  
  .faq__container {
    padding: 0 1rem;
  }
  
  .faq__question {
    font-size: var(--normal-font-size);
  }
  
  .footer__container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer__links-container {
    justify-content: center;
  }
  
  .section__title {
    font-size: var(--h1-font-size);
  }
  
  .contact__subtitle {
    font-size: var(--small-font-size);
    padding: 0 1rem;
  }
}

@media screen and (max-width: 576px) {
  .hero__title {
    font-size: 2rem;
  }
  
  .hero__subtitle {
    font-size: var(--normal-font-size);
  }
  
  .hero__glass {
    padding: 1.5rem;
  }
  
  .hero__throne {
    max-width: 250px;
  }
  
  .hero__buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .super-button,
  .button {
    width: 100%;
    padding: 12px 20px;
  }
  
  .service__title {
    font-size: var(--h3-font-size);
  }
  
  .achievements__grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    gap: 1rem;
  }
  
  .achievement__badge {
    min-height: 120px;
  }
  
  .profile__avatar {
    width: 100px;
    height: 100px;
  }
  
  .profile__name {
    font-size: var(--h2-font-size);
  }
  
  .skill__bars {
    gap: 1rem;
  }
  
  .project__image-box {
    height: 180px;
  }
  
  .project__title {
    font-size: var(--normal-font-size);
  }
  
  .project__tags {
    gap: 0.4rem;
  }
  
  .project__tags span {
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
  }
  
  .faq__question {
    font-size: var(--small-font-size);
  }
  
  .faq__answer {
    font-size: var(--small-font-size);
  }
  
  .gradient-btn {
    font-size: 14px;
    padding: 14px 24px;
    min-width: 100%;
  }
}
