.mashyields {
    margin: 0;
    padding: 20px;
    background: #00ff00;
}

.mashyields__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
.mashyields__header {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    margin-bottom: 40px;
}

.mashyields__column-title {
    flex: 1;
    text-align: center;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 18px;
    color: white;
    text-transform: uppercase;
    padding: 10px;
    background-color: #004000;
}

/* Bar Styles */
.mashyields__bar {
    display: flex;
    align-items: center;
    margin: 40px 0;
    height: 150px;
    position: relative;
}

.mashyields__bar--reverse {
    flex-direction: row-reverse;
}

.mashyields__image-container {
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 3;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-right: -50px;
}

.mashyields__bar--reverse .mashyields__image-container {
    margin-right: 0;
    margin-left: -50px;
}

.mashyields__character-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Gradient Bar Styles */
.mashyields__gradient-bar {
    flex-grow: 1;
    height: 150px;
    background: linear-gradient(to right, rgba(0, 64, 0, 0.8) 70%, transparent);
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 30px 0 80px;
    z-index: 1;
}

.mashyields__bar--reverse .mashyields__gradient-bar {
    background: linear-gradient(to left, rgba(0, 64, 0, 0.8) 70%, transparent);
    justify-content: flex-end;
    padding: 0 80px 0 30px;
}

/* Yield Data Styles */
.mashyields__data {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 800px;
    color: white;
    font-weight: bold;
}

.mashyields__data-item {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.mashyields__character-name {
    text-transform: uppercase;
    font-size: 24px;
    color: #ffeb3b;
}

.mashyields__token-amount {
    font-size: 24px;
    color: #fff;
}

.mashyields__token-amount-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mashyields__token-amount-label {
    color: #FFD700;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
}

.mashyields__passive-income {
    font-size: 24px;
    color: #ffeb3b;
}

.mashyields__annual-return {
    font-size: 24px;
    color: #fff;
}

.mashyields__passive-income-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mashyields__passive-income-label {
    color: #FFD700;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
}

.mashyields__annual-return-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mashyields__annual-return-label {
    color: #FFD700;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Hero Section Styles */
.mashyields__hero {
    background: linear-gradient(rgba(0, 64, 0, 0.9), rgba(0, 64, 0, 0.9)), url('/assets/site/mashyields/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px 15px;
    margin: 30px auto 0;
    border-radius: 10px;
    text-align: center;
    color: white;
    position: relative;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mashyields__hero-title {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #90FF42;
    text-shadow: 0 0 10px rgba(144, 255, 66, 0.3);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    white-space: nowrap;
    width: 100%;
    display: flex;
    justify-content: center;
}

.mashyields__subtitle {
    font-size: clamp(1rem, 3vw, 2rem);
    color: #FBFF8C;
    margin-bottom: 2rem;
    font-weight: 600;
    white-space: nowrap;
    width: 100%;
    display: flex;
    justify-content: center;
}

.mashyields__description {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    color: white;
}

/* CTA Section Styles */
.mashyields__cta {
    background: linear-gradient(rgba(0, 64, 0, 0.9), rgba(0, 64, 0, 0.9)), url('/assets/site/mashyields/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    margin-top: 60px;
    border-radius: 10px;
    text-align: center;
    color: white;
    position: relative;
}

.mashyields__cta-title {
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    font-family: 'Arial', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mashyields__cta-text {
    color: white;
    font-size: 1.3rem;
    line-height: 1.6;
    max-width: 1000px;
    margin: 0 auto 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.mashyields__btn {
    background-color: #00ff00;
    border: none;
    padding: 15px 40px;
    font-size: 1.25rem;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #004000;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.mashyields__btn:hover {
    background-color: #33ff33;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
    color: #004000;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .mashyields__header {
        flex-direction: column;
        gap: 10px;
    }

    .mashyields__column-title {
        width: 100%;
        font-size: 16px;
        padding: 8px;
    }

    .mashyields__bar {
        flex-direction: column;
        height: auto;
        margin: 100px 0;
        position: relative;
        padding-top: 117px;
    }

    .mashyields__image-container {
        width: 234px;
        height: 234px;
        position: absolute;
        top: -117px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mashyields__character-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        mix-blend-mode: multiply;
        display: block;
        margin: auto;
    }

    .mashyields__gradient-bar {
        width: calc(100% - 30px);
        min-height: 480px;
        background: rgba(0, 64, 0, 0.95);
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        position: relative;
        padding: 120px 20px 45px;
        margin: -117px 15px 0;
    }

    .mashyields__bar--reverse .mashyields__gradient-bar {
        background: rgba(0, 64, 0, 0.95);
        padding: 120px 20px 45px;
        border-radius: 15px;
        margin: -117px 15px 0;
        min-height: 480px;
    }

    .mashyields__data {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
        position: relative;
        z-index: 2;
    }

    .mashyields__character-name {
        font-size: 28px;
        margin-bottom: 5px;
    }

    .mashyields__token-amount,
    .mashyields__passive-income,
    .mashyields__annual-return {
        font-size: 26px;
    }

    .mashyields__token-amount-label,
    .mashyields__passive-income-label,
    .mashyields__annual-return-label {
        font-size: 14px;
        margin-top: 5px;
        letter-spacing: 0.5px;
    }

    .mashyields__token-amount-wrapper,
    .mashyields__passive-income-wrapper,
    .mashyields__annual-return-wrapper {
        gap: 8px;
        padding: 10px 0;
    }

    .mashyields__hero {
        padding: 40px 15px;
        margin-top: 30px;
    }

    .mashyields__cta {
        padding: 40px 15px;
        margin-top: 30px;
    }

    .mashyields__cta-title {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }

    .mashyields__cta-text {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .mashyields__btn {
        padding: 12px 30px;
        font-size: 1.1rem;
    }

    .mashyields__annual-return-wrapper {
        margin-bottom: 15px;
    }
}

/* Large devices overlay (1024px and up) */
@media only screen and (min-width: 1024px) {
    .mashyields {
        position: relative;
    }
    
    .mashyields::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5); /* 50% opacity black overlay */
        pointer-events: none;
        z-index: 1;
    }
    
    .mashyields__container {
        position: relative;
        z-index: 2; /* Ensure content appears above the overlay */
    }
}
