/* style/slot-games.css */

/* Biến CSS cho màu sắc */
:root {
    --primary-color: #1A2B4C;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #1A2B4C;
    --border-color: #e0e0e0;
}

/* Base styles for the page-slot-games content */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

/* Common Section Styles */
.page-slot-games__section-wrapper,
.page-slot-games__title-container,
.page-slot-games__faq-container,
.page-slot-games__brand-container,
.page-slot-games__blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-slot-games__section-title {
    font-size: 32px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-slot-games__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Video Section */
.page-slot-games__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Adjusted for fixed header */
  background-color: #000;
}

.page-slot-games__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-slot-games__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.page-slot-games__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Prevents video controls from blocking click event */
}

.page-slot-games__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-slot-games__video-link:hover .page-slot-games__video-overlay {
  opacity: 1;
}

.page-slot-games__video-click-hint {
  color: var(--text-light);
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(255, 215, 0, 0.8); /* Using secondary color */
  border-radius: 5px;
  white-space: nowrap;
}

.page-slot-games__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-slot-games__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color); /* Use secondary color for Play Now button */
  color: var(--primary-color); /* Dark text on bright background */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-slot-games__play-now-button:hover {
  background: #e6c200; /* Slightly darker secondary color */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-slot-games__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Title Section */
.page-slot-games__title-section {
    padding-top: 60px; /* Ensure content is below header */
    padding-bottom: 60px;
    background-color: var(--bg-light);
    text-align: center;
}

.page-slot-games__main-title {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-slot-games__title-description {
    font-size: 18px;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-slot-games__btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-slot-games__btn-primary:hover {
    background: #0d1e3a;
    border-color: #0d1e3a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color); /* Dark text on bright background */
    border: 2px solid var(--secondary-color);
}

.page-slot-games__btn-secondary:hover {
    background: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Content Area */
.page-slot-games__content-area {
    padding: 60px 20px;
    background-color: var(--bg-light);
}

.page-slot-games__features-grid,
.page-slot-games__game-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-slot-games__feature-item,
.page-slot-games__game-card {
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.page-slot-games__feature-item:hover,
.page-slot-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-slot-games__feature-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-slot-games__feature-title,
.page-slot-games__game-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__game-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-slot-games__game-title a:hover {
    text-decoration: underline;
}

.page-slot-games__game-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-slot-games__game-description {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.page-slot-games__game-play-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--primary-color); /* Dark text on bright background */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-slot-games__game-play-button:hover {
    background: #e6c200;
}

.page-slot-games__step-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    counter-reset: step-counter;
}

.page-slot-games__step-list li {
    margin-bottom: 20px;
    padding-left: 50px;
    position: relative;
    font-size: 17px;
    color: var(--text-dark);
}

.page-slot-games__step-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.page-slot-games__step-list li p {
    margin: 0;
}

.page-slot-games__step-list li a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-slot-games__step-list li a:hover {
    color: var(--secondary-color);
}

.page-slot-games__advantage-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-slot-games__advantage-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-size: 17px;
    color: var(--text-dark);
}

.page-slot-games__advantage-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 20px;
}

.page-slot-games__cta-block {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games__cta-block-title {
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--text-light);
}

.page-slot-games__cta-block-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
}

.page-slot-games__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--text-light);
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: var(--text-dark);
  background: #fdfdfd;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #fdfdfd;
  border-top: 1px solid var(--border-color);
  border-radius: 0 0 5px 5px;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--text-light);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-slot-games__faq-question:hover {
  background: #f5f5f5;
}

.page-slot-games__faq-question:active {
  background: #eeeeee;
}

.page-slot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  transform: rotate(45deg); /* Optional: rotate for 'x' effect */
  color: var(--secondary-color);
}

