/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@400;500;600;700&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
--first-color: hsl(191, 81%, 12%);
  --black-color: hsl(0, 0%, 0%);
  --black-color-light: hsl(0, 0%, 40%);
  --white-color: hsl(0, 0%, 95%);
  --title-color: hsl(0, 0%, 0%);
  --text-color: hsl(0, 0%, 35%);
  --text-color-light: hsl(0, 0%, 64%);
  --body-color: hsl(0, 0%, 87%);
  --container-color: hsl(0, 0%, 83%);
  --lam-color: hsl(171, 61%, 15%);
  --lam2-color: hsl(174, 47%, 19%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Bai Jamjuree", sans-serif;
  --biggest-font-size: 2.5rem;
  --h1-font-size: 1.75rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 4.5rem;
    --h1-font-size: 3rem;
    --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 {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== THEME ===============*/


/*========== Variables Dark theme ==========*/


/*========== 
	Color changes in some parts of 
	the website, in dark theme
==========*/


/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 4rem 2rem;
}

.section__title-1, 
.section__title-2 {
  position: relative;
  font-size: var(--h1-font-size);
  width: max-content;
  margin: .75rem auto 2rem;
}

.section__title-1 span, 
.section__title-2 span {
  z-index: 5;
  position: relative;
}

.section__title-1::after, 
.section__title-2::after {
  content: "";
  width: 40px;
  height: 28px;
  background-color: hsla(14, 98%, 50%, .2);
  position: absolute;
  top: -4px;
  right: -8px;
}

.section__title-2::after {
  top: initial;
  bottom: -4px;
}

.geometric-box {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--first-color);
  rotate: -30deg;
}

.geometric-box::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid var(--black-color);
  left: -5px;
  top: -5px;
}

.main {
  overflow: hidden; /* For animation ScrollReveal */
}

/*=============== HEADER & NAV ===============*/
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: var(--body-color);
    z-index: var(--z-fixed);
    transition: box-shadow .4s;
}

.nav {
    position: relative;
    height: 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav__logo {
    display: flex;
    align-items: center;
    column-gap: .5rem;
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    flex-shrink: 0; /* Ngăn logo bị co lại */
}

.nav__logo-circle {
    width: 28px;
    height: 28px;
    background-color: var(--black-color);
    color: var(--white-color);
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-weight: var(--font-bold);
    font-size: var(--small-font-size);
}

.nav__logo-name {
    font-size: var(--normal-font-size);
}

.nav__toggle,
.nav__close {
    display: flex;
    font-size: 1.25rem;
    color: var(--title-color);
    cursor: pointer;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
    .nav__menu {
        position: fixed;
        top: -100%;
        left: 0;
        background-color: hsla(0, 0%, 0%, .75);
        width: 100%;
        padding-block: 1.8rem 5rem;
        text-align: center;
        backdrop-filter: blur(8px);
        transition: top .4s;
        margin-left: 0; /* Reset margin trên mobile */
    }
}

.nav__list {
    display: flex;
    flex-direction: column;
    row-gap: 2.5rem;
}

.nav__link {
    color: var(--white-color);
    font-weight: var(--font-semi-bold);
    transition: color .4s;
}

.nav__link:hover {
    color: var(--first-color);
}

.nav__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

/* Show menu */
.show-menu {
    top: 0;
}

/* Add shadow header */
.shadow-header {
    box-shadow: 0 1px 16px hsla(0, 0%, 0%, .12);
}

/* Active link */
.active-link {
    color: var(--first-color);
}

/* For large devices */
@media screen and (min-width: 1150px) {
    .nav {
        height: 4rem;
        padding: 0 2rem; /* Tăng padding trên desktop */
    }
    
    .nav__toggle,
    .nav__close {
        display: none;
    }

    .nav__menu {
        display: flex;
        margin-left: auto; /* Chỉ đẩy menu sang phải trên desktop */
        flex-shrink: 0; /* Ngăn menu bị co lại */
    }

    .nav__list {
        flex-direction: row;
        column-gap: 3rem;
        margin: 0; /* Reset margin */
        padding: 0; /* Reset padding */
    }

    .nav__link {
        color: var(--title-color);
        font-weight: var(--font-medium);
        white-space: nowrap; /* Ngăn chữ bị xuống dòng */
    }

    .nav__link:hover {
        color: var(--first-color);
    }
}

/* Đảm bảo container không tạo khoảng trống */
.container {
    max-width: 1120px;
    margin-inline: 1.5rem;
    padding: 0;
}

/* Fix cho các màn hình rất lớn */
@media screen and (min-width: 1440px) {
    .nav {
        max-width: 1200px;
    }
}
/*=============== FIX LAYOUT ISSUES ===============*/
/* Đảm bảo không có margin/padding không cần thiết */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Ngăn scroll ngang */
}

