/**
 * SlotsGamblers Game Hero Widget - Frontend Styles
 * 
 * @package SlotsGamblersGameHero
 * @version 1.1.1
 */

/* ========================================
   CSS Variables - SlotsGamblers Brand
   ======================================== */
.slotsgamblersgamehero-container {
    --slotsgamblersgamehero-color-purple: #9333EA;
    --slotsgamblersgamehero-color-white: #FFFFFF;
    --slotsgamblersgamehero-color-gray-light: #F7F7F7;
    --slotsgamblersgamehero-color-gray-medium: #E0E0E0;
    --slotsgamblersgamehero-color-black: #1A1A1A;
    --slotsgamblersgamehero-text-primary: #1A1A1A;
    --slotsgamblersgamehero-text-secondary: #6B7280;
    --slotsgamblersgamehero-border-color: #E0E0E0;
    --slotsgamblersgamehero-brand-gradient: linear-gradient(135deg, #9333EA 0%, #FF8C42 100%);
    --slotsgamblersgamehero-spacing-xs: 0.25rem;
    --slotsgamblersgamehero-spacing-sm: 0.5rem;
    --slotsgamblersgamehero-spacing-md: 1rem;
    --slotsgamblersgamehero-spacing-lg: 1.5rem;
    --slotsgamblersgamehero-spacing-xl: 2rem;
    --slotsgamblersgamehero-radius-md: 0.5rem;
    --slotsgamblersgamehero-radius-lg: 0.75rem;
    --slotsgamblersgamehero-radius-xl: 1rem;
}

/* ========================================
   Game Hero Container
   ======================================== */
.slotsgamblersgamehero-game-hero {
    background: var(--slotsgamblersgamehero-color-white);
    border: 0.0625rem solid var(--slotsgamblersgamehero-border-color);
    border-radius: var(--slotsgamblersgamehero-radius-xl);
    padding: var(--slotsgamblersgamehero-spacing-xl);
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    max-width: 75rem;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--slotsgamblersgamehero-text-primary);
    line-height: 1.6;
}

.slotsgamblersgamehero-game-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.25rem;
    background: var(--slotsgamblersgamehero-brand-gradient);
}

/* ========================================
   Header Row
   ======================================== */
.slotsgamblersgamehero-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--slotsgamblersgamehero-spacing-lg);
    margin-bottom: var(--slotsgamblersgamehero-spacing-lg);
}

.slotsgamblersgamehero-title-block .slotsgamblersgamehero-title {
    font-size: clamp(1.75rem, 2.5vw + 0.5rem, 2.5rem);
    font-weight: 900;
    color: var(--slotsgamblersgamehero-text-primary);
    line-height: 1.2;
    margin: 0 0 var(--slotsgamblersgamehero-spacing-sm) 0;
}

.slotsgamblersgamehero-provider {
    font-size: 1rem;
    color: var(--slotsgamblersgamehero-text-secondary);
    font-weight: 600;
    margin: 0;
}

.slotsgamblersgamehero-provider span {
    color: var(--slotsgamblersgamehero-color-purple);
    font-weight: 700;
}

.slotsgamblersgamehero-rating-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--slotsgamblersgamehero-spacing-sm);
    align-items: flex-end;
}

.slotsgamblersgamehero-rating {
    display: flex;
    gap: 0.25rem;
    font-size: 1.75rem;
}

/* Interactive Rating Styles */
.slotsgamblersgamehero-rating-interactive {
    cursor: pointer;
}

.slotsgamblersgamehero-rating-interactive .slotsgamblersgamehero-star {
    transition: all 0.2s ease;
    opacity: 0.3;
    filter: grayscale(100%);
    cursor: pointer;
}

.slotsgamblersgamehero-rating-interactive .slotsgamblersgamehero-star.slotsgamblersgamehero-star-filled {
    opacity: 1;
    filter: grayscale(0%);
}

.slotsgamblersgamehero-rating-interactive:not(.slotsgamblersgamehero-rating-disabled) .slotsgamblersgamehero-star:hover {
    transform: scale(1.2);
    filter: grayscale(0%);
    opacity: 1;
}

.slotsgamblersgamehero-rating-interactive.slotsgamblersgamehero-rating-disabled {
    cursor: not-allowed;
}

