@import url("https://fonts.googleapis.com/css2?family=Geist+Mono:wght@100..900&family=Geist:wght@100..900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: "Geist", "geist-mono";
}

:root {
    --background-color: black;
    --primary-color: black;
    --secondary-color: white;
    --element-color: rgba(211, 211, 211, 0.105);
    --text-color: lightgray;
    --text-secondary-color: white;
    --text-paragraph-color: #6c757d;
}

body {
    background-color: var(--background-color);
    padding: 2rem;
    padding-top: 0;
}

header {
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 1rem;
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 0.5rem;
}

.logo h1 {
    font-weight: 500;
}

.simple-icons--bnbchain {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='lightgray' d='M5.631 3.676L12.001 0l6.367 3.676l-2.34 1.358L12 2.716L7.972 5.034l-2.34-1.358Zm12.737 4.636l-2.34-1.358L12 9.272L7.972 6.954l-2.34 1.358v2.716l4.026 2.318v4.636L12 19.341l2.341-1.359v-4.636l4.027-2.318zm0 7.352v-2.716l-2.34 1.358v2.716zm1.663.96l-4.027 2.318v2.717l6.368-3.677V10.63l-2.34 1.358v4.636Zm-2.34-10.63l2.34 1.358v2.716l2.341-1.358V5.994l-2.34-1.358zM9.657 19.926v2.716L12 24l2.341-1.358v-2.716l-2.34 1.358l-2.343-1.358ZM5.63 15.664l2.341 1.358v-2.716l-2.34-1.358v2.716Zm4.027-9.67L12 7.352l2.341-1.358l-2.34-1.358l-2.343 1.358Zm-5.69 1.358L6.31 5.994L3.968 4.636l-2.34 1.358V8.71l2.34 1.358zm0 4.636l-2.34-1.358v7.352l6.368 3.677v-2.717l-4.028-2.318z'/%3E%3C/svg%3E");
}

.logos--bitcoin {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cdefs%3E%3ClinearGradient id='logosBitcoin0' x1='49.973%25' x2='49.973%25' y1='-.024%25' y2='99.99%25'%3E%3Cstop offset='0%25' stop-color='%23f9aa4b'/%3E%3Cstop offset='100%25' stop-color='%23f7931a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23logosBitcoin0)' d='M252.171 158.954c-17.102 68.608-86.613 110.314-155.123 93.211c-68.61-17.102-110.316-86.61-93.213-155.119C20.937 28.438 90.347-13.268 158.957 3.835c68.51 17.002 110.317 86.51 93.214 155.119'/%3E%3Cpath fill='%23fff' d='M188.945 112.05c2.5-17-10.4-26.2-28.2-32.3l5.8-23.1l-14-3.5l-5.6 22.5c-3.7-.9-7.5-1.8-11.3-2.6l5.6-22.6l-14-3.5l-5.7 23q-4.65-1.05-9-2.1v-.1l-19.4-4.8l-3.7 15s10.4 2.4 10.2 2.5c5.7 1.4 6.7 5.2 6.5 8.2l-6.6 26.3c.4.1.9.2 1.5.5c-.5-.1-1-.2-1.5-.4l-9.2 36.8c-.7 1.7-2.5 4.3-6.4 3.3c.1.2-10.2-2.5-10.2-2.5l-7 16.1l18.3 4.6c3.4.9 6.7 1.7 10 2.6l-5.8 23.3l14 3.5l5.8-23.1c3.8 1 7.6 2 11.2 2.9l-5.7 23l14 3.5l5.8-23.3c24 4.5 42 2.7 49.5-19c6.1-17.4-.3-27.5-12.9-34.1c9.3-2.1 16.2-8.2 18-20.6m-32.1 45c-4.3 17.4-33.7 8-43.2 5.6l7.7-30.9c9.5 2.4 40.1 7.1 35.5 25.3m4.4-45.3c-4 15.9-28.4 7.8-36.3 5.8l7-28c7.9 2 33.4 5.7 29.3 22.2'/%3E%3C/svg%3E");
}

