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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #272520;
    color: #ffffff;
    line-height: 1.6;
}

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

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

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

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

nav a:hover {
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.header-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Clean CA Button */
.ca-header {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ca-header:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: #4CAF50;
}

.ca-label-small {
    font-size: 12px;
    font-weight: bold;
    color: #cccccc;
    margin-right: 8px;
}

#contractAddressHeader {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 12px;
    font-family: monospace;
    width: 180px;
    outline: none;
}

.copy-btn-small {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border: none;
    border-radius: 5px;
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 8px;
}

.copy-btn-small:hover {
    transform: scale(1.05);
}

/* Wallet Button */
.wallet-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wallet-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #4CAF50;
}

.wallet-btn.connected {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-color: #4CAF50;
}

/* Gallery Button */
.gallery-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.gallery-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #4CAF50;
    text-shadow: none;
}

/* X Button */
.x-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.x-button:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
    text-shadow: none;
}

/* Back Button */
.back-btn {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #4CAF50;
    text-shadow: none;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 0;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 20px;
    color: #cccccc;
    margin-bottom: 30px;
}

.gif-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
}

.center-gif {
    max-width: 400px;
    width: 100%;
    height: auto;
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 60px 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 42px;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 8px;
}

.stat-change {
    font-size: 14px;
    color: #4CAF50;
}

/* Trading Interface */
.trading-interface {
    margin: 60px 0;
}

.trading-interface h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.trading-panel {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.input-group {
    margin-bottom: 25px;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    color: #cccccc;
    font-size: 14px;
}

.input-group input[type="text"],
.input-group input[type="number"] {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-group input[type="text"]:focus,
.input-group input[type="number"]:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.input-group input[type="range"] {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    outline: none;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    background: #4CAF50;
    cursor: pointer;
    border-radius: 50%;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 12px;
    color: #cccccc;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox-group {
    display: flex;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #cccccc;
    font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.execute-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.execute-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* Features List */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin: 60px 0;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.feature-text h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #ffffff;
}

.feature-text p {
    font-size: 14px;
    color: #cccccc;
}

/* Gallery Styles */
.gallery-hero {
    text-align: center;
    padding: 40px 0;
}

.gallery-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gallery-showcase {
    margin: 60px 0;
}

.gallery-grid-clean {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

/* 2x3 Gallery Grid */
.gallery-grid-six {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-box-six {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.gallery-box-six:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: #4CAF50;
}

.gallery-img-wrapper-six {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.gallery-img-wrapper-six img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.gallery-box-six:hover .gallery-img-wrapper-six img {
    transform: scale(1.05);
}

.gallery-info-preview {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.gallery-info-preview h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #ffffff;
}

.preview-text {
    font-size: 13px;
    color: #cccccc;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-description-full {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-box-six.expanded .gallery-description-full {
    max-height: 250px;
    opacity: 1;
    padding: 0 20px 20px 20px;
}

.gallery-box-six.expanded {
    background: rgba(255, 255, 255, 0.08);
    border-color: #4CAF50;
    box-shadow: 0 20px 50px rgba(76, 175, 80, 0.3);
}

.gallery-description-full p {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.gallery-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.gallery-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: #4CAF50;
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.gallery-box:hover .gallery-img-wrapper img {
    transform: scale(1.05);
}

.click-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-box:hover .click-hint {
    opacity: 1;
}

.gallery-description {
    padding: 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.gallery-box.active .gallery-description {
    max-height: 300px;
    opacity: 1;
    padding: 25px;
}

.gallery-box.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: #4CAF50;
    box-shadow: 0 20px 50px rgba(76, 175, 80, 0.3);
}

.gallery-description h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #ffffff;
}

.gallery-description p {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 5px 12px;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid #4CAF50;
    border-radius: 15px;
    font-size: 11px;
    color: #4CAF50;
}

/* Roadmap */
.roadmap {
    margin: 60px 0;
}

.roadmap h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.roadmap-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #4CAF50;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.roadmap-item.clickable {
    cursor: pointer;
}

.roadmap-item.clickable:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.roadmap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.roadmap-header h3 {
    font-size: 20px;
    color: #ffffff;
}

.status {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

.status.active {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.status.upcoming {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
}

.roadmap-item p {
    color: #cccccc;
    font-size: 15px;
}

.roadmap-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
}

.roadmap-item.expanded .roadmap-details {
    max-height: 600px;
    opacity: 1;
    margin-top: 20px;
}

.roadmap-details h4 {
    color: #4CAF50;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: bold;
}

.roadmap-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.roadmap-details li {
    color: #cccccc;
    font-size: 14px;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.roadmap-details li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #4CAF50;
    border-radius: 50%;
}

/* Tokenomics */
.tokenomics {
    margin: 60px 0;
}

.tokenomics h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.token-distribution {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.token-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.token-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.percentage {
    font-size: 48px;
    font-weight: bold;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.description {
    font-size: 16px;
    color: #cccccc;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
}

footer p {
    color: #cccccc;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.social-links a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
    color: #4CAF50;
}

.back-link {
    color: #4CAF50;
}

/* Gallery Footer */
.gallery-footer {
    margin-top: 80px;
}

.copyright-section {
    text-align: center;
    padding: 30px 0;
}

.copyright-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #4CAF50;
    font-weight: bold;
    font-size: 18px;
}

.copyright-text {
    color: #cccccc;
    font-size: 13px;
    line-height: 1.8;
}

.watermark {
    margin-top: 20px;
    opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 968px) {
    header {
        flex-direction: column;
        gap: 20px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    #contractAddressHeader {
        width: 140px;
    }
}

@media (max-width: 1200px) {
    .gallery-grid-six {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1, .gallery-hero h1 {
        font-size: 36px;
    }

    .subtitle {
        font-size: 16px;
    }

    .center-gif {
        max-width: 300px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .input-row {
        grid-template-columns: 1fr;
    }

    .trading-panel {
        padding: 25px;
    }

    .checkbox-group {
        flex-direction: column;
        gap: 10px;
    }

    .gallery-grid-clean {
        grid-template-columns: 1fr;
    }

    .gallery-grid-six {
        grid-template-columns: 1fr;
    }

    .features-list {
        grid-template-columns: 1fr;
    }
}
