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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dog-icon {
    font-size: 24px;
}

.brand-text {
    font-weight: 800;
    font-size: 20px;
    color: #333;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffd700;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-buy {
    background: #ffd700;
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-buy:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23f4f4f4" width="1200" height="800"/><rect fill="%23e0e0e0" x="0" y="600" width="1200" height="200"/><rect fill="%23d0d0d0" x="200" y="500" width="100" height="100"/><rect fill="%23c0c0c0" x="400" y="450" width="150" height="150"/><rect fill="%23b0b0b0" x="700" y="400" width="200" height="200"/><circle fill="%23ffd700" cx="300" cy="200" r="20"/><circle fill="%23ffd700" cx="600" cy="150" r="15"/><circle fill="%23ffd700" cx="900" cy="180" r="25"/></svg>') center/cover;
    opacity: 0.3;
}

.construction-site {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.crane {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 100px;
    height: 200px;
    background: #ffd700;
    border-radius: 5px;
}

.crane::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    width: 100px;
    height: 20px;
    background: #ffd700;
    border-radius: 10px;
}

.building {
    position: absolute;
    bottom: 0;
    right: 20%;
    width: 150px;
    height: 300px;
    background: #ccc;
    border-radius: 5px;
}

.construction-elements {
    position: absolute;
    bottom: 0;
    left: 30%;
    width: 200px;
    height: 100px;
    background: #999;
    border-radius: 5px;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-character {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dog-construction {
    position: relative;
    width: 250px; /* Adjust width for the image */
    height: 250px; /* Adjust height for the image */
    margin: 0 auto; /* Center the image container */
    animation: bounce 2s infinite; /* Keep animation for the container */
}

.dog-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensure the image fits within the container */
    display: block;
}

.hard-hat {
    position: absolute;
    top: 10px; /* Adjust based on image */
    left: 50%;
    transform: translateX(-50%);
    background: #ffd700;
    color: #000;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
}

.wooden-beam {
    position: absolute;
    top: 65%; /* Adjust based on image */
    right: -60px; /* Adjust based on image */
    width: 80px;
    height: 20px;
    background: #8B4513;
    border-radius: 10px;
    transform: rotate(15deg);
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 20px; /* Base font size for icons */
    transition: all 0.3s ease;
}

.social-icon i {
    font-size: 1.2em; /* Adjust Font Awesome icon size */
    line-height: 1; /* Ensure proper vertical alignment */
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Token Section */
.token-section {
    padding: 100px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #ffd700;
    transform: translateY(-5px);
}

.feature-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}

.tokenomics {
    display: flex; /* Change to flex for centering */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    padding: 60px 0; /* Add some padding */
    /* Removed grid-template-columns and gap */
}

/* Removed all .tokenomics-chart, .chart-center, .chart-segments, .segment, and .segment-label styles */

.tokenomics-info {
    text-align: center;
}

.tokenomics-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
}

.contract-address {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    font-family: monospace;
    font-size: 0.9rem;
    word-break: break-all;
}

.btn-copy {
    background: #ffd700;
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

/* How to Buy Section */
.how-to-buy {
    padding: 100px 0;
    background: #f8f9fa;
}

.buy-guide {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.guide-image {
    text-align: center;
}

.dog-poop {
    font-size: 120px;
    animation: float 3s ease-in-out infinite;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.step p {
    color: #666;
    line-height: 1.8;
}

/* Socials Section */
.socials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.socials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><text x="50%" y="50%" text-anchor="middle" dy=".3em" font-family="Arial" font-size="20" fill="rgba(255,255,255,0.1)">OKX</text></svg>') repeat;
    opacity: 0.1;
}

.socials-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.socials-content .section-title {
    color: white;
    margin-bottom: 30px;
}

.socials-content .section-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.social-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.social-character {
    text-align: center;
}

.dog-money {
    font-size: 120px;
    animation: bounce 2s infinite;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 60px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-brand .brand-text {
    font-size: 24px;
    font-weight: 800;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.link-group h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffd700;
}

.link-group a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #ffd700;
}

.link-group p {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .tokenomics {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .buy-guide {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .social-actions {
        flex-direction: column;
        gap: 20px;
    }
    
    .contract-address {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .dog-construction {
        width: 150px;
        height: 150px;
    }
    
    .dog-poop, .dog-money {
        font-size: 80px;
    }
    
    .tokenomics-chart {
        width: 250px;
        height: 250px;
    }
    
    .chart-center {
        width: 80px;
        height: 80px;
        font-size: 30px;
    }
}