.hugeicons--market-analysis {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1' d='M14 16V8c0-.943 0-1.414-.293-1.707S12.943 6 12 6s-1.414 0-1.707.293S10 7.057 10 8v8c0 .943 0 1.414.293 1.707S11.057 18 12 18s1.414 0 1.707-.293S14 16.943 14 16m7-7V7c0-.943 0-1.414-.293-1.707S19.943 5 19 5s-1.414 0-1.707.293S17 6.057 17 7v2c0 .943 0 1.414.293 1.707S18.057 11 19 11s1.414 0 1.707-.293S21 9.943 21 9M7 14v-2c0-.943 0-1.414-.293-1.707S5.943 10 5 10s-1.414 0-1.707.293S3 11.057 3 12v2c0 .943 0 1.414.293 1.707S4.057 16 5 16s1.414 0 1.707-.293S7 14.943 7 14m5 7v-3m7-5v-2m-7-5V3m7 2V3M5 18v-2m0-6V8' color='lightgray'/%3E%3C/svg%3E");
}

.material-symbols-light--news-outline {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5.616 20q-.691 0-1.153-.462T4 18.384V5.616q0-.691.463-1.153T5.616 4h9.961L20 8.423v9.962q0 .69-.462 1.153T18.384 20zm0-1h12.769q.269 0 .442-.173t.173-.442V9h-4V5H5.616q-.27 0-.443.173T5 5.616v12.769q0 .269.173.442t.443.173M7.5 16h9v-1h-9zm0-7H12V8H7.5zm0 3.5h9v-1h-9zM5 5v4zv14z'/%3E%3C/svg%3E");
}


main {
    padding: 2rem 0;
}

.hero {
    position: relative;
    border: 1px solid rgba(211, 211, 211, 0.2);
    border-radius: 1rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg,
            #0c0c0c 0%,
            #150c28 30%,
            #1f1142 60%,
            #240c38 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 4rem;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
}

.hero h1 {
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    font-weight: 600;
    color: white;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    line-height: 1.6;
    text-align: left;
    font-weight: 300;
    letter-spacing: 0.01em;
    color: var(--text-color);
    max-width: 600px;
    margin: 0;
}

.hero-image {
    flex: 1;
    max-width: 550px;
    min-width: 300px;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 1px solid rgba(211, 211, 211, 0.2);
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    font-family: "Geist Mono", "Geist";
}

.hero-btn-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.5rem 1.2rem;
    border-radius: 0.5rem;
    background-color: white;
    color: #150c28 !important;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
    letter-spacing: 0.01em;
}

.hero-btn-1:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2);
}

.hero-btn-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.5rem 1.2rem;
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.hero-btn-2:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

body .hero .hero-cta .hero-btn-1 {
    color: #150c28 !important; 
}

body .hero .hero-cta .hero-btn-2 {
    color: #ffffff !important; 
}

body .hero .hero-cta .hero-btn-1 *,
body .hero .hero-cta .hero-btn-1 span,
body .hero .hero-cta .hero-btn-1 a {
    color: #150c28 !important;
}

body .hero .hero-cta .hero-btn-2 *,
body .hero .hero-cta .hero-btn-2 span,
body .hero .hero-cta .hero-btn-2 a {
    color: #ffffff !important;
}

/* Responsive hero section */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        align-items: center;
    }
    
    .hero-image {
        order: 0;
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
}


@media (max-width: 768px) {
    .hero {
        padding: 2rem 1rem;
    }
}

.ticker {
    position: relative;
    padding: 5rem 2rem;
    margin-top: 1.5rem;
    border-radius: 1rem;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

.ticker-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
}

.ticker-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0.5rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.4rem;
    box-sizing: border-box;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ticker-scroll {
    display: flex;
    gap: 1.5rem;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
    padding: 0.25rem 0;
    width: fit-content;
    min-width: 100%;
}