.slotsgamblersgamehero-rating-interactive.slotsgamblersgamehero-rating-disabled .slotsgamblersgamehero-star {
    cursor: not-allowed;
}

.slotsgamblersgamehero-rating-interactive.slotsgamblersgamehero-rating-submitting {
    opacity: 0.6;
    pointer-events: none;
}

/* Rating Info */
.slotsgamblersgamehero-rating-info {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--slotsgamblersgamehero-text-secondary);
    font-weight: 500;
}

.slotsgamblersgamehero-rating-average {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slotsgamblersgamehero-color-purple);
}

.slotsgamblersgamehero-rating-max {
    font-weight: 600;
}

.slotsgamblersgamehero-rating-count {
    margin-left: 0.25rem;
    font-style: italic;
}

/* Rating Message */
.slotsgamblersgamehero-rating-message {
    padding: var(--slotsgamblersgamehero-spacing-sm) var(--slotsgamblersgamehero-spacing-md);
    border-radius: var(--slotsgamblersgamehero-radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    margin-top: var(--slotsgamblersgamehero-spacing-xs);
}

.slotsgamblersgamehero-rating-message.slotsgamblersgamehero-message-info {
    background: #E0F2FE;
    color: #0369A1;
    border: 0.0625rem solid #7DD3FC;
}

.slotsgamblersgamehero-rating-message.slotsgamblersgamehero-message-success {
    background: #D1FAE5;
    color: #065F46;
    border: 0.0625rem solid #6EE7B7;
}

.slotsgamblersgamehero-rating-message.slotsgamblersgamehero-message-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 0.0625rem solid #FCA5A5;
}

/* ========================================
   Content Grid
   ======================================== */
.slotsgamblersgamehero-content-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--slotsgamblersgamehero-spacing-xl);
    align-items: start;
}

.slotsgamblersgamehero-image-box {
    width: 13rem;
    border-radius: var(--slotsgamblersgamehero-radius-lg);
    overflow: hidden;
    border: 0.1875rem solid var(--slotsgamblersgamehero-color-black);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.slotsgamblersgamehero-image-box img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Quick Stats
   ======================================== */
.slotsgamblersgamehero-quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--slotsgamblersgamehero-spacing-md);
}

.slotsgamblersgamehero-stat-box {
    background: var(--slotsgamblersgamehero-color-gray-light);
    border: 0.125rem solid var(--slotsgamblersgamehero-border-color);
    border-radius: var(--slotsgamblersgamehero-radius-lg);
    padding: var(--slotsgamblersgamehero-spacing-md);
    text-align: center;
    transition: all 0.3s ease;
}

.slotsgamblersgamehero-stat-box:hover {
    transform: translateY(-0.125rem);
    box-shadow: 0 0.375rem 0.75rem rgba(0, 0, 0, 0.1);
}

.slotsgamblersgamehero-stat-label {
    font-size: 0.75rem;
    color: var(--slotsgamblersgamehero-text-secondary);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.25rem;
    letter-spacing: 0.05em;
}

.slotsgamblersgamehero-stat-value {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--slotsgamblersgamehero-text-primary);
}

.slotsgamblersgamehero-stat-value.slotsgamblersgamehero-high {
    color: var(--slotsgamblersgamehero-color-purple);
}

/* ========================================
   Social Share Buttons
   ======================================== */
.slotsgamblersgamehero-social-share {
    display: flex;
    align-items: center;
    gap: var(--slotsgamblersgamehero-spacing-sm);
    margin-top: var(--slotsgamblersgamehero-spacing-lg);
}

.slotsgamblersgamehero-social-share-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slotsgamblersgamehero-text-secondary);
}

.slotsgamblersgamehero-social-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--slotsgamblersgamehero-radius-md);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.1);
}

