
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace; 
}


html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #fff;
    color: #000;
}

/* ------------------------------- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(10, 10, 12, 0.95); 
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 500;
}

/* --- СТИЛЬНИЙ ЛОГОТИП ЯК НА МАКЕТІ --- */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-rs {
    font-size: 34px;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: 2px;
    line-height: 1;
    font-family: 'Helvetica Neue', sans-serif;
}

.rs-bracket {
    color: var(--text-muted); 
    font-weight: 300;
}

.logo-sub {
    font-size: 11px;
    letter-spacing: 5px;
    margin-top: 5px;
    color: var(--accent); /* Неоновий текст знизу */
    text-transform: uppercase;
    font-weight: bold;
}

.desktop-nav {
    display: flex;
    gap: 40px; /* Відстань між словами */
    align-items: center;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--accent); /* Неоновий колір як на твоєму банері */
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.desktop-nav a:hover {
    color: #fff;
    text-shadow: 0 0 15px var(--accent-glow);
    transform: translateY(-2px);
}

/* Ховаємо кнопку "меню" на ПК */
.menu-btn {
    display: none; 
}
/* -------------------------------------------------------------------------------- */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%; 
    width: 100%; 
    max-width: 450px; 
    height: 100%;
    background: #fff;
    border-right: 1px solid #ddd;
    /* ЗМІНА 1: Збільшив час анімації з 0.4s до 0.8s для дуже плавного виїзду */
    transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1); 
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 50px 40px;
}

.sidebar.open {
    left: 0;
}

.close-btn {
    align-self: flex-end;
    font-size: 45px;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 50px;
    line-height: 1;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; /* Тонкий сучасний хрестик */
    font-weight: 300;
    color: #000;
    transition: transform 0.3s;
}

.close-btn:hover {
    transform: rotate(90deg); 
}

.menu-list {
    list-style: none;
    text-align: left; /* Вирівнювання по лівому краю, як на Grailed */
    display: flex;
    flex-direction: column;
    gap: 30px; /* Великі відступи між пунктами */
}

.menu-list a {
    text-decoration: none;
    color: #000;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; 
    /* ЗМІНА 2: Зменшив розмір тексту з 40px до 24px */
    font-size: 24px; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: -1px; 
    transition: color 0.2s ease;
    display: inline-block;
}

.menu-list a:hover {
    color: red; 
    background: none;
}

/* --- Логіка секцій (SPA) --- */
main {
    flex: 1;
    padding: 20px 20px 60px; 
    max-width: 1440px; /* Розширюємо до оригінального розміру макета з Фігми */
    margin: 0 auto;
    width: 100%;
}

.page-section {
    display: none;
    animation: fadeIn 0.5s;
    text-align: center;
}

.page-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Головна сторінка --- */
.hero h1 { font-size: 2.5rem; margin-bottom: 15px; text-transform: uppercase;}
.hero p { font-size: 1.1rem; margin-bottom: 30px; color: #666; }

.cta-btn, .buy-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
}

.cta-btn:hover, .buy-btn:hover {
    background: #333;
}

/* --- Сітка Товарів --- */
.product-grid {
    display: grid;
    /* Базова сітка для великих екранів */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px;
    margin-top: 40px;
    width: 100%;
}

.product-card {
    text-align: left;
    width: 100%; /* Картка ніколи не вилізе за межі колонки */
}

.product-image {
    width: 100%;
    height: 350px;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #aaa;
    border: 1px solid #eee;
    overflow: hidden; /* Ховаємо все, що вилазить з картинки */
}

.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.desc {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
}

.price {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.buy-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

/* --- Футер --- */
footer {
    border-top: 1px solid #eee;
    text-align: center;
    padding: 30px;
    background: #fafafa;
    font-size: 0.9rem;
    width: 100%;
}

footer p { margin-bottom: 10px; }
footer a { color: #555; text-decoration: none; margin: 0 15px; transition: color 0.3s;}
footer a:hover { color: #000; }


/* -------------------------------------------- */
.payment-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 30px;
    background: #fafafa;
    border: 1px solid #eee;
}

.bank-details {
    margin: 25px 0;
    padding: 20px;
    background: #fff;
    border: 2px dashed #ccc;
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
}

.warning-text {
    font-size: 0.85rem;
    color: red;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* ------------------------------------------------------------- */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9); /* Дуже темний фон */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Поверх абсолютно всього */
}

/* Клас для приховування */
.custom-modal.hidden {
    display: none !important;
}

.modal-content {
    background: #fff;
    padding: 40px 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    border-top: 5px solid red; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    animation: dropDown 0.4s ease-out;
}

.modal-content h3 {
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 1.5rem;
}

.modal-content p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #333;
}

.tg-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 1.4rem;
    font-weight: bold;
    color: red;
    text-decoration: none;
    transition: 0.3s;
}

.tg-link:hover {
    color: #000;
}

@keyframes dropDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ---------------------------------- */


.product-card {
    text-align: left;
    width: 100%;
    cursor: pointer; 
    transition: transform 0.2s ease;
    
   
    display: flex;
    flex-direction: column;
    height: 100%; 
}

.product-card:hover {
    transform: translateY(-5px); 
}

/* -------------------------------------------------- */
.back-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 30px;
    display: block;
    text-align: left;
}

.back-btn:hover {
    text-decoration: underline;
}

.product-detail-container {
    display: flex;
    gap: 50px;
    text-align: left;
}

.product-detail-img {
    flex: 1;
    background: #f4f4f4;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    border: 1px solid #eee;
}

.product-detail-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-detail-info h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.product-detail-info .price {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 25px;
}

.product-detail-info .full-desc {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-detail-info ul {
    margin-bottom: 30px;
    padding-left: 20px;
    line-height: 1.8;
}

.detail-buy-btn {
    width: 100%;
    max-width: 300px;
}

/* ----------------------------------------------- */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 60px 40px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px var(--accent-glow);
    transform: translateY(-5px);
}

/* Неонова смужка зверху картки для стилю */
.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 4px;
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent);
    border-radius: 0 0 10px 10px;
    transition: width 0.4s ease;
}

.contact-card:hover::before {
    width: 100%; /* При наведенні смужка розтягується на всю ширину */
}

.tg-icon {
    margin-bottom: 25px;
    animation: float 4s ease-in-out infinite; /* Легка анімація польоту іконки */
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.contact-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-tg-btn {
    display: inline-block;
    background: rgba(0, 229, 255, 0.05); /* Дуже легкий неоновий фон */
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.contact-tg-btn:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 25px var(--accent-glow);
    transform: scale(1.05);
}

@media screen and (max-width: 768px) {
    .contact-card {
        padding: 40px 20px; 
        margin-top: 20px;
    }
    .contact-subtitle {
        font-size: 0.95rem; 
        margin-bottom: 25px;
        padding: 0 10px; 
    }
    .contact-card h3 {
        font-size: 1.5rem; 
    }
    .contact-tg-btn {
        font-size: 1.1rem;
        padding: 15px 10px; 
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .product-grid { grid-template-columns: 1fr; }
    .product-detail-container { flex-direction: column; padding: 25px; }
    .product-detail-img img { max-height: 400px; }
    .menu-list a { font-size: 24px; }
    h2 { font-size: 1.8rem; }


    header { padding: 15px 20px; }
    
    
    .desktop-nav { display: none !important; }
    
    
    .menu-btn { 
        display: block !important; 
        background: none;
        border: none;
        font-size: 16px; 
        white-space: nowrap; 
        color: var(--text-main);
        cursor: pointer;
    }
    
    .logo-rs { font-size: 24px; }
    .logo-sub { font-size: 8px; letter-spacing: 3px; }
}

/* -------------------------------------------------------------------------- */

.product-image, .product-detail-img {
    background: transparent;
    border: none;
    padding: 0;
}

.product-image {
    width: 100%;
    height: auto; 
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 20px;
}


.product-image img {
    width: 100%;
    height: auto; 
    object-fit: contain; 
    display: block;
    border-radius: 8px;
}


.product-detail-img img {
    width: 100%;
    max-height: 600px; 
    object-fit: contain; 
    display: block;
    border-radius: 12px;
}

/* ---------------------------------------------------------------------------------------- */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding: 20px;
}

.legal-container h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
}

