:root {
    --bg-dark: #09090b;
    --bg-card: #18181b;
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;
    --accent-gold: #eab308;
    --accent-gold-hover: #fef08a;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Noto Sans KR', sans-serif;
    --gradient-brand: linear-gradient(135deg, #eab308 0%, #ec4899 50%, #6366f1 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography elements */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Layout Utilities */
.section {
    padding: 100px 0;
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.grid-3x2 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Base UI Components */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.primary-btn {
    background: transparent;
    color: var(--text-main);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.primary-btn:hover {
    background: var(--text-main);
    color: var(--bg-dark);
    border-color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.outline-btn {
    border: 2px solid var(--text-main);
    color: var(--text-main);
}

.outline-btn:hover {
    background: var(--text-main);
    color: #000;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.4s ease;
    background: #000000;
}

#navbar.scrolled {
    background: #000000;
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 180px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-body);
    font-weight: 500;
    color: #ffffff;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--text-main);
    cursor: pointer;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-card);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 80px 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav .close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: auto;
}

.mobile-nav-links a {
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.2s;
}

.mobile-nav-links a:hover {
    color: var(--accent-gold);
}

.mobile-nav-info {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(9, 9, 11, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 150px 20px 0;
}

.hero-content .title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.accent-word {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    background-image: var(--gradient-brand);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-right: 15px;
    letter-spacing: 0.4em;
}

.hero-content .subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-weight: 300;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    z-index: 3;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: color 0.3s;
}

.scroll-down:hover {
    color: #fff;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

/* Promo Section (Separated from Hero) */
.promo-section {
    position: relative;
    padding: 280px 0 100px;
    min-height: max(100vh, 800px);
    height: auto;
    display: flex;
    align-items: center;
    background-image: url('./img/img-1.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.promo-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.promo-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 768px) {
    .promo-grid {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 40px;
    }
}

.promo-text {
    text-align: center;
}

@media (min-width: 768px) {
    .promo-text {
        text-align: left;
    }
}

.title-wrap {
    margin-bottom: 15px;
    display: inline-block;
}

.title-main {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: 0.05em;
    font-family: var(--font-heading);
}

.title-sub {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.7em;
    margin-top: 5px;
    margin-right: -0.7em;
    margin-left: 2px;
    font-family: var(--font-heading);
}

.promo-text .subtitle {
    font-size: 1.1rem;
    color: #f4f4f5;
    font-weight: 400;
}

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

.promo-action .outline-btn {
    padding: 12px 40px;
    border-width: 1px;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0;
    background: rgba(255, 255, 255, 0.1);
}

.promo-action .outline-btn:hover {
    background: #fff;
    color: #000;
}

/* Common Section Header */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.section-header h2 span {
    color: var(--text-main);
}

.separator {
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 24px auto;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Card Component (Body Care / Service) */
.card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    cursor: default;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s ease;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    transition: background 0.5s ease;
}

.card-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.card:hover .card-bg img {
    transform: scale(1.15);
    filter: blur(4px);
}

.card:hover .card-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.care-card .card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.care-card .card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
    transition: opacity 0.3s, color 0.3s;
}

.care-card:hover .card-content h3 {
    color: var(--accent-gold-hover);
}

.care-card:hover .card-content p {
    color: #fff;
    opacity: 1;
}


/* Service Section Cards */
.service-section {
    background-image: url('./img/background.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

.service-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(9, 9, 11, 0.82);
}

.service-section .container {
    position: relative;
    z-index: 2;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.benefit-card {
    position: relative;
    min-height: 720px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.38);
}

.benefit-bg,
.benefit-bg img,
.benefit-overlay {
    position: absolute;
    inset: 0;
}

.benefit-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefit-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(6, 7, 10, 0.86) 38%, rgba(6, 7, 10, 0.94) 100%);
}

.benefit-panel {
    position: relative;
    z-index: 2;
    margin: 18px;
    min-height: calc(100% - 36px);
    padding: 28px 26px 26px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 14, 0.60);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
}

.benefit-head {
    text-align: left;
    margin-bottom: 22px;
}

.benefit-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.24);
    color: var(--accent-gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.benefit-head h3 {
    font-size: 2rem;
    margin-bottom: 12px;
    line-height: 1.2;
    color: #fff;
}

.benefit-head p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.02rem;
    line-height: 1.75;
    margin: 0;
    word-break: keep-all;
}

