/* CUM Token Dark Theme - CSS with namespace to prevent conflicts */

/* CUM Page Container */
.cum-page {
    /* Isolate CUM styles from main site styles */
    contain: layout style;
}

/* Base styles */
.cum-page .cum-dark-body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0e1525;
    color: #f1f1f1;
    line-height: 1.6;
}

.cum-page .cum-container-dark {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cum-page .cum-section-title-dark {
    font-size: 2.5rem;
    text-align: center;
    font-weight: 800;
    margin-bottom: 3rem;
    position: relative;
    color: #fff;
    letter-spacing: 2px;
}
.cum-page .cum-section-title-dark::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #00a8ff);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Hero Section */
.cum-page .cum-hero-dark {
    height: 100vh;
    position: relative;
    background: radial-gradient(ellipse at bottom, #192a56 0%, #0c1836 50%, #0a0f1c 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: white;
    text-align: center;
}

.cum-page .cum-hero-dark::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%230e1525" fill-opacity="1" d="M0,192L48,181.3C96,171,192,149,288,149.3C384,149,480,171,576,181.3C672,192,768,192,864,181.3C960,171,1056,149,1152,133.3C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
    z-index: 2;
}

.cum-page .cum-silhouettes {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(25, 42, 86, 0.7);
    background-image: url('/img/cum-silhouettes.png'),
                      radial-gradient(ellipse at bottom, rgba(25, 42, 86, 0.8) 0%, rgba(13, 31, 61, 0.8) 70%);
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.7;
}

.cum-page .cum-hero-content-dark {
    max-width: 800px;
    position: relative;
    z-index: 3;
}

.cum-page .cum-hero-title-dark {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(52, 152, 219, 0.8);
    color: white;
}

.cum-page .cum-logo-container {
    margin: 2rem 0;
}

.cum-page .cum-logo-dark {
    font-size: 8rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 0 20px rgba(52, 152, 219, 0.8),
                 0 0 40px rgba(52, 152, 219, 0.4);
    letter-spacing: 8px;
    margin: 0 auto;
    position: relative;
    display: inline-block;
}

.cum-page .cum-hero-tagline {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 3px;
    margin-top: 1rem;
}

/* About Section */
.cum-page .cum-about-section {
    background-color: #0e1525;
    padding: 6rem 0;
    position: relative;
}

.cum-page .cum-about-content {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.cum-page .cum-about-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.cum-page .cum-vices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.cum-page .cum-vice-item {
    background: linear-gradient(145deg, #131c35, #1d2c4e);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cum-page .cum-vice-icon {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1.5rem;
}

.cum-page .cum-vice-item p {
    font-weight: 600;
    color: white;
    font-size: 1.1rem;
}

/* Tokenomics Section */
.cum-page .cum-tokenomics-section {
    background: linear-gradient(145deg, #0e1525, #192a56);
    padding: 6rem 0;
    position: relative;
}

.cum-page .cum-tokenomics-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.cum-page .cum-tokenomics-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #3498db;
}

.cum-page .cum-tokenomics-item h3 {
    color: #3498db;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}
.cum-page .cum-tokenomics-item h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: #3498db;
    bottom: 0;
    left: 0;
}

.cum-page .cum-tokenomics-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* Contract Address Section */
.cum-page .cum-contract-section {
    background-color: #0e1525;
    padding: 6rem 0;
    text-align: center;
}

.cum-page .cum-contract-card-dark {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(52, 152, 219, 0.2);
    position: relative;
    overflow: hidden;
}

.cum-page .cum-contract-address-dark {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    position: relative;
    z-index: 1;
    user-select: all;
}

/* Copy Button */
.cum-page .cum-copy-btn-dark {
    background: linear-gradient(90deg, #3498db, #00a8ff);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.cum-page .cum-copy-btn-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.6);
    background: linear-gradient(90deg, #00a8ff, #3498db);
}

.cum-page .cum-copy-btn-dark::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
    z-index: -1;
}
.cum-page .cum-copy-btn-dark:hover::after {
    left: 100%;
}

.cum-page .cum-copy-message {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
    background: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}
.cum-page .cum-copy-message.show {
    transform: translate(-50%, -10px);
    opacity: 1;
}

/* How to Buy Section */
.cum-page .cum-buy-section-dark {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%230e1525"/><path d="M0 50 L100 50 M50 0 L50 100" stroke="%23192a56" stroke-width="0.5"/></svg>');
    padding: 6rem 0;
}

.cum-page .cum-steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.cum-page .cum-step-dark {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.cum-page .cum-step-number-dark {
    background: linear-gradient(145deg, #131c35, #1d2c4e);
    color: #3498db;
    font-size: 2rem;
    font-weight: 800;
    padding: 2rem;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.cum-page .cum-step-content-dark {
    padding: 2rem;
    flex: 1;
}

.cum-page .cum-step-content-dark h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cum-page .cum-step-content-dark p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.cum-page .cum-button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cum-page .cum-link-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.7rem 1.5rem;
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.3);
    color: #3498db;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.cum-page .cum-link-dark:hover {
    background: rgba(52, 152, 219, 0.8);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Community Section */
.cum-page .cum-community-section {
    background: linear-gradient(145deg, #192a56, #0c1836);
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

.cum-page .cum-community-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cum-page .cum-social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    min-width: 180px;
}

/* Social icons for the contract section */
.cum-page .cum-social-links-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 30px;
}

.cum-page .cum-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    transition: all 0.3s ease;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.cum-page .cum-social-icon:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.15);
}

.cum-page .cum-social-icon:hover img {
    transform: scale(1.1);
}

/* Gallery section */
.cum-page .cum-gallery-section {
    background-color: #0e1525;
    padding: 4rem 0;
    position: relative;
}

.cum-page .cum-gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.cum-page .cum-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    aspect-ratio: 12/9;
}

.cum-page .cum-gallery-image {
    width: 120%;
    height: 120%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cum-page .cum-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cum-page .cum-gallery-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

/* Hover effects */
.cum-page .cum-vice-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.cum-page .cum-tokenomics-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.cum-page .cum-step-dark:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.cum-page .cum-contract-card-dark:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.2);
}

.cum-page .cum-gallery-item:hover .cum-gallery-image {
    transform: scale(1.05);
}

.cum-page .cum-gallery-item:hover .cum-gallery-overlay {
    transform: translateY(0);
}

.cum-page .cum-social-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive styling for CUM content */
@media (max-width: 1024px) {
    .cum-page .cum-vices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cum-page .cum-tokenomics-content {
        grid-template-columns: repeat(2, 1fr);
    }
    .cum-page .cum-hero-title-dark {
        font-size: 4rem;
    }
    .cum-page .cum-logo-dark {
        font-size: 6rem;
    }
    .cum-page .cum-gallery-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cum-page .cum-tokenomics-content {
        grid-template-columns: 1fr;
    }
    .cum-page .cum-step-dark {
        flex-direction: column;
    }
    .cum-page .cum-step-number-dark {
        width: 100%;
        padding: 1rem;
    }
    .cum-page .cum-hero-title-dark {
        font-size: 3rem;
    }
    .cum-page .cum-logo-dark {
        font-size: 5rem;
    }
    .cum-page .cum-hero-tagline {
        font-size: 1.4rem;
    }
    .cum-page .cum-gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cum-page .cum-vices-grid {
        grid-template-columns: 1fr;
    }
    .cum-page .cum-hero-title-dark {
        font-size: 2.5rem;
    }
    .cum-page .cum-logo-dark {
        font-size: 4rem;
    }
    .cum-page .cum-contract-address-dark {
        font-size: 1rem;
        padding: 0.75rem;
        word-break: break-all;
    }
    .cum-page .cum-section-title-dark {
        font-size: 2rem;
    }
    .cum-page .cum-community-links {
        flex-direction: column;
        align-items: center;
    }
    .cum-page .cum-social-button {
        width: 100%;
        max-width: 250px;
    }
    .cum-page .cum-gallery-container {
        grid-template-columns: 1fr;
    }
}

/* Add this to your cumstyles.css file */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #4299E1, #2C5282);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 2px 10px rgba(44, 82, 130, 0.2);
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(44, 82, 130, 0.3);
}

.scroll-to-top::before {
    content: '';
    width: 12px;
    height: 12px;
    border-left: 3px solid white;
    border-top: 3px solid white;
    transform: rotate(45deg);
    margin-top: 4px;
}

.cum-page .cum-logo-img {
    max-width: 200px; /* Adjust the size as needed */
    height: auto;
    display: block;
    margin: 0 auto;
    /* Add a subtle glow effect similar to the original text logo */
    filter: drop-shadow(0 0 10px rgba(52, 152, 219, 0.6));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.cum-page .cum-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(52, 152, 219, 0.8));
}