/**
 * SlotsGamblers Main Content Casinos - Frontend Styles
 * 
 * @package SlotsGamblersMainContentCasinos
 * @version 1.0.0
 */

/* ===== CSS VARIABLES ===== */
:root {
    /* SlotsGamblers Brand Colors */
    --sgmcc-color-purple: #9333EA;
    --sgmcc-color-orange: #FF8C42;
    --sgmcc-color-green: #10B981;
    --sgmcc-color-white: #FFFFFF;
    --sgmcc-color-gray-light: #F7F7F7;
    --sgmcc-color-gray-medium: #E0E0E0;
    --sgmcc-text-primary: #1A1A1A;
    --sgmcc-text-secondary: #6B7280;
    --sgmcc-border-color: #E0E0E0;
    --sgmcc-brand-gradient: linear-gradient(135deg, #9333EA 0%, #FF8C42 100%);
    
    /* Spacing */
    --sgmcc-spacing-xs: 0.25rem;
    --sgmcc-spacing-sm: 0.5rem;
    --sgmcc-spacing-md: 1rem;
    --sgmcc-spacing-lg: 1.5rem;
    --sgmcc-spacing-xl: 2rem;
    --sgmcc-spacing-2xl: 3rem;
    
    /* Border Radius */
    --sgmcc-radius-sm: 0.5rem;
    --sgmcc-radius-xl: 1rem;
}

/* ===== WIDGET WRAPPER ===== */
.sgmcc-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
}

/* ===== CONTAINER ===== */
.sgmcc-container {
    max-width: 60rem;
    width: 100%;
    margin: 0 auto;
}

/* Large Screens (32" monitors) - Full Container Width */
@media (min-width: 1920px) {
    .sgmcc-container {
        max-width: 100% !important;
    }
}

/* Desktop & Tablet - Maintain Full Width */
@media (min-width: 768px) and (max-width: 1919px) {
    .sgmcc-container {
        max-width: 100%;
    }
}

/* ===== MAIN CONTENT CONTAINER ===== */
.sgmcc-main-content {
    background: var(--sgmcc-color-white);
    border: 0.125rem solid var(--sgmcc-border-color);
    border-radius: var(--sgmcc-radius-xl);
    padding: var(--sgmcc-spacing-xl);
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
    position: relative;
}

/* ===== MAIN TITLE ===== */
.sgmcc-main-title {
    font-size: clamp(1.1rem, 2vw + 0.2rem, 1.5rem);
    font-weight: 900;
    color: var(--sgmcc-text-primary);
    margin-bottom: var(--sgmcc-spacing-lg);
    line-height: 1.2;
    margin-top: 0;
}

.sgmcc-main-title.sgmcc-gradient-text {
    background: var(--sgmcc-brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* ===== SECTION TITLES ===== */
.sgmcc-section-title {
    font-size: clamp(0.95rem, 1.5vw + 0.2rem, 1.2rem);
    font-weight: 700;
    color: var(--sgmcc-text-primary);
    margin-bottom: var(--sgmcc-spacing-md);
    margin-top: var(--sgmcc-spacing-xl);
    padding: var(--sgmcc-spacing-md) var(--sgmcc-spacing-lg);
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.08) 0%, rgba(255, 140, 66, 0.08) 100%);
    border-left: 0.25rem solid var(--sgmcc-color-purple);
    border-radius: var(--sgmcc-radius-sm);
    position: relative;
}

.sgmcc-section-title:first-of-type {
    margin-top: 0;
}

.sgmcc-section-icon {
    margin-right: 0.5rem;
    display: inline-block;
}

/* ===== PARAGRAPHS ===== */
.sgmcc-main-content p {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 27px;
    color: var(--sgmcc-text-secondary);
    margin-bottom: var(--sgmcc-spacing-md);
    margin-top: 0;
}

.sgmcc-main-content p:last-child {
    margin-bottom: 0;
}

.sgmcc-main-content p strong {
    color: var(--sgmcc-text-primary);
    font-weight: 700;
}

.sgmcc-main-content p em {
    font-style: italic;
    color: var(--sgmcc-text-primary);
    font-weight: 600;
}