.legal-container p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

.legal-container strong {
    color: #000;
    font-size: 1.1rem;
}



/* --------------------------------------------------------------------------- */
:root {
    --bg-main: #0a0a0c;          
    --bg-card: #141417;          
    --text-main: #f0f0f0;        
    --text-muted: #8a8a8e;       
    --accent: #00e5ff;          
    --accent-glow: rgba(0, 229, 255, 0.4);
    --border: #242428;           
}

/* ------------------------------------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace; 
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--bg-main);
    color: var(--text-main);
}

/* -------------------------------------------------- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: rgba(10, 10, 12, 0.8); 
    backdrop-filter: blur(10px);      
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 500;
}

.menu-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
    color: var(--text-main);
    transition: color 0.3s;
}

.menu-btn:hover { color: var(--accent); }

.logo {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 4px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* ------------------------------------------------------------------------ */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%; 
    width: 100%; 
    max-width: 450px; 
    height: 100%;
    background: #050505; 
    border-right: 1px solid var(--border);
    transition: left 0.7s cubic-bezier(0.77, 0, 0.175, 1); 
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 50px 40px;
    box-shadow: 20px 0 50px rgba(0,0,0,0.8);
}

.sidebar.open { left: 0; }

.close-btn {
    align-self: flex-end;
    font-size: 45px;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 50px;
    line-height: 1;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; 
    font-weight: 300;
    color: var(--text-muted);
    transition: all 0.3s;
}

.close-btn:hover {
    color: var(--text-main);
    transform: rotate(90deg); 
}

.menu-list {
    list-style: none;
    text-align: left; 
    display: flex;
    flex-direction: column;
    gap: 30px; 
}

.menu-list a {
    text-decoration: none;
    color: var(--text-main);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; 
    font-size: 28px; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    transition: all 0.3s ease;
    display: inline-block;
}

.menu-list a:hover {
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent-glow);
    transform: translateX(10px); 
}

/* ---------------------------------------------------------------------- */
main {
    flex: 1;
    /* Було padding: 60px 20px; -> Робимо верхній відступ 20px, нижній 60px */
    padding: 20px 20px 60px; 
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.page-section {
    display: none;
    animation: fadeIn 0.6s ease-out;
    text-align: center;
}

.page-section.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* -------------------------------------------------------------------------------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 40px;
    width: 100%;
}

.product-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid var(--border);
    text-align: left;
    width: 100%;
    cursor: pointer; 
    display: flex;
    flex-direction: column;
    height: 100%; 
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px); 
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 15px var(--accent-glow);
}

.product-image {
    width: 100%;
    height: auto; 
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 25px;
}

.product-image img {
    width: 100%;
    height: auto; 
    object-fit: contain; 
    display: block;
    border-radius: 8px;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    color: var(--text-main);
}

.desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1; 
}

.price {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--accent); 
    margin-bottom: 25px;
}

/* ----------------------------------------------------------------------------- */
.cta-btn, .buy-btn, .detail-buy-btn {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 15px 40px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    width: 100%;
    border-radius: 6px;
    letter-spacing: 1px;
}

.cta-btn:hover, .buy-btn:hover, .detail-buy-btn:hover {
    background: var(--accent);
    color: #000; 
    box-shadow: 0 0 20px var(--accent-glow);
}

.hero .cta-btn {
    width: auto;
    margin-top: 20px;
}

/* ------------------------------------------------------------------------------ */
.back-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    color: var(--text-muted);
    margin-bottom: 40px;
    display: block;
    text-align: left;
    transition: color 0.3s;
}

.back-btn:hover { color: var(--text-main); }

.product-detail-container {
    display: flex;
    align-items: flex-start; 
    gap: 70px; 
    text-align: left;
    background: var(--bg-card);
    padding: 50px;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.product-detail-img {
    flex: 1;
    position: sticky; 
    top: 120px; 
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-img img {
    width: 100%;
    max-width: 450px; 
    object-fit: contain; 
    display: block;
    border-radius: 16px;
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.05); 
}

.product-detail-info {
    flex: 1.4; 
    display: flex;
    flex-direction: column;
}

.product-detail-info h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-align: left;
    color: var(--text-main);
}

.product-detail-info .price {
    font-size: 2.2rem;
    margin-bottom: 40px; 
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent-glow);
}

/* ------------------------------------------------------------------- */
.product-detail-info .full-desc,
.product-detail-info p {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; 
    font-size: 1.15rem; 
    color: #e0e0e0; 
    margin-bottom: 30px;
    line-height: 1.8;
}

/* --------------------------------------------------- */
.product-detail-info strong {
    display: block;
    color: var(--text-main);
    font-family: 'Courier New', Courier, monospace; 
    font-size: 1.3rem;
    margin-top: 40px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--border); 
    padding-bottom: 10px;
}

/* ---------------------------------------- */
.product-detail-info ul {
    list-style: none; 
    padding-left: 0;
    margin-bottom: 40px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.product-detail-info li {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 15px;
    line-height: 1.6;
    padding-left: 30px;
    position: relative;
}


.product-detail-info li::before {
    content: '▹'; 
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--accent);
    font-size: 1.4rem;
    text-shadow: 0 0 10px var(--accent-glow);
}

.detail-buy-btn {
    margin-top: 30px;
    font-size: 1.2rem;
    padding: 18px 40px;
    max-width: 400px; 
}

/* ------------------------------------------------------------------ */
.payment-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: left;
    position: relative;
    overflow: hidden;
}


.payment-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

.payment-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
    text-align: center;
}

.crypto-wallets {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}

.wallet-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wallet-network {
    font-weight: bold;
    color: var(--text-main);
    font-size: 1rem;
    letter-spacing: 1px;
}

.wallet-address-box {
    display: flex;
    align-items: center;
    background: #050505; 
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 6px 6px 15px;
    justify-content: space-between;
    transition: border-color 0.3s;
}

.wallet-address-box:hover {
    border-color: var(--accent);
}

.wallet-address-box code {
    color: var(--accent);
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    word-break: break-all; 
    padding-right: 15px;
    line-height: 1.4;
}

.copy-btn {
    background: rgba(0, 229, 255, 0.05);
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    flex-shrink: 0; 
}

.copy-btn:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 15px var(--accent-glow);
}

.warning-text {
    font-size: 0.85rem;
    color: #ff3366;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
}

.payment-confirm-btn {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
    border: none;
}

.payment-confirm-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px var(--accent);
}


