/**
 * SlotsGamblers Hero Search - Frontend Styles
 *
 * @package SlotsGamblersHeroSearch
 * @version 1.0.1
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
.slosgamblersherosearch-wrapper {
    --slosgamblersherosearch-spacing-xs: clamp(0.25rem, 0.3vw, 0.5rem);
    --slosgamblersherosearch-spacing-sm: clamp(0.5rem, 0.6vw, 0.75rem);
    --slosgamblersherosearch-spacing-md: clamp(0.75rem, 0.9vw, 1rem);
    --slosgamblersherosearch-spacing-lg: clamp(1rem, 1.2vw, 1.5rem);
    --slosgamblersherosearch-spacing-xl: clamp(1.25rem, 1.5vw, 2rem);
    --slosgamblersherosearch-spacing-2xl: clamp(1.75rem, 2vw, 2.5rem);
}

/* ============================================
   WRAPPER & CONTAINER
   ============================================ */
.slosgamblersherosearch-wrapper {
    width: 100%;
    max-width: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    box-sizing: border-box;
}

.slosgamblersherosearch-wrapper *,
.slosgamblersherosearch-wrapper *::before,
.slosgamblersherosearch-wrapper *::after {
    box-sizing: border-box;
}

/* ============================================
   HERO HEADER SECTION
   ============================================ */
.slosgamblersherosearch-hero-header {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 50%, #5B21B6 100%);
    padding: var(--slosgamblersherosearch-spacing-xl) var(--slosgamblersherosearch-spacing-2xl);
    position: relative;
    overflow: hidden;
    border-radius: clamp(1.25rem, 1.5vw, 2rem);
    border: 0.0625rem solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 0.25rem 1.5rem rgba(0, 0, 0, 0.3);
}

.slosgamblersherosearch-hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(167, 139, 250, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.slosgamblersherosearch-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ============================================
   HERO CONTENT
   ============================================ */
.slosgamblersherosearch-hero-content {
    color: white;
}

.slosgamblersherosearch-hero-title {
    font-size: clamp(1.75rem, 2vw + 0.5rem, 2.25rem);
    font-weight: 400;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    color: white;
}

.slosgamblersherosearch-hero-title-highlight {
    font-size: clamp(1.75rem, 2vw + 0.5rem, 2.25rem);
    font-weight: 800;
    color: #FCD34D;
    display: block;
}

.slosgamblersherosearch-hero-description {
    font-size: clamp(0.875rem, 0.9vw + 0.3rem, 0.9375rem);
    line-height: 1.5;
    margin: 0 0 var(--slosgamblersherosearch-spacing-lg) 0;
    color: rgba(255, 255, 255, 0.9);
    max-width: 550px;
}

/* ============================================
   SEARCH CONTAINER
   ============================================ */
.slosgamblersherosearch-search-container {
    position: relative;
    max-width: 500px;
}

.slosgamblersherosearch-search-input {
    width: 100%;
    padding: 0.75rem 1.25rem;
    padding-right: 150px;
    border: none;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    color: #1F2937;
    background: rgba(255, 255, 255, 0.95);
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.slosgamblersherosearch-search-input:focus {
    background: white;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
}

.slosgamblersherosearch-search-input::placeholder {
    color: #9CA3AF;
}

.slosgamblersherosearch-search-button {
    position: absolute;
    right: 0.375rem;
    top: 50%;
    transform: translateY(-50%);
    background: #10B981;
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-family: 'Inter', sans-serif;
}

.slosgamblersherosearch-search-button:hover {
    background: #059669;
    transform: translateY(-50%) scale(1.03);
}

/* ============================================
   SVG ICONS
   ============================================ */
.slosgamblersherosearch-svg-icon {
    width: 1rem;
    height: 1rem;
    display: inline-block;
    vertical-align: middle;
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.slosgamblersherosearch-feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.875rem;
}

.slosgamblersherosearch-feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(1rem);
    -webkit-backdrop-filter: blur(1rem);
    border: 0.125rem solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    padding: 1.25rem 0.875rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.slosgamblersherosearch-feature-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-0.25rem);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

.slosgamblersherosearch-feature-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.5rem;
}