.ticker-scroll:hover {
    animation-play-state: paused;
}

.crypto-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 0.3rem 0.8rem;
    min-width: auto;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    height: 2.2rem;
}

.crypto-icon {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.4rem;
}

.crypto-name {
    color: white;
    font-weight: 500;
    margin-right: 0.4rem;
    font-size: 0.9rem;
}

.crypto-change {
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 1rem;
    padding: 0.1rem 0.4rem;
}

.price-up {
    color: #00c853;
    background: rgba(0, 200, 83, 0.1);
}

.price-down {
    color: #ff3d00;
    background: rgba(255, 61, 0, 0.1);
}

.ticker-loading {
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem;
}

.features {
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid rgba(211, 211, 211, 0.2);
    border-radius: 1rem;
}

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

.feature-card .icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    position: relative;
}

.feature-card .security-icon::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    top: 10px;
    left: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.feature-card .speed-icon::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    top: 10px;
    left: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M19.77 7.23l.01-.01-3.72-3.72L15 4.56l2.11 2.11c-.94.36-1.61 1.26-1.61 2.33 0 1.38 1.12 2.5 2.5 2.5.36 0 .69-.08 1-.21v7.21c0 .55-.45 1-1 1s-1-.45-1-1V14c0-1.1-.9-2-2-2h-1V5c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v16h10v-7.5h1.5v5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V9c0-.69-.28-1.32-.73-1.77zM12 10H6V5h6v5zm6 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.feature-card .transparency-icon::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    top: 10px;
    left: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.feature-card .scalability-icon::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    top: 10px;
    left: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

.feature-card p {
    color: var(--text-paragraph-color);
    line-height: 1.6;
}

.chart-preview {
    padding: 5rem 2rem;
}

.charts-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.chart-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chart-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.chart-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.crypto-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.btc-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23F7931A' d='M23.638 14.904c-1.602 6.43-8.113 10.34-14.542 8.736C2.67 22.05-1.244 15.525.362 9.105 1.962 2.67 8.475-1.243 14.9.358c6.43 1.605 10.342 8.115 8.738 14.548v-.002zm-6.35-4.613c.24-1.59-.974-2.45-2.64-3.03l5.8-23.1l-14-3.5l-5.6 22.5c-3.7-.9-7.5-1.8-11.3-2.6l5.6-22.6l-14-3.5l-5.7 23q-4.65-1.05-9-2.1v-.1l-19.4-4.8l-3.7 15s10.4 2.4 10.2 2.5c5.7 1.4 6.7 5.2 6.5 8.2l-6.6 26.3c.4.1.9.2 1.5.5c-.5-.1-1-.2-1.5-.4l-9.2 36.8c-.7 1.7-2.5 4.3-6.4 3.3c.1.2-10.2-2.5-10.2-2.5l-7 16.1l18.3 4.6c3.4.9 6.7 1.7 10 2.6l-5.8 23.3l14 3.5l5.8-23.1c3.8 1 7.6 2 11.2 2.9l-5.7 23l14 3.5l5.8-23.3c24 4.5 42 2.7 49.5-19c6.1-17.4-.3-27.5-12.9-34.1c9.3-2.1 16.2-8.2 18-20.6m-32.1 45c-4.3 17.4-33.7 8-43.2 5.6l7.7-30.9c9.5 2.4 40.1 7.1 35.5 25.3m4.4-45.3c-4 15.9-28.4 7.8-36.3 5.8l7-28c7.9 2 33.4 5.7 29.3 22.2'/%3E%3C/svg%3E");
}

.eth-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23627EEA' d='M11.944 17.97L4.58 13.62 11.943 24l7.37-10.38-7.372 4.35h.003zM12.056 0L4.69 12.223l7.365 4.354 7.365-4.35L12.056 0z'/%3E%3C/svg%3E");
}