.legal-container { max-width: 800px; margin: 40px auto; text-align: left;}
.legal-container h2 { text-align: center; }
.legal-container p { color: var(--text-muted); line-height: 1.8; margin-bottom: 25px;}
.legal-container strong { color: var(--text-main); }
/* -------------------------------------------------------------------- */
.custom-modal {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 5px solid var(--accent); 
    color: var(--text-main);
    border-radius: 12px;
}

.modal-content p { color: var(--text-muted); }

.tg-link {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}
.tg-link:hover { color: #fff; }

/* ------------------------------------------------------- */
footer {
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 40px;
    background: rgba(10, 10, 12, 0.9);
    font-size: 0.9rem;
    color: var(--text-muted);
}

footer p { margin-bottom: 15px; }
footer a { color: var(--text-muted); margin: 0 15px; transition: color 0.3s;}
footer a:hover { color: var(--accent); }

/* -------------------------------------- */
@media screen and (max-width: 768px) {
   
    .contact-container {
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 80px; /* Використовуємо padding, щоб гарантовано відштовхнути футер */
    text-align: center;
}
    
    .contact-card {
        padding: 30px 20px; 
        width: 100%; 
        max-width: 360px; /* Не даємо плашці розтягуватись безкінечно */
        margin: 15px auto; /* Ідеально центруємо її по середині */
        box-sizing: border-box; 
        border-radius: 20px; /* Зберігаємо красиві круглі кути */
    }
    
    .contact-subtitle {
        font-size: 0.95rem; 
        margin-bottom: 25px;
    }
    
    .contact-card h3 {
        font-size: 1.3rem; 
    }

    .contact-tg-btn {
        font-size: 1rem; 
        padding: 14px 10px; 
        display: block; 
        width: 100%; 
        box-sizing: border-box;
        overflow-wrap: break-word; 
    }
    .product-grid { grid-template-columns: 1fr; }
    .product-detail-container { flex-direction: column; padding: 25px; }
    .product-detail-img img { max-height: 400px; }
    .menu-list a { font-size: 24px; }
    h2 { font-size: 1.8rem; }

    main {
        padding: 10px 15px 40px; 
        width: 100%;

        
    }
    .product-detail-container { flex-direction: column; padding: 25px; gap: 40px;}
    .product-detail-img { position: relative; top: 0; } /* Відключаємо "липкість" на телефонах */
    .product-detail-info h2 { font-size: 2.2rem; }
    .detail-buy-btn { max-width: 100%; } /* На телефоні кнопка на всю ширину */
}


@media screen and (max-width: 950px) {
    .product-detail-container {
        flex-direction: column !important; 
        align-items: center !important; 
        padding: 40px 20px !important;
        gap: 40px !important;
    }

    .product-detail-img {
        position: relative !important; 
        top: 0 !important;
        width: 100% !important;
        display: flex;
        justify-content: center;
    }

    .product-detail-img img {
        max-width: 450px !important; 
        width: 100% !important;
    }

    .product-detail-info {
        width: 100% !important;
    }

    .product-detail-info h2 {
        font-size: 2.2rem !important; 
    }
}

/* -------------------------------------------------------- */

.single-item-grid {
    display: flex;
    justify-content: center; 
}

.single-item-grid .product-card {
    width: 100%;
    max-width: 400px; 
}
/* ----------------------------------------------------- */

/* =========================================
   НОВА ГОЛОВНА СТОРІНКА (DESIGN INTEGRATION - V2)
   ========================================= */

:root {
    --f-cyan: #2FECF1;
    --f-cyan-glow: #BFECE6;
    --f-orange: #8A5026;
    --f-orange-glow: rgba(138, 80, 38, 0.47);
    --f-bg: #161515;
}

#home.page-section {
    text-align: left; /* Перебиваємо глобальне центрування */
}

.home-wrapper {
    font-family: 'Roboto', sans-serif !important;
    color: #fff;
    padding-top: 60px;
    position: relative;
    width: 100%;
    /* ТУТ МАЄ БУТИ КАРТА: Коли дизайнер дасть картинку карти, розкоментуй рядок нижче і встав шлях */
    /* background: url('map-bg.png') right 100px no-repeat; */
    background-size: 50%;
}

.rs-hero {
    text-align: left; /* Вирівнюємо по лівому краю, як у дизайнера */
    margin-bottom: 60px;
}

.rs-title {
    font-family: 'Zen Dots', cursive !important;
    font-size: 75px; /* Жорсткий розмір для ПК */
    color: transparent;
    -webkit-text-stroke: 1.5px var(--f-cyan);
    text-shadow: 0 0 20px var(--f-cyan-glow), 0 0 40px var(--f-cyan-glow);
    margin-bottom: 15px;
    letter-spacing: 2px;
    line-height: 1.1;
}

.rs-subtitle {
    font-family: 'Zen Dots', cursive !important;
    font-size: 16px;
    color: #fff;
    letter-spacing: 1px;
}

.rs-info-box {
    border: 1px solid var(--f-orange);
    padding: 35px 40px;
    width: 50%; /* Займає половину екрана, щоб залишити місце для карти */
    min-width: 400px;
    text-align: left;
    background: rgba(22, 21, 21, 0.6);
    backdrop-filter: blur(10px);
    margin-bottom: 120px; /* Відступ до секції курсів */
}

.rs-info-box h3 {
    font-family: 'Zen Dots', cursive !important;
    font-size: 22px;
    margin-bottom: 20px;
    color: #fff;
}

.rs-info-box p {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 0;
}

.rs-learning-section {
    text-align: center;
    margin-top: 50px;
}

.rs-learning-title {
    font-family: 'Zen Dots', cursive !important;
    font-size: 30px;
    color: var(--f-cyan-glow);
    text-decoration: underline;
    margin-bottom: 25px;
}

.rs-learning-subtitle {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 300;
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.4;
    color: #fff;
}

.rs-cards-grid {
    display: grid;
    /* Жорстко робимо 3 колонки для десктопу */
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.rs-card {
    background: transparent;
    position: relative;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Коричневий градієнт/світіння під карткою */
.rs-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 150px; /* Світіння не йде на текст знизу */
    background: linear-gradient(180deg, rgba(138,80,38,0) 0%, rgba(138,80,38,0.2) 100%);
    border: 1px solid transparent;
    transition: 0.3s ease;
    z-index: 0;
}

.rs-card:hover::before {
    border-color: var(--f-orange);
    background: linear-gradient(180deg, rgba(138,80,38,0.1) 0%, rgba(138,80,38,0.3) 100%);
}

.rs-card > * {
    position: relative;
    z-index: 1;
}

.card-title.cyan-glow {
    font-family: 'Zen Dots', cursive !important;
    font-size: 40px;
    color: transparent;
    -webkit-text-stroke: 1px var(--f-cyan);
    text-shadow: 0 0 15px var(--f-cyan-glow), 0 0 30px var(--f-cyan-glow);
    margin-top: 40px;
    margin-bottom: 10px;
}

.card-level {
    font-family: 'Zen Dots', cursive !important;
    font-size: 10px;
    color: var(--f-cyan-glow);
    margin-bottom: 40px;
}

.card-price {
    font-family: 'Zen Dots', cursive !important;
    font-size: 12px;
    color: var(--f-cyan-glow);
    border: 1px solid var(--f-orange);
    padding: 10px 20px;
    display: inline-block;
    margin-bottom: 40px;
}

.card-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.card-icons img {
    width: 24px;
    height: 24px;
    filter: invert(70%) sepia(50%) saturate(500%) hue-rotate(340deg) brightness(90%) contrast(90%); 
}

.card-desc {
    font-family: 'Roboto', sans-serif !important;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    text-align: left;
    color: #ccc;
    padding: 0 10px;
}

/* Адаптація для телефонів та планшетів */
@media (max-width: 950px) {
    .rs-title { font-size: 40px; text-align: center; }
    .rs-subtitle { text-align: center; }
    .rs-info-box { width: 100%; min-width: auto; margin-bottom: 60px; }
    .rs-cards-grid { grid-template-columns: 1fr; }
    .home-wrapper { background: none; } /* Вимикаємо мапу на мобільному */
}

/* ---------------------------------------------------------------------- */

:root {
    --f-cyan: #2FECF1;
    --f-cyan-glow: #BFECE6;
    --f-orange: #8A5026;
    --f-orange-glow: rgba(138, 80, 38, 0.47);
    --f-bg: #161515; /* [cite: 5] */
}
body {
    background-color: var(--f-bg);
}

#home.page-section {
    text-align: left; 
    position: relative;
    overflow: visible; /* БУЛО hidden - саме воно обрізало лінії зверху */
}
.hanging-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    pointer-events: none; 
    z-index: 10;
}

