/* ZeelPlay - Home Page (Exact Design Match) */
/* Header and Footer styles are in common.css */

/* Main Content */
.main-content {
    padding: 97px 22px 20px 22px;
}

/* Main Content - No Padding When No Offers */
.main-content:has(.no-offers-container) {
    padding: 0;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    color: #FFFFFF;
    margin-bottom: 22px;
}

/* Offers Grid */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Offer Card */
.offer-card {
    position: relative;
    width: 100%;
    height: 239px;
    background: #1F1F1F;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-decoration: none;
    display: block;
    padding: 14px;
}

.offer-image {
    position: relative;
    width: 100%;
    height: 143px;
    border-radius: 13px;
    overflow: hidden;
    margin-bottom: 6px;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 13px;
}

.offer-badge {
    display: none; /* Not in design */
}

.offer-content {
    padding: 0;
}

.offer-title {
    font-family: 'Space Grotesk', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
    line-height: 17px;
    color: #FFFFFF;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Reward Box */
.offer-reward {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #131313;
    border: 1px solid rgba(255, 254, 254, 0.1);
    border-radius: 20px;
    padding: 8px 12px;
    width: fit-content;
    max-width: 100%;
}

.coin-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.reward-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    color: #FFFFFF;
}

/* No Offers State - Perfectly Centered in Viewport */
.no-offers-container {
    position: fixed;
    top: 74px; /* Below header (16px + 58px) */
    left: 0;
    right: 0;
    bottom: 85px; /* Above footer (917px - 832px) */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.no-offers-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 330px;
}

.no-offer-icon {
    width: 211.37px;
    height: 179.77px;
    margin-bottom: 15px;
}

.no-offers-title {
    font-family: 'Space Grotesk', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.no-offers-description {
    font-family: 'Space Grotesk', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
    max-width: 330px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 412px) {
    .app-container {
        max-width: 100%;
    }
    
    .main-content {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .offers-grid {
        gap: 16px;
    }
    
    .bottom-nav {
        padding: 0 20px;
    }
}

/* Tablet and larger */
@media (min-width: 768px) {
    .app-container {
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
}