/* ===== CONTENT SECTIONS ===== */
.sgmcc-content-section {
    margin-bottom: var(--sgmcc-spacing-xl);
    padding-bottom: var(--sgmcc-spacing-xl);
    border-bottom: 0.0625rem solid var(--sgmcc-color-gray-medium);
}

.sgmcc-content-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sgmcc-intro-paragraph {
    margin-bottom: var(--sgmcc-spacing-md);
}

.sgmcc-intro-paragraph:last-child {
    margin-bottom: 0;
}

.sgmcc-section-content {
    margin-top: var(--sgmcc-spacing-md);
}

/* ===== RESPONSIVE - TABLET ===== */
@media (min-width: 48rem) and (max-width: 74.9375rem) {
    .sgmcc-container {
        max-width: 100%;
    }

    .sgmcc-main-content {
        max-width: 100%;
    }
}

/* ===== RESPONSIVE - MOBILE (Edge-to-Edge Full Width) ===== */
@media (max-width: 768px) {
    /* Full-width mobile layout using calc(-50vw + 50%) technique */
    .sgmcc-wrapper {
        width: 100vw !important;
        max-width: none !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
        position: relative;
    }

    /* Override Elementor container restrictions */
    .elementor-widget-slotsgamblersmaincontentcasinos .sgmcc-wrapper {
        width: 100vw !important;
        max-width: none !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
    }

    .elementor-element .sgmcc-wrapper {
        width: 100vw !important;
        max-width: none !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
    }

    .sgmcc-container {
        max-width: 100%;
        padding-left: var(--sgmcc-spacing-md);
        padding-right: var(--sgmcc-spacing-md);
    }

    /* Mobile Layout - Border remains visible, compact design */
    .sgmcc-main-content {
        padding: var(--sgmcc-spacing-md);
        border-radius: var(--sgmcc-radius-xl);
        text-align: left !important;
    }

    /* Left-aligned text on mobile */
    .sgmcc-main-title {
        text-align: left !important;
        font-size: 1.1rem;
        margin-bottom: var(--sgmcc-spacing-md);
    }

    .sgmcc-section-title {
        text-align: left !important;
        font-size: 0.85rem;
        padding: var(--sgmcc-spacing-sm) var(--sgmcc-spacing-md);
        margin-top: var(--sgmcc-spacing-md);
        margin-bottom: var(--sgmcc-spacing-sm);
    }

    .sgmcc-main-content p {
        text-align: left !important;
        font-size: 14px;
        line-height: 24px;
    }

    .sgmcc-content-section {
        margin-bottom: var(--sgmcc-spacing-md);
        padding-bottom: var(--sgmcc-spacing-md);
    }
}

/* ===== RESPONSIVE - SMALL MOBILE ===== */
@media (max-width: 30rem) {
    .sgmcc-main-content {
        padding: var(--sgmcc-spacing-sm);
        text-align: left !important;
    }

    .sgmcc-main-title {
        font-size: 0.95rem;
        margin-bottom: var(--sgmcc-spacing-sm);
        text-align: left !important;
    }

    .sgmcc-section-title {
        font-size: 0.8rem;
        margin-top: var(--sgmcc-spacing-sm);
        margin-bottom: var(--sgmcc-spacing-xs);
        padding: 0.375rem 0.5rem;
        text-align: left !important;
    }

    .sgmcc-main-content p {
        font-size: 13px;
        line-height: 22px;
        margin-bottom: var(--sgmcc-spacing-xs);
        text-align: left !important;
    }

    .sgmcc-content-section {
        margin-bottom: var(--sgmcc-spacing-sm);
        padding-bottom: var(--sgmcc-spacing-sm);
    }
}

/* ===== ELEMENTOR EDITOR COMPATIBILITY ===== */
.elementor-editor-active .sgmcc-wrapper {
    min-height: 200px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.elementor-editor-active .sgmcc-main-content {
    display: block !important;
    visibility: visible !important;
}

/* ===== ELEMENTOR WIDGET CONTAINER OVERRIDES ===== */
.elementor-widget-slotsgamblersmaincontentcasinos {
    width: 100%;
}

.elementor-widget-slotsgamblersmaincontentcasinos .elementor-widget-container {
    width: 100%;
    overflow: visible;
}

/* ===== PRINT STYLES ===== */
@media print {
    .sgmcc-main-content {
        border: none;
        box-shadow: none;
        padding: 0;
    }
}