/* Đảm bảo header chiếm toàn bộ chiều rộng */
.header {
    left: 0;
    right: 0;
    width: 100vw; /* Sử dụng viewport width */
}

/* Fix cho container */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Đảm bảo nav không vượt quá container */
.nav {
    width: 100%;
    max-width: 1120px;
}

/* Responsive fixes */
@media screen and (max-width: 350px) {
    .nav__logo-name {
        font-size: var(--small-font-size); /* Nhỏ hơn trên mobile rất nhỏ */
    }
    
    .nav__list {
        column-gap: 2rem; /* Giảm khoảng cách trên mobile nhỏ */
    }
}


/* Show menu */

/*=============== PROJECTS ===============*/
.project__container {
    row-gap: 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project__card {
    background-color: var(--container-color);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px hsla(0, 0%, 0%, 0.1);
    transition: transform 0.4s, box-shadow 0.4s;
    margin-bottom: 3rem;
    max-width: 900px;
    width: 100%;
}

.project__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.15);
}

.project__image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.project__card:hover .project__img {
    transform: scale(1.05);
}

.project__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, hsla(0, 0%, 0%, 0.8));
    color: var(--white-color);
    padding: 2rem 1.5rem;
}

.project__title {
    font-size: var(--h2-font-size);
    margin-bottom: 0.25rem;
    color: var(--white-color);
}

.project__subtitle {
    font-size: var(--small-font-size);
    color: var(--white-color);
    opacity: 0.8;
}

.project__data {
    padding: 2rem 1.5rem;
    text-align: left;
}

.project__description {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.project__highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.project__highlights .highlight__item h4 {
    color: var(--first-color);
    margin-bottom: 0.5rem;
    font-size: var(--h3-font-size);
}

.project__highlights .highlight__item p {
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.5;
}

.project__tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.project__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media screen and (min-width: 768px) {
    .project__image {
        height: 300px;
    }
    
    .project__data {
        padding: 2.5rem;
    }
    
    .project__highlights {
        gap: 2rem;
    }
}

@media screen and (min-width: 1150px) {
    .project__card {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .project__image {
        height: 100%;
        min-height: 400px;
    }
    
    .project__data {
        padding: 3rem;
    }
}

/* Add shadow header */


/* Active link */



/* Animate scroll icon */


/*=============== BUTTON ===============*/


/*=============== ABOUT ===============*/
.about {
    position: relative;
    overflow: hidden;
}

.about__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.about__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.05) saturate(1.1); /* Làm ảnh sáng và rực rỡ hơn */
}

/* Phiên bản 1: Overlay rất nhẹ với gradient tinh tế */
.about__bg-overlay-ultralight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        hsla(0, 0%, 100%, 0.15) 0%,
        hsla(0, 0%, 100%, 0.1) 50%,
        hsla(0, 0%, 100%, 0.15) 100%
    );
    backdrop-filter: blur(0.5px);
}

.about__container {
    position: relative;
    z-index: 1;
    row-gap: 3.5rem;
}

.about__content {
    background-color: hsla(0, 0%, 100%, 0.85);
    padding: 2rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid hsla(0, 0%, 100%, 0.2);
    box-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.1);
}

.about__description {
    margin-bottom: 2rem;
    color: var(--text-color);
}

.about__description b {
    background: linear-gradient(90deg, 
                hsla(14, 98%, 50%, .3), 
                hsla(14, 98%, 50%, 0));
}

