/**
 * Treasure Hunter Elementor Widgets CSS
 * Main stylesheet for all widgets
 */

/* Common Styles */
.treasure-hunter-section-title {
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
}

/* Game Header Widget */
.treasure-hunter-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.treasure-hunter-title {
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 700;
}

.treasure-hunter-game-image {
    margin-bottom: 20px;
}

.treasure-hunter-game-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.treasure-hunter-game-description {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Game Statistics Widget */
.treasure-hunter-stats-container {
    margin-bottom: 30px;
}

.treasure-hunter-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.treasure-hunter-stat-item {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.treasure-hunter-stat-label {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 5px;
}

.treasure-hunter-stat-value {
    font-size: 18px;
    font-weight: 600;
    color: #ff7800;
}

/* Screenshot Gallery Widget */
.treasure-hunter-screenshots-container {
    margin-bottom: 30px;
}

.treasure-hunter-screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.treasure-hunter-screenshot-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.treasure-hunter-screenshot-item:hover {
    transform: translateY(-5px);
}

.treasure-hunter-screenshot-figure {
    margin: 0;
    position: relative;
}

.treasure-hunter-screenshot-figure img {
    width: 100%;
    height: auto;
    display: block;
}

.treasure-hunter-screenshot-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    margin: 0;
    font-size: 14px;
    text-align: center;
}

/* Screenshot Lightbox */
.treasure-hunter-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.treasure-hunter-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
}

.treasure-hunter-lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 1;
}

.treasure-hunter-lightbox-content {
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.treasure-hunter-lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background-color: #ff7800;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.treasure-hunter-lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: 80vh;
}

.treasure-hunter-lightbox-caption {
    padding: 15px;
    background-color: #fff;
}

.treasure-hunter-lightbox-caption h4 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
}

.treasure-hunter-lightbox-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* About Game Widget */
.treasure-hunter-about-game-container {
    margin-bottom: 30px;
}

.treasure-hunter-provider-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.treasure-hunter-provider-logo {
    margin-right: 15px;
    max-width: 100px;
}

.treasure-hunter-provider-logo img {
    max-width: 100%;
    height: auto;
}

.treasure-hunter-provider-info {
    color: #666;
    font-size: 14px;
}

.treasure-hunter-provider-name,
.treasure-hunter-release-date {
    margin-bottom: 5px;
}

.treasure-hunter-features-container {
    margin-top: 30px;
}