.chart-title h3 {
    font-size: 1.2rem;
    margin: 0;
    color: #ffffff;
}

.price-display {
    font-size: 1.2rem;
    font-weight: 600;
    color: #7a8fd3;
    margin-left: auto;
}

.timeframe-selector {
    display: flex;
    gap: 0.5rem;
}

.timeframe-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.timeframe-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.timeframe-btn.active {
    background: rgba(122, 143, 211, 0.2);
    border-color: rgba(122, 143, 211, 0.4);
    color: #7a8fd3;
}

.chart-canvas-container {
    position: relative;
    height: 250px;
    width: 100%;
}

.chart-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(21, 12, 40, 0.7);
    border-radius: 8px;
    z-index: 2;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #7a8fd3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.chart-cta {
    margin-top: 3rem;
    text-align: center;
}

.view-all-btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(45deg, #7a8fd3, #5a6dc9);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(122, 143, 211, 0.3);
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 143, 211, 0.4);
}

.chart-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.last-updated {
    font-style: italic;
}

.data-source {
    font-weight: 500;
}

.featured-news {
    padding: 5rem 2rem;
}

.featured-news h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: white;
}

.news-container {
    display: flex;
    flex-direction: row;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.news-desc {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0; /* Important for flex children to prevent overflow */
}

.news-img {
    display: flex;
}

.news-btn-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 0.4rem;
    padding: 0 0.5rem;
    width: 100%;
    height: 100%;
}

.news-btn-1 a {
    color: black;
}

.alert-desc {
    margin-bottom: 1.5rem;
    width: 100%;
    overflow: hidden; /* Prevent content from spilling out */
}

.whale-alerts-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    color: white;
}

.whale-alert-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(90deg, rgba(122,143,211,0.08) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid rgba(122,143,211,0.15);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 2px 10px rgba(122,143,211,0.07);
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

.whale-alert-item:hover {
    box-shadow: 0 6px 24px rgba(122,143,211,0.18);
    transform: translateY(-2px) scale(1.01);
}

.whale-alert-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(122,143,211,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.whale-alert-icon::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 24 24\'%3E%3Cpath fill=\'%237a8fd3\' d=\'M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5c0-2.64-2.05-4.78-4.65-4.96z\'/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.whale-alert-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.whale-alert-amount {
    font-size: 1.1rem;
    font-weight: 600;
    color: #7a8fd3;
}

.whale-alert-coin {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    margin-left: 0.3rem;
}

.whale-alert-meta {
    font-size: 0.92rem;
    color: var(--text-color);
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.whale-alert-fromto {
    color: #b3b3b3;
    font-size: 0.92rem;
}

.whale-alert-time {
    color: #b3b3b3;
    font-size: 0.9rem;
    margin-left: auto;
}

@media (max-width: 600px) {
    .whale-alert-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
        padding: 1rem;
    }
    .whale-alert-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    .whale-alert-meta {
        flex-direction: column;
        gap: 0.3rem;
    }
    .whale-alert-time {
        margin-left: 0;
    }
}

.crypto-news-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.crypto-news-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.75rem;
    box-sizing: border-box;
}

.news-image {
    width: 100%;
    height: 180px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary-color);
    line-height: 1.4;
}

.news-excerpt {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-paragraph-color);
}

/* Enhanced media queries for news section */
@media (max-width: 1200px) {
    .news-side {
        width: 35%;
        min-width: 250px;
    }
    
    .news-image {
        height: 160px;
    }
}

