:root {
    --primary-color: #F2C14E; /* Main brand color */
    --secondary-color: #FFD36B; /* Auxiliary brand color */
    --background-dark: #0A0A0A; /* Page background */
    --card-background: #111111; /* Card background */
    --text-light: #FFF6D6; /* Main text color */
    --border-color: #3A2A12; /* Border color */
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    --header-offset: 120px; /* Default desktop header offset */
}

.page-poker {
    font-family: Arial, sans-serif;
    color: var(--text-light); /* Light text on dark background */
    background-color: var(--background-dark); /* Dark background for the page */
    line-height: 1.6;
    padding-bottom: 60px; /* Ensure content above footer */
}

.page-poker__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-poker__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem); /* Responsive font size */
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-poker__section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-poker__btn-primary,
.page-poker__btn-secondary,
.page-poker__btn-tertiary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-poker__btn-primary {
    background: var(--button-gradient);
    color: #000000; /* Dark text on bright button for contrast */
    border: 2px solid transparent;
}

.page-poker__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-poker__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-poker__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--background-dark); /* Dark text on primary color hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-poker__btn-tertiary {
    background-color: var(--primary-color);
    color: #000000;
    border: none;
    padding: 8px 20px;
    font-size: 0.9rem;
}

.page-poker__btn-tertiary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
}

.page-poker img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-poker__hero-section {
    background: var(--background-dark);
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-poker__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    margin-bottom: 40px;
}

.page-poker__hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem); /* Responsive font size for H1 */
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-poker__hero-description {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-poker__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.page-poker__hero-image {
    width: 100%;
    height: auto;
    border-radius: 0;
    margin-top: 20px;
}

.page-poker__why-spinplus-section,
.page-poker__games-section,
.page-poker__how-to-play-section,
.page-poker__tournaments-section,
.page-poker__bonuses-section,
.page-poker__security-section,
.page-poker__mobile-app-section,
.page-poker__payments-section,
.page-poker__responsible-gaming-section,
.page-poker__testimonials-section,
.page-poker__faq-section,
.page-poker__cta-final-section {
    padding: 80px 0;
}

.page-poker__dark-section {
    background-color: var(--card-background);
}

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

.page-poker__feature-card {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.page-poker__feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--secondary-color));
}

.page-poker__feature-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-poker__feature-text {
    font-size: 1rem;
    color: var(--text-light);
}

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

.page-poker__game-card {
    background-color: var(--card-background);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-poker__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-poker__game-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-poker__game-text {
    font-size: 0.95rem;
    color: var(--text-light);
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-poker__cta-bottom {
    text-align: center;
    margin-top: 60px;
}

.page-poker__cta-bottom .page-poker__btn-primary,
.page-poker__cta-bottom .page-poker__btn-secondary {
    margin: 10px;
}

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

.page-poker__step-card {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    padding-top: 70px;
}

.page-poker__step-number {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--button-gradient);
    color: #000000;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    border: 2px solid var(--primary-color);
}