.about__list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.about__item {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.about__buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.about__img {
    width: 220px;
    border-radius: 1rem;
    margin: 0 auto;
    box-shadow: 0 8px 24px hsla(0, 0%, 0%, 0.3);
}

/* Geometric box decoration */
.about__info {
    position: relative;
}

.about__box {
    width: 220px;
    height: 280px;
    background-color: var(--lam-color);
    border-radius: 1rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 24px hsla(0, 0%, 0%, 0.3);
}

.about__box::after {
    content: '';
    position: absolute;
    width: 210px;
    height: 270px;
    border: 3px solid var(--black-color);
    border-radius: 1rem;
    left: 10px;
    top: 10px;
}

/* Thêm vào file styles.css */
/*=============== ABOUT IMAGE FIX ===============*/
.about__data {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about__info {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about__box {
    width: 280px;
    height: 340px;
    background: linear-gradient(135deg, var(--lam-color), hsl(172, 39%, 44%));
    border-radius: 1rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 15px 35px hsla(172, 39%, 34%, 0.3);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 3px solid var(--lam-color);
}

.about__box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px hsla(172, 39%, 34%, 0.4);
    border-color: var(--lam-color);
}

.about__box::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.about__box:hover::before {
    transform: translateX(100%);
}

.about__img {
    width: 260px;
    height: 320px;
    border-radius: 0.8rem;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border: 4px solid var(--lam-color);
    box-shadow: 0 8px 25px hsla(0, 0%, 0%, 0.2);
    transition: all 0.4s ease;
}

.about__box:hover .about__img {
    transform: scale(1.02);
    border-color: var(--lam-color);
    box-shadow: 0 12px 30px hsla(171, 43%, 12%, 0.3);
}

.about__box::after {
    content: '';
    position: absolute;
    width: 270px;
    height: 330px;
    border: 3px solid var(--lam-color);
    border-radius: 0.8rem;
    left: 5px;
    top: 5px;
    z-index: 1;
    opacity: 0.6;
}

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.about__box {
    animation: float 6s ease-in-out infinite;
}

/* Decorative elements với màu xanh lam */
.about__decoration {
    position: absolute;
    background: var(--lam-color);
    border-radius: 50%;
    opacity: 0.2;
    z-index: 0;
}

.about__decoration-1 {
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
}

.about__decoration-2 {
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
}

/* Status indicator với theme xanh lam */
.about__status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--white-color);
    border-radius: 2rem;
    box-shadow: 0 4px 15px hsla(172, 39%, 34%, 0.2);
    border: 2px solid var(--lam-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.status__indicator {
    width: 8px;
    height: 8px;
    background: var(--lam-color);
    border-radius: 50%;
    position: relative;
}

.status__indicator::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--lam-color);
    border-radius: 50%;
    animation: ping 1.5s ease-in-out infinite;
}

@keyframes ping {
    0% { transform: scale(1); opacity: 0.8; }
    75%, 100% { transform: scale(2.5); opacity: 0; }
}

.about__status span {
    font-size: var(--small-font-size);
    color: var(--lam-color);
    font-weight: var(--font-medium);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .about__box {
        width: 240px;
        height: 300px;
    }
    
    .about__img {
        width: 220px;
        height: 280px;
    }
    
    .about__box::after {
        width: 230px;
        height: 290px;
    }
}

@media screen and (min-width: 1150px) {
    .about__box {
        width: 320px;
        height: 380px;
    }
    
    .about__img {
        width: 300px;
        height: 360px;
    }
    
    .about__box::after {
        width: 310px;
        height: 370px;
    }
}

/*=============== LAPTOP OPTIMIZATIONS ===============*/
@media screen and (min-width: 1024px) and (max-width: 1439px) {
  .container {
    max-width: 960px;
    margin-inline: auto;
  }
  
  .nav {
    height: 4rem;
  }
  
  .nav__list {
    column-gap: 2.5rem;
  }
  
  .about__container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 4rem;
  }
  
  .about__content {
    padding: 2.5rem;
  }
  
  .game__card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 900px;
    margin: 0 auto;
  }
  
  .game__image {
    height: 100%;
    min-height: 400px;
  }
  
  .art-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .art-gallery__item {
    padding: 2rem;
  }
}

/* Cải thiện căn giữa cho tất cả các section */
.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section__title-1, 
.section__title-2 {
  margin-left: auto;
  margin-right: auto;
}

/* Cải thiện header căn giữa */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__list {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Cải thiện game section */
.game__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game__content {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Cải thiện art gallery */
.art-gallery {
  display: grid;
  justify-content: center;
  align-items: start;
}

/* Cải thiện responsive cho màn hình lớn hơn */
@media screen and (min-width: 1440px) {
  .container {
    max-width: 1200px;
  }
  
  .art-gallery {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
  }
}
/*=============== BUTTON ===============*/
.button {
    display: inline-flex;
    background-color: var(--black-color);
    color: var(--white-color);
    padding: 1rem 1.5rem;
    border-radius: .5rem;
    font-weight: var(--font-medium);
    transition: background-color .4s;
    align-items: center;
    column-gap: .5rem;
}

.button i {
    font-size: 1.25rem;
}

.button:hover {
    background-color: var(--first-color);
}

.button__ghost {
    display: inline-flex;
    padding: 1rem;
    border-radius: .5rem;
    font-weight: var(--font-medium);
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 3px solid var(--black-color);
    color: var(--black-color);
    transition: all .4s;
}

.button__ghost:hover {
    background-color: var(--black-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

/*=============== BREAKPOINTS ===============*/
/* For medium devices */
@media screen and (min-width: 768px) {
    .about__container {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        column-gap: 4rem;
    }
    
    .about__content {
        padding: 2.5rem;
    }
    
    .about__data {
        text-align: initial;
        order: 2;
    }
    
    .about__info {
        order: 1;
    }
    
    .about__buttons {
        justify-content: initial;
    }
}

/* For large devices */
@media screen and (min-width: 1150px) {
    .about__container {
        column-gap: 6rem;
    }
    
    .about__content {
        padding: 3rem;
    }
    
    .about__img {
        width: 280px;
    }
    
    .about__box {
        width: 280px;
        height: 340px;
    }
    
    .about__box::after {
        width: 270px;
        height: 330px;
    }
    
    .about__bg-overlay {
        background: linear-gradient(
            90deg,
            hsla(0, 0%, 95%, 0.95) 0%,
            hsla(0, 0%, 95%, 0.8) 30%,
            hsla(0, 0%, 95%, 0.6) 50%,
            hsla(0, 0%, 95%, 0.8) 70%,
            hsla(0, 0%, 95%, 0.95) 100%
        );
    }
}

/*=============== SERVICES ===============*/

/*=============== game ===============*/
.game__container {
    row-gap: 3rem;
     text-align: center;
    display: flex; /* Chuyển sang flexbox */
    flex-direction: column; /* Sắp xếp các mục theo chiều dọc */
    align-items: center; /* Căn giữa theo chiều ngang */
}

.game__card {
    background-color: var(--container-color);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px hsla(0, 0%, 0%, 0.1);
    transition: transform 0.4s, box-shadow 0.4s;
}

.game__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.15);
}

.game__image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.game__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.game__card:hover .game__img {
    transform: scale(1.05);
}

.game__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, hsla(0, 0%, 0%, 0.8));
    color: var(--white-color);
    padding: 2rem 1.5rem;
}