@media (max-width: 992px) {
    .news-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .news-side {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding-left: 0;
        padding-top: 1.5rem;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .crypto-news-container {
        gap: 1rem;
    }
    
    .news-image {
        height: 200px; /* Slightly larger for better visibility */
    }
}

@media (max-width: 768px) {
    .crypto-news-container {
        gap: 1rem;
    }
    
    .crypto-news-item {
        padding: 0.75rem;
    }
    
    .news-image {
        height: 180px;
        margin-bottom: 0.5rem;
    }
    
    .news-title {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }
    
    .news-excerpt {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        -webkit-line-clamp: 2; /* Show fewer lines on smaller screens */
    }
}

@media (max-width: 480px) {
    .news-side h3 {
        margin-bottom: 0.75rem;
    }
    
    .crypto-news-item {
        padding: 0.6rem;
    }
    
    .news-image {
        height: 140px;
    }
    
    .news-title {
        font-size: 0.9rem;
    }
    
    .news-excerpt {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }
    
    .news-meta {
        font-size: 0.75rem;
    }
}

/* Research Preview Section */
.research-preview {
    padding: 5rem 2rem;
    background: linear-gradient(135deg,
            #0c0c0c 0%,
            #150c28 30%,
            #1f1142 60%,
            #240c38 100%);
    border: 1px solid rgba(211, 211, 211, 0.2);
    border-radius: 1rem;
    margin-bottom: 4rem;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.research-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(211, 211, 211, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(211, 211, 211, 0.3);
}

.research-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid rgba(211, 211, 211, 0.2);
}

.research-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.research-card:hover .research-image img {
    transform: scale(1.05);
}

.research-content {
    padding: 1.5rem;
}

.research-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(122, 143, 211, 0.2);
    color: #7a8fd3;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(122, 143, 211, 0.3);
    font-weight: 500;
}

.research-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.research-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 300;
}

.research-meta {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(211, 211, 211, 0.1);
}

.research-meta span {
    font-weight: 400;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(122, 143, 211, 0.3);
    border-radius: 6px;
    background: rgba(122, 143, 211, 0.2);
}

.read-more:hover {
    background: rgba(122, 143, 211, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

.research-cta {
    text-align: center;
    margin-top: 3rem;
}

.view-all-research {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: black;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(211, 211, 211, 0.2);
}

.view-all-research:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.research-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .research-grid {
        grid-template-columns: 1fr;
    }

    .research-preview {
        padding: 2rem 1rem;
    }

    .research-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Responsive chart fixes */
.chart-preview {
    padding: 2rem 1rem;
}

.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.chart-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.chart-canvas-container {
    position: relative;
    width: 100%;
    height: 300px;
    margin: 1rem 0;
}

.chart-canvas-container canvas {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    display: block;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.chart-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    min-width: 0;
}

.chart-title h3 {
    font-size: 1.2rem;
    margin: 0;
    white-space: nowrap;
}

.price-display {
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    white-space: nowrap;
}

.timeframe-selector {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.timeframe-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    white-space: nowrap;
}

.timeframe-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.timeframe-btn.active {
    background: #6366f1;
    border-color: #6366f1;
}

.chart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .chart-preview {
        padding: 1.5rem 0.5rem;
    }

    .charts-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .chart-box {
        padding: 1rem;
        margin: 0;
    }

    .chart-canvas-container {
        height: 250px;
    }

    .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .chart-title {
        width: 100%;
        justify-content: space-between;
    }

    .chart-title h3 {
        font-size: 1.1rem;
    }

    .price-display {
        font-size: 0.9rem;
    }

    .timeframe-selector {
        width: 100%;
        justify-content: center;
    }

    .timeframe-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        flex: 1;
        min-width: 0;
    }

    .chart-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .chart-preview {
        padding: 1rem 0.25rem;
    }

    .chart-box {
        padding: 0.75rem;
        border-radius: 8px;
    }

    .chart-canvas-container {
        height: 200px;
        margin: 0.75rem 0;
    }

    .chart-title h3 {
        font-size: 1rem;
    }

    .price-display {
        font-size: 0.85rem;
    }

    .timeframe-btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }
}

/* Ensure charts resize properly */
@media (max-width: 320px) {
    .chart-canvas-container {
        height: 180px;
    }

    .timeframe-selector {
        gap: 0.25rem;
    }

    .timeframe-btn {
        padding: 0.3rem 0.4rem;
        font-size: 0.7rem;
    }
}

