/* Game Review Header - Widget Styles */
:root {
    --primary-color: #FF6B6B;
    --primary-dark: #FF4F4F;
    --primary-light: #FF8787;
    --secondary-color: #4361EE;
    --secondary-dark: #3A56D4;
    --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;
    --text-color: var(--gray-800);
    --light-text: var(--gray-600);
    --background-color: var(--gray-100);
    --white: #fff;
    --border-radius: 16px;
}

/* Reset and Base Styles */
.elementor-widget-game-review-header * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.elementor-widget-game-review-header {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.game-review-header-container {
    width: 100%;
    max-width: 100%;
}

/* Typography */
.game-review-header h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gray-800);
    line-height: 1.2;
    text-align: center;
}

.game-review-header p {
    margin-bottom: 15px;
}

.game-review-header a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.game-review-header a:hover {
    color: var(--secondary-dark);
}

/* Badge Styles */
.game-review-header .badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-right: 8px;
}

.game-review-header .badge.hot {
    background-color: #FF6B6B;
    color: white;
}

.game-review-header .badge.new {
    background-color: #E9EDF0;
    color: #4361EE;
}

/* Buttons */
.game-review-header .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.game-review-header .btn i {
    margin-right: 8px;
    font-size: 0.9rem;
}

.game-review-header .primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.game-review-header .primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    text-decoration: none;
}

.game-review-header .secondary {
    background-color: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.game-review-header .secondary:hover {
    background-color: var(--gray-100);
    color: var(--gray-700);
    text-decoration: none;
}

/* Game Card */
.game-review-header .game-card {
    display: flex;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 0;
}

.game-review-header .game-preview {
    flex: 0 0 45%;
    background: linear-gradient(135deg, #3A56D4, #4361EE);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    position: relative;
    overflow: hidden;
}

.game-review-header .game-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.game-review-header .play-button {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.game-review-header .play-button i {
    color: var(--white);
    font-size: 30px;
    margin-left: 5px;
}

.game-review-header .play-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.game-review-header .game-info {
    flex: 1;
    padding: 30px 25px;
}

.game-review-header .game-badges {
    display: flex;
    margin-bottom: 15px;
    justify-content: center;
}

.game-review-header .game-header {
    margin-bottom: 15px;
    text-align: center;
}

.game-review-header .game-description {
    font-size: 1rem;
    color: var(--light-text);
    margin-bottom: 20px;
    max-width: 90%;
    line-height: 1.5;
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
    margin-left: auto;
    margin-right: auto;
}

.game-review-header .provider-section {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    justify-content: center;
}

.game-review-header .provider-label {
    color: var(--light-text);
    margin-right: 8px;
}

.game-review-header .provider-link {
    font-weight: 500;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}

.game-review-header .provider-link .verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: #4CAF50;
    color: white;
    border-radius: 50%;
    margin-left: 8px;
    font-size: 10px;
}

.game-review-header .action-buttons {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    justify-content: center;
}

/* Game Stats Section */
.game-review-header .game-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 25px;
    background-color: var(--gray-100);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.game-review-header .stat-box {
    flex: 1 1 25%;
    background-color: transparent;
    border-radius: 0;
    padding: 15px 10px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.game-review-header .stat-box:not(:last-child) {
    border-right: 1px solid var(--gray-200);
}

.game-review-header .stat-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.game-review-header .stat-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
    animation: count-up 2s ease-out forwards;
    opacity: 0;
}

.game-review-header .stat-value.rtp {
    color: #FF6B6B;
    animation-delay: 0s;
}

.game-review-header .stat-value.medium {
    color: #4361EE;
    animation-delay: 0.2s;
}

.game-review-header .stat-box:nth-child(3) .stat-value {
    animation-delay: 0.4s;
}

.game-review-header .stat-box:nth-child(4) .stat-value {
    animation-delay: 0.6s;
}

@keyframes count-up {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fix for Elementor editor */
.elementor-editor-active .game-review-header,
.elementor-editor-preview .game-review-header {
    margin: 0;
    width: 100%;
}

/* Media Queries */
@media (max-width: 768px) {
    .elementor-widget-game-review-header {
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        max-width: 100vw !important;
        padding: 0 !important;
    }

    .game-review-header-container {
        width: 100%;
        max-width: 100%;
    }
    
    .game-review-header .game-card {
        flex-direction: column;
        border-radius: 0;
        box-shadow: none;
    }

    .game-review-header .game-preview {
        flex: 0 0 180px;
        min-height: 180px;
        border-radius: 0;
    }

    .game-review-header .game-info {
        padding: 20px 15px;
    }

    .game-review-header h1 {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .game-review-header .game-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
        max-width: 100%;
    }

    .game-review-header .action-buttons {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 15px;
        align-items: center;
    }
    
    .game-review-header .action-buttons .btn {
        width: 90%;
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .game-review-header .btn i {
        font-size: 0.9rem;
    }
    
    .game-review-header .game-provider {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .game-review-header .stat-box {
        flex: 1 1 50%;
    }

    .game-review-header .stat-box:nth-child(1),
    .game-review-header .stat-box:nth-child(2) {
        border-bottom: 1px solid var(--gray-200);
    }

    .game-review-header .stat-box:nth-child(1),
    .game-review-header .stat-box:nth-child(3) {
        border-right: 1px solid var(--gray-200);
    }

    .game-review-header .stat-box:nth-child(2),
    .game-review-header .stat-box:nth-child(4) {
        border-right: none;
    }
    
    .game-review-header .game-stats {
        border-radius: 0;
    }
} 