.benefit-items {
    display: grid;
    gap: 14px;
}

.benefit-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px 16px 15px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.benefit-number {
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
    padding-top: 4px;
}

.benefit-copy strong {
    display: block;
    color: #fff;
    font-size: 1.02rem;
    margin-bottom: 6px;
    line-height: 1.45;
}

.benefit-copy span {
    display: block;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.96rem;
    line-height: 1.72;
    word-break: keep-all;
}

.benefit-footer {
    margin-top: auto;
    padding-top: 22px;
}

.benefit-footer-label {
    display: inline-block;
    font-size: 0.82rem;
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.benefit-footer p {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    line-height: 1.75;
    word-break: keep-all;
}

@media (max-width: 1024px) {
    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        min-height: 680px;
    }
}

@media (max-width: 768px) {
    .benefit-panel {
        margin: 14px;
        min-height: calc(100% - 28px);
        padding: 22px 18px 20px;
    }

    .benefit-head h3 {
        font-size: 1.6rem;
    }

    .benefit-head p {
        font-size: 0.95rem;
    }

    .benefit-item {
        grid-template-columns: 58px 1fr;
        gap: 10px;
        padding: 14px 13px;
    }

    .benefit-number {
        font-size: 1rem;
    }

    .benefit-copy strong {
        font-size: 0.96rem;
    }

    .benefit-copy span,
    .benefit-footer p {
        font-size: 0.92rem;
    }
}


/* Modern Instagram Section - Bento-Box Style */
.modern-instagram {
    background-color: var(--bg-dark);
    position: relative;
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* 경계선 부드럽게 */
}

.insta-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    gap: 20px;
}

@media (max-width: 768px) {
    .insta-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.glow-text {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    /* 인스타그램 그라데이션 오마주 */
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.insta-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.insta-btn {
    border-radius: 30px;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.insta-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
}

.modern-insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 20px;
}

.m-insta-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #111;
    transform: translateZ(0);
    /* 사파리 호버 이슈 방지 */
}

.m-insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.m-insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.m-insta-overlay i {
    font-size: 44px;
    color: #fff;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.m-insta-item:hover img {
    transform: scale(1.08);
    /* 부드러운 줌인 */
}

.m-insta-item:hover .m-insta-overlay {
    opacity: 1;
}

.m-insta-item:hover .m-insta-overlay i {
    transform: translateY(0) scale(1);
}

