:root {
    --color-primary: #11A84E; /* Main */
    --color-secondary: #22C768; /* Auxiliary */
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;

    /* Text colors for light/dark backgrounds */
    --text-on-dark: var(--color-text-main); /* #F2FFF6 */
    --text-on-light: #333333; /* Standard dark text for light backgrounds */
    --background-light: #ffffff; /* Explicitly define a light background for content sections */
}

.page-blog-how-to-register-and-deposit-on-39go99-ios {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-on-dark); /* Default text color for the page, assuming body is dark */
    background-color: var(--color-background); /* Page background from custom palette */
}

/* Hero Section */
.page-blog-how-to-register-and-deposit-on-39go99-ios__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    background-color: var(--color-background); /* Use the deep background color */
    overflow: hidden;
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__hero-image {
    width: 100%;
    height: auto;
    max-height: 700px; /* Limit height for hero image */
    object-fit: cover;
    display: block;
    margin-bottom: 30px; /* Space between image and content */
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1; /* Ensure content is above any background effects */
    color: var(--text-on-dark);
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__main-title {
    font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    color: var(--color-gold); /* Using gold for main title */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__intro-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__btn-primary,
.page-blog-how-to-register-and-deposit-on-39go99-ios__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__btn-primary {
    background: var(--color-button-gradient-start); /* Fallback for browsers without gradient */
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-text-main);
    border: none;
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__btn-secondary {
    background-color: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-text-main);
}

/* Content Section */
.page-blog-how-to-register-and-deposit-on-39go99-ios__content-section {
    background-color: var(--background-light); /* Explicitly light background for content for contrast */
    padding: 50px 0;
    color: var(--text-on-light); /* Dark text on light background */
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__article {
    background-color: var(--background-light); /* Ensure article background is light */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__publish-date {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    text-align: right;
    margin-bottom: 20px;
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__section-title {
    font-size: 2rem;
    color: var(--color-primary); /* Use primary color for section titles */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-blog-how-to-register-and-deposit-on-39go99-ios p {
    margin-bottom: 15px;
    color: var(--text-on-light); /* Ensure paragraph text is dark */
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__list,
.page-blog-how-to-register-and-deposit-on-39go99-ios__numbered-list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-on-light);
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__numbered-list {
    list-style-type: decimal;
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__list-item,
.page-blog-how-to-register-and-deposit-on-39go99-ios__sub-list-item {
    margin-bottom: 10px;
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__sub-list {
    list-style-type: circle;
    margin-left: 20px;
    margin-top: 10px;
    color: var(--text-on-light);
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-blog-how-to-register-and-deposit-on-39go99-ios__faq-container {
    margin-top: 40px;
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__faq-item {
    background-color: var(--color-card-bg); /* Dark card background */
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-on-dark); /* Light text on dark card */
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-text-main);
    list-style: none; /* Hide default marker */
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__faq-qtext {
    flex-grow: 1;
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-gold);
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__faq-item[open] .page-blog-how-to-register-and-deposit-on-39go99-ios__faq-toggle {
    content: "−"; /* Change to minus when open */
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__faq-answer {
    padding: 0 25px 18px 25px;
    font-size: 1rem;
    color: var(--color-text-secondary); /* Secondary text color for answers */
}

.page-blog-how-to-register-and-deposit-on-39go99-ios__faq-answer p {
    margin-bottom: 0;
    color: var(--color-text-secondary); /* Ensure text in answer is secondary color */
}

/* Responsive styles */
@media (max-width: 768px) {
    .page-blog-how-to-register-and-deposit-on-39go99-ios {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-blog-how-to-register-and-deposit-on-39go99-ios__hero-section {
        padding: 10px 15px 40px 15px; /* Adjust padding for mobile */
    }

    .page-blog-how-to-register-and-deposit-on-39go99-ios__hero-image {
        max-height: 400px;
    }

    .page-blog-how-to-register-and-deposit-on-39go99-ios__main-title {
        font-size: 2rem;
    }

    .page-blog-how-to-register-and-deposit-on-39go99-ios__intro-text {
        font-size: 1rem;
    }

    .page-blog-how-to-register-and-deposit-on-39go99-ios__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

    .page-blog-how-to-register-and-deposit-on-39go99-ios__btn-primary,
    .page-blog-how-to-register-and-deposit-on-39go99-ios__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-blog-how-to-register-and-deposit-on-39go99-ios__content-section {
        padding: 30px 0;
    }

    .page-blog-how-to-register-and-deposit-on-39go99-ios__container {
        padding: 0 15px;
    }

    .page-blog-how-to-register-and-deposit-on-39go99-ios__article {
        padding: 20px;
    }

    .page-blog-how-to-register-and-deposit-on-39go99-ios__section-title {
        font-size: 1.5rem;
    }

    .page-blog-how-to-register-and-deposit-on-39go99-ios img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Ensure containers with images/buttons are responsive */
    .page-blog-how-to-register-and-deposit-on-39go99-ios__hero-section,
    .page-blog-how-to-register-and-deposit-on-39go99-ios__content-section,
    .page-blog-how-to-register-and-deposit-on-39go99-ios__container,
    .page-blog-how-to-register-and-deposit-on-39go99-ios__article,
    .page-blog-how-to-register-and-deposit-on-39go99-ios__faq-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}