.game__title {
    font-size: var(--h2-font-size);
    margin-bottom: 0.25rem;
    color: var(--white-color);
}

.game__subtitle {
    font-size: var(--small-font-size);
    color: var(--white-color);
    opacity: 0.8;
}

.game__data {
    padding: 2rem 1.5rem;
}

.game__description {
    margin-bottom: 2rem;
}

.project__highlights {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.highlight__item h4 {
    color: var(--first-color);
    margin-bottom: 0.5rem;
    font-size: var(--h3-font-size);
}

.highlight__item p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.highlight__gifs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.highlight__gifs img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 2px solid var(--black-color);
}

.game__tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.tech__pill {
    background-color: var(--first-color);
    color: var(--white-color);
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: var(--smaller-font-size);
    font-weight: var(--font-medium);
}

.game__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.button__small {
    padding: 0.75rem 1.25rem;
    font-size: var(--small-font-size);
}
/* Thêm styling cho phần Art Showroom */
.art-showroom {
    padding-block: 4rem 2rem;
    text-align: center;
}

.art-showroom__description {
    max-width: 800px;
    margin: 1rem auto 2rem;
    color: var(--text-color);
    font-size: var(--normal-font-size);
}

.art-showroom__description strong {
    color: var(--first-color);
}

.art-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px; /* Giới hạn chiều rộng gallery */
    margin: 0 auto;
    padding: 1rem;
}

.art-gallery__item {
    background-color: var(--container-color);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px hsla(0, 0%, 0%, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.art-gallery__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px hsla(0, 0%, 0%, 0.15);
}

.art-gallery__item h3 {
    font-size: var(--h3-font-size);
    margin-bottom: 1rem;
    color: var(--title-color);
}

.art-gallery__item img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    object-fit: contain; /* Đảm bảo ảnh không bị cắt */
    background-color: var(--black-color-light); /* Màu nền cho ảnh */
    padding: 5px; /* Thêm padding để ảnh không chạm viền */
}

/* Responsive adjustments for Art Showroom */
@media screen and (min-width: 768px) {
    .art-gallery {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2.5rem;
    }
}

@media screen and (min-width: 1150px) {
    .art-gallery {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); /* 2 cột trên màn hình lớn */
    }
}

/*=============== BREAKPOINTS ===============*/
/* For medium devices */
@media screen and (min-width: 768px) {
    .game__image {
        height: 300px;
    }
    
    .game__data {
        padding: 2.5rem;
    }
    
    .project__highlights {
        gap: 2.5rem;
    }
    
    .highlight__gifs img {
        width: 150px;
        height: 100px;
    }
}

/* For large devices */
@media screen and (min-width: 1150px) {
    .game__container {
        grid-template-columns: 1fr;
    }
    
    .game__card {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .game__image {
        height: 100%;
        min-height: 400px;
    }
    
    .game__data {
        padding: 3rem;
    }
}

/*=============== PROJECT CAROUSEL IMPROVED ===============*/
.project__carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 1rem;
}

.carousel__track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel__slide {
    min-width: 100%;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(30px) scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
    display: none; /* Ẩn tất cả slides mặc định */
}

.carousel__slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    display: block; /* Chỉ hiển thị slide active */
}

