:root {
    --bg-color-primary: #3abaff;
    --bg-color-secondary: #fef6b5;
    --text-color: #333;
    --header-font: 'KG Inimitable Original', cursive;
    --body-font: 'Noto Sans Condensed', sans-serif;
}

/* Шрифты из корневой папки */
@font-face {
    font-family: 'KG Inimitable Original';
    src: url('KG Inimitable Original.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans Condensed';
    src: url('Noto Sans Condensed.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: var(--body-font);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--bg-color-primary);
    color: var(--text-color);
    scroll-behavior: smooth;
}

/* Общие стили для всех заголовков, чтобы они выглядели как hero-title */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font);
    font-size: calc(3.625rem + 4.5vw); /* Размер как у hero-title */
    color: #fce86b;
    -webkit-text-stroke: 3px #333;
    text-shadow: 6px 6px 0px rgba(0,0,0,0.2);
    margin-top: 20px;
    margin-bottom: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hero Section */
.hero {
    background-color: var(--bg-color-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Навигация - ДЕСКТОПНЫЕ СТИЛИ */
.navigation-bar {
    position: relative;
    top: 0;
    background-color: var(--bg-color-secondary);
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
    z-index: 1000;
    padding: 10px 0;
    border: 2px solid var(--text-color);
    margin-top: 50px;
    margin-left: 300px;
    margin-right: 300px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.navigation-bar nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* Возвращаем оригинальные стили для заголовка в навигации */
.nav-brand h1 {
    font-family: var(--header-font);
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
    margin-right: 150px;
    /* Явно убираем обводку и тень, которые заданы для общих h1-h6 */
    -webkit-text-stroke: initial;
    text-shadow: initial;
    white-space: initial;
    overflow: initial;
    text-overflow: initial;
}

.main-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.main-nav-list li {
    margin: 0 10px;
}

.main-nav-list li a {
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--header-font);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.main-nav-list li a:hover {
    color: #666;
}

/* Hamburger Menu - СКРЫТ ПО УМОЛЧАНИЮ НА ДЕСКТОПЕ */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Hero Content */
.hero-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.hero-image {
    max-width: 50%;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

.tonscan-button {
    display: inline-block;
    background-color: var(--text-color);
    color: var(--bg-color-primary);
    font-family: var(--header-font);
    font-size: 1.2em;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
}

.tonscan-button:hover {
    background-color: #555;
    transform: translateY(-2px);
    box-shadow: 6px 6px 0px rgba(0,0,0,0.3);
}

.address-copy-block {
    display: flex;
    align-items: center;
    background-color: var(--bg-color-secondary);
    border: 2px solid var(--text-color);
    border-radius: 5px;
    padding: 10px 15px;
    margin-top: 20px;
    box-shadow: 6px 6px 0px rgba(0,0,0,0.2);
}

.address-text {
    font-family: var(--body-font);
    font-size: 0.9em;
    color: var(--text-color);
    margin-right: 10px;
    user-select: all;
    word-break: break-all;
}

.copy-icon {
    width: 25px;
    height: 25px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.copy-icon:active {
    transform: scale(0.9);
}

/* General Section Styling */
.section {
    padding: 60px 20px;
    margin-bottom: 0;
    text-align: center;
}

/* Цвета фона для секций */
#hero, .section:nth-of-type(odd) {
    background-color: var(--bg-color-primary);
}

.section:nth-of-type(even) {
    background-color: var(--bg-color-secondary);
}

/* Separator */
.separator {
    background-color: #fff8ca;
    padding: 8px 0;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05), inset 0 -2px 5px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 3px solid black;
    border-bottom: 3px solid black;
}

.separator-item {
    font-family: var(--header-font);
    font-size: 1.8em;
    color: var(--text-color);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
}

.separator-item .fa-cat {
    color: var(--text-color);
    font-size: 1em;
}

/* How To Buy Section */
.how-to-buy-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.buy-step {
    background-color: var(--bg-color-primary);
    border: 2px solid var(--text-color);
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    text-align: center;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.buy-step:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.3);
}

.buy-step-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid var(--text-color);
}

.buy-step p {
    font-family: var(--body-font);
    font-size: 1.1em;
    color: var(--text-color);
    line-height: 1.6;
}

/* Tokenomics Section */
.tokenomics-image {
    max-width: 30%;
    height: auto;
    margin-bottom: 30px;
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 90%;
    max-width: 1200px;
    margin: 40px auto 0 auto;
}

.tokenomics-item {
    background-color: #FFFFFF;
    border: 2px solid var(--text-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tokenomics-item:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.3);
}

/* Возвращаем оригинальные стили для заголовков в токеномике */
.tokenomics-item h3 {
    font-family: var(--header-font); /* Или var(--body-font), если хотите */
    font-size: 1.8em; /* Исходный размер */
    color: var(--text-color); /* Исходный цвет */
    margin-top: 0;
    margin-bottom: 15px;
    /* Явно убираем обводку и тень, которые заданы для общих h1-h6 */
    -webkit-text-stroke: initial;
    text-shadow: initial;
    white-space: initial;
    overflow: initial;
    text-overflow: initial;
}

.tokenomics-item p {
    font-family: var(--body-font);
    font-size: 1.1em;
    color: var(--text-color);
    line-height: 1.6;
}

/* Roadmap Section */
.roadmap-image {
    max-width: 20%;
    height: auto;
    margin-bottom: 30px;
}

.roadmap-carousel-container {
    overflow: hidden;
    width: 80%;
    margin: 0 auto;
    border: 2px solid var(--text-color);
    border-radius: 10px;
}

.roadmap-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.roadmap-item {
    min-width: 100%;
    box-sizing: border-box;
    padding: 40px 20px;
    text-align: center;
    background-color: var(--bg-color-secondary);
    border-right: 1px dashed var(--text-color);
}

.roadmap-item:last-child {
    border-right: none;
}

/* Если у roadmap-item есть заголовки (например, h3), и вы хотите их вернуть к "обычному" виду: */
.roadmap-item h3 {
    font-family: var(--header-font); /* Или var(--body-font) */
    font-size: 1.5em; /* Примерный размер, если они были меньше */
    color: var(--text-color);
    /* Явно убираем обводку и тень */
    -webkit-text-stroke: initial;
    text-shadow: initial;
    white-space: initial;
    overflow: initial;
    text-overflow: initial;
}

/* FAQ Section */
.faq-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.faq-image {
    max-width: 30%;
    height: auto;
    flex-shrink: 0;
}

.accordion {
    width: 55%;
    margin: 0;
    text-align: left;
    flex-grow: 1;
}

.accordion-item {
    margin-bottom: 10px;
    border: 1px solid var(--text-color);
    border-radius: 5px;
    overflow: hidden;
}

/* Возвращаем оригинальные стили для заголовков аккордеона */
.accordion-header {
    background-color: var(--bg-color-primary);
    color: var(--text-color);
    padding: 15px 20px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: var(--body-font);
    font-size: 1.1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    /* Явно убираем обводку и тень, которые заданы для общих h1-h6 */
    -webkit-text-stroke: initial;
    text-shadow: initial;
    white-space: initial;
    overflow: initial;
    text-overflow: initial;
}

.accordion-header:hover {
    background-color: #fce86b;
}

.accordion-header::after {
    content: '\002B';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.accordion-header.active::after {
    content: "\2212";
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 20px;
    background-color: #fef6b5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.0s ease-out, padding 0.0s ease-out;
}

.accordion-content.show {
    max-height: 200px;
    padding: 15px 20px;
    transition: max-height 0.4s ease-in, padding 0.4s ease-in;
}

/* Join With Us Section */
.join-image {
    max-width: 20%;
    height: auto;
    margin-bottom: 30px;
}

.social-links-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    margin-top: 40px;
    width: 90%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.social-link-item {
    background-color: #FFFFFF;
    border: 2px solid var(--text-color);
    border-radius: 10px;
    padding: 15px 25px;
    text-align: center;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    min-width: 150px;
    max-width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-link-item:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.3);
}

.social-link-item a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.social-link-item .fa-brands,
.social-link-item .fa-solid {
    font-size: 2.5em;
    transition: color 0.3s ease;
}

.social-link-item a:hover .fa-brands,
.social-link-item a:hover .fa-solid {
    color: #666;
}


/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .navigation-bar {
        margin-left: 100px;
        margin-right: 100px;
    }
    .nav-brand h1 {
        margin: 0;
    }
    .main-nav-list li {
        margin: 0 10px;
    }
    .main-nav-list li a {
        font-size: 0.95rem;
    }

    .hero-image {
        max-width: 80%;
    }
    /* Общие заголовки уменьшены, но все еще имеют обводку и тень */
    h1, h2, h3, h4, h5, h6 {
        font-size: calc(2.5rem + 3vw);
    }

    .tokenomics-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        width: 95%;
        gap: 25px;
    }

    .roadmap-carousel-container {
        width: 95%;
    }
}

