/* Modern UI stílusok a Treasure Hunter Game Rules szekcióhoz */
:root {
    --primary-color: #FF7E00;
    --primary-dark: #E86C00;
    --primary-light: #FFAC5F;
    --secondary-color: #2089FF;
    --secondary-dark: #0B6ED4;
    --secondary-light: #8BC7FF;
    --success-color: #2ED47A;
    --success-light: #E8F9F1;
    --error-color: #F7685B;
    --error-light: #FEF2F1;
    --info-color: #38BEFF;
    --info-light: #EBF9FF;
    --warning-color: #FFBB33;
    --warning-light: #FFF8EB;
    --gray-100: #F7F9FA;
    --gray-200: #E9EDF0;
    --gray-300: #D1D6DC;
    --gray-400: #B7BDC6;
    --gray-500: #8E959E;
    --gray-600: #646B74;
    --gray-700: #444A52;
    --gray-800: #2C3036;
    --gray-900: #1A1D21;
    --white: #FFFFFF;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    background-color: var(--gray-100);
    color: var(--gray-800);
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Game Rules Section */
.game-rules {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 40px;
    margin: 20px 0;
}

.game-rules h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.rules-description {
    margin-bottom: 30px;
}

.rules-description p {
    font-size: 17px;
    color: var(--gray-700);
    line-height: 1.7;
}

/* Game Features */
.game-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: var(--gray-100);
    border-radius: 12px;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    background-color: var(--primary-color);
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 18px;
    color: var(--white);
}

.feature-text {
    font-size: 16px;
    color: var(--gray-800);
    font-weight: 500;
}

/* Symbols and Features Section */
.symbols-features {
    display: flex;
    gap: 24px;
    margin-bottom: 36px;
}

.symbols-section, .features-section {
    flex: 1;
    background-color: var(--gray-100);
    border-radius: 12px;
    padding: 24px;
}

.symbols-section h2, .features-section h2 {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 20px;
}

.symbols-section h2 i, .features-section h2 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.symbols-section ul, .features-section ul {
    list-style: none;
}

.symbols-section ul li, .features-section ul li {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    font-size: 15px;
}

.symbol {
    font-size: 24px;
    margin-right: 10px;
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
}

.symbol-name {
    font-weight: 500;
    margin-right: 8px;
}

.symbol-value {
    color: var(--gray-600);
    margin-left: auto;
}

/* Strategy Tips */
.strategy-tips {
    background-color: var(--info-light);
    border-radius: 12px;
    padding: 24px;
}

.strategy-tips h2 {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.strategy-tips h2 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.strategy-tips ol {
    margin-left: 20px;
}

.strategy-tips ol li {
    margin-bottom: 12px;
    color: var(--gray-700);
    padding-left: 8px;
}

/* Feature specific colors for icons */
.feature-item:nth-child(1) .feature-icon {
    background-color: var(--primary-color);
}

.feature-item:nth-child(2) .feature-icon {
    background-color: var(--secondary-color);
}

.feature-item:nth-child(3) .feature-icon {
    background-color: var(--warning-color);
}

.feature-item:nth-child(4) .feature-icon {
    background-color: var(--success-color);
}

/* Animated strategy tips highlight */
.strategy-tips.highlight {
    animation: highlightPulse 2s ease;
}

@keyframes highlightPulse {
    0% { box-shadow: 0 0 0 0 rgba(56, 190, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(56, 190, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 190, 255, 0); }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .symbols-features {
        flex-direction: column;
    }
    
    .game-rules {
        padding: 25px;
    }
    
    .symbol {
        font-size: 20px;
        width: 28px;
        height: 28px;
        line-height: 28px;
    }

    .symbols-section h2, 
    .features-section h2,
    .strategy-tips h2 {
        flex-direction: row;
        align-items: center;
        white-space: nowrap;
        font-size: 18px;
    }
    
    .symbols-section h2 i, 
    .features-section h2 i,
    .strategy-tips h2 i {
        margin-right: 8px;
        font-size: 16px;
    }
}

/* Game Rules Widget Styles */
:root {
    --primary-color: #FF7E00;
    --primary-dark: #E86C00;
    --primary-light: #FFAC5F;
    --secondary-color: #2089FF;
    --secondary-dark: #0B6ED4;
    --secondary-light: #8BC7FF;
    --success-color: #2ED47A;
    --success-light: #E8F9F1;
    --error-color: #F7685B;
    --error-light: #FEF2F1;
    --info-color: #38BEFF;
    --info-light: #EBF9FF;
    --warning-color: #FFBB33;
    --warning-light: #FFF8EB;
    --gray-100: #F7F9FA;
    --gray-200: #E9EDF0;
    --gray-300: #D1D6DC;
    --gray-400: #B7BDC6;
    --gray-500: #8E959E;
    --gray-600: #646B74;
    --gray-700: #444A52;
    --gray-800: #2C3036;
    --gray-900: #1A1D21;
    --white: #FFFFFF;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

/* Container Styles */
.elementor-widget-game_rules .container {
    width: 100%;
}

.elementor-widget-game_rules .game-rules {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 40px;
    margin: 20px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    position: relative;
    box-sizing: border-box;
}

/* Title & Description Styles */
.elementor-widget-game_rules .game-rules h1,
.elementor-widget-game_rules .game-rules h2,
.elementor-widget-game_rules .game-rules h3,
.elementor-widget-game_rules .game-rules h4,
.elementor-widget-game_rules .game-rules h5,
.elementor-widget-game_rules .game-rules h6 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
    line-height: 1.2;
}

.elementor-widget-game_rules .rules-description {
    margin-bottom: 30px;
}

.elementor-widget-game_rules .rules-description p {
    font-size: 17px;
    color: var(--gray-700);
    line-height: 1.7;
    margin: 0;
}

/* Game Features Styles */
.elementor-widget-game_rules .game-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.elementor-widget-game_rules .feature-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: var(--gray-100);
    border-radius: 12px;
    transition: var(--transition);
}

.elementor-widget-game_rules .feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.elementor-widget-game_rules .feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    background-color: var(--primary-color);
    flex-shrink: 0;
}