.treasure-hunter-features-title {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

.treasure-hunter-feature-item {
    display: flex;
    margin-bottom: 20px;
}

.treasure-hunter-feature-icon {
    margin-right: 15px;
    color: #ff7800;
    font-size: 20px;
    min-width: 24px;
}

.treasure-hunter-feature-title {
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 600;
    color: #ff7800;
}

.treasure-hunter-feature-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Game Rules Widget */
.treasure-hunter-game-rules-container {
    margin-bottom: 30px;
}

.treasure-hunter-rules-introduction {
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.treasure-hunter-table-of-contents {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.treasure-hunter-toc-title {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.treasure-hunter-toc-list {
    margin: 0;
    padding-left: 20px;
}

.treasure-hunter-toc-item {
    margin-bottom: 10px;
}

.treasure-hunter-toc-item a {
    color: #ff7800;
    text-decoration: none;
}

.treasure-hunter-toc-item a:hover {
    text-decoration: underline;
}

.treasure-hunter-rule-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.treasure-hunter-rule-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.treasure-hunter-rule-title {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
    color: #ff7800;
}

.treasure-hunter-rule-image {
    margin-bottom: 15px;
}

.treasure-hunter-rule-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.treasure-hunter-rule-content {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.treasure-hunter-rule-content ul {
    padding-left: 20px;
}

/* Technical Details Widget */
.treasure-hunter-technical-details-container {
    margin-bottom: 30px;
}

.treasure-hunter-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.treasure-hunter-details-list .treasure-hunter-detail-item {
    margin-bottom: 20px;
}

.treasure-hunter-detail-item {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.treasure-hunter-detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.treasure-hunter-detail-icon {
    margin-right: 10px;
    color: #ff7800;
    font-size: 18px;
}

.treasure-hunter-detail-name {
    color: #6c757d;
    font-size: 14px;
}

.treasure-hunter-detail-value {
    color: #ff7800;
    font-size: 16px;
    font-weight: 600;
}

.treasure-hunter-details-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e1e1e1;
}

.treasure-hunter-details-table th,
.treasure-hunter-details-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #e1e1e1;
}

.treasure-hunter-details-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #6c757d;
}

.treasure-hunter-details-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* Similar Games Widget */
.treasure-hunter-similar-games-container {
    margin-bottom: 30px;
}

.treasure-hunter-similar-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.treasure-hunter-similar-game-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.treasure-hunter-similar-game-item a {
    text-decoration: none;
    color: inherit;
}

.treasure-hunter-game-image img {
    width: 100%;
    height: auto;
    display: block;
}

.treasure-hunter-game-content {
    padding: 15px;
}

.treasure-hunter-game-title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.treasure-hunter-game-provider {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 10px;
}

.treasure-hunter-game-rating {
    color: #ff7800;
    margin-bottom: 10px;
    font-size: 14px;
}

.treasure-hunter-game-rating i {
    margin-right: 2px;
}

.treasure-hunter-rating-value {
    margin-left: 5px;
    font-weight: 600;
}

/* Hover effects */
.treasure-hunter-hover-scale:hover {
    transform: scale(1.05);
}

.treasure-hunter-hover-lift:hover {
    transform: translateY(-10px);
}

.treasure-hunter-hover-glow:hover {
    box-shadow: 0 0 20px rgba(255, 120, 0, 0.5);
}

/* Sticky Play Button Widget */
.treasure-hunter-play-button-wrapper {
    margin: 20px 0;
}

.treasure-hunter-play-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background-color: #ff7800;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(255, 120, 0, 0.3);
    transition: all 0.3s ease;
}

.treasure-hunter-play-button:hover {
    background-color: #e56a00;
    box-shadow: 0 6px 12px rgba(255, 120, 0, 0.4);
}

.treasure-hunter-button-icon {
    display: inline-flex;
    align-items: center;
}

.treasure-hunter-button-icon-before {
    margin-right: 10px;
}

.treasure-hunter-button-icon-after {
    margin-left: 10px;
}

.treasure-hunter-sticky-button {
    position: fixed;
    z-index: 999;
}

.treasure-hunter-sticky-top {
    top: 0;
}

.treasure-hunter-sticky-bottom {
    bottom: 0;
}

.treasure-hunter-sticky-full-width {
    left: 0;
    right: 0;
    text-align: center;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.treasure-hunter-sticky-full-width .treasure-hunter-play-button {
    min-width: 200px;
}

.treasure-hunter-show-on-scroll {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.treasure-hunter-show-on-scroll.treasure-hunter-visible {
    opacity: 1;
    visibility: visible;
}

/* Casino Offers Widget */
.treasure-hunter-casino-offers-container {
    margin-bottom: 30px;
}

.treasure-hunter-casino-offers-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.treasure-hunter-casino-offer {
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.treasure-hunter-exclusive-badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background-color: #ff7800;
    color: #fff;
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 1;
}

.treasure-hunter-casino-offer-content {
    display: flex;
    align-items: center;
    padding: 20px;
}

.treasure-hunter-casino-logo {
    flex: 0 0 80px;
    margin-right: 20px;
}

.treasure-hunter-casino-logo img {
    max-width: 100%;
    height: auto;
}

.treasure-hunter-casino-info {
    flex: 1;
}

.treasure-hunter-casino-name {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
}

.treasure-hunter-casino-rating {
    color: #ff7800;
    margin-bottom: 5px;
    font-size: 14px;
}

.treasure-hunter-welcome-bonus {
    color: #666;
    font-size: 14px;
}

.treasure-hunter-casino-action {
    flex: 0 0 auto;
    margin-left: 20px;
}

.treasure-hunter-claim-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff7800;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.treasure-hunter-claim-button:hover {
    background-color: #e56a00;
}

/* Responsive Styles */
@media only screen and (max-width: 1024px) {
    .treasure-hunter-stats-grid,
    .treasure-hunter-details-grid,
    .treasure-hunter-similar-games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width: 767px) {
    .treasure-hunter-stats-grid,
    .treasure-hunter-screenshots-gallery,
    .treasure-hunter-details-grid,
    .treasure-hunter-similar-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .treasure-hunter-casino-offer-content {
        flex-wrap: wrap;
    }
    
    .treasure-hunter-casino-logo {
        flex: 0 0 60px;
    }
    
    .treasure-hunter-casino-action {
        flex: 0 0 100%;
        margin-left: 0;
        margin-top: 15px;
        text-align: center;
    }
}

@media only screen and (max-width: 480px) {
    .treasure-hunter-stats-grid,
    .treasure-hunter-screenshots-gallery,
    .treasure-hunter-details-grid,
    .treasure-hunter-similar-games-grid {
        grid-template-columns: 1fr;
    }
    
    .treasure-hunter-provider-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .treasure-hunter-provider-logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .treasure-hunter-feature-item {
        flex-direction: column;
    }
    
    .treasure-hunter-feature-icon {
        margin-right: 0;
        margin-bottom: 10px;
        text-align: center;
    }
} 