.slosgamblersherosearch-feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.slosgamblersherosearch-icon-green {
    background: rgba(16, 185, 129, 0.3);
    color: #10B981;
}

.slosgamblersherosearch-icon-blue {
    background: rgba(59, 130, 246, 0.3);
    color: #3B82F6;
}

.slosgamblersherosearch-icon-orange {
    background: rgba(249, 115, 22, 0.3);
    color: #F97316;
}

.slosgamblersherosearch-feature-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.25rem 0;
}

.slosgamblersherosearch-feature-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin: 0;
}

/* ============================================
   RESPONSIVE - DESKTOP LARGE (1920px+)
   Full container width for 32" displays
   ============================================ */
@media (min-width: 1920px) {
    .slosgamblersherosearch-hero-container {
        max-width: 100%;
    }
}

/* ============================================
   RESPONSIVE - TABLET (max-width: 1200px)
   ============================================ */
@media (max-width: 1200px) {
    .slosgamblersherosearch-hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .slosgamblersherosearch-hero-content {
        text-align: center;
    }

    .slosgamblersherosearch-hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .slosgamblersherosearch-search-container {
        margin: 0 auto;
    }
}

/* ============================================
   RESPONSIVE - TABLET & MOBILE (max-width: 768px)
   Full-width mobile layout with calc(-50vw + 50%)
   3-column card grid
   ============================================ */
@media (max-width: 768px) {
    /* Edge-to-edge mobile full-width technique */
    .slosgamblersherosearch-hero-header {
        padding: var(--slosgamblersherosearch-spacing-lg) var(--slosgamblersherosearch-spacing-md);
        width: 100vw !important;
        max-width: none !important;
        margin-left: calc(-50vw + 50%) !important;
        border-radius: 1.25rem !important;
    }

    /* Override Elementor container constraints */
    .elementor-element .slosgamblersherosearch-hero-header {
        width: 100vw !important;
        max-width: none !important;
        margin-left: calc(-50vw + 50%) !important;
    }

    /* 3-column mobile grid layout */
    .slosgamblersherosearch-feature-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    /* Compact card styling for mobile */
    .slosgamblersherosearch-feature-card {
        padding: 0.625rem 0.375rem;
    }

    .slosgamblersherosearch-feature-icon {
        width: 1.875rem;
        height: 1.875rem;
        font-size: 0.9375rem;
        margin-bottom: 0.375rem;
    }

    .slosgamblersherosearch-feature-icon svg {
        width: 0.9375rem;
        height: 0.9375rem;
    }

    .slosgamblersherosearch-feature-title {
        font-size: 0.6875rem;
        margin-bottom: 0.125rem;
        line-height: 1.2;
    }

    .slosgamblersherosearch-feature-text {
        font-size: 0.625rem;
        line-height: 1.3;
    }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE (max-width: 480px)
   Stacked search button
   ============================================ */
@media (max-width: 480px) {
    .slosgamblersherosearch-search-input {
        padding: 0.75rem 1rem;
        padding-right: 1rem;
    }

    .slosgamblersherosearch-search-button {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 0.5rem;
        justify-content: center;
    }

    .slosgamblersherosearch-search-button:hover {
        transform: scale(1.03);
    }

    .slosgamblersherosearch-search-container {
        display: flex;
        flex-direction: column;
    }
}

/* ============================================
   ELEMENTOR EDITOR PREVIEW FIX
   Ensure visibility in Elementor editor
   ============================================ */
.elementor-editor-active .slosgamblersherosearch-wrapper {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 400px !important;
}

.elementor-editor-active .slosgamblersherosearch-hero-header {
    display: block !important;
    visibility: visible !important;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .slosgamblersherosearch-hero-header {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .slosgamblersherosearch-search-button {
        display: none;
    }
}