/* Enhanced responsive fixes for featured news section */
.featured-news {
    padding: 2rem 0;
    width: 100%;
}

.news-container {
    display: flex;
    flex-direction: row;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.news-desc {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0; /* Important for flex children to prevent overflow */
}

.news-side {
    display: flex;
    flex-direction: column;
    width: 40%;
    min-width: 300px;
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden; /* Prevent overflow */
}

.alert-desc {
    margin-bottom: 1.5rem;
    width: 100%;
    overflow: hidden; /* Prevent content from spilling out */
}

.whale-alerts-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.whale-alert-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(90deg, rgba(122,143,211,0.08) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid rgba(122,143,211,0.15);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 2px 10px rgba(122,143,211,0.07);
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

.whale-alert-item:hover {
    box-shadow: 0 6px 24px rgba(122,143,211,0.18);
    transform: translateY(-2px) scale(1.01);
}

.whale-alert-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(122,143,211,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.whale-alert-icon::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 24 24\'%3E%3Cpath fill=\'%237a8fd3\' d=\'M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5c0-2.64-2.05-4.78-4.65-4.96z\'/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.whale-alert-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.whale-alert-amount {
    font-size: 1.1rem;
    font-weight: 600;
    color: #7a8fd3;
}

.whale-alert-coin {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    margin-left: 0.3rem;
}

.whale-alert-meta {
    font-size: 0.92rem;
    color: var(--text-color);
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.whale-alert-fromto {
    color: #b3b3b3;
    font-size: 0.92rem;
}

.whale-alert-time {
    color: #b3b3b3;
    font-size: 0.9rem;
    margin-left: auto;
}

@media (max-width: 600px) {
    .whale-alert-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
        padding: 1rem;
    }
    .whale-alert-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    .whale-alert-meta {
        flex-direction: column;
        gap: 0.3rem;
    }
    .whale-alert-time {
        margin-left: 0;
    }
}

.crypto-news-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.crypto-news-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.75rem;
    box-sizing: border-box;
}

.news-image {
    width: 100%;
    height: 180px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary-color);
    line-height: 1.4;
}

.news-excerpt {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-paragraph-color);
}

/* Enhanced media queries for news section */
@media (max-width: 1200px) {
    .news-side {
        width: 35%;
        min-width: 250px;
    }
    
    .news-image {
        height: 160px;
    }
}

@media (max-width: 992px) {
    .news-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .news-side {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding-left: 0;
        padding-top: 1.5rem;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .crypto-news-container {
        gap: 1rem;
    }
    
    .news-image {
        height: 200px; /* Slightly larger for better visibility */
    }
}

@media (max-width: 768px) {
    .crypto-news-container {
        gap: 1rem;
    }
    
    .crypto-news-item {
        padding: 0.75rem;
    }
    
    .news-image {
        height: 180px;
        margin-bottom: 0.5rem;
    }
    
    .news-title {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }
    
    .news-excerpt {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        -webkit-line-clamp: 2; /* Show fewer lines on smaller screens */
    }
}

@media (max-width: 480px) {
    .news-side h3 {
        margin-bottom: 0.75rem;
    }
    
    .crypto-news-item {
        padding: 0.6rem;
    }
    
    .news-image {
        height: 140px;
    }
    
    .news-title {
        font-size: 0.9rem;
    }
    
    .news-excerpt {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }
    
    .news-meta {
        font-size: 0.75rem;
    }
}

/* Newsletter CTA section styling */
.newsletter-cta {
    margin: 5rem 0;
}

.newsletter-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: linear-gradient(135deg,
            #0c0c0c 0%,
            #150c28 30%,
            #1f1142 60%,
            #240c38 100%);
    border-radius: 16px;
    border: 1px solid rgba(211, 211, 211, 0.2);
    overflow: hidden;
    padding: 2rem;
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.newsletter-content h2 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.5rem;
}

.newsletter-content p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.newsletter-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 1rem 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.benefit-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary-color);
}