/* Fontawesome ikon méret javítása */
.elementor-widget-game_rules .feature-icon i,
.elementor-widget-game_rules .feature-icon svg {
    font-size: 18px;
    width: 18px !important;
    height: 18px !important;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.elementor-widget-game_rules .feature-text {
    font-size: 16px;
    color: var(--gray-800);
    font-weight: 500;
}

/* Symbols and Features Section Styles */
.elementor-widget-game_rules .symbols-features {
    display: flex;
    gap: 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.elementor-widget-game_rules .symbols-section,
.elementor-widget-game_rules .features-section {
    flex: 1;
    min-width: 250px;
    background-color: var(--gray-100);
    border-radius: 12px;
    padding: 24px;
}

.elementor-widget-game_rules .symbols-section h2,
.elementor-widget-game_rules .features-section h2 {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: none;
}

/* Szekció címek ikonjainak méret javítása */
.elementor-widget-game_rules .symbols-section h2 i,
.elementor-widget-game_rules .features-section h2 i,
.elementor-widget-game_rules .symbols-section h2 svg,
.elementor-widget-game_rules .features-section h2 svg {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 18px;
    width: 18px !important;
    height: 18px !important;
}

.elementor-widget-game_rules .symbols-section ul,
.elementor-widget-game_rules .features-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.elementor-widget-game_rules .symbols-section ul li,
.elementor-widget-game_rules .features-section ul li {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    font-size: 15px;
}

.elementor-widget-game_rules .symbols-section ul li:last-child,
.elementor-widget-game_rules .features-section ul li:last-child {
    margin-bottom: 0;
}

.elementor-widget-game_rules .symbol {
    font-size: 24px;
    margin-right: 10px;
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    flex-shrink: 0;
}

.elementor-widget-game_rules .symbol-name {
    font-weight: 500;
    margin-right: 8px;
    color: var(--gray-800);
}

.elementor-widget-game_rules .symbol-value {
    color: var(--gray-600);
    margin-left: auto;
}

/* Strategy Tips Styles */
.elementor-widget-game_rules .strategy-tips {
    background-color: var(--info-light);
    border-radius: 12px;
    padding: 24px;
}

.elementor-widget-game_rules .strategy-tips h2 {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: none;
}

/* Stratégia tippek ikon méret javítása */
.elementor-widget-game_rules .strategy-tips h2 i,
.elementor-widget-game_rules .strategy-tips h2 svg {
    margin-right: 10px;
    color: var(--secondary-color);
    font-size: 18px;
    width: 18px !important;
    height: 18px !important;
}

.elementor-widget-game_rules .strategy-tips ol {
    margin-left: 20px;
    padding-left: 0;
}

.elementor-widget-game_rules .strategy-tips ol li {
    margin-bottom: 12px;
    color: var(--gray-700);
    padding-left: 8px;
}

.elementor-widget-game_rules .strategy-tips ol li:last-child {
    margin-bottom: 0;
}

/* Feature specific colors for icons */
.elementor-widget-game_rules .feature-item:nth-child(1) .feature-icon {
    background-color: var(--primary-color);
}

.elementor-widget-game_rules .feature-item:nth-child(2) .feature-icon {
    background-color: var(--secondary-color);
}

.elementor-widget-game_rules .feature-item:nth-child(3) .feature-icon {
    background-color: var(--warning-color);
}

.elementor-widget-game_rules .feature-item:nth-child(4) .feature-icon {
    background-color: var(--success-color);
}

/* Animated strategy tips highlight */
.elementor-widget-game_rules .strategy-tips.highlight {
    animation: highlightPulse 2s ease;
}

@keyframes highlightPulse {
    0% { box-shadow: 0 0 0 0 rgba(56, 190, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(56, 190, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 190, 255, 0); }
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .elementor-widget-game_rules .symbols-features {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .elementor-widget-game_rules .symbols-section,
    .elementor-widget-game_rules .features-section {
        flex: 0 0 calc(50% - 12px);
        min-width: 200px;
    }

    .elementor-widget-game_rules .game-rules {
        padding: 30px;
    }
    
    .elementor-widget-game_rules .game-rules h1,
    .elementor-widget-game_rules .game-rules h2,
    .elementor-widget-game_rules .game-rules h3,
    .elementor-widget-game_rules .game-rules h4,
    .elementor-widget-game_rules .game-rules h5,
    .elementor-widget-game_rules .game-rules h6 {
        font-size: 24px;
        margin-bottom: 18px;
        padding-bottom: 14px;
    }
    
    .tablet-layout-column .symbols-features {
        flex-direction: column;
    }
    
    .tablet-layout-column .symbols-section,
    .tablet-layout-column .features-section {
        flex: 1 1 100%;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 767px) {
    .elementor-widget-game_rules .game-rules {
        padding: 25px;
    }

    .elementor-widget-game_rules .feature-icon {
        width: 36px;
        height: 36px;
    }
    
    .elementor-widget-game_rules .feature-icon i,
    .elementor-widget-game_rules .feature-icon svg {
        font-size: 16px;
        width: 16px !important;
        height: 16px !important;
    }
    
    .elementor-widget-game_rules .symbols-features {
        flex-direction: column;
        gap: 16px;
    }
    
    .elementor-widget-game_rules .symbols-section,
    .elementor-widget-game_rules .features-section {
        flex: 1 1 100%;
        padding: 20px;
    }
    
    .elementor-widget-game_rules .symbols-section h2,
    .elementor-widget-game_rules .features-section h2,
    .elementor-widget-game_rules .strategy-tips h2 {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .elementor-widget-game_rules .symbols-section h2 i,
    .elementor-widget-game_rules .features-section h2 i,
    .elementor-widget-game_rules .strategy-tips h2 i,
    .elementor-widget-game_rules .symbols-section h2 svg,
    .elementor-widget-game_rules .features-section h2 svg,
    .elementor-widget-game_rules .strategy-tips h2 svg {
        font-size: 16px;
        width: 16px !important;
        height: 16px !important;
    }
    
    .elementor-widget-game_rules .symbol {
        font-size: 20px;
        width: 28px;
        height: 28px;
        line-height: 28px;
    }
    
    .elementor-widget-game_rules .symbol-name,
    .elementor-widget-game_rules .symbol-value {
        font-size: 14px;
    }
    
    .elementor-widget-game_rules .feature-text {
        font-size: 15px;
    }
    
    .elementor-widget-game_rules .strategy-tips {
        padding: 20px;
    }
    
    .elementor-widget-game_rules .strategy-tips ol li {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .elementor-widget-game_rules .rules-description p {
        font-size: 15px;
    }
}

/* Editor Mode Styles */
.elementor-editor-active .elementor-widget-game_rules .game-rules {
    outline: 1px dashed rgba(0, 0, 0, 0.1);
}

/* Style for RTL */
.rtl .elementor-widget-game_rules .feature-icon {
    margin-right: 0;
    margin-left: 16px;
}

.rtl .elementor-widget-game_rules .symbols-section h2 i,
.rtl .elementor-widget-game_rules .features-section h2 i,
.rtl .elementor-widget-game_rules .strategy-tips h2 i,
.rtl .elementor-widget-game_rules .symbols-section h2 svg,
.rtl .elementor-widget-game_rules .features-section h2 svg,
.rtl .elementor-widget-game_rules .strategy-tips h2 svg {
    margin-right: 0;
    margin-left: 10px;
}

.rtl .elementor-widget-game_rules .symbol {
    margin-right: 0;
    margin-left: 10px;
}

.rtl .elementor-widget-game_rules .symbol-name {
    margin-right: 0;
    margin-left: 8px;
}

.rtl .elementor-widget-game_rules .symbol-value {
    margin-left: 0;
    margin-right: auto;
}

.rtl .elementor-widget-game_rules .strategy-tips ol {
    margin-left: 0;
    margin-right: 20px;
} 