/* Animation classes */
.carousel__slide.slide-in-right {
    animation: slideInFromRight 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.carousel__slide.slide-in-left {
    animation: slideInFromLeft 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Cải thiện nút điều hướng */
.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--black-color);
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px hsla(0, 0%, 0%, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.8;
}

.carousel__btn:hover {
    background: var(--first-color);
    color: var(--white-color);
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
    box-shadow: 0 6px 20px hsla(0, 0%, 0%, 0.3);
}

.carousel__btn--prev {
    left: 1rem;
}

.carousel__btn--next {
    right: 1rem;
}

/* Cải thiện indicators */
.carousel__indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    backdrop-filter: blur(10px);
}

.carousel__indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--black-color-light);
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(0.8);
}

.carousel__indicator.active {
    opacity: 1;
    transform: scale(1.2);
    background: var(--first-color);
}

.carousel__indicator:hover {
    opacity: 0.8;
    transform: scale(1.1);
}


/* Project Card Styling for Carousel */
.project__card {
    background-color: var(--container-color);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.1);
    margin: 0;
}

.project__image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.project__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.project__card:hover .project__img {
    transform: scale(1.05);
}

.project__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, hsla(0, 0%, 0%, 0.8));
    color: var(--white-color);
    padding: 2rem 1.5rem;
}

.project__title {
    font-size: var(--h2-font-size);
    margin-bottom: 0.25rem;
    color: var(--white-color);
}

.project__subtitle {
    font-size: var(--small-font-size);
    color: var(--white-color);
    opacity: 0.8;
}

.project__data {
    padding: 2rem 1.5rem;
    text-align: left;
}

.project__description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--text-color);
}

.project__highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.project__highlights .highlight__item h4 {
    color: var(--first-color);
    margin-bottom: 0.5rem;
    font-size: var(--h3-font-size);
}

.project__highlights .highlight__item p {
    margin-bottom: 0;
    color: var(--text-color);
    line-height: 1.5;
    font-size: var(--small-font-size);
}

.project__tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.tech__pill {
    background-color: var(--first-color);
    color: var(--white-color);
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    font-size: var(--smaller-font-size);
    font-weight: var(--font-medium);
}

.project__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .carousel__btn {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .carousel__btn--prev {
        left: 0.5rem;
    }
    
    .carousel__btn--next {
        right: 0.5rem;
    }
    
    .project__image {
        height: 250px;
    }
    
    .project__data {
        padding: 1.5rem;
    }
    
    .project__highlights {
        gap: 0.75rem;
    }
}

@media screen and (min-width: 1150px) {
    .project__carousel {
        max-width: 1000px;
    }
    
    .project__image {
        height: 350px;
    }
}
/*=============== RESUME ===============*/
.resume {
    padding-block: 4rem 2rem;
}

.resume__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Personal Description Section */
.resume__description {
    background-color: var(--container-color);
    padding: 2.5rem;
    border-radius: 1rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px hsla(0, 0%, 0%, 0.1);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
    position: relative;
}

.description__content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Avatar and Header Styling */
.description__header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid hsla(191, 81%, 12%, 0.1);
}

.avatar__container {
    position: relative;
    width: 120px;
    height: 120px;
}

.description__avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--first-color);
    box-shadow: 0 8px 25px hsla(0, 0%, 0%, 0.15);
    position: relative;
    z-index: 2;
}

.avatar__decoration {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--first-color), var(--black-color-light));
    z-index: 1;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.description__intro h3 {
    font-size: var(--h1-font-size);
    color: var(--title-color);
    margin-bottom: 0.5rem;
}

.description__tagline {
    color: var(--first-color);
    font-weight: var(--font-medium);
    font-size: var(--normal-font-size);
    background-color: hsla(191, 81%, 12%, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    display: inline-block;
}

.description__text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.description__text p {
    line-height: 1.7;
    color: var(--text-color);
    text-align: justify;
}

.description__illustration {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: hsla(191, 81%, 12%, 0.05);
    border-radius: 0.75rem;
    border: 1px solid hsla(191, 81%, 12%, 0.1);
}

.illustration__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--white-color);
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px hsla(0, 0%, 0%, 0.08);
    transition: transform 0.3s ease;
}

.illustration__item:hover {
    transform: translateX(5px);
}

.illustration__item i {
    font-size: 1.5rem;
    color: var(--first-color);
    background-color: hsla(191, 81%, 12%, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration__item span {
    font-weight: var(--font-medium);
    color: var(--title-color);
}

.resume__content {
    width: 100%;
    max-width: 900px;
    gap: 3rem;
    margin-bottom: 3rem;
}

.resume__group {
    background-color: var(--container-color);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px hsla(0, 0%, 0%, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resume__group:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.15);
}

.resume__title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--h2-font-size);
    margin-bottom: 1.5rem;
    color: var(--first-color);
}

.resume__title i {
    font-size: 1.5rem;
}

/* Skills Styling */
.skill__category {
    margin-bottom: 2rem;
}