.hanging-item {
    width: 1px;
    background: var(--f-orange); 
    position: relative;
    opacity: 0.6;
}

.hanging-item img {
    position: absolute;
    bottom: -40px;
    left: -20px;
    width: 40px;
    height: 40px;
    filter: invert(40%) sepia(30%) saturate(1000%) hue-rotate(350deg) brightness(80%) contrast(90%);
}

/* --- Основна обгортка --- */
.home-wrapper {
    font-family: 'Roboto', sans-serif !important;
    color: #FFFFFF; /* [cite: 63] */
    padding-top: 150px; /* Місце для підвісок */
    position: relative;
    width: 100%;
    background: url('https://www.transparenttextures.com/patterns/stardust.png'); /* Тут буде мапа */
    background-position: right 10% center;
    background-repeat: no-repeat;
    background-size: 45%;
    z-index: 2;
}

.rs-hero {
    text-align: center; 
    margin-bottom: 80px;
}

.rs-title {
    font-family: 'Zen Dots', cursive !important;
    font-size: 85px; /* [cite: 719] */
    line-height: 102px; /* [cite: 720] */
    color: transparent;
    -webkit-text-stroke: 2.8px var(--f-cyan); /* [cite: 721] */
    text-shadow: 0px 0px 77px var(--f-cyan-glow), 0px 0px 22px var(--f-cyan-glow); /* Спрощено з [cite: 722] для кращого рендеру */
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.rs-subtitle {
    font-family: 'Zen Dots', cursive !important;
    font-size: 22px; /* [cite: 691] */
    line-height: 26px; /* [cite: 692] */
    color: var(--f-cyan-glow); /* [cite: 693] */
    letter-spacing: 1px;
}

.rs-info-box {
    border: 0.56px solid var(--f-orange); /* [cite: 651] */
    padding: 31px 33px; /* [cite: 645] */
    width: 650px; /* [cite: 647] */
    max-width: 100%;
    text-align: left;
    background: rgba(22, 21, 21, 0.4);
    backdrop-filter: blur(10px);
    margin-bottom: 120px; 
    margin-left: 80px; /* [cite: 649] */
}

.rs-info-box h3 {
    font-family: 'Zen Dots', cursive !important;
    font-size: 22px; /* [cite: 658] */
    margin-bottom: 27px; /* [cite: 645] */
    color: #FFFFFF; /* [cite: 660] */
}

.rs-info-box p {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 300; /* [cite: 672] */
    font-size: 16px; /* [cite: 673] */
    line-height: 1.6;
    color: #FFFFFF; /* [cite: 676] */
    text-align: justify; /* [cite: 675] */
}

.rs-learning-section {
    text-align: center;
    margin-top: 50px;
}

.rs-learning-title {
    font-family: 'Zen Dots', cursive !important;
    font-size: 30px; /* [cite: 624] */
    line-height: 36px; /* [cite: 625] */
    color: var(--f-cyan-glow); /* [cite: 627] */
    text-decoration: underline; /* [cite: 626] */
    margin-bottom: 25px;
}

.rs-learning-subtitle {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 300; /* [cite: 610] */
    font-size: 22px; /* [cite: 611] */
    line-height: 26px; /* [cite: 612] */
    max-width: 696px; /* [cite: 604] */
    margin: 0 auto 80px;
    color: #FFFFFF; /* [cite: 614] */
}

.rs-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.rs-card {
    background: rgba(22, 21, 21, 0.2); /* [cite: 476] */
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px 40px;
    border-top: 0.35px solid rgba(138, 80, 38, 0.3); /* Імітація діагональних ліній зверху картки [cite: 362] */
    transition: transform 0.3s ease;
}

.rs-card:hover {
    transform: translateY(-10px);
}

/* Світіння всередині карток (Оранжеве) */
.glow-orb {
    position: absolute;
    width: 134px; /* [cite: 486] */
    height: 118px; /* [cite: 486] */
    bottom: 30%;
    background: var(--f-orange-glow); /* [cite: 488] */
    filter: blur(30px); /* [cite: 488] */
    z-index: 0;
    pointer-events: none;
}

.rs-card > * {
    position: relative;
    z-index: 1;
}

.card-title.cyan-glow {
    font-family: 'Zen Dots', cursive !important;
    color: transparent;
    -webkit-text-stroke: 1.77px var(--f-cyan); /* [cite: 498] */
    text-shadow: 0px 0px 48px var(--f-cyan-glow), 0px 0px 13px var(--f-cyan-glow); /* [cite: 499] */
    margin-top: 60px;
    margin-bottom: 10px;
    text-align: center;
}

.basic-title { font-size: 53px; line-height: 64px; } /* [cite: 496, 497] */
.advanced-title { font-size: 51px; line-height: 62px; } /* [cite: 406, 407] */
.full-title { font-size: 49px; line-height: 55px; } /* [cite: 204, 205] */

.card-level {
    font-family: 'Zen Dots', cursive !important;
    font-size: 9.9px; /* [cite: 509] */
    color: var(--f-cyan-glow); /* [cite: 512] */
    margin-bottom: 40px;
    text-align: center;
}

.card-price {
    font-family: 'Zen Dots', cursive !important;
    font-size: 11.3px; /* [cite: 551] */
    color: var(--f-cyan-glow); /* [cite: 554] */
    border: 0.7px solid var(--f-orange); /* [cite: 565] */
    padding: 10px 25px;
    display: inline-block;
    margin-bottom: 40px;
}

.card-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
}

.card-icons img {
    width: 25px;
    height: 25px;
    filter: invert(70%) sepia(50%) saturate(500%) hue-rotate(340deg) brightness(90%) contrast(90%); 
}

.card-desc {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 300; /* [cite: 60] */
    font-size: 14px; /* Адаптовано для карток, оригінал 22px був для тексту [cite: 61] */
    line-height: 1.6;
    text-align: justify;
    color: #FFFFFF; /* [cite: 63] */
    opacity: 0.8;
}