/* Brand Section */
.page-slot-games__brand-section {
    padding: 60px 20px;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-slot-games__brand-title {
    font-size: 36px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
}

.page-slot-games__brand-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-slot-games__brand-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

.page-slot-games__brand-subtitle {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__brand-item p {
    font-size: 16px;
    line-height: 1.7;
    color: #f0f0f0;
}

/* Blog Section */
.page-slot-games__blog-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
}

.page-slot-games__blog-title {
    font-size: 32px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-slot-games__blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__blog-item {
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-slot-games__blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-slot-games__blog-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.page-slot-games__blog-thumbnail {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-slot-games__blog-item-title {
    font-size: 20px;
    color: var(--primary-color);
    margin: 20px 20px 10px 20px;
    font-weight: bold;
    line-height: 1.4;
}

.page-slot-games__blog-item-excerpt {
    font-size: 15px;
    color: #666;
    margin: 0 20px 15px 20px;
}

.page-slot-games__blog-item-date {
    display: block;
    font-size: 13px;
    color: #999;
    margin: 0 20px 20px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: 36px;
    }
    .page-slot-games__section-title,
    .page-slot-games__brand-title,
    .page-slot-games__blog-title {
        font-size: 28px;
    }
    .page-slot-games__cta-buttons {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .page-slot-games__video-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .page-slot-games__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }
    
    .page-slot-games__video-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 4px;
        overflow: hidden !important;
    }
    
    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 4px;
        object-fit: contain;
    }
    
    .page-slot-games__video-cta {
        margin-top: 20px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .page-slot-games__play-now-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 30px !important;
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-slot-games__video-click-hint {
        font-size: 14px !important;
        padding: 8px 16px !important;
    }

    .page-slot-games__title-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .page-slot-games__main-title {
        font-size: 28px;
    }
    .page-slot-games__title-description {
        font-size: 16px;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-slot-games__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-slot-games__section-wrapper,
    .page-slot-games__title-container,
    .page-slot-games__faq-container,
    .page-slot-games__brand-container,
    .page-slot-games__blog-container {
        padding: 20px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-slot-games__section-title,
    .page-slot-games__brand-title,
    .page-slot-games__blog-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .page-slot-games__feature-item,
    .page-slot-games__game-card,
    .page-slot-games__blog-item,
    .page-slot-games__brand-item {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-slot-games__feature-icon {
        width: 80px;
        height: 80px;
    }
    .page-slot-games__feature-title,
    .page-slot-games__game-title,
    .page-slot-games__brand-subtitle {
        font-size: 18px;
    }
    .page-slot-games__game-thumbnail {
        height: 150px;
    }
    .page-slot-games__step-list li,
    .page-slot-games__advantage-list li {
        font-size: 15px;
        padding-left: 40px;
    }
    .page-slot-games__step-list li::before {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    .page-slot-games__cta-block {
        padding: 30px 20px;
    }
    .page-slot-games__cta-block-title {
        font-size: 24px;
    }
    .page-slot-games__cta-block-description {
        font-size: 16px;
    }
    .page-slot-games__faq-question {
        padding: 15px;
    }
    .page-slot-games__faq-question h3 {
        font-size: 16px;
    }
    .page-slot-games__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px !important;
    }
    .page-slot-games__blog-thumbnail {
        height: 180px;
    }
    .page-slot-games__blog-item-title {
        font-size: 18px;
        margin-left: 15px;
        margin-right: 15px;
    }
    .page-slot-games__blog-item-excerpt,
    .page-slot-games__blog-item-date {
        margin-left: 15px;
        margin-right: 15px;
    }
    .page-slot-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: 24px;
    }
    .page-slot-games__section-title,
    .page-slot-games__brand-title,
    .page-slot-games__blog-title {
        font-size: 22px;
    }
    .page-slot-games__faq-question h3 {
        font-size: 15px;
    }
    .page-slot-games__cta-block-title {
        font-size: 20px;
    }
    .page-slot-games__blog-item-title {
        font-size: 16px;
    }
}