/* Baby Mash Tiers Section Styles (Replaced DGA - 2026-02-10) */
/* Original CSS backed up to /_backup/home-dga.css.bak */

/* Variables */
:root {
    --babymash-primary: #e94560;
    --babymash-secondary: #3ab54a;
    --babymash-bg-overlay: rgba(7, 7, 7, 0.85);
}

/* Font definition */
@font-face {
    font-family: 'Gameria';
    src: url('../../../fonts/custom/Gameria.ttf') format('truetype');
}

/* Baby Mash Tiers Section */
.babymash-tiers-section {
    background-image: url('/assets/site/home/dga/dga-md.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.babymash-tiers-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--babymash-bg-overlay);
    z-index: -1;
}

/* Logo */
.babymash-logo-home {
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

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

/* Title Styles */
.babymash-tiers-title {
    font-family: 'Gameria', sans-serif;
    color: var(--babymash-primary);
    margin: 20px 0;
    position: relative;
    z-index: 10;
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(233, 69, 96, 0.5);
}

.babymash-tiers-title .main-text {
    display: block;
    font-size: 3.5rem;
}

.babymash-tiers-title .sub-text {
    display: block;
    font-size: 2.5rem;
    color: var(--babymash-secondary);
}

/* Description */
.babymash-tiers-description {
    color: #fff;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 1.5rem auto;
    line-height: 1.6;
    opacity: 0.9;
}

/* Table Styles */
.babymash-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.babymash-tiers-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.babymash-tiers-table th {
    background: rgba(233, 69, 96, 0.2);
    color: var(--babymash-primary);
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    border-radius: 8px 8px 0 0;
}

.babymash-tiers-table td {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    text-align: center;
    color: #ffffff;
    border: none;
    transition: background 0.3s ease;
}

.babymash-tiers-table tbody tr:hover td {
    background: rgba(233, 69, 96, 0.15);
}

.babymash-tiers-table .mash-bonus {
    color: var(--babymash-secondary);
    font-weight: 600;
}

.tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Mobile Cards */
.babymash-mobile-cards {
    max-width: 400px;
    margin: 0 auto;
}

.tier-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid;
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.tier-card .tier-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.tier-card .tier-details {
    display: flex;
    justify-content: space-around;
    color: rgba(255, 255, 255, 0.9);
}

.tier-card .tier-details small {
    display: block;
    opacity: 0.7;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.tier-card .tier-details .value {
    font-weight: 600;
    font-size: 1rem;
}

.tier-card .tier-details .mash-bonus {
    color: var(--babymash-secondary);
}

/* Contract Address Box */
.contract-address-box {
    background: rgba(233, 69, 96, 0.15);
    border: 2px solid var(--babymash-primary);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    max-width: 600px;
    margin: 2rem auto;
}

.contract-address-box .contract-label {
    color: var(--babymash-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contract-address-box .contract-address {
    color: var(--babymash-secondary);
    font-family: monospace;
    font-size: 0.85rem;
    word-break: break-all;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.contract-address-box .contract-platforms {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Button Styles */
.babymash-section-button {
    font-family: 'Gameria', sans-serif;
    padding: 15px 30px;
    font-size: 1.5rem;
    color: #000;
    background-color: transparent;
    border: 2px solid var(--babymash-secondary);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    position: relative;
    text-decoration: none;
    margin-top: 1rem;
    display: inline-block;
}

.babymash-section-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--babymash-secondary);
    transform: translateZ(-8px);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.babymash-section-button:hover {
    transform: translateZ(10px) rotateX(-10deg) rotateY(-10deg);
    color: #000;
    background-color: var(--babymash-secondary);
    box-shadow: 5px 5px 20px rgba(58, 181, 74, 0.4);
    text-decoration: none;
}

.babymash-section-button:active {
    transform: translateZ(2px);
}

/* Media Queries */
/* Extra small devices (phones, 320px - 480px) */
@media only screen and (max-width: 480px) {
    .babymash-logo-home {
        max-width: 100px;
        max-height: 100px;
    }
    
    .babymash-tiers-title .main-text {
        font-size: 2.2rem;
    }
    
    .babymash-tiers-title .sub-text {
        font-size: 1.6rem;
    }
    
    .babymash-tiers-description {
        font-size: 1rem;
    }
    
    .babymash-section-button {
        font-size: 1.2rem;
        padding: 12px 24px;
    }
    
    .contract-address-box .contract-address {
        font-size: 0.75rem;
    }
}

/* Small devices (large phones, 481px - 767px) */
@media only screen and (min-width: 481px) and (max-width: 767px) {
    .babymash-logo-home {
        max-width: 120px;
        max-height: 120px;
    }
    
    .babymash-tiers-title .main-text {
        font-size: 2.8rem;
    }
    
    .babymash-tiers-title .sub-text {
        font-size: 2rem;
    }
    
    .babymash-section-button {
        font-size: 1.3rem;
    }
}

/* Medium devices (tablets, 768px - 991px) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .babymash-tiers-title .main-text {
        font-size: 3rem;
    }
    
    .babymash-tiers-title .sub-text {
        font-size: 2.2rem;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .babymash-tiers-section {
        background-image: url('/assets/site/home/dga/dga-lg.jpg');
    }
    
    .babymash-logo-home {
        max-width: 180px;
        max-height: 180px;
    }
}