/* --------------------------------------------------- */
@media (max-width: 950px) {
    .rs-title { 
        font-size: 45px; 
        line-height: 55px;
        -webkit-text-stroke: 1.5px var(--f-cyan);
    }
    .rs-subtitle { 
        font-size: 14px;
        line-height: 20px;
        padding: 0 15px;
    }
    .rs-info-box { 
        width: calc(100% - 40px); 
        margin: 0 20px 60px 20px; /* Прибираємо жорсткий відступ зліва */
        padding: 25px 20px;
    }
    .rs-learning-subtitle {
        font-size: 16px;
        line-height: 22px;
        padding: 0 15px;
    }
    .rs-cards-grid { 
        grid-template-columns: 1fr; /* Колонки одна під одною */
        padding: 0 20px;
    }
    .home-wrapper { 
        background: none; /* Вимикаємо мапу на мобільному щоб уникнути хаосу */
        padding-top: 100px;
    }
    .hanging-decorations {
        opacity: 0.3;
    }
    .basic-title, .advanced-title, .full-title {
        font-size: 40px;
        line-height: 50px;
        -webkit-text-stroke: 1px var(--f-cyan);
    }
}
.rs-card-img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 25px; 
    border-radius: 12px; 
    transition: transform 0.3s ease;
}
/* ------------------------------------------------------------------------- */


/* -------------------------------------------------------------------- */
main {
    flex: 1;
    padding: 20px 20px 60px; 
    max-width: 1440px; 
    margin: 0 auto;
    width: 100%;
}
/* ------------------------------------------------------------ */






/* --------------------------------------------------------------------------------------- */
.home-wrapper {
    font-family: 'Roboto', sans-serif !important;
    color: #FFFFFF;
    padding-top: 240px; 
    position: relative;
    width: 100%;
    background: url('https://www.transparenttextures.com/patterns/stardust.png') right 10% center no-repeat;
    background-size: 45%;
    z-index: 2;
}
/* ----------------------------------------------------------------------= */
.hanging-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%); 
    width: 100%;
    max-width: 1440px; 
    pointer-events: none;
    z-index: 50;
}

/* Сама картинка з Фігми */
.hanging-full-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Адаптація для мобільних пристроїв */
@media (max-width: 950px) {
    .hanging-container {
        width: 130%; 
    }
    .home-wrapper {
        padding-top: 250px !important; 
    }
}
.hanging-container {
    position: absolute;
    top: -80px; /* ЗМІЩУЄМО ВГОРУ: підтягуємо картинку так, щоб лінії сховалися за меню */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1440px;
    pointer-events: none;
    z-index: 10; 
}
.home-wrapper {
    font-family: 'Roboto', sans-serif !important;
    color: #FFFFFF;
    padding-top: 380px !important; 
    position: relative;
    width: 100%;
    background: url('https://www.transparenttextures.com/patterns/stardust.png') right 10% center no-repeat;
    background-size: 45%;
    z-index: 2;
}


/* --------------------------------------------------- */
.rs-title {
    font-family: 'Zen Dots', cursive !important;
    font-size: 85px; /* */
    line-height: 1.1; 
    color: transparent;
    -webkit-text-stroke: 1.5px var(--f-cyan); /* */
    text-shadow: 0 0 20px var(--f-cyan-glow); /* */
    margin-bottom: 5px;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}
.rs-title::after {
    content: "RESELL SYNDICATE";
    position: absolute;
    left: 0;
    top: 75%; 
    width: 100%;
    color: transparent;
    -webkit-text-stroke: 1px rgba(47, 236, 241, 0.2); /* Дуже тонка і прозора лінія */
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent); /* Градієнтне зникання */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
    z-index: -1;
}

/* Підзаголовок (Learn how to source...) */
.rs-subtitle {
    font-family: 'Zen Dots', cursive !important;
    font-size: 22px; /* */
    color: #FFFFFF;
    letter-spacing: 1px;
    margin-top: 40px; /* Відступ від заголовка */
}

/* Текст у коробці "What is Resell Syndicate" */
.rs-info-box p {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 300;
    font-size: 16px; /* */
    line-height: 1.6;
    color: #FFFFFF;
    text-align: left; 
}

.main-logo {
    font-family: 'Zen Dots', cursive;
    font-size: 85px; /* Точний розмір з макета */
    color: transparent;
    -webkit-text-stroke: 1.5px var(--neon-cyan);
    text-shadow: 0 0 10px rgba(47, 236, 241, 0.4), 0 0 30px rgba(47, 236, 241, 0.2);
    margin-bottom: 5px;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.main-logo::after {
    content: "RESELL SYNDICATE";
    position: absolute;
    left: 0;
    top: 75%; 
    width: 100%;
    color: transparent;
    -webkit-text-stroke: 1px rgba(47, 236, 241, 0.15); /* Блідий контур */
    /* Маска, яка робить градієнтне зникання */
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
    z-index: -1;
}

.hero-subtitle {
    font-family: 'Zen Dots', cursive;
    font-size: 22px; /* */
    color: var(--text-white); 
    margin-top: 45px; 
    margin-bottom: 80px;
    letter-spacing: 1px;
}

.info-box p {
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    text-align: left; /* Змінюємо justify на left для відповідності макету */
}
.hero {
    min-height: 100vh;
    padding: 60px 10%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; 
    text-align: left; /* Додаємо для вирівнювання тексту */
}

.main-logo::after {
    content: "RESELL SYNDICATE";
    position: absolute;
    left: 0;
    top: 75%; /* Позиція відображення */
    width: 100%;
    color: transparent;
    
   
    -webkit-text-stroke: 1px rgba(138, 80, 38, 0.25); 
    
  
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
    
    z-index: -1;
    pointer-events: none;
}

.main-logo {
    margin-left: -5%; 
}


/* --------------------------------- */

.home-wrapper {
    font-family: 'Roboto', sans-serif !important;
    color: #FFFFFF;
    padding-top: 380px !important; 
    position: relative;
    width: 100%;
    
    /* Додаємо карту Китаю на фон */
    background-image: url('china-map.svg'); 
    background-repeat: no-repeat;
    
    /* Позиціонування: карта стоїть праворуч, трохи вище центру секції */
    background-position: right 0% top 150px; 
    
  
    background-size: 55%; 
    
    z-index: 1;
}



@media (max-width: 1200px) {
    .home-wrapper {
        background-size: 70%; /* Збільшуємо карту, коли екран стає вужчим */
        background-position: right -10% top 200px;
    }
}

@media (max-width: 950px) {
    .home-wrapper {
        background-image: none !important; 
    }
}


.home-wrapper {
    font-family: 'Roboto', sans-serif !important;
    color: #FFFFFF;
    padding-top: 380px !important; 
    position: relative;
    width: 100%;
    
   
    background-image: url('china-map.svg'); 
    background-repeat: no-repeat;
    
    
    background-position: right 0px top 150px; 
    
    
    background-size: 60%; 
    
    z-index: 1;
}


@media (min-width: 1600px) {
    .home-wrapper {
        background-size: 50%;
        background-position: right -20px top 120px; 
    }
}


@media (max-width: 1200px) {
    .home-wrapper {
        background-size: 75%;
        background-position: right -5% top 180px;
    }
}

@media (max-width: 950px) {
    .home-wrapper {
        background-image: none !important; 
    }
}



.home-wrapper {
    font-family: 'Roboto', sans-serif !important;
    color: #FFFFFF;
    padding-top: 380px !important; 
    position: relative;
    width: 100%;
    
   
    background-image: url('china-map.svg'); 
    background-repeat: no-repeat;
    
    
    background-position: right 0px top 150px; 
    
   
    background-size: 60%; 
    
    z-index: 1;
}


@media (min-width: 1600px) {
    .home-wrapper {
        background-size: 50%;
        background-position: right -20px top 120px; 
    }
}

/* Важливо для планшетів, щоб текст не наїжджав на карту */
@media (max-width: 1200px) {
    .home-wrapper {
        background-size: 75%;
        background-position: right -5% top 180px;
    }
}

/* На мобілках ховаємо, як і домовлялися */
@media (max-width: 950px) {
    .home-wrapper {
        background-image: none !important; 
    }
}

#home.page-section {
    position: relative;
    width: 100%;
}

