/* CSS Version: 1.0.1 - FORCE CACHE REFRESH */
/* Base Styles and Variables - v1.0.1 - Force Update */
:root {
    /* Light Theme Colors */
    --primary-color: #FFD700; /* Yellow */
    --primary-color-rgb: 255, 215, 0; /* RGB values for primary color */
    --accent-color: #FFA500; /* Orange */
    --text-color: #333333;
    --bg-color: #FFFFFF;
    --card-bg: #F5F5F5;
    --border-color: #E0E0E0;
    --hover-color: #FFE44D;
    --shadow-color: rgba(0, 0, 0, 0.1);
    
    /* Common Variables */
    --border-radius: 8px;
    --card-border-radius: 12px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --mobile-heading-scale: 0.7; /* 30% smaller headings for mobile */
    --mobile-line-height: 1.3; /* Reduced line height for mobile */
}

.dark-theme {
    --primary-color: #FFD700; /* Yellow */
    --primary-color-rgb: 255, 215, 0; /* RGB values for primary color */
    --accent-color: #FFA500; /* Orange */
    --text-color: #FFFFFF;
    --bg-color: #121212;
    --card-bg: #1E1E1E;
    --border-color: #333333;
    --hover-color: #FFE44D;
    --shadow-color: rgba(255, 255, 255, 0.05);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.5s ease, color 0.5s ease;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

ul, ol {
    list-style-position: inside;
    margin-bottom: 1rem;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Animation Styles */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.animated {
    opacity: 1;
    transform: translateY(0);
}

.feature-card, .roadmap-item, .stage-card, .drop-feature, .farming-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

section.animated .feature-card, 
section.animated .roadmap-item,
section.animated .stage-card,
section.animated .drop-feature,
section.animated .farming-card {
    opacity: 1;
    transform: translateY(0);
}

section.animated .feature-card:nth-child(1),
section.animated .stage-card:nth-child(1),
section.animated .drop-feature:nth-child(1),
section.animated .farming-card:nth-child(1) {
    transition-delay: 0.1s;
}

section.animated .feature-card:nth-child(2),
section.animated .stage-card:nth-child(2),
section.animated .drop-feature:nth-child(2),
section.animated .farming-card:nth-child(2) {
    transition-delay: 0.2s;
}

section.animated .feature-card:nth-child(3),
section.animated .stage-card:nth-child(3),
section.animated .drop-feature:nth-child(3),
section.animated .farming-card:nth-child(3) {
    transition-delay: 0.3s;
}

section.animated .feature-card:nth-child(4),
section.animated .stage-card:nth-child(4),
section.animated .drop-feature:nth-child(4),
section.animated .farming-card:nth-child(4) {
    transition-delay: 0.4s;
}

section.animated .farming-card:nth-child(5) {
    transition-delay: 0.5s;
}

section.animated .farming-card:nth-child(6) {
    transition-delay: 0.6s;
}

section.animated .farming-card:nth-child(7) {
    transition-delay: 0.7s;
}

section.animated .farming-card:nth-child(8) {
    transition-delay: 0.8s;
}

/* Header and Navigation */
header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.telegram-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-color);
}

.telegram-link::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('img/telegram-logo-new.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Theme and Language Switchers */
.theme-switcher,
.language-switcher {
    z-index: 1001;
}

.right-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.telegram-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: white;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    font-weight: bold;
    transition: var(--transition);
    text-align: center;
}

