:root {
    --primary: #FFC44D;
    --secondary: #FF9C33;
    --background: #FFF2D1;
    --accent: #FFA07A;
    --text: #5A2D0C;
    --white: #FFFFFF;
}

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

body {
    font-family: Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(rgba(255, 242, 209, 0.7), rgba(255, 242, 209, 0.7)), url('image-3.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: rgba(255, 255, 255, 0.85);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    margin-left: 2rem;
    color: var(--text);
    text-decoration: none;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger-menu span {
    height: 3px;
    width: 25px;
    background: var(--text);
    margin-bottom: 4px;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.hamburger-menu:hover span {
    background-color: var(--accent); /* Slight color change on hover */
}

.hamburger-menu.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hamburger-menu span {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        top: 60px;
        right: 20px;
        background: rgba(255, 255, 255, 0.95);
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .nav-links.open {
        display: flex;
    }

    .hamburger-menu {
        display: flex;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .tokenomics-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .mission-container {
        padding: 1.5rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .step {
        padding: 1.5rem;
    }

    footer {
        padding: 1.5rem;
    }

    .transaction-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero {
    text-align: center;
    padding: 5rem 1rem;
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(rgba(255, 196, 77, 0.5), rgba(255, 156, 51, 0.5));
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Add text shadow to improve readability over the background */
.hero h1,
.hero p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.hero h1 {
    font-size: 3rem; /* Increase the font size */
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem; /* Increase the font size */
    margin-bottom: 2rem;
}

.hero-image {
    max-width: 150px;
    height: auto;
    margin: 2rem auto;
    display: block;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--white);
    color: var(--secondary);
    text-decoration: none;
    border-radius: 25px;
    margin-top: 2rem;
    font-weight: bold;
}

.cta-button:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: scale(1.05);
    transition: all 0.2s ease-in-out;
}

.hero-social-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.hero-social-links a {
    color: var(--white);
    background-color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out;
}

.hero-social-links a:hover {
    background-color: var(--accent);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--secondary);
}

.feature-card p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.tokenomics-container {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 4rem;  /* Increased from 3rem */
    border-radius: 10px;
    max-width: 1200px;  /* Increased from 1000px */
    margin: 2rem auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;  /* Increased from 2rem */
}

.tokenomics-card {
    background-color: var(--white);
    padding: 2rem;  /* Increased from 1.5rem */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 150px;  /* Added minimum height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tokenomics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.tokenomics-card h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tokenomics-card p {
    font-size: 1.1rem;
    line-height: 2.0;
    color: var(--text);
}

#tokenomics {
    margin: 4rem 0;
}

#tokenomics h2 {
    margin-bottom: 3rem;
}

section {
    padding: 6rem 2rem;  /* Increased padding for better spacing */
    text-align: center;  /* Center all section content by default */
}

h2 {
    text-align: center;
    margin-bottom: 3rem;  /* Increased margin */
    color: var(--text);
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.8rem;
}

/* Add decorative underline to all section headings */
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
}

/* Add some depth to cards */
.feature-card,
.tokenomics-card,
.step,
.mission-container {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover,
.tokenomics-card:hover,
.step:hover,
.mission-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Improve container spacing */
.feature-grid,
.tokenomics-container,
.steps-container {
    margin-top: 2rem;
}

/* Add section separators */
section:not(:last-child)::after {
    content: '';
    display: block;
    width: 80%;
    max-width: 800px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--secondary), transparent);
    margin: 4rem auto 0;
}

footer {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    text-align: center;
}

.social-links a {
    margin: 0 1.5rem;
    color: var(--secondary);
    text-decoration: none;
    font-weight: bold;
}

.contract-container {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    border-radius: 10px;
    margin: 0 auto;
    max-width: 600px;
}

.contract-address {
    font-family: monospace;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.copy-button {
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}

.slogan {
    text-align: center;
    margin: 3rem 0;
    color: var(--secondary);
    font-size: 1.2em;
}

.mission-container {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mission-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.mission-container p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.mission-container ul {
    list-style-type: none;
    margin: 2rem 0;
    padding: 0;
}

.mission-container li {
    margin: 1rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
}

.mission-container li:before {
    content: "🐰";
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    color: var (--secondary);
}

.mission-footer {
    font-weight: bold;
    margin-top: 2rem;
    color: var(--secondary);
    text-align: center;
    font-size: 1.2rem;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.step {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.step h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

#social-links {
    text-align: center;
    padding: 2rem 1rem;
    background-color: rgba(255, 255, 255, 0.85); /* Match opacity with other containers */
}

#social-links h2 {
    margin-bottom: 1.5rem;
    color: var(--text);
}

.social-links-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links-container a {
    color: var(--white);
    background-color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out;
}

.social-links-container a:hover {
    background-color: var(--accent);
}

/* dApp Section Styles */
.dapp-section {
    padding: 4rem 2rem;
    min-height: 60vh;
}

.dapp-section .feature-card {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
}

#wallet-info {
    text-align: center;
    margin-bottom: 2rem;
}

#transfer-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#transfer-form input {
    padding: 1rem;
    border: 1px solid var(--secondary);
    border-radius: 5px;
    font-size: 1rem;
    background: var(--white);
}

.status-text {
    margin: 1rem 0;
    font-size: 1.1rem;
    color: var(--text);
}

/* Make dApp buttons match site theme */
#connect-wallet, #transfer {
    background: var(--secondary);
    color: var(--white);
    transition: all 0.2s ease-in-out;
}

#connect-wallet:hover, #transfer:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

#connect-wallet:disabled, #transfer:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Transaction History Styles */
#transaction-history {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--secondary);
}

#transaction-history h3 {
    color: var(--text);
    margin-bottom: 1rem;
}

.transaction-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.filter-btn {
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn.active {
    background: var(--secondary);
    color: var(--white);
}

.transactions-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    background: var(--white);
    border-radius: 5px;
}

.transaction-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    align-items: center;
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-type {
    font-weight: bold;
}

.transaction-type.sent {
    color: #ff4444;
}

.transaction-type.received {
    color: #00C851;
}

.transaction-details {
    font-size: 0.9rem;
    color: var(--text);
}

.transaction-amount {
    font-weight: bold;
}

.transaction-date {
    color: #666;
    font-size: 0.8rem;
}

.network-indicator {
    background: var(--secondary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 1rem;
}

/* For testnet */
.network-indicator.testnet {
    background: #ff9800;
}

/* For mainnet */
.network-indicator.mainnet {
    background: #4caf50;
}