.china-map-static {
    position: absolute;
    top: 150px;      /* Висота розташування */
    
    
    left: 50%;
    margin-left: 200px; 
    
    
    width: 800px;    
    height: 700px;
    
    background-image: url('china-map.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; 
    
    z-index: 1;      /* Під текстом */
    pointer-events: none; /* Щоб карта не заважала клікати на посилання */
}


.home-wrapper {
    background-image: none !important;
    position: relative;
    z-index: 5;
}


@media (max-width: 950px) {
    .china-map-static {
        display: none;
    }
}





.china-map-static {
    position: absolute;
    
   
    top: 250px; 
    left: 100%;
    
    
    margin-left: -1000px; 
    
    
    width: 1200px;    
    height: 1000px;
    
    background-image: url('china-map.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    
   
    opacity: 0.5; 
    
    z-index: 1;
    pointer-events: none;
}

.china-map-static {
    position: absolute;
    
    
    top: 400px; 
    
    
    right: calc((100vw - 100%) / -2 - 20px); 
    
   
    width: 1000px;    
    height: 900px;
    
    background-image: url('china-map.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    
    
    opacity: 0.4; 
    
    z-index: 1;
    pointer-events: none;
}




.rs-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.rs-card {
    background: transparent; 
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    transition: transform 0.3s ease;
    border: none; 
}

.rs-card:hover {
    transform: translateY(-10px);
}


.rs-card-img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 25px; 
    border-radius: 0; 
    transition: box-shadow 0.3s ease;
}

.rs-card:hover .rs-card-img {
    box-shadow: 0 0 20px rgba(138, 80, 38, 0.4); 
}


.card-desc {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 300;
    font-size: 15px; 
    line-height: 1.6;
    text-align: left; 
    color: #FFFFFF;
    opacity: 0.8;
    padding: 0; 
}

/* Адаптація для мобільних */
@media (max-width: 950px) {
    .rs-cards-grid {
        grid-template-columns: 1fr; 
        gap: 50px;
    }
    
    .rs-card {
        align-items: center; 
    }
    
    .card-desc {
        text-align: center;
        padding: 0 10px;
    }
}



.rs-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.rs-card {
    
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    cursor: pointer;
    
    
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    
   
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.rs-card:hover {
    transform: translateY(-10px);
}


.rs-card-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0; 
    border-radius: 0; 
    position: relative;
    z-index: 2; 
}


.rs-card::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    bottom: -100px; 
    left: 50%;
    transform: translateX(-50%);
    background: rgba(138, 80, 38, 0.4); 
    filter: blur(60px); 
    z-index: 0; /* Світіння під картинкою */
    transition: background 0.3s ease;
}

.rs-card:hover::before {
    background: rgba(138, 80, 38, 0.7); 
}


.card-desc {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 300;
    font-size: 14px; 
    line-height: 1.6;
    color: #FFFFFF;
    opacity: 0.9;
    
   
    text-align: left;
    margin-top: 15px; 
    padding: 0; 
    z-index: 2; 
}


@media (max-width: 950px) {
    .rs-cards-grid {
        grid-template-columns: 1fr; 
        gap: 50px;
    }
    
    .rs-card {
        align-items: center; 
    }
    
    .card-desc {
        text-align: center;
        padding: 0 10px;
    }
}


.contact-container {
    max-width: 600px;
    margin: 0 auto 150px; 
    text-align: center;
}

.hanging-container {
    position: absolute;
    top: -70px; 
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1600px; 
    pointer-events: none;
    z-index: 10;
}

.hanging-full-img {
    width: 100%;
    height: auto;
    display: block;
    min-width: 1000px; 
}


/* --------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .hanging-container {
        width: 120%; 
    }
    .home-wrapper {
        padding-top: 400px !important; 
    }
}

/* -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .hanging-container {
        width: 180%; 
        top: -50px;
    }
    .home-wrapper {
        padding-top: 300px !important; 
    }
    .rs-title {
        font-size: 40px !important; 
    }
}



/* -------------------------------------------------------------------------- */
@media screen and (max-width: 1200px) {
    .hanging-container {
        width: 150%; 
    }
    .home-wrapper {
        padding-top: 420px !important; 
    }
}

/* -------------------------------------------------------------- */
@media screen and (max-width: 950px) {
    .hanging-container {
        width: 180%;
        top: -60px;  
    }
    .home-wrapper {
        padding-top: 380px !important;
    }
    .rs-title {
        font-size: 60px !important; 
    }
}

@media screen and (max-width: 770px) {
    .hanging-container {
        width: 240%; 
        top: -40px;
    }
    .home-wrapper {
        padding-top: 320px !important;
    }
    .rs-title {
        font-size: 45px !important;
        -webkit-text-stroke: 1px var(--f-cyan);
    }
    .rs-subtitle {
        font-size: 16px !important;
        margin-top: 20px !important;
    }
}

/* ---------------------------------------------------------------------------------------------------- */
@media screen and (max-width: 480px) {
    .hanging-container {
        width: 300%; 
    }
    .home-wrapper {
        padding-top: 280px !important;
    }
}


.hanging-container {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1440px; 
    pointer-events: none;
    z-index: 10;
}

.hanging-full-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ------------------------------------------------------------------------- */
@media screen and (max-width: 1200px) {
    .hanging-container {
        width: 95%; 
        top: -60px;
    }
    .home-wrapper {
        padding-top: 320px !important; 
    }
}




/* -------------------------------------------------------------------------------------------------------- */

@media screen and (max-width: 770px) {
    .hanging-container {
        width: 100%;
        top: -40px;
    }
    .rs-title {
        font-size: 38px !important; 
        line-height: 1.1 !important;
        -webkit-text-stroke: 1px var(--f-cyan) !important;
        margin-bottom: 10px !important;
    }
    .rs-title::after {
        display: none; 
    }

    .rs-subtitle {
        font-size: 14px !important;
        margin-top: 15px !important;
        line-height: 1.4 !important;
    }

    .home-wrapper {
        padding-top: 240px !important; 
        text-align: center;
    }

    .rs-hero {
        margin-bottom: 40px;
    }
}


/* ------------------------------------------------------------------------ */
@media screen and (max-width: 1200px) {
    .rs-title {
        font-size: 70px !important; 
        line-height: 1.1 !important;
        -webkit-text-stroke: 2px var(--f-cyan) !important; 
    }
    
    .rs-title::after {
        font-size: 70px !important; 
        top: 75% !important;
    }

    .rs-subtitle {
        font-size: 18px !important; 
        margin-top: 35px !important; 
    }
}

/* -------------------------------------------------------------- */
@media screen and (max-width: 770px) {
    .rs-title {
        font-size: 38px !important; 
        line-height: 1.2 !important;
        -webkit-text-stroke: 1.2px var(--f-cyan) !important;
        text-shadow: 0 0 15px var(--f-cyan-glow) !important; 
    }
    .rs-title::after {
        font-size: 38px !important;
        top: 80% !important;
        -webkit-text-stroke: 0.5px rgba(47, 236, 241, 0.1) !important;
        mask-image: linear-gradient(to bottom, rgba(0,0,0,0.2), transparent) !important;
    }

    .rs-subtitle {
        font-size: 15px !important;
        margin-top: 25px !important;
        padding: 0 15px; 
        line-height: 1.5 !important;
    }
}

/* ---------------------------------------------------------------- */
@media screen and (max-width: 480px) {
    .rs-title {
        font-size: 32px !important;
    }
    .rs-subtitle {
        font-size: 14px !important;
    }
}


/* ------------------------------------------------------------------------------------------- */
@media screen and (max-width: 1100px) and (min-width: 700px) {
    .rs-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 25px;
        padding: 0 40px;
    }
    
    .rs-learning-title {
        font-size: 26px !important;
    }
    
    .rs-learning-subtitle {
        font-size: 18px !important;
        margin-bottom: 40px;
    }
}