.telegram-button:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    background-image: url('img/telegram-logo-new.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.telegram-button:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.theme-switcher button,
.language-switcher button {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.language-switcher {
    display: flex;
    gap: 5px;
}

.language-switcher button {
    border-radius: var(--border-radius);
    font-weight: bold;
    background-color: var(--card-bg);
    width: auto;
    padding: 0 15px;
}

.theme-switcher button:hover,
.language-switcher button:hover,
.language-switcher button.active {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 550px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.cta-button:hover {
    background-color: var(--hover-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-color);
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Добавим стили для мобильной версии hero секции */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-content {
        order: 2;
        text-align: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-mobile-image {
        display: block !important;
        order: 1;
    }
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.features h2,
.roadmap h2,
.exchanges h2,
.tokenomics h2,
.airdrop h2,
.smart-contract h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.features h2::after,
.roadmap h2::after,
.exchanges h2::after,
.tokenomics h2::after,
.airdrop h2::after,
.smart-contract h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: var(--card-border-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 32px;
    color: var(--text-color);
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* Roadmap Section */
.roadmap {
    padding: 80px 0;
    background-color: var(--card-bg);
}

.roadmap-timeline {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
    left: 20px;
    top: 0;
}

.roadmap-item {
    padding-left: 60px;
    position: relative;
    margin-bottom: 30px;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--bg-color);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    left: 12px;
    top: 10px;
    z-index: 1;
}

.roadmap-content {
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.roadmap-content h3 {
    margin-bottom: 5px;
}

/* Exchanges Section */
.exchanges {
    padding: 80px 0;
}

.exchanges p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.exchange-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.exchange-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.exchange-name {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--text-color);
}

.exchange-logo:hover {
    transform: scale(1.1);
}

.exchange-logo img {
    height: 60px;
    filter: grayscale(0.3);
    transition: var(--transition);
    border-radius: 12px;
}

.exchange-logo:hover img {
    filter: grayscale(0);
}

/* Tokenomics Section */
.tokenomics {
    padding: 80px 0;
    background-color: var(--card-bg);
}

.tokenomics p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.tokenomics-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.total-supply {
    text-align: center;
    margin-bottom: 20px;
}

.total-supply h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.total-supply p {
    font-size: 1.2rem;
    margin-top: 10px;
}

.token-amount {
    text-align: center;
    font-weight: bold;
    font-size: 1.8rem !important;
    color: var(--accent-color);
    margin: 15px 0;
}

.tokenomics-chart {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.chart-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Remove the static chart-placeholder style and keep theme styling in canvas */
#tokenomicsChart {
    max-width: 100%;
    max-height: 100%;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 3px;
}

.legend-color.airdrop {
    background-color: var(--accent-color) !important;
}

.legend-color.dex {
    background-color: #f59e0b;
}

.legend-color.cex {
    background-color: #3b82f6;
}

.legend-color.marketing {
    background-color: #ef4444;
}

.legend-color.dev {
    background-color: #10b981;
}

.legend-color.partners {
    background-color: #8b5cf6;
}

/* Airdrop Section */
.airdrop {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--card-bg) 100%);
    position: relative;
    overflow: hidden;
}

.airdrop::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--primary-color-rgb), 0.15) 0%, rgba(var(--primary-color-rgb), 0) 70%);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    z-index: 0;
}

.airdrop::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(var(--primary-color-rgb), 0.1) 0%, rgba(var(--primary-color-rgb), 0) 70%);
    border-radius: 50%;
    bottom: -100px;
    right: -100px;
    z-index: 0;
}

.airdrop .container {
    position: relative;
    z-index: 1;
}

.airdrop h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.airdrop h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.airdrop p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.airdrop-stages h3 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: var(--accent-color);
}

.airdrop-stages-description {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--accent-color);
    border: 1px dashed var(--primary-color);
    padding: 15px;
    border-radius: var(--border-radius);
    background-color: rgba(var(--primary-color-rgb), 0.05);
}

.stages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stage-card {
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: var(--card-border-radius);
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: var(--transition);
    border-left: 3px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.stage-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 50px 0;
    border-color: transparent var(--primary-color) transparent transparent;
    opacity: 0.3;
    transition: var(--transition);
}

.stage-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px var(--shadow-color);
    border-color: var(--accent-color);
}

.stage-card:hover::before {
    opacity: 0.5;
}

.stage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.stage-percent {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    color: var(--text-color);
    box-shadow: 0 3px 6px rgba(var(--primary-color-rgb), 0.3);
}

.stage-card h4 {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 700;
    display: flex;
    align-items: center;
}

.stage-card h4::before {
    content: none;
}

.stage-card p {
    text-align: left;
    margin: 10px 0;
    font-size: 0.95rem;
    padding-left: 10px;
    position: relative;
}

.stage-card p:first-of-type::before,
.stage-card p:last-of-type::before {
    content: none;
}