.benefit-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    position: relative;
}

/* Benefit icons */
.breaking-news-icon::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    top: 5px;
    left: 5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 9h-2V5h2v6zm0 4h-2v-2h2v2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.market-analysis-icon::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    top: 5px;
    left: 5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M3.5 18.49l6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.whale-movement-icon::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    top: 5px;
    left: 5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5c0-2.64-2.05-4.78-4.65-4.96z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.trends-icon::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    top: 5px;
    left: 5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.newsletter-form {
    margin-top: 1rem;
}

.form-inputs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.form-inputs input,
.form-inputs select {
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    flex-grow: 1;
}

.form-inputs select {
    min-width: 150px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-position: right 10px top 50%;
    background-repeat: no-repeat;
    background-size: 24px;
    -webkit-appearance: none;
    appearance: none;
}

.subscribe-btn {
    width: 100%;
    padding: 1rem;
    background: white;
    border: none;
    border-radius: 8px;
    color: black;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.notification-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.privacy-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-top: 0.5rem;
}

/* Newsletter testimonials */
.newsletter-testimonials {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.newsletter-testimonials h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0.5rem;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 220px; /* Increase height slightly to accommodate dots at bottom */
}

.testimonials-container {
    width: 100%;
    position: relative;
    flex: 1;
    margin-bottom: 1rem; /* Add space between testimonials and dots */
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.testimonial.active {
    opacity: 1;
    visibility: visible;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: auto; /* Push to bottom of flex container */
    margin-bottom: 0.5rem; /* Add some space between dots and stats */
}

.testimonial p {
    color: var(--text-color);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgba(255,255,255,0.5)' d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 500;
    color: white;
    font-size: 0.95rem;
}

.author-title {
    color: var(--text-paragraph-color);
    font-size: 0.85rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 0.75rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.subscriber-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-paragraph-color);
    font-size: 0.9rem;
}