/* ---------------------------------------------------------------------------- */
@media screen and (max-width: 700px) {
    .rs-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .rs-card {
        max-width: 400px; 
        margin: 0 auto; 
    }
    
    .card-desc {
        font-size: 14px;
        text-align: center;
    }
}




/* --------------------------------------------------------------------------- */
.single-item-grid .product-card {
    max-width: 450px; 
    height: auto;     
    padding: 20px;   
}

.single-item-grid .product-image {
    margin-bottom: 15px; 
}

.single-item-grid h3 {
    font-size: 1.3rem;  
    margin-bottom: 8px;
}

.single-item-grid .desc {
    font-size: 0.85rem;  
    margin-bottom: 15px;
}

.single-item-grid .price {
    margin-bottom: 15px; 
}
.single-item-grid .desc {
    font-size: 1.15rem !important; 
    line-height: 1.6;             
    color: #e0e0e0;              
    margin-bottom: 25px;          
}

/* ---------------------------------------------------------------------------------------------------------- */
.contact-subtitle {
    font-size: 1.15rem !important; 
    line-height: 1.6;
    color: var(--text-muted);
}
.contact-card p {
    font-size: 1.15rem !important; 
    line-height: 1.6;
    color: #e0e0e0; 
    margin-bottom: 40px;
}
#products .desc {
    font-size: 1.15rem !important; 
    line-height: 1.6;             
    color: #e0e0e0;               
    margin-bottom: 25px;          
}


.product-card h3 {
    font-size: 1.6rem !important; 
    margin-bottom: 12px;
}
.card-desc {
    font-size: 1.15rem !important;
}

/* ---------------------------------------------------------- */
.product-detail-info li {
    font-size: 1.15rem !important; 
    line-height: 1.6 !important;
    color: #e0e0e0 !important;     
    margin-bottom: 15px !important; 
}


.product-detail-info p:not(.full-desc):not(.price) {
    font-family: 'Zen Dots', cursive !important; 
    font-size: 1.4rem !important; 
    color: #fff !important;
    margin-top: 40px !important;
    margin-bottom: 20px !important;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* -------------------------------------------------------- */
.product-detail-info li::before {
    font-size: 1.4rem !important; 
    top: -3px !important;
}
.product-detail-info ul {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 10px 40px;                
    margin-bottom: 30px !important;
    list-style: none;
    padding-left: 0;
}
@media screen and (max-width: 600px) {
    .product-detail-info ul {
        grid-template-columns: 1fr;
    }
}


/* -------------------------------------------------------------------------- */
.product-detail-info p:not(.full-desc):not(.price) {
    margin-top: 25px !important;    
    margin-bottom: 15px !important; 
    font-size: 1.25rem !important;  
}
.product-detail-info li {
    margin-bottom: 8px !important;  
    font-size: 1.05rem !important;  
}

.product-detail-container {
    padding: 35px !important;       
    gap: 40px !important;           
}
/* -------------------------------------------------------------- */

@media screen and (max-width: 770px) {
    .product-detail-container {
        padding: 0 !important;      
        border: none !important;    
        background: transparent !important; 
        gap: 20px !important;
    }
    .product-detail-img {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    .product-detail-img img {
        width: 100% !important;     
        max-width: 100% !important;
        max-height: none !important; 
        border-radius: 0 !important; 
        object-fit: cover !important; 
    }
    .product-detail-info {
        padding: 0 20px 40px !important; 
    }
}
/* ---------------------------------------------------------------------------------------------- */
@media screen and (max-width: 770px) {
    .product-detail-container {
        padding: 20px !important;       
        border: 1px solid rgba(138, 80, 38, 0.4) !important; 
        background: var(--bg-card) !important; 
        gap: 25px !important;           /* Компактний відступ між картинкою та текстом */
    }

   
    .product-detail-img {
        width: 100% !important;
        max-width: 85% !important;     
        margin: 0 auto !important;     
        display: block !important;
        overflow: hidden;
        border-radius: 12px;          
    }

   
    .product-detail-img img {
        width: 100% !important;         
        max-height: 350px !important;   
        object-fit: cover !important;   
        border-radius: 12px !important;
        display: block;
    }
}

@media screen and (max-width: 770px) {
   
    .product-detail-img {
        width: 100% !important;
        max-width: 100% !important; 
        margin: 0 0 25px 0 !important; 
        position: relative !important;
        top: 0 !important;
    }

    
    .product-detail-img img {
        width: 100% !important;
        height: auto !important;      
        max-height: none !important;   /* Прибираємо будь-які обмеження висоти */
        border-radius: 15px !important; 
        object-fit: cover !important; 
        box-shadow: none !important;   /* Прибираємо світіння, якщо воно створює артефакти */
    }

    
    .product-detail-container {
        padding: 20px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
}



[data-animate] {
    opacity: 0;
    transform: translateY(40px); 
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), 
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

/* 2. Стан після активування анімації */
[data-animate].animate-active {
    opacity: 1;
    transform: translateY(0);
}

/* Варіації анімації pojavu */
[data-animate="fade-in"] {
    transform: translateY(0);
}

[data-animate="slide-left"] {
    transform: translateX(-40px);
}

[data-animate="slide-right"] {
    transform: translateX(40px);
}

[data-animate].animate-active[data-animate="slide-left"],
[data-animate].animate-active[data-animate="slide-right"] {
    transform: translateX(0);
}

/* 3. Анімація мерехтіння для головного заголовка (Клас додається JS) */
.neon-flicker {
    animation: flicker 4s linear infinite;
}

@keyframes flicker {
    0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
        opacity: 1;
        text-shadow: 
            0 0 7px var(--f-cyan),
            0 0 10px var(--f-cyan),
            0 0 21px var(--f-cyan),
            0 0 42px var(--f-cyan-glow),
            0 0 82px var(--f-cyan-glow),
            0 0 92px var(--f-cyan-glow);
    }
    20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
        opacity: 0.4;
        text-shadow: none;
    }
}
@media screen and (max-width: 768px) {
    #products .product-grid {
        grid-template-columns: 1fr 1fr !important; 
        gap: 15px !important;
        padding: 0 5px;
    }
    #products .product-card {
        padding: 15px !important;
        border-radius: 12px !important;
        min-height: auto !important; 
    }

    #products .product-card h3 {
        font-size: 1rem !important; 
        margin-bottom: 8px;
        letter-spacing: 0.5px;
    }
    #products .product-card .desc {
        font-size: 0.8rem !important; 
        line-height: 1.4;
        margin-bottom: 12px;
    }

    #products .product-card .price {
        font-size: 0.95rem !important; 
        margin-bottom: 15px;
    }
    #products .buy-btn {
        padding: 10px 5px !important;
        font-size: 12px !important;
        border-radius: 4px;
    }
    #products .product-image {
        margin-bottom: 12px;
    }
    /* ---------------------------------------------------- */
}
#products .product-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}