.slotsgamblersgamehero-social-btn:hover {
    transform: translateY(-0.125rem);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

.slotsgamblersgamehero-social-btn.slotsgamblersgamehero-facebook {
    background: #1877F2;
    color: var(--slotsgamblersgamehero-color-white);
}

.slotsgamblersgamehero-social-btn.slotsgamblersgamehero-twitter {
    background: #1DA1F2;
    color: var(--slotsgamblersgamehero-color-white);
}

.slotsgamblersgamehero-social-btn.slotsgamblersgamehero-pinterest {
    background: #E60023;
    color: var(--slotsgamblersgamehero-color-white);
}

.slotsgamblersgamehero-social-btn.slotsgamblersgamehero-copy {
    background: var(--slotsgamblersgamehero-color-gray-light);
    color: var(--slotsgamblersgamehero-text-primary);
    border: 0.0625rem solid var(--slotsgamblersgamehero-border-color);
}

.slotsgamblersgamehero-social-btn.slotsgamblersgamehero-copy:hover {
    background: var(--slotsgamblersgamehero-color-gray-medium);
}

/* ========================================
   Responsive - Mobile (Full-Width Breakout)
   ======================================== */
@media (max-width: 48rem) {
    .slotsgamblersgamehero-game-hero {
        width: 100vw !important;
        max-width: none !important;
        margin-left: calc(-50vw + 50%) !important;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
        padding: var(--slotsgamblersgamehero-spacing-lg) var(--slotsgamblersgamehero-spacing-md);
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
    }

    .slotsgamblersgamehero-header-row {
        display: contents;
    }

    .slotsgamblersgamehero-content-grid {
        display: contents;
    }

    .slotsgamblersgamehero-title-block {
        order: 1;
        margin-bottom: var(--slotsgamblersgamehero-spacing-md);
    }

    .slotsgamblersgamehero-image-box {
        order: 2;
    }

    .slotsgamblersgamehero-rating-wrapper {
        order: 3;
        margin-top: var(--slotsgamblersgamehero-spacing-md);
        margin-bottom: var(--slotsgamblersgamehero-spacing-md);
        align-items: center;
    }

    .slotsgamblersgamehero-rating {
        justify-content: center;
    }

    .slotsgamblersgamehero-quick-stats {
        order: 4;
    }

    .slotsgamblersgamehero-social-share {
        order: 5;
    }

    .slotsgamblersgamehero-title-block .slotsgamblersgamehero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .slotsgamblersgamehero-provider {
        font-size: 0.9375rem;
    }

    .slotsgamblersgamehero-rating {
        font-size: 1.5rem;
    }

    .slotsgamblersgamehero-image-box {
        width: 100%;
        max-width: 12rem;
        margin: 0 auto;
        border-radius: var(--slotsgamblersgamehero-radius-md);
        border: 0.1875rem solid var(--slotsgamblersgamehero-color-black) !important;
        box-shadow: 0 0.375rem 1rem rgba(0, 0, 0, 0.25) !important;
    }

    .slotsgamblersgamehero-image-box > div {
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    .slotsgamblersgamehero-quick-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--slotsgamblersgamehero-spacing-sm);
    }

    .slotsgamblersgamehero-stat-box {
        padding: var(--slotsgamblersgamehero-spacing-sm);
    }

    .slotsgamblersgamehero-stat-label {
        font-size: 0.6875rem;
    }

    .slotsgamblersgamehero-stat-value {
        font-size: 1rem;
    }

    .slotsgamblersgamehero-social-share {
        margin-top: var(--slotsgamblersgamehero-spacing-md);
        flex-wrap: wrap;
    }

    .slotsgamblersgamehero-social-share-label {
        font-size: 0.75rem;
    }

    .slotsgamblersgamehero-social-btn {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.875rem;
    }
}

/* ========================================
   Responsive - Small Mobile
   ======================================== */
@media (max-width: 30rem) {
    .slotsgamblersgamehero-image-box {
        max-width: 10rem;
    }

    .slotsgamblersgamehero-title-block .slotsgamblersgamehero-title {
        font-size: 1.5rem;
    }

    .slotsgamblersgamehero-rating {
        font-size: 1.25rem;
    }

    .slotsgamblersgamehero-quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .slotsgamblersgamehero-stat-label {
        font-size: 0.625rem;
    }

    .slotsgamblersgamehero-stat-value {
        font-size: 0.9375rem;
    }
}

/* ========================================
   Elementor Container Override
   ======================================== */
.elementor-widget-slotsgamblersgamehero .slotsgamblersgamehero-container {
    width: 100%;
    max-width: 100%;
}

@media (min-width: 1920px) {
    .slotsgamblersgamehero-game-hero {
        max-width: 100%;
    }
}