.skill__category:last-child {
    margin-bottom: 0;
}

.skill__category-title {
    font-size: var(--h3-font-size);
    margin-bottom: 1rem;
    color: var(--title-color);
    position: relative;
    padding-left: 1rem;
}

.skill__category-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 1.25rem;
    background-color: var(--first-color);
    border-radius: 2px;
}

.skill__items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill__item {
    background-color: var(--body-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    border: 1px solid var(--black-color-light);
    transition: all 0.3s ease;
}

.skill__item:hover {
    background-color: var(--first-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

/* Soft Skills Styling */
.soft-skills {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.soft-skill__item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.soft-skill__icon {
    background-color: var(--first-color);
    color: var(--white-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.soft-skill__content h4 {
    font-size: var(--h3-font-size);
    margin-bottom: 0.5rem;
    color: var(--title-color);
}

.soft-skill__content p {
    color: var(--text-color);
    line-height: 1.5;
}

/* Download Button */
.resume__download {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .resume__description {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .description__header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .avatar__container {
        width: 100px;
        height: 100px;
    }
    
    .description__intro h3 {
        font-size: var(--h2-font-size);
    }
    
    .description__illustration {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .illustration__item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1rem 0.5rem;
    }
    
    .illustration__item i {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .illustration__item span {
        font-size: var(--small-font-size);
    }
}

@media screen and (min-width: 768px) {
    .resume__content {
        grid-template-columns: 1fr 1fr;
    }
    
    .resume__group {
        padding: 2.5rem;
    }
    
    .soft-skill__item {
        gap: 1.5rem;
    }
}

@media screen and (min-width: 1150px) {
    .resume__content {
        gap: 4rem;
    }
    
    .resume__group {
        padding: 3rem;
    }
    
    .resume__description {
        padding: 3rem;
    }
    
    .avatar__container {
        width: 140px;
        height: 140px;
    }
}
/*=============== CONTACT ===============*/
.contact {
    position: relative;
    overflow: hidden;
}

.contact__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.contact__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact__bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* Giảm độ mờ tối đa */
}

.contact__container {
    position: relative;
    z-index: 1;
    row-gap: 3rem;
}

.contact__content {
    grid-template-columns: 1fr;
    gap: 3rem;
}

/* Contact Info với nền trắng */
.contact__info {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact__info-content {
    color: var(--title-color);
}

.contact__title {
    font-size: var(--h2-font-size);
    margin-bottom: 1rem;
    color: var(--title-color);
}

.contact__description {
    margin-bottom: 2rem;
    color: var(--text-color);
    line-height: 1.6;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact__icon {
    width: 44px;
    height: 44px;
    background-color: var(--first-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact__data {
    flex: 1;
}

.contact__label {
    display: block;
    font-size: var(--small-font-size);
    color: var(--text-color-light);
    margin-bottom: 0.25rem;
}

.contact__value {
    display: block;
    font-size: var(--normal-font-size);
    color: var(--title-color);
    font-weight: var(--font-medium);
    transition: color 0.4s;
}

.contact__value:hover {
    color: var(--first-color);
}

.contact__social {
    display: flex;
    gap: 1rem;
}

.contact__social-link {
    width: 44px;
    height: 44px;
    background-color: var(--container-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--title-color);
    font-size: 1.25rem;
    transition: all 0.4s;
}

.contact__social-link:hover {
    background-color: var(--first-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

/* Contact Form với nền trắng */
.contact__form {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form__group {
    position: relative;
    margin-bottom: 2rem;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--body-color);
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--title-color);
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    transition: all 0.4s;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--first-color);
    background-color: var(--white-color);
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: var(--text-color-light);
}

.form__label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-color-light);
    font-size: var(--small-font-size);
    pointer-events: none;
    transition: all 0.4s;
    background-color: var(--body-color);
    padding: 0 0.5rem;
}

.form__input:focus ~ .form__label,
.form__textarea:focus ~ .form__label,
.form__input:not(:placeholder-shown) ~ .form__label,
.form__textarea:not(:placeholder-shown) ~ .form__label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: var(--smaller-font-size);
    color: var(--first-color);
    background-color: var(--white-color);
}

.form__button {
    width: 100%;
    justify-content: center;
}

/*=============== BREAKPOINTS ===============*/
/* For medium devices */
@media screen and (min-width: 768px) {
    .contact__content {
        grid-template-columns: 1fr 1fr;
        align-items: flex-start;
    }
    
    .contact__info,
    .contact__form {
        padding: 2.5rem;
    }
}

/* For large devices */
@media screen and (min-width: 1150px) {
    .contact__content {
        gap: 4rem;
    }
    
    .contact__info,
    .contact__form {
        padding: 3rem;
    }
    
    .contact__details {
        gap: 2rem;
    }
}
/*=============== RESUME GIF ===============*/
.resume__gif-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    padding: 1rem;
    background-color: var(--white-color);
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px hsla(0, 0%, 0%, 0.1);
    border: 2px solid var(--first-color);
    grid-column: 1 / -1; /* Chiếm toàn bộ chiều rộng */
}

.resume__gif {
    width: 200px;
    height: auto;
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resume__gif:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px hsla(0, 0%, 0%, 0.3);
}

/* Sửa lại phần description illustration */
.description__illustration {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: hsla(191, 81%, 12%, 0.05);
    border-radius: 0.75rem;
    border: 1px solid hsla(191, 81%, 12%, 0.1);
    position: relative;
}

/* Responsive adjustments */
@media screen and (min-width: 768px) {
    .description__illustration {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .resume__gif-container {
        margin-top: 1rem;
    }
}

@media screen and (min-width: 1150px) {
    .description__illustration {
        grid-template-columns: 1fr;
    }
    
    .resume__gif {
        width: 180px;
    }
}
/*=============== DOCS MODAL ===============*/
.docs-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 2rem;
    backdrop-filter: blur(8px);
}

.docs-modal.active {
    display: flex;
}

.docs-modal__content {
    background-color: var(--white-color);
    border-radius: 1rem;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.docs-modal__header {
    background-color: var(--first-color);
    color: var(--white-color);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.docs-modal__header h3 {
    color: var(--white-color);
    margin: 0;
    font-size: var(--h2-font-size);
}

.docs-modal__close {
    background: none;
    border: none;
    color: var(--white-color);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.docs-modal__close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.docs-modal__body {
    padding: 2rem;
    max-height: calc(90vh - 80px);
    overflow-y: auto;
}

.docs-modal__body h4 {
    color: var(--first-color);
    font-size: var(--h1-font-size);
    margin-bottom: 0.5rem;
}

.docs-subtitle {
    color: var(--text-color-light);
    font-size: var(--h3-font-size);
    margin-bottom: 2rem;
    font-weight: var(--font-medium);
}

.docs-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.docs-section {
    border-left: 4px solid var(--first-color);
    padding-left: 1rem;
}

.docs-section h5 {
    color: var(--title-color);
    font-size: var(--h2-font-size);
    margin-bottom: 1rem;
    font-weight: var(--font-semi-bold);
}

.docs-section h6 {
    color: var(--first-color);
    font-size: var(--h3-font-size);
    margin: 1rem 0 0.5rem 0;
    font-weight: var(--font-medium);
}

.docs-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.docs-section li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
    color: var(--text-color);
}

.docs-section li::before {
    content: "•";
    color: var(--first-color);
    font-weight: bold;
    position: absolute;
    left: 0.5rem;
}

.docs-section li strong {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
}

/* Scrollbar styling for modal */
.docs-modal__body::-webkit-scrollbar {
    width: 6px;
}

.docs-modal__body::-webkit-scrollbar-track {
    background: var(--body-color);
}

.docs-modal__body::-webkit-scrollbar-thumb {
    background: var(--first-color);
    border-radius: 3px;
}

.docs-modal__body::-webkit-scrollbar-thumb:hover {
    background: var(--black-color);
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .docs-modal {
        padding: 1rem;
    }
    
    .docs-modal__content {
        max-height: 95vh;
    }
    
    .docs-modal__header {
        padding: 1rem 1.5rem;
    }
    
    .docs-modal__body {
        padding: 1.5rem;
        max-height: calc(95vh - 60px);
    }
    
    .docs-modal__header h3 {
        font-size: var(--h3-font-size);
    }
    
    .docs-modal__body h4 {
        font-size: var(--h2-font-size);
    }
}
/* Spring Boot Docs Specific Styles */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: var(--body-color);
    border-radius: 0.5rem;
    border-left: 4px solid var(--first-color);
}

.feature-item i {
    font-size: 1.25rem;
    color: var(--first-color);
    background-color: hsla(191, 81%, 12%, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.code-structure {
    background-color: var(--black-color);
    color: var(--white-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    overflow-x: auto;
}

.code-structure pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: var(--small-font-size);
    line-height: 1.4;
}

.docs-image {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    border: 2px solid var(--body-color);
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.docs-image:hover {
    transform: scale(1.02);
}

.image-caption {
    text-align: center;
    color: var(--text-color-light);
    font-size: var(--small-font-size);
    margin-top: 0.5rem;
    font-style: italic;
}

.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.flow-number {
    width: 40px;
    height: 40px;
    background-color: var(--first-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-bold);
    margin-bottom: 0.5rem;
}

.flow-content {
    font-size: var(--small-font-size);
    line-height: 1.4;
}

.flow-arrow {
    color: var(--first-color);
    font-weight: var(--font-bold);
    font-size: 1.25rem;
}

.endpoint-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
}

.endpoint-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background-color: var(--body-color);
    border-radius: 0.5rem;
    border-left: 4px solid var(--first-color);
}

.endpoint-method {
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: var(--smaller-font-size);
    font-weight: var(--font-bold);
    color: var(--white-color);
    min-width: 60px;
    text-align: center;
}

.endpoint-method.get { background-color: #10b981; }
.endpoint-method.post { background-color: #3b82f6; }
.endpoint-method.put { background-color: #f59e0b; }
.endpoint-method.delete { background-color: #ef4444; }

.endpoint-path {
    font-family: 'Courier New', monospace;
    font-weight: var(--font-medium);
    color: var(--title-color);
}

.endpoint-desc {
    color: var(--text-color);
    font-size: var(--small-font-size);
}

.code-block {
    background-color: var(--black-color);
    color: var(--white-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: var(--small-font-size);
    line-height: 1.4;
}

.code-block code {
    color: #e5e7eb;
}

/* Image Modal for Zoom */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 2rem;
}

.image-modal.active {
    display: flex;
}

.image-modal__content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.image-modal__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.image-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--white-color);
    font-size: 2rem;
    cursor: pointer;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .flow-diagram {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .endpoint-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .endpoint-method {
        align-self: flex-start;
    }
}
/* AI Crypto Agents Specific Styles */
.file-tree {
    background-color: var(--body-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
    font-size: var(--small-font-size);
}

.tree-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    color: var(--text-color);
}

.tree-item.folder {
    color: var(--first-color);
    font-weight: var(--font-medium);
}

.tree-item.file {
    color: var(--text-color);
}

.tree-item.indent {
    margin-left: 1.5rem;
}

.tree-item.indent-2 {
    margin-left: 3rem;
}

.tree-item i {
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.agent-card {
    background-color: var(--body-color);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--first-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agent-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px hsla(0, 0%, 0%, 0.1);
}

.agent-icon {
    width: 50px;
    height: 50px;
    background-color: hsla(191, 81%, 12%, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--first-color);
    font-size: 1.5rem;
}

.agent-card h4 {
    font-size: var(--h3-font-size);
    margin-bottom: 0.75rem;
    color: var(--title-color);
}

.agent-card p {
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: var(--small-font-size);
}

.agent-stats {
    display: flex;
    justify-content: space-between;
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
}

.pipeline-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.pipeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--first-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-bold);
    margin-bottom: 0.75rem;
    font-size: var(--h3-font-size);
}

.step-content {
    font-size: var(--small-font-size);
    line-height: 1.4;
}

.step-content strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--title-color);
}

.pipeline-arrow {
    color: var(--first-color);
    font-weight: var(--font-bold);
    font-size: 1.5rem;
}

.data-structure {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.data-tier {
    background-color: var(--body-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--black-color-light);
}

.data-tier h4 {
    color: var(--first-color);
    margin-bottom: 1rem;
    font-size: var(--h3-font-size);
}

.strategy-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.strategy-item {
    background-color: var(--body-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--first-color);
}

.strategy-item h4 {
    color: var(--title-color);
    margin-bottom: 0.5rem;
    font-size: var(--h3-font-size);
}

.strategy-params {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.param {
    background-color: hsla(191, 81%, 12%, 0.1);
    color: var(--first-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: var(--smaller-font-size);
    font-weight: var(--font-medium);
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.tech-category {
    background-color: var(--body-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.tech-category h4 {
    color: var(--first-color);
    margin-bottom: 1rem;
    font-size: var(--h3-font-size);
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tech-item {
    background-color: hsla(191, 81%, 12%, 0.1);
    color: var(--first-color);
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    text-align: center;
}

/* Responsive Design for AI Crypto Docs */
@media screen and (max-width: 768px) {
    .agents-grid {
        grid-template-columns: 1fr;
    }
    
    .pipeline-flow {
        flex-direction: column;
    }
    
    .pipeline-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .data-structure {
        grid-template-columns: 1fr;
    }
    
    .tech-stack {
        grid-template-columns: 1fr;
    }
    
    .strategy-params {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media screen and (max-width: 480px) {
    .file-tree {
        font-size: var(--smaller-font-size);
        padding: 1rem;
    }
    
    .tree-item.indent {
        margin-left: 1rem;
    }
    
    .tree-item.indent-2 {
        margin-left: 2rem;
    }
}


/* Opaque placeholder */


/* Move label up & sticky label */


/*=============== FOOTER ===============*/


/*=============== SCROLL BAR ===============*/


/*=============== SCROLL UP ===============*/


/* Show Scroll Up */


/*=============== BREAKPOINTS ===============*/
/* For small devices */


/* For medium devices */


/* For large devices */