#products .buy-btn {
    margin-top: auto !important; 
}
/* ------------------------------------------------------------- */
@media screen and (max-width: 700px) {
    .rs-card {
        max-width: 450px !important; 
        margin: 0 auto 30px !important; 
    }

    .rs-card-img {
        margin-bottom: 15px !important; 
    }
    
    .card-desc {
        font-size: 13px !important; 
        line-height: 1.5 !important;
    }
}
@media screen and (max-width: 540px) {
    .hanging-container {
        width: 97% !important; 
    }
    
    .home-wrapper {
        padding-top: 220px !important; 
    }
}


/* --------------------------------------- */

/* */
/* Контейнер для центрування кнопки під плашками */
.home-action-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 60px;    /* Відступ від плашок (твоя червона зона) */
    margin-bottom: 100px; /* Відступ до футера */
}

.navigate-courses-btn {
    font-family: 'Zen Dots', cursive !important;
    font-size: 1.1rem;
    padding: 18px 55px;
    background: transparent;
    color: var(--f-cyan); /* */
    border: 1.5px solid var(--f-cyan);
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(47, 236, 241, 0.15); /* */
}

/* Ефект при наведенні */
.navigate-courses-btn:hover {
    background: var(--f-cyan);
    color: #161515; /* Темний текст на неоновому фоні */
    box-shadow: 0 0 30px var(--f-cyan), 0 0 50px var(--f-cyan-glow);
    transform: translateY(-3px);
}

/* Адаптація для телефону */
@media screen and (max-width: 768px) {
    .home-action-container {
        margin-top: 40px;
        padding: 0 20px;
    }
    .navigate-courses-btn {
        width: 100%; /* На весь екран мобілки */
        font-size: 0.95rem;
    }
}



/* =========================================
   СТИЛІ ДЛЯ ОПИСУ КУРСІВ НА ГОЛОВНІЙ СТОРІНЦІ
   ========================================= */

.home-card-features {
    list-style: none;
    padding-left: 0;
    margin-top: 10px; /* Відступ від картинки до списку */
    margin-bottom: 20px;
    width: 100%;
    text-align: left; /* Вирівнюємо по лівому краю для зручного читання */
    position: relative;
    z-index: 2; /* Щоб текст був над коричневим світінням картки */
}

.home-card-features li {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.15rem; 
    color: #e0e0e0;
    margin-bottom: 12px;
    line-height: 1.5;
    padding-left: 30px; /* Місце для стрілочки */
    position: relative;
}

/* Додаємо неонові стрілочки (як у деталях курсу) */
.home-card-features li::before {
    content: '▹'; 
    position: absolute;
    left: 0;
    top: -4px;
    color: var(--f-cyan); /* Твій фірмовий блакитний колір */
    font-size: 1.4rem;
    text-shadow: 0 0 10px var(--f-cyan-glow); /* Легке неонове світіння */
}

/* Адаптація списків для мобільних телефонів */
@media screen and (max-width: 950px) {
    .home-card-features {
        max-width: 250px; /* Обмежуємо ширину, щоб текст не розтягувався */
        margin: 15px auto 30px; /* Центруємо сам блок списку під картинкою */
    }
}


/* ------------------------------------------------------------------- */
.rs-learning-subtitle {
    font-family: 'Zen Dots', cursive !important; /* Використовуємо фірмовий шрифт */
    font-size: 32px !important; /* Збільшуємо розмір, щоб контур читався добре */
    color: transparent !important; /* Робимо заливку літер прозорою */
    -webkit-text-stroke: 1.5px var(--f-orange) !important; /* Додаємо помаранчевий контур */
    text-shadow: 
        0 0 15px var(--f-orange-glow), 
        0 0 30px var(--f-orange-glow) !important; /* Додаємо ефект світіння */
    text-transform: uppercase !important; /* Всі літери великі, як на фото */
    letter-spacing: 3px !important; /* Трохи розсуваємо літери */
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.4;
}

/* Адаптація розміру та товщини контуру для мобільних екранів */
@media screen and (max-width: 950px) {
    .rs-learning-subtitle {
        font-size: 22px !important;
        -webkit-text-stroke: 1px var(--f-orange) !important; /* Тонший контур на телефоні */
        letter-spacing: 1px !important;
        padding: 0 15px;
    }
}

/* Збільшуємо текст пунктів списку під картками */
.home-card-features li {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.25rem !important; /* Збільшили з 1.05rem до 1.25rem */
    color: #e0e0e0;
    margin-bottom: 16px !important; /* Трохи збільшили відступ між рядками */
    line-height: 1.5;
    padding-left: 35px !important; /* Дали більше місця для стрілочки */
    position: relative;
}

/* Збільшуємо неонові стрілочки пропорційно до нового тексту */
.home-card-features li::before {
    content: '▹'; 
    position: absolute;
    left: 0;
    top: -5px !important; /* Трохи підняли, щоб стрілочка була по центру літери */
    color: var(--f-cyan); 
    font-size: 1.6rem !important; /* Збільшили розмір стрілочки */
    text-shadow: 0 0 10px var(--f-cyan-glow); 
}



/* =========================================
   ФІКС ДЛЯ SAFARI ТА МОБІЛЬНОГО НЕОНУ
   ========================================= */
@media screen and (max-width: 950px) {
    .rs-title, 
    .rs-learning-subtitle,
    .main-logo {
        color: transparent !important;
        -webkit-text-fill-color: transparent !important; 
    }
    .rs-title {
        font-size: 40px !important;
        -webkit-text-stroke: 1.2px var(--f-cyan) !important;
        text-shadow: 0 0 8px var(--f-cyan-glow) !important; 
        margin-bottom: 10px !important;
    }
    .rs-title::after {
        display: none !important; 
    }
    .rs-hero p {
        font-family: 'Zen Dots', cursive !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        text-shadow: none !important;
    }
}


/* ----------------------------------------------------------------- */
/* =========================================
   ФІКС ПІДВІШЕНОЇ КАРТИНКИ (icons.svg)
   ========================================= */
@media screen and (max-width: 770px) {
    /* 1. Зменшуємо масштаб та сильно піднімаємо вгору */
    .hanging-container {
        width: 160% !important;   /* Робимо іконки меншими (було 240%) */
        top: -100px !important;   /* Ховаємо довгі нитки за верхній край екрана */
    }

    /* 2. Коригуємо відступ для тексту, щоб він став ідеально під іконками */
    .home-wrapper {
        padding-top: 250px !important; 
    }
}

/* Для ще менших екранів (старі iPhone) */
@media screen and (max-width: 480px) {
    .hanging-container {
        width: 180% !important; 
        top: -90px !important;
    }
    .home-wrapper {
        padding-top: 230px !important;
    }
}