.stage-emoji {
    font-size: 1.5rem;
    text-align: center;
    margin-top: 15px;
    padding: 5px;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.airdrop-note {
    background: linear-gradient(135deg, var(--bg-color) 0%, rgba(var(--primary-color-rgb), 0.1) 100%);
    padding: 25px;
    border-radius: var(--card-border-radius);
    border-left: 4px solid var(--primary-color);
    margin-top: 40px;
    box-shadow: 0 8px 20px var(--shadow-color);
    position: relative;
    overflow: hidden;
}

.airdrop-note::before {
    content: '⚠️';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 1.5rem;
}

.airdrop-note h4 {
    margin-bottom: 15px;
    color: var(--accent-color);
    text-align: center;
    font-size: 1.4rem;
    padding-left: 30px;
}

.airdrop-note p {
    text-align: center;
    margin: 0;
    font-weight: 500;
    font-size: 1.1rem;
    max-width: 90%;
    margin: 0 auto;
    line-height: 1.6;
}

/* Smart Contract Section */
.smart-contract {
    padding: 80px 0;
    background-color: var(--card-bg);
}

.smart-contract p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.contract-details {
    max-width: 800px;
    margin: 0 auto;
}

.contract-item {
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    text-align: center;
}

.contract-address {
    font-family: monospace;
    background-color: var(--card-bg);
    padding: 10px;
    border-radius: var(--border-radius);
    overflow-wrap: break-word;
    font-size: 0.9rem;
    margin-top: 10px;
}

.contract-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.contract-info-item {
    background-color: var(--bg-color);
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
}

.contract-info-item h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.view-contract-btn-container {
    text-align: center;
    margin-top: 20px;
}

.view-contract-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.view-contract-btn:hover {
    background-color: var(--hover-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-color);
}

/* Footer */
footer {
    background-color: var(--card-bg);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo img {
    height: 60px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    display: block;
    text-align: center;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid var(--border-color);
    margin: 5px;
    font-weight: bold;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px var(--shadow-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.social-icon.x-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
}

.dark-theme .social-icon.x-icon {
    filter: brightness(1.5);
    background-color: transparent;
}

.social-icon.telegram-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Guide Page Styles */
.guide-hero {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 60px 0;
    text-align: center;
}

.guide-hero h1 {
    font-size: 2.5rem;
}

.guide-content {
    padding: 60px 0;
}

.guide-section {
    margin-bottom: 60px;
}

.guide-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.guide-section h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.subsection {
    margin-bottom: 30px;
}

.subsection h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
    text-align: center;
}

.subsection h4 {
    font-size: 1.2rem;
    margin: 20px 0 10px;
    text-align: center;
}

.table-container {
    overflow-x: auto;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--primary-color);
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: var(--card-bg);
}

.tasks-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--card-bg);
    padding: 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    width: 300px;
}

.task-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.task-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    min-width: 50px;
}

