/* style/game-guides.css */

.page-game-guides {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

.page-game-guides__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-game-guides__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #0A246A, #1a4290);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-game-guides__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-game-guides__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-guides__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    line-height: 1.5;
}

.page-game-guides__hero-btn {
    display: inline-block;
    background-color: #FFD700;
    color: #0A246A;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #FFD700;
}

.page-game-guides__hero-btn:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-game-guides__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.15;
}

.page-game-guides__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%);
}

/* General Section Styling */
.page-game-guides__section {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.page-game-guides__section:nth-of-type(even) {
    background-color: #f0f4f7;
}

.page-game-guides__section-title {
    font-size: 2.5em;
    color: #0A246A;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-game-guides__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-game-guides__sub-title {
    font-size: 1.8em;
    color: #0A246A;
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-game-guides__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555;
}

.page-game-guides__paragraph--emphasis {
    font-weight: bold;
    color: #0A246A;
    text-align: center;
    font-size: 1.2em;
}

.page-game-guides__paragraph--note {
    font-style: italic;
    text-align: center;
    margin-top: 30px;
    color: #777;
}

.page-game-guides__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #555;
}

.page-game-guides__list-item {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-game-guides__cta-btn {
    display: inline-block;
    background-color: #0A246A;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.page-game-guides__cta-btn:hover {
    background-color: #1a4290;
}

/* Why KKWIN Section */
.page-game-guides__why-kkwin .page-game-guides__container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-game-guides__why-kkwin .page-game-guides__list {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.page-game-guides__why-kkwin .page-game-guides__list-item {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-game-guides__why-kkwin .page-game-guides__list-item::before {
    content: '✓';
    color: #FFD700;
    font-weight: bold;
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: -5px;
}

.page-game-guides__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-game-guides__image--left {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
    width: 40%;
}

.page-game-guides__image--right {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
    width: 40%;
}

.page-game-guides__image--center {
    display: block;
    margin: 40px auto;
    width: 60%;
}

/* Game Categories Grid */
.page-game-guides__category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-game-guides__category-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.page-game-guides__category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-game-guides__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-game-guides__card-title {
    font-size: 1.6em;
    color: #0A246A;
    margin-bottom: 15px;
    padding: 0 15px;
}

.page-game-guides__card-description {
    font-size: 1em;
    color: #666;
    padding: 0 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-game-guides__card-link {
    display: inline-block;
    background-color: #FFD700;
    color: #0A246A;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.page-game-guides__card-link:hover {
    background-color: #e6c200;
}

/* CTA Buttons */
.page-game-guides__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-game-guides__cta-btn--primary {
    background-color: #FFD700;
    color: #0A246A;
    border: 2px solid #FFD700;
}

.page-game-guides__cta-btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-game-guides__cta-btn--secondary {
    background-color: #0A246A;
    color: #fff;
    border: 2px solid #0A246A;
}

.page-game-guides__cta-btn--secondary:hover {
    background-color: #1a4290;
    border-color: #1a4290;
}

/* Detail Pages List */
.page-game-guides__detail-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
}

.page-game-guides__detail-item {
    background-color: #fcfcfc;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-game-guides__detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-game-guides__detail-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-game-guides__detail-title a {
    color: #0A246A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-guides__detail-title a:hover {
    color: #FFD700;
}

.page-game-guides__detail-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 1em;
}

.page-game-guides__detail-btn {
    display: inline-block;
    background-color: #FFD700;
    color: #0A246A;
    padding: 8px 18px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
}

.page-game-guides__detail-btn:hover {
    background-color: #e6c200;
}

/* Responsive Design */
@media (min-width: 768px) {
    .page-game-guides__why-kkwin .page-game-guides__container {
        flex-direction: row;
        align-items: center;
    }
    .page-game-guides__hero {
        padding: 100px 20px;
    }
    .page-game-guides__hero-title {
        font-size: 4.5em;
    }
    .page-game-guides__hero-description {
        font-size: 1.5em;
    }
    .page-game-guides__image--left {
        width: 35%;
        margin-right: 40px;
    }
    .page-game-guides__image--right {
        width: 35%;
        margin-left: 40px;
    }
    .page-game-guides__image--center {
        width: 50%;
    }
    .page-game-guides__detail-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .page-game-guides__hero {
        padding: 120px 20px;
    }
    .page-game-guides__hero-title {
        font-size: 5em;
    }
    .page-game-guides__hero-description {
        font-size: 1.6em;
    }
    .page-game-guides__category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .page-game-guides__detail-list {
        grid-template-columns: repeat(3, 1fr);
    }
    .page-game-guides__image--left,
    .page-game-guides__image--right {
        width: 30%;
    }
}

@media (max-width: 767px) {
    .page-game-guides__hero-title {
        font-size: 2.5em;
    }
    .page-game-guides__hero-description {
        font-size: 1em;
    }
    .page-game-guides__section-title {
        font-size: 2em;
    }
    .page-game-guides__paragraph {
        font-size: 1em;
    }
    .page-game-guides__image--left,
    .page-game-guides__image--right,
    .page-game-guides__image--center {
        float: none;
        margin-left: auto;
        margin-right: auto;
        width: 90%;
    }
    .page-game-guides__why-kkwin .page-game-guides__container {
        flex-direction: column;
    }
    .page-game-guides__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-game-guides__cta-btn {
        width: 80%;
    }
}