/* style/fishing-games.css */
/* 
  BEM Naming Convention: .page-fishing-games__element-name
  Colors: Primary #017439, Auxiliary #FFFFFF. Custom: Register/Login #C30808 (bg), #FFFFFF (text).
  Body background from shared.css: #121212 (dark), so text should be light by default.
*/

.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    height: 70vh; /* Responsive height */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-fishing-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-fishing-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* General Section Styling */
.page-fishing-games__section {
    padding: 60px 20px;
    background-color: #1a1a1a; /* Slightly lighter dark background for sections */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__section:nth-of-type(even) {
    background-color: #222222; /* Alternate background for better visual separation */
}

.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand primary color for titles */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-fishing-games__section-title--white {
    color: #ffffff;
}

.page-fishing-games__section-intro {
    font-size: 1.1em;
    color: #e0e0e0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__section-intro--white {
    color: #f0f0f0;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play,
.page-fishing-games__btn-link,
.page-fishing-games__btn-details {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Ensure padding doesn't increase total width */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Break long words */
}

.page-fishing-games__btn-primary {
    background-color: #017439; /* Primary brand color */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-fishing-games__btn-primary:hover {
    background-color: #025c2e;
    border-color: #025c2e;
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #017439;
    border: 2px solid #017439;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

/* Custom button colors for Register/Login, ensuring contrast */
.page-fishing-games__btn-primary--register {
    background-color: #C30808; /* Custom Register color */
    border-color: #C30808;
    color: #FFFFFF; /* Forced white for contrast */
}

.page-fishing-games__btn-primary--register:hover {
    background-color: #a30707;
    border-color: #a30707;
}

.page-fishing-games__btn-secondary--login {
    background-color: transparent;
    border-color: #C30808; /* Custom Login color */
    color: #C30808; /* Text color for login, assuming light background or sufficient contrast */
}

.page-fishing-games__btn-secondary--login:hover {
    background-color: #C30808;
    color: #FFFFFF; /* Forced white for contrast */
}


/* Features Grid */
.page-fishing-games__features-grid,
.page-fishing-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__feature-item {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__feature-item img {
    width: 200px; /* Min size 200px */
    height: 200px; /* Min size 200px */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 10px;
}

.page-fishing-games__feature-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
}

.page-fishing-games__feature-item p {
    color: #cccccc;
}

/* Game List / Cards */
.page-fishing-games__game-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__game-card,
.page-fishing-games__promo-card {
    background-color: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.page-fishing-games__game-image,
.page-fishing-games__promo-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-fishing-games__game-card h3,
.page-fishing-games__promo-card h3 {
    font-size: 1.8em;
    color: #017439;
    margin: 20px 15px 10px;
}

.page-fishing-games__game-card p,
.page-fishing-games__promo-card p {
    color: #cccccc;
    padding: 0 15px 20px;
    flex-grow: 1; /* Make description take available space */
}

.page-fishing-games__btn-play,
.page-fishing-games__btn-details {
    margin: 0 15px 20px;
    width: calc(100% - 30px);
}

.page-fishing-games__cta-center {
    text-align: center;
    margin-top: 50px;
}

/* How To Play Steps */
.page-fishing-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__step-item {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.page-fishing-games__step-title {
    font-size: 1.6em;
    color: #017439;
    margin-bottom: 15px;
}

.page-fishing-games__step-item p {
    color: #cccccc;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-fishing-games__btn-link {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
    width: 100%; /* Full width within step item */
    padding: 12px 20px;
}

.page-fishing-games__btn-link:hover {
    background-color: #025c2e;
    border-color: #025c2e;
}

/* Video Section */
.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
    background-color: #000;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block; /* Ensure video takes full space */
}

.page-fishing-games__video-description {
    color: #cccccc;
    text-align: center;
    font-style: italic;
}

/* Security Section */
.page-fishing-games__security-content,
.page-fishing-games__mobile-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-fishing-games__security-image,
.page-fishing-games__mobile-image {
    flex: 1 1 40%; /* Allows image to grow/shrink */
    min-width: 300px; /* Minimum width for image */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    display: block; /* Ensure block level for width/height */
}

.page-fishing-games__security-list,
.page-fishing-games__mobile-benefits {
    flex: 1 1 50%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-fishing-games__security-list li,
.page-fishing-games__mobile-benefits li {
    background-color: #2a2a2a;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    color: #e0e0e0;
    border-left: 5px solid #017439;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__security-list li strong,
.page-fishing-games__mobile-benefits li strong {
    color: #017439;
}