.task-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.task-icon i {
    font-size: 24px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.task-icon i.fab.fa-telegram {
    font-size: 22px;
    transform: scale(1);
}

.task-icon i.fab.fa-youtube {
    font-size: 26px;
    color: #FF0000;
}

.referral-info {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 30px;
    background-color: var(--card-bg);
    border-radius: var(--card-border-radius);
    padding: 20px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.referral-text {
    flex: 1;
}

.referral-text p {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.referral-text p::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.2em;
}

.referral-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.referral-img {
    max-width: 75%;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

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

@media (max-width: 768px) {
    .referral-info {
        flex-direction: column;
    }
    
    .referral-image {
        width: 100%;
        margin-top: 20px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 20px var(--shadow-color);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 1000;
        display: none;
    }
    
    .nav-links.active {
        transform: translateY(0);
        display: flex;
    }
    
    .right-controls {
        gap: 10px;
    }
    
    .language-switcher button:not(.active) {
        color: #bbb !important;
    }
    
    .theme-switcher button {
        width: 35px;
        height: 35px;
    }
    
    .telegram-button {
        display: none;
    }
    
    .features-grid,
    .stages-grid,
    .contract-info-grid,
    .token-drop-features {
        grid-template-columns: 1fr;
    }
    
    .chart-container {
        width: 250px;
        height: 250px;
    }
    
    .farming-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .farming-card {
        padding: 15px 10px;
    }
    
    .level-number {
        font-size: 1.5rem;
    }
    
    .coin-icon {
        width: 40px;
        height: 40px;
    }
    
    .coin-icon i {
        font-size: 20px;
    }
    
    .tasks-list {
        flex-direction: column !important;
        align-items: center !important;
        display: flex !important;
        width: 100% !important;
        gap: 15px !important;
    }
    
    .task-item {
        width: 100% !important;
        max-width: 300px !important;
        margin-bottom: 10px !important;
    }
    
    /* Heading size reduction by 30% */
    h1 {
        font-size: calc(3rem * var(--mobile-heading-scale));
        line-height: var(--mobile-line-height);
    }
    
    h2, .features h2, .roadmap h2, .exchanges h2, .tokenomics h2, .airdrop h2, .smart-contract h2 {
        font-size: calc(2.5rem * var(--mobile-heading-scale));
        line-height: var(--mobile-line-height);
        margin-bottom: 30px;
    }
    
    h3, .subsection h3, .stage-header h3 {
        font-size: calc(1.8rem * var(--mobile-heading-scale));
        line-height: var(--mobile-line-height);
    }
    
    h4, .subsection h4 {
        font-size: calc(1.2rem * var(--mobile-heading-scale));
        line-height: var(--mobile-line-height);
    }
    
    .hero h1 {
        font-size: calc(3rem * var(--mobile-heading-scale));
        margin-bottom: 15px;
        line-height: var(--mobile-line-height);
    }
    
    .guide-hero h1 {
        font-size: calc(2.5rem * var(--mobile-heading-scale));
        line-height: var(--mobile-line-height);
    }
    
    .guide-section h2 {
        font-size: calc(2rem * var(--mobile-heading-scale));
        line-height: var(--mobile-line-height);
    }
    
    /* Reduce paragraph and general text line height */
    p, li, td, th, .feature-card p, .roadmap-content p, .stage-card p {
        line-height: var(--mobile-line-height);
    }
    
    /* Adjust spacing between elements */
    .hero {
        padding: 40px 0;
    }
    
    .features, .roadmap, .exchanges, .tokenomics, .airdrop, .smart-contract {
        padding: 40px 0;
    }
    
    .airdrop-stages h3 {
        font-size: calc(1.8rem * var(--mobile-heading-scale));
        margin-bottom: 10px;
        line-height: var(--mobile-line-height);
    }
    
    .total-supply h3 {
        font-size: calc(1.5rem * var(--mobile-heading-scale));
        line-height: var(--mobile-line-height);
    }
    
    .stage-card {
        padding: 15px;
    }
    
    .stage-card h4::before,
    .stage-card p:first-of-type::before,
    .stage-card p:last-of-type::before {
        font-size: 0.9rem;
    }
    
    .stage-card p {
        font-size: 0.9rem;
        padding-left: 5px;
    }
    
    .stage-percent {
        padding: 3px 8px;
        font-size: 0.8rem;
    }
    
    .airdrop-note {
        padding: 20px 15px 15px;
    }
    
    .airdrop-note::before {
        font-size: 1.3rem;
        top: 10px;
        left: 10px;
    }
    
    .airdrop-note h4 {
        padding-left: 25px;
        font-size: 1.2rem;
    }
    
    .airdrop-note p {
        font-size: 0.95rem;
    }
    
    .airdrop-stages-description {
        padding: 10px;
        font-size: 0.95rem;
    }
}

.tokenomics-details {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tokenomics-details.animated-in {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Make chart segments interactive */
#tokenomicsChart {
    cursor: pointer;
}

.legend-item {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.legend-item:hover {
    transform: translateX(5px);
}

/* Level Toggling Styles */
.level-section {
    margin-bottom: 20px;
}

.level-toggle {
    cursor: pointer;
    padding: 10px 15px;
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    margin: 10px 0;
    color: var(--text-color);
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    user-select: none;
}

.level-toggle:hover {
    background-color: var(--accent-color);
}

.toggle-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    text-align: center;
    line-height: 20px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.level-toggle.active .toggle-icon {
    transform: rotate(45deg);
}

.level-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.level-toggle.active + .level-content {
    max-height: 2000px; /* Large enough to contain all content */
}

/* Farm Coin Cards */
.farming-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.farming-card {
    background-color: var(--card-bg);
    border-radius: var(--card-border-radius);
    padding: 20px 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px var(--shadow-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.farming-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.farming-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
}

.level-number {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.coin-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 10px auto;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.coin-icon i {
    font-size: 24px;
    color: var(--text-color);
}

.reward-text {
    font-weight: 600;
    margin-top: 10px;
}

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

.more-indicator {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

/* BUN Balance Image */
.bun-balance-image {
    text-align: center;
    margin: 20px auto 30px;
    max-width: 75%;
    width: 75%;
}

.bun-balance-image img {
    max-width: 100%;
    height: auto;
}

/* Additional media query for very small screens */
@media (max-width: 480px) {
    .farming-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.telegram-task-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    max-height: 26px;
}

/* BUN Benefits Cards */
.bun-benefits {
    padding: 60px 0;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.bun-benefits-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.bun-benefits-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--accent-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 0 auto;
    max-width: 1200px;
}

.benefit-card {
    background: var(--bg-color);
    border-radius: var(--card-border-radius);
    box-shadow: 0 10px 30px var(--shadow-color);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.benefit-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px var(--shadow-color);
    border-color: var(--primary-color);
}

.benefit-icon {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.benefit-icon::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    top: -80%;
    left: -120%;
    transition: all 0.6s ease;
}

.benefit-card:hover .benefit-icon::before {
    top: 100%;
    left: 100%;
}

.benefit-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-color);
}

.benefit-description {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.benefit-card:nth-child(2) .benefit-icon {
    background: linear-gradient(135deg, #FF9500 0%, #FF5B22 100%);
}

.benefit-card:nth-child(3) .benefit-icon {
    background: linear-gradient(135deg, #FFCC00 0%, #FF6B00 100%);
}

/* Add responsive styles for the benefits cards */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .benefit-icon {
        height: 150px;
        font-size: 50px;
    }
    
    .benefit-title {
        font-size: 1.3rem;
    }
    
    .benefit-description {
        font-size: 1rem;
    }
    
    .bun-benefits-title {
        font-size: calc(2.5rem * var(--mobile-heading-scale));
        line-height: var(--mobile-line-height);
    }
    
    .bun-benefits-subtitle {
        font-size: calc(1.2rem * var(--mobile-heading-scale));
        line-height: var(--mobile-line-height);
        margin-bottom: 30px;
    }
}

/* Step Cards (How to Play) */
.steps-section {
    padding: 50px 0;
    background: var(--card-bg);
}

.steps-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 35px;
    color: var(--text-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    background: var(--bg-color);
    border-radius: var(--card-border-radius);
    box-shadow: 0 6px 18px var(--shadow-color);
    padding: 30px 20px 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
    min-height: 220px;
}

.step-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 32px var(--shadow-color);
    border-color: var(--primary-color);
}

.step-icon {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--primary-color) 60%, var(--accent-color) 100%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255,215,0,0.15);
}

.dark-theme .step-icon {
    color: var(--primary-color);
}

.step-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 10px;
}

.step-desc {
    color: var(--text-color);
    font-size: 1rem;
    text-align: center;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .steps-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }
    .step-card {
        padding: 18px 10px 15px 10px;
        min-height: 140px;
    }
    .step-icon {
        font-size: 2rem;
        width: 44px;
        height: 44px;
        margin-bottom: 10px;
    }
    .step-title {
        font-size: 1rem;
    }
    .step-desc {
        font-size: 0.95rem;
    }
}

/* --- Исправление цвета текста и иконок на жёлтом фоне в тёмной теме --- */
.dark-theme .cta-button,
.dark-theme .telegram-button,
.dark-theme .theme-switcher button,
.dark-theme .language-switcher button,
.dark-theme .stage-percent,
.dark-theme .benefit-icon,
.dark-theme .step-icon,
.dark-theme .level-toggle,
.dark-theme .view-contract-btn,
.dark-theme .airdrop-note h4,
.dark-theme .stage-card h4::before,
.dark-theme .feature-icon,
.dark-theme .coin-icon {
    color: #222 !important;
}

.dark-theme .cta-button i,
.dark-theme .telegram-button i,
.dark-theme .theme-switcher button i,
.dark-theme .language-switcher button i,
.dark-theme .stage-percent i,
.dark-theme .benefit-icon i,
.dark-theme .step-icon i,
.dark-theme .level-toggle i,
.dark-theme .view-contract-btn i,
.dark-theme .airdrop-note h4 i,
.dark-theme .stage-card h4 i,
.dark-theme .feature-icon i,
.dark-theme .coin-icon i {
    color: #222 !important;
}

.dark-theme .benefit-icon,
.dark-theme .step-icon,
.dark-theme .feature-icon,
.dark-theme .coin-icon {
    background: linear-gradient(135deg, var(--primary-color) 60%, var(--accent-color) 100%) !important;
    /* сохраняем фон, меняем только цвет */
}

.dark-theme .guide-hero h1 {
    color: #111 !important;
}

/* Token Drop Cards Section */
.token-drop-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin: 40px 0 0 0;
}
.token-drop-card {
    background: var(--card-bg);
    border-radius: var(--card-border-radius);
    box-shadow: 0 6px 24px rgba(0,0,0,0.18), 0 1.5px 6px rgba(255,215,0,0.08);
    padding: 32px 24px 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.18s;
    position: relative;
    overflow: hidden;
}
.token-drop-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 12px 32px rgba(255,215,0,0.18), 0 2px 8px rgba(0,0,0,0.10);
}
.token-drop-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color) 60%, #fff700 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 0 18px rgba(255,215,0,0.25);
}
.token-drop-card-icon i {
    font-size: 2rem;
    color: var(--text-color);
}
.token-drop-card-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-align: center;
}
.token-drop-card-content p {
    font-size: 1rem;
    color: var(--text-color);
    text-align: center;
    opacity: 0.92;
}
@media (max-width: 600px) {
    .token-drop-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .token-drop-card {
        padding: 22px 10px 18px 10px;
    }
}