/* 벤토박스(Bento Box) 그리드 스패닝 */
.item-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.item-2 {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.item-3 {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
}

.item-4 {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.item-5 {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
}

/* 반응형 - 타블렛 */
@media (max-width: 900px) {
    .modern-insta-grid {
        grid-template-rows: repeat(2, 200px);
        gap: 15px;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 600px) {
    .modern-insta-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 12px;
    }

    .m-insta-item {
        aspect-ratio: 1/1;
        height: auto;
        border-radius: 12px;
    }

    /* 모바일에서는 첫 번째 이미지를 16:9 메인 배너처럼 보이게 */
    .item-1 {
        grid-column: 1 / 3;
        grid-row: span 1;
        aspect-ratio: 16/9;
    }

    .item-2,
    .item-3,
    .item-4,
    .item-5 {
        grid-column: span 1;
    }
}

/* Footer */
footer {
    background: #000;
    padding: 60px 0 40px;
    position: relative;
}

.footer-info {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-info p {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.footer-info span {
    display: inline-block;
}

.footer-info span:not(:last-child)::after {
    content: '|';
    margin-left: 8px;
    color: #333;
}

.copyright {
    margin-top: 30px;
    font-size: 0.85rem;
    color: #666;
}

.top-btn {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.top-btn:hover {
    background: var(--accent-gold);
    color: #fff;
    transform: translate(-50%, -5px);
}

/* Animation Classes for Scroll Reveal (Intersection Observer) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
    will-change: opacity, transform;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smart Sun Poster Section */
.poster-section {
    background-color: #1a1a1c;
    padding: 80px 0;
    position: relative;
}

.poster-container {
    max-width: 1400px;
    /* 3개를 가로로 배치하기 위해 폭 증가 */
    padding: 0 20px;
    margin: 0 auto;
}

.poster-grid {
    display: flex;
    flex-wrap: nowrap;
    /* 모바일에서도 아래로 떨어지지 않게 설정 */
    justify-content: center;
    align-items: flex-start;
    /* 짧은 이미지가 긴 이미지 길이에 강제로 맞춰져 늘어나는 현상(빈 공간) 방지 */
    gap: 20px;
    overflow-x: auto;
    /* 너무 좁아지면 가로 스크롤 허용 */
    padding-bottom: 20px;
    /* 스크롤바 공간 확보 */
}

/* 스크롤바 숨기기 (디자인이 지저분해 보이는 것을 방지) */
.poster-grid::-webkit-scrollbar {
    display: none;
}

.poster-grid {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.poster-wrapper {
    flex: 1;
    min-width: 30%;
    /* 데스크탑에서는 3등분, 모바일에서는 최소 너비 보장 */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    background-color: transparent;
    /* 이미지가 짧을 때 뒤의 흰 배경이 보이지 않도록 투명 처리 */
    position: relative;
    transition: transform 0.3s ease;
}

.poster-wrapper:hover {
    transform: translateY(-10px);
}

.poster-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.poster-mobile-notice {
    display: none;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content .title {
        font-size: 3.5rem;
    }

    .accent-word {
        letter-spacing: 0.1em;
    }
}

@media (max-width: 600px) {
    .poster-section {
        padding: 50px 0;
    }

    .poster-grid {
        justify-content: flex-start;
    }

    .poster-wrapper {
        min-width: 80vw;
        /* 모바일에서 한 화면에 꽉 차게 커지고, 조금 남은 부분으로 스와이프 유도 */
    }

    .poster-mobile-notice {
        display: block;
    }

    .hero-content .title {
        font-size: 3rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .card {
        height: 350px;
    }

    .service-card {
        height: auto;
    }

    .service-card .glass-card {
        position: relative;
        height: auto;
        width: calc(100% - 30px);
        margin: 15px;
        padding: 30px 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .center-align h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .center-align ul li {
        font-size: 0.95rem;
        margin-bottom: 10px;
        align-items: flex-start;
        gap: 10px;
    }

    .center-align ul li i {
        margin-top: 5px;
    }

    .footer-info span:not(:last-child)::after {
        content: none;
    }

    .footer-info span {
        display: block;
        width: 100%;
        margin-bottom: 5px;
    }
}

/* Premium machines card layout */
.machines-intro {
    max-width: 920px;
    margin: 0 auto;
}

.machine-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.machine-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
}

.machine-thumb {
    height: 460px;
    overflow: hidden;
    background: #0a0a0a;
}

.machine-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.machine-summary {
    padding: 22px 20px 20px;
}

.brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.brand-row h3 {
    margin: 0;
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.machine-chip {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid rgba(234, 179, 8, 0.22);
    background: rgba(234, 179, 8, 0.12);
    color: var(--accent-gold);
}

.machine-headline {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.5;
    color: #fff;
    min-height: 52px;
    font-weight: 700;
}

.machine-subcopy {
    margin: 0 0 18px;
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 14px;
    min-height: 78px;
}

.machine-toggle {
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 15px 18px;
    background: linear-gradient(135deg, #eab308 0%, #f4d44b 100%);
    color: #111;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.machine-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.035));
}

.machine-card.active .machine-detail {
    max-height: 1800px;
    padding: 0 20px 22px;
}

.detail-inner {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 18px;
}

.detail-section + .detail-section {
    margin-top: 18px;
}

.detail-title {
    margin: 0 0 8px;
    color: var(--accent-gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.detail-text {
    margin: 0;
    color: #dadbe1;
    line-height: 1.9;
    font-size: 14px;
}

.feature-list {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.feature-item {
    padding: 13px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.05);
    color: #ececf1;
    line-height: 1.75;
    font-size: 14px;
}

.poster-grid,
.poster-mobile-notice {
    display: none !important;
}

@media (max-width: 1040px) {
    .machine-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .machine-grid {
        grid-template-columns: 1fr;
    }

    .machine-thumb {
        height: 380px;
    }
}
