/* Complete Welcome Offers CSS - BetShark */

/* --------------------- Main Container Styling --------------------- */
.welcome-offers-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: 'Roboto', sans-serif;
}

/* --------------------- Hero Section --------------------- */
.welcome-offers-hero {
    position: relative;
    background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
    border-radius: 8px;
    overflow: hidden;
    margin: 30px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.welcome-offers-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background-color: #00a8ff;
    background-image: linear-gradient(to top, #00a8ff 0%, #80d0ff 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.welcome-offers-hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* --------------------- Summary Text Section --------------------- */
.summary-text {
    position: relative;
    z-index: 2;
    background: rgba(0, 31, 63, 0.03);
    margin: 25px auto;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    color: #001f3f;
    border: 1px solid rgba(0, 168, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.summary-text:hover {
    box-shadow: 0 6px 20px rgba(0, 168, 255, 0.15);
    transform: translateY(-3px);
}

.summary-text .highlight {
    color: #00a8ff;
    font-weight: bold;
}

/* --------------------- Divider --------------------- */
.offers-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(0, 31, 63, 0.1), rgba(0, 168, 255, 0.5), rgba(0, 31, 63, 0.1));
    margin: 15px 70px;
}

/* --------------------- Offers Container --------------------- */
.offers-container {
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
    justify-content: center;
}

/* --------------------- Offer Box - Main Styling --------------------- */
.offer-box {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    margin: 12px;
    width: calc(20% - 24px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    transform: scale(1) !important;
}

/* Remove underlines and maintain color */
.offer-box a {
    text-decoration: none !important;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* --------------------- Image Container and Logo Styling --------------------- */
.offer-box-image {
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 -2px 6px rgba(0, 0, 0, 0.05);
}

.logo-wrapper {
    width: 85%;
    height: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.offer-box-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Hover effects */
.offer-box:hover {
    transform: scale(1.08) !important; 
    box-shadow: 0 15px 30px rgba(0, 168, 255, 0.2) !important;
    z-index: 100 !important;
}

.offer-box:hover .logo-wrapper {
    transform: translateY(-3px);
}
.offer-box .value,
.offer-box .refer {
    transition: transform 0.3s ease;
}
/* Enhanced value and referral hover effects */
.offer-box:hover .value,
.offer-box:hover .refer {
    transform: scale(1.1);
    color: #0090e0; 
}

/* Modified brand-specific logo sizes - keeping them more reasonable */
.offer-box[data-brand="winamax"] .logo-wrapper {
    width: 95%;
    height: 95%;
}

/* --------------------- Brand-Specific Logo Sizes --------------------- */
/* Winamax - wider logo with text below */
.offer-box[data-brand="winamax"] .logo-wrapper {
    width: 100%;
    height: 100%;
}

/* Betsson - already fills the space well */
.offer-box[data-brand="betsson"] .logo-wrapper {
    width: 140%;
    height: 140%;
}

/* Parionssport - vertical logo with text, needs more height */
.offer-box[data-brand="parionssport"] .logo-wrapper {
    width: 110%;
    height: 110%;
}

/* PMU - should fill most of the space */
.offer-box[data-brand="pmu"] .logo-wrapper {
    width: 140%;
    height: 140%;
}

/* ZEbet - needs to be larger */
.offer-box[data-brand="zebet"] .logo-wrapper {
    width: 140%;
    height: 140%;
}

/* Betclic - text logo, should be larger */
.offer-box[data-brand="betclic"] .logo-wrapper {
    width: 140%;
    height: 140%;
}

/* Unibet - text logo with dots, fill space */
.offer-box[data-brand="unibet"] .logo-wrapper {
    width: 140%;
    height: 140%;
}

/* Bwin - text logo, should be larger */
.offer-box[data-brand="bwin"] .logo-wrapper {
    width: 140%;
    height: 140%;
}

/* Pokerstars - fill the space better */
.offer-box[data-brand="pokerstars"] .logo-wrapper {
    width: 100%;
    height: 100%;
}

/* Olybet */
.offer-box[data-brand="olybet"] .logo-wrapper {
    width: 100%;
    height: 100%;
}

.offer-box[data-brand="vbet"] .logo-wrapper {
    width: 120%;
    height: 120%;
}
.offer-box[data-brand="genybet"] .logo-wrapper {
    width: 140%;
    height: 140%;
}
.offer-box[data-brand="feelingbet"] .logo-wrapper {
    width: 140%;
    height: 140%;
}
.offer-box[data-brand="netbet"] .logo-wrapper {
    width: 140%;
    height: 140%;
}
.offer-box[data-brand="partouchesport"] .logo-wrapper {
    width: 140%;
    height: 140%;
}
.offer-box[data-brand="circusbet"] .logo-wrapper {
    width: 140%;
    height: 140%;
}
/* Betsson - deep blue with orange accent */
.offer-box[data-brand="betsson"] .offer-box-image {
    background: #FF9A0C;
}

/* Winamax - red background */
.offer-box[data-brand="winamax"] .offer-box-image {
    background: white;
}

/* Parionssport - blue and white */
.offer-box[data-brand="parionssport"] .offer-box-image {
    background: white;
    border-bottom: none;
}

/* PMU - orange background */
.offer-box[data-brand="pmu"] .offer-box-image {
    background: #DC4607;
}

/* Zebet - dark gray/black background */
.offer-box[data-brand="zebet"] .offer-box-image {
    background: #2C3638;
}

/* Betclic - red background */
.offer-box[data-brand="betclic"] .offer-box-image {
    background: #E81E2B;
}

/* Unibet - green background */
.offer-box[data-brand="unibet"] .offer-box-image {
    background: #147B45;
}

/* Vbet - red background */
.offer-box[data-brand="vbet"] .offer-box-image {
    background: #D61082;
}

/* Bwin - black background */
.offer-box[data-brand="bwin"] .offer-box-image {
    background: black;
}

/* Pokerstars - black background */
.offer-box[data-brand="pokerstars"] .offer-box-image {
    background: black;
}

/* Olybet - red background */
.offer-box[data-brand="olybet"] .offer-box-image {
    background: #F73535;
}

/* Genybet - blue background */
.offer-box[data-brand="genybet"] .offer-box-image {
    background: #EBEAEA;
}

/* Feelingbet - dark blue background */
.offer-box[data-brand="feelingbet"] .offer-box-image {
    background: #8A074A;
}

/* Netbet - dark purple background */
.offer-box[data-brand="netbet"] .offer-box-image {
    background: #1D1D1D;
}

/* Partouche - green background */
.offer-box[data-brand="partouche"] .offer-box-image {
    background: white;
}

/* Circusbet - red background */
.offer-box[data-brand="circusbet"] .offer-box-image {
    background: black;
}

/* --------------------- Content Box --------------------- */
.offer-box-content {
    padding: 18px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Bookmaker name */
.offer-box-content .SiteName {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #001f3f;
}

/* Offer details layout */
.offer-details {
    margin: 10px 0;
}

.offer-detail {
    margin: 8px 0;
}

/* Label and value styling */
.offer-box-content .label {
    color: #666;
    font-weight: 500;
}

.offer-box-content .value,
.offer-box-content .refer {
    color: #00a8ff;
    font-weight: bold;
}

/* Paragraph spacing */
.offer-box-content p {
    margin: 8px 0;
    line-height: 1.4;
}

/* Bonus type style */
.bonus-type {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 12px;
}

/* --------------------- Login Popup --------------------- */
/* Blur background */
.blur-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 31, 63, 0.7);
    backdrop-filter: blur(8px);
    z-index: 998;
}

/* Login popup styling */
.login-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 999;
    text-align: center;
    max-width: 450px;
    width: 90%;
}

.login-popup h2 {
    margin-bottom: 20px;
    color: #001f3f;
    font-size: 1.8rem;
}

.login-popup p {
    margin-bottom: 30px;
    color: #666;
    font-size: 1.05rem;
    line-height: 1.5;
}

.login-popup .buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.login-popup button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.login-button {
    background-image: linear-gradient(to right, #00a8ff, #4da8ff);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 168, 255, 0.3);
}

.login-button:hover {
    background-image: linear-gradient(to right, #0090e0, #3a8dd6);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 168, 255, 0.4);
}

.signup-button {
    background-color: #001f3f;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 31, 63, 0.3);
}

.signup-button:hover {
    background-color: #002d5a;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 31, 63, 0.4);
}

/* Blurred container */
.container.blurred,
.offers-container.blurred {
    filter: blur(8px);
    pointer-events: none;
}

/* --------------------- Responsive Design --------------------- */
@media screen and (max-width: 1200px) {
    .offer-box {
        width: calc(25% - 24px);
    }
}

@media screen and (max-width: 992px) {
    .offer-box {
        width: calc(33.33% - 24px);
    }
    
    .welcome-offers-hero h1 {
        font-size: 2.2rem;
    }
    
    .summary-text {
        font-size: 1.4em;
    }
}

@media screen and (max-width: 768px) {
    .offer-box {
        width: calc(50% - 20px);
        margin: 10px;
    }
    
    .welcome-offers-hero h1 {
        font-size: 1.8rem;
    }
    
    .welcome-offers-hero p {
        font-size: 1rem;
    }
    
    .summary-text {
        padding: 20px 15px;
        font-size: 1.2em;
    }
    
    .offers-divider {
        margin: 10px 30px;
    }
}

@media screen and (max-width: 480px) {
    .offer-box {
        width: 100%;
        max-width: 320px;
        margin: 10px auto;
    }
    
    .welcome-offers-hero {
        padding: 30px 20px;
    }
    
    .welcome-offers-hero h1 {
        font-size: 1.6rem;
    }
    
    .summary-text {
        padding: 15px 10px;
        font-size: 1.1em;
    }
    
    .login-popup {
        padding: 25px;
    }
    
    .login-popup .buttons {
        flex-direction: column;
        gap: 15px;
    }
}