.bun-intro-flex {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: wrap;
}
.bun-intro-img {
    height: 560px;
    max-width: 100%;
    flex-shrink: 0;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.bun-intro-text {
    flex: 1 1 260px;
    min-width: 220px;
}
@media (max-width: 600px) {
    .bun-intro-flex {
        flex-direction: column;
        align-items: center;
    }
    .bun-intro-img {
        display: block;
        margin: 0 auto 18px auto;
        height: 260px;
    }
    .bun-intro-text {
        width: 100%;
    }
}

.dark-theme #lang-en:not(.active) {
    color: #bbb;
}

.dark-theme .language-switcher button:not(.active) {
    color: #bbb !important;
}

/* GameFi Tokenomics Chart Styles */
.gamefi-chart-container {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0;
    flex-shrink: 0;
}

.bun-logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    pointer-events: none; /* Предотвращает перехват событий мышки */
}

.bun-logo-center img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
    object-fit: cover;
    border: 2px solid rgba(255, 215, 0, 0.5);
}

#gamefiTokenomicsChart {
    box-shadow: 0 0 32px 0 rgba(255, 168, 0, 0.25), 0 8px 32px 0 rgba(0,0,0,0.25);
    border-radius: 50%;
    background: radial-gradient(circle at 60% 40%, #23272f 60%, #181a20 100%);
    transition: box-shadow 0.3s;
}