/* Newsletter responsive styles */
@media (max-width: 992px) {
    .newsletter-container {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .newsletter-content {
        text-align: center;
    }
    
    .benefit-item {
        justify-content: center;
    }
    
    .form-inputs {
        justify-content: center;
    }
    
    .newsletter-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .newsletter-benefits {
        grid-template-columns: 1fr;
    }
    
    .form-inputs input,
    .form-inputs select {
        width: 100%;
    }
    
    .newsletter-testimonials {
        padding: 1rem;
    }
    
    .testimonial p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .subscriber-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Footer Styles */
footer {
    background-color: var(--background-color);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0 1rem;
    color: var(--text-color);
    margin-top: 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo h2 {
    font-weight: 500;
    color: var(--text-secondary-color);
    margin: 0.5rem 0;
}

.footer-logo p {
    font-size: 0.9rem;
    max-width: 250px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.link-column h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary-color);
    margin-bottom: 1rem;
}

.link-column ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.link-column ul li a {
    font-size: 0.9rem;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.link-column ul li a:hover {
    color: var(--text-secondary-color);
}

.footer-newsletter h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary-color);
    margin-bottom: 0.5rem;
}

.footer-newsletter p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-form input {
    flex: 1;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: white;
}

.footer-form button {
    padding: 0.6rem 1rem;
    background: white;
    color: black;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}


.footer-form button:hover {
    background: rgba(255, 255, 255, 0.9);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.twitter {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M22.46 6c-.77.35-1.6.58-2.46.69c.88-.53 1.56-1.37 1.88-2.38c-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29c0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15c0 1.49.75 2.81 1.91 3.56c-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.22 4.22 0 0 1-1.93.07a4.28 4.28 0 0 0 4 2.98a8.521 8.521 0 0 1-5.33 1.84c-.34 0-.68-.02-1.02-.06C3.44 20.29 5.7 21 8.12 21C16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56c.84-.6 1.56-1.36 2.14-2.23Z'/%3E%3C/svg%3E");
}

.discord {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M19.27 5.33C17.94 4.71 16.5 4.26 15 4a.09.09 0 0 0-.07.03c-.18.33-.39.76-.53 1.09a16.09 16.09 0 0 0-4.8 0c-.14-.34-.35-.76-.54-1.09c-.01-.02-.04-.03-.07-.03c-1.5.26-2.93.71-4.27 1.33c-.01 0-.02.01-.03.02c-2.72 4.07-3.47 8.03-3.1 11.95c0 .02.01.04.03.05c1.8 1.32 3.53 2.12 5.24 2.65c.03.01.06 0 .07-.02c.4-.55.76-1.13 1.07-1.74c.02-.04 0-.08-.04-.09c-.57-.22-1.11-.48-1.64-.78c-.04-.02-.04-.08-.01-.11c.11-.08.22-.17.33-.25c.02-.02.05-.02.07-.01c3.44 1.57 7.15 1.57 10.55 0c.02-.01.05-.01.07.01c.11.09.22.17.33.26c.04.03.04.09-.01.11c-.52.31-1.07.56-1.64.78c-.04.01-.05.06-.04.09c.32.61.68 1.19 1.07 1.74c.03.01.06.02.09.01c1.72-.53 3.45-1.33 5.25-2.65c.02-.01.03-.03.03-.05c.44-4.53-.73-8.46-3.1-11.95c-.01-.01-.02-.02-.04-.02zM8.52 14.91c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.84 2.12-1.89 2.12zm6.97 0c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.83 2.12-1.89 2.12z'/%3E%3C/svg%3E");
}

.telegram {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 20a8 8 0 1 0 0-16a8 8 0 0 0 0 16zm0 2C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10zm-3.11-8.83l-2.498-.779c-.54-.165-.543-.537.121-.804l9.733-3.76c.565-.23.885.061.702.79l-1.657 7.82c-.116.557-.451.69-.916.433l-2.551-1.888l-1.189 1.148c-.122.118-.221.219-.409.244c-.187.026-.341-.03-.454-.34l-.87-2.871l-.001.001z'/%3E%3C/svg%3E");
}

.github {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 2C6.475 2 2 6.475 2 12a9.994 9.994 0 0 0 6.838 9.488c.5.087.687-.213.687-.476c0-.237-.013-1.024-.013-1.862c-2.512.463-3.162-.612-3.362-1.175c-.113-.288-.6-1.175-1.025-1.413c-.35-.187-.85-.65-.013-.662c.788-.013 1.35.725 1.538 1.025c.9 1.512 2.338 1.087 2.912.825c.088-.65.35-1.087.638-1.337c-2.225-.25-4.55-1.113-4.55-4.938c0-1.088.387-1.987 1.025-2.688c-.1-.25-.45-1.275.1-2.65c0 0 .837-.262 2.75 1.026a9.28 9.28 0 0 1 2.5-.338c.85 0 1.7.112 2.5.337c1.912-1.3 2.75-1.024 2.75-1.024c.55 1.375.2 2.4.1 2.65c.637.7 1.025 1.587 1.025 2.687c0 3.838-2.337 4.688-4.562 4.938c.362.312.675.912.675 1.85c0 1.337-.013 2.412-.013 2.75c0 .262.188.574.688.474A10.016 10.016 0 0 0 22 12c0-5.525-4.475-10-10-10z'/%3E%3C/svg%3E");
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    font-size: 0.85rem;
}

.copyright p {
    margin: 0;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.legal-links a {
    color: var(--text-color);
}

.legal-links a:hover {
    color: var(--text-secondary-color);
}

.disclaimer {
    width: 100%;
    margin-top: 1rem;
    color: var(--text-paragraph-color);
    font-size: 0.8rem;
}