@media (max-width: 768px) {
    /* Навигация - МОБИЛЬНЫЕ СТИЛИ */
    .navigation-bar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        margin: 0;
        border: none;
        border-bottom: 2px solid var(--text-color);
        padding: 10px 0;
    }

    .navigation-bar nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }

    /* Стиль для заголовка навигации на мобильных, чтобы он был читаемым */
    .nav-brand h1 {
        margin: 0;
        font-size: 1.3rem;
        -webkit-text-stroke: initial; /* Убедимся, что нет обводки */
        text-shadow: initial; /* Убедимся, что нет тени */
    }

    .main-nav-list {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--bg-color-secondary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: 0 8px 16px rgba(0,0,0,0.25);
        padding-top: 20px;
    }

    .main-nav-list.active {
        transform: translateX(0);
    }

    .main-nav-list li {
        margin: 15px 0;
        font-size: 1.5em;
    }

    .hamburger-menu {
        display: flex;
    }

    .hero {
        padding-top: 70px;
    }

    .hero-image {
        max-width: 90%;
        margin-bottom: 15px;
    }

    /* Общие заголовки уменьшены на мобильных */
    h1, h2, h3, h4, h5, h6 {
        font-size: calc(2rem + 3vw);
        -webkit-text-stroke: 2px #333;
        text-shadow: 4px 4px 0px rgba(0,0,0,0.2);
    }

    .tonscan-button {
        padding: 12px 25px;
        font-size: 1.1em;
        margin-bottom: 15px;
    }

    .address-copy-block {
        flex-direction: column;
        padding: 8px 10px;
        margin-top: 8px;
    }

    .address-text {
        margin-right: 0;
        margin-bottom: 5px;
        font-size: 0.85em;
    }

    .copy-icon {
        width: 18px;
        height: 18px;
    }

    .separator-item {
        font-size: 1.2em;
        gap: 5px;
    }

    .separator-item .fa-cat {
        font-size: 0.8em;
    }

    .section {
        width: auto;
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Общие стили для контентных оберток на мобильных */
    .accordion, .roadmap-carousel-container,
    .faq-content-wrapper, .tokenomics-grid,
    .social-links-container,
    .how-to-buy-container {
        width: 95%;
        margin: 40px auto 0 auto;
        box-sizing: border-box;
    }

    /* How To Buy Section - МОБИЛЬНЫЕ СТИЛИ */
    .how-to-buy-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .buy-step {
        width: 100%;
        max-width: 350px;
        margin-bottom: 20px;
    }

    .tokenomics-image {
        max-width: 90%;
        margin-bottom: 20px;
    }

    .tokenomics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tokenomics-item {
        padding: 20px;
    }

    /* Стиль для заголовков в токеномике на мобильных, чтобы они были читаемыми */
    .tokenomics-item h3 {
        font-size: 1.5em; /* Сохраняем читаемый размер */
        -webkit-text-stroke: initial; /* Убедимся, что нет обводки */
        text-shadow: initial; /* Убедимся, что нет тени */
    }

    .tokenomics-item p {
        font-size: 1em;
    }
    
    .roadmap-image {
        max-width: 90%;
    }

    .faq-content-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .faq-image {
        max-width: 90%;
        margin-bottom: 20px;
    }

    .accordion {
        width: 95%;
    }

    /* Стиль для заголовков аккордеона на мобильных, чтобы они были читаемыми */
    .accordion-header {
        font-size: 1.1em;
        -webkit-text-stroke: initial; /* Убедимся, что нет обводки */
        text-shadow: initial; /* Убедимся, что нет тени */
    }

    .join-image {
        max-width: 70%;
    }

    .social-links-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .social-link-item {
        width: 80%;
        max-width: 300px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .buy-step {
        width: 95%;
        padding: 15px;
    }

    .buy-step p {
        font-size: 1em;
    }

    /* Общие заголовки еще меньше для очень маленьких экранов */
    h1, h2, h3, h4, h5, h6 {
        font-size: calc(1.5rem + 3vw);
    }

    .address-text {
        font-size: 0.8em;
    }

    .separator-item {
        font-size: 1em;
    }
}