#gamefiTokenomicsChart:hover {
    box-shadow: 0 0 48px 8px #FFA500, 0 8px 32px 0 rgba(0,0,0,0.35);
}

.gamefi-legend {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 220px;
}

.gamefi-legend-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.08rem;
    font-weight: 500;
    color: var(--text-color);
    background: rgba(30,30,40,0.18);
    border-radius: 10px;
    padding: 8px 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s;
}

.gamefi-legend-item:hover {
    background: rgba(255, 215, 0, 0.10);
}

.gamefi-legend-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    box-shadow: 0 0 12px 2px rgba(255,255,255,0.18), 0 0 0 3px rgba(0,0,0,0.08) inset;
    text-shadow: 0 0 8px #fff, 0 0 2px #000;
}

@media (max-width: 900px) {
    .tokenomics-chart {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .gamefi-chart-container {
        margin: 0 auto;
        text-align: center;
    }
    
    .gamefi-legend {
        min-width: 0;
        width: 100%;
    }
}

.minimal-task {
    background: var(--card-bg);
    border: 1.5px solid var(--primary-color);
    border-radius: var(--card-border-radius);
    box-shadow: 0 2px 8px var(--shadow-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 0;
    width: 300px;
    min-height: 80px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.minimal-task:hover {
    box-shadow: 0 6px 18px var(--shadow-color);
    border-color: var(--accent-color);
}
.task-text {
    text-align: center;
    width: 100%;
}
.task-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary-color);
}
.task-text p {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
}

.text-center {
    text-align: center !important;
}

/* Для нового блока .stage-info */
.stage-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
    font-size: 0.97rem;
    color: var(--text-color);
    padding-left: 0;
}

.stage-info > div {
    padding-left: 0;
    margin: 0;
    text-align: left;
}

/* Privacy Policy Page Styles */
.privacy-policy {
    padding: 60px 0;
}

.privacy-policy h1 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 30px;
    text-align: center;
}

.policy-content {
    background-color: var(--card-bg);
    border-radius: var(--card-border-radius);
    padding: 30px;
    box-shadow: 0 4px 15px var(--shadow-color);
    margin-bottom: 40px;
}

.policy-content p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.policy-content h2 {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--accent-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.policy-content h3 {
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.policy-content ul, .policy-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-content ul li, .policy-content ol li {
    margin-bottom: 10px;
}

.policy-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.policy-content a:hover {
    text-decoration: none;
}

.last-amended {
    font-style: italic;
    margin-top: 40px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.copyright {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .privacy-policy h1 {
        font-size: 2rem;
    }
    
    .policy-content h2 {
        font-size: 1.6rem;
    }
    
    .policy-content h3 {
        font-size: 1.3rem;
    }
    
    .policy-content {
        padding: 20px;
    }
}

.bun-logo-center.bun-logo-fallback {
    background: linear-gradient(45deg, #ffa500, #ffd700);
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #23272f;
    font-size: 48px;
    font-family: Arial, sans-serif;
}

.bun-logo-center.bun-logo-fallback::after {
    content: "B";
    display: block;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
    .footer-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .footer-links a {
        padding: 5px 15px;
    }
}

@media (max-width: 480px) {
    .footer-links {
        gap: 10px;
    }
    
    .footer-links a {
        font-size: 0.9rem;
        padding: 4px 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .task-item, .benefit-card, .feature-card, .stage-card, .farming-card, .social-link {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .tokenomics-chart {
        max-width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .gamefi-chart-container {
        max-width: 100%;
        width: 280px;
        height: 280px;
        margin: 0 auto 20px auto;
    }
    
    .stages-grid, .features-grid, .benefits-grid {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .contract-address {
        word-break: break-all;
    }
    
    .bun-intro-img {
        max-width: 100%;
        height: auto;
    }
    
    .policy-content {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    .gamefi-legend-item {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
    
    .gamefi-legend-icon {
        width: 24px;
        height: 24px;
        font-size: 1rem;
    }
    
    .gamefi-chart-container {
        width: 240px;
        height: 240px;
        margin: 0 auto 20px auto;
    }
    
    .gamefi-legend {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        text-align: center;
    }
    
    .bun-logo-center {
        width: 80px;
        height: 80px;
    }
    
    .social-link {
        width: 100%;
        box-sizing: border-box;
    }
    
    .airdrop-stages-description {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .stage-card {
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Energy Boost Section Styles */
.boost-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.booster-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-radius: 15px;
    color: white;
    position: relative; /* For background image/pattern */
    overflow: hidden; /* Hide overflowing background */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.booster-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(128, 46, 61, 0.9), rgba(179, 82, 32, 0.9));
    z-index: 0;
}

.booster-icon {
    font-size: 2.5rem;
    color: #ffcc00; /* Yellow color for lightning bolt */
    margin-right: 15px;
    z-index: 1;
}

.booster-info {
    flex-grow: 1;
    z-index: 1;
}

.booster-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #fff;
}

.booster-info p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.booster-info .price {
    font-size: 1rem;
    font-weight: bold;
    color: #ffcc00;
}

.booster-progress {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.booster-progress .progress-bar {
    flex: 1;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.3); /* Light grey for inactive */
    border-radius: 4px;
}

.booster-progress .progress-bar.active {
    background-color: #ffcc00; /* Yellow for active */
}

.booster-action {
    z-index: 1;
}

.booster-action button {
    background-color: white;
    color: #d44a1e; /* A shade of red/orange for the button text */
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.booster-action button:hover {
    background-color: #eeeeee;
}

/* Specific card styles for background pattern */
/* Adding a class to the card for the background image */
.booster-card.has-pattern::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 50%; /* Adjust based on where pattern should start */
    background-image: url('img/croissant-pattern.png'); /* Assuming you have a croissant pattern image */
    background-size: cover; /* or 'contain', 'auto' */
    opacity: 0.2; /* Adjust opacity as needed */
    z-index: 0;
}

/* You might need to add the 'has-pattern' class to the relevant booster cards in guide.html */

/* Media queries for responsiveness */
@media (max-width: 600px) {
    .booster-card {
        flex-direction: row; /* Keep as row for mobile */
        align-items: center; /* Center items vertically */
        padding: 15px;
    }

    .booster-icon {
        font-size: 2rem;
        margin-right: 10px;
    }

    .booster-info h3 {
        font-size: 1rem;
    }

    .booster-info p, .booster-info .price {
        font-size: 0.9rem;
    }

    .booster-action button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .booster-card.has-pattern::after {
         left: 30%; /* Adjust for mobile */
         background-size: cover;
    }
}