/* style/blog-suncity-code-getting-started.css */

/* Variables */
:root {
    --suncity-bg: #08160F;
    --suncity-card-bg: #11271B;
    --suncity-text-main: #F2FFF6;
    --suncity-text-secondary: #A7D9B8;
    --suncity-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --suncity-glow: #57E38D;
    --suncity-gold: #F2C14E;
    --suncity-border: #2E7A4E;
    --suncity-divider: #1E3A2A;
    --suncity-deep-green: #0A4B2C;
}

/* Base styles for the page content, considering dark body background */
.page-blog-suncity-code-getting-started {
    background-color: var(--suncity-bg);
    color: var(--suncity-text-main);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    padding-bottom: 60px; /* Space above footer */
}

.page-blog-suncity-code-getting-started__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-blog-suncity-code-getting-started__hero-section {
    position: relative;
    padding: 10px 0 60px;
    background-color: var(--suncity-deep-green);
    text-align: center;
    overflow: hidden;
}

.page-blog-suncity-code-getting-started__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Adjust as needed for full width hero image */
    margin: 0 auto 20px;
}

.page-blog-suncity-code-getting-started__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    filter: none; /* Ensure no filter is applied */
}

.page-blog-suncity-code-getting-started__hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-blog-suncity-code-getting-started__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--suncity-gold);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-blog-suncity-code-getting-started__hero-description {
    font-size: 1.25rem;
    color: var(--suncity-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-suncity-code-getting-started__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-blog-suncity-code-getting-started__btn-primary,
.page-blog-suncity-code-getting-started__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.page-blog-suncity-code-getting-started__btn-primary {
    background: var(--suncity-btn-gradient);
    color: var(--suncity-text-main);
    border: none;
}

.page-blog-suncity-code-getting-started__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--suncity-glow);
}

.page-blog-suncity-code-getting-started__btn-secondary {
    background: transparent;
    color: var(--suncity-gold);
    border: 2px solid var(--suncity-gold);
}

.page-blog-suncity-code-getting-started__btn-secondary:hover {
    background: var(--suncity-gold);
    color: var(--suncity-bg);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* General Section Styling */
.page-blog-suncity-code-getting-started__section {
    padding: 60px 0;
    text-align: center;
}

.page-blog-suncity-code-getting-started__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--suncity-gold);
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-blog-suncity-code-getting-started__section-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--suncity-text-main);
    margin-bottom: 30px;
    font-weight: 600;
}

.page-blog-suncity-code-getting-started__content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    color: var(--suncity-text-main);
}

.page-blog-suncity-code-getting-started__content-wrapper p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--suncity-text-secondary);
}

.page-blog-suncity-code-getting-started__content-wrapper h3 {
    font-size: 1.8rem;
    color: var(--suncity-gold);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-blog-suncity-code-getting-started__content-wrapper h4 {
    font-size: 1.4rem;
    color: var(--suncity-text-main);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-blog-suncity-code-getting-started__content-wrapper ol,
.page-blog-suncity-code-getting-started__content-wrapper ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-blog-suncity-code-getting-started__content-wrapper ol li,
.page-blog-suncity-code-getting-started__content-wrapper ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--suncity-text-main);
    font-size: 1.1rem;
}

.page-blog-suncity-code-getting-started__content-wrapper ul li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--suncity-glow);
}

.page-blog-suncity-code-getting-started__content-wrapper ol li::before {
    content: counter(list-item) ". ";
    counter-increment: list-item;
    position: absolute;
    left: 0;
    font-weight: bold;
    color: var(--suncity-gold);
}

.page-blog-suncity-code-getting-started__image-block {
    margin: 40px auto;
    max-width: 800px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-blog-suncity-code-getting-started__image {
    width: 100%;
    height: auto;
    display: block;
    filter: none; /* Ensure no filter is applied */
}

/* Card Styling for game categories / features */
.page-blog-suncity-code-getting-started__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-suncity-code-getting-started__card {
    background-color: var(--suncity-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--suncity-border);
    color: var(--suncity-text-main);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-blog-suncity-code-getting-started__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 15px var(--suncity-glow);
}

.page-blog-suncity-code-getting-started__card-image {
    width: 100%;
    min-height: 200px; /* Ensure minimum size */
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    filter: none; /* Ensure no filter is applied */
}

.page-blog-suncity-code-getting-started__card-title {
    font-size: 1.5rem;
    color: var(--suncity-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-blog-suncity-code-getting-started__card-description {
    font-size: 1rem;
    color: var(--suncity-text-secondary);
    line-height: 1.5;
    flex-grow: 1;
}

/* Video Section */
.page-blog-suncity-code-getting-started__video-section {
    padding: 10px 0 60px;
    background-color: var(--suncity-deep-green);
    text-align: center;
}

.page-blog-suncity-code-getting-started__video-container {
    width: 100%; /* Desktop width: 100% */
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-blog-suncity-code-getting-started__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
}

/* FAQ Section */
.page-blog-suncity-code-getting-started__faq-section {
    background-color: var(--suncity-bg);
}

.page-blog-suncity-code-getting-started__faq-list {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.page-blog-suncity-code-getting-started__faq-item {
    background-color: var(--suncity-card-bg);
    border: 1px solid var(--suncity-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: var(--suncity-text-main);
}

.page-blog-suncity-code-getting-started__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    color: var(--suncity-gold);
    transition: background-color 0.3s ease;
}

.page-blog-suncity-code-getting-started__faq-item summary:hover {
    background-color: var(--suncity-deep-green);
}

.page-blog-suncity-code-getting-started__faq-item summary::-webkit-details-marker,
.page-blog-suncity-code-getting-started__faq-item summary::marker {
    display: none;
}

.page-blog-suncity-code-getting-started__faq-question {
    flex-grow: 1;
}

.page-blog-suncity-code-getting-started__faq-toggle {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--suncity-glow);
    margin-left: 15px;
}

.page-blog-suncity-code-getting-started__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--suncity-text-secondary);
}

/* Dark section specific text color */
.page-blog-suncity-code-getting-started__dark-section .page-blog-suncity-code-getting-started__content-wrapper p,
.page-blog-suncity-code-getting-started__dark-section .page-blog-suncity-code-getting-started__content-wrapper ul li {
    color: var(--suncity-text-main);
}

/* Responsive styles */
@media (max-width: 768px) {
    .page-blog-suncity-code-getting-started {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-blog-suncity-code-getting-started__container,
    .page-blog-suncity-code-getting-started__content-wrapper,
    .page-blog-suncity-code-getting-started__faq-list,
    .page-blog-suncity-code-getting-started__card-grid {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-blog-suncity-code-getting-started__hero-section,
    .page-blog-suncity-code-getting-started__video-section,
    .page-blog-suncity-code-getting-started__section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        padding-top: 10px !important;
        padding-bottom: 40px !important;
    }

    .page-blog-suncity-code-getting-started__hero-title {
        font-size: 2rem;
    }

    .page-blog-suncity-code-getting-started__hero-description {
        font-size: 1rem;
    }

    .page-blog-suncity-code-getting-started__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-blog-suncity-code-getting-started__btn-primary,
    .page-blog-suncity-code-getting-started__btn-secondary {
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-blog-suncity-code-getting-started__section-title {
        font-size: 1.8rem;
    }

    .page-blog-suncity-code-getting-started__section-subtitle {
        font-size: 1.3rem;
    }

    .page-blog-suncity-code-getting-started__content-wrapper p,
    .page-blog-suncity-code-getting-started__content-wrapper ol li,
    .page-blog-suncity-code-getting-started__content-wrapper ul li,
    .page-blog-suncity-code-getting-started__faq-answer {
        font-size: 0.95rem;
    }
    
    .page-blog-suncity-code-getting-started__content-wrapper img,
    .page-blog-suncity-code-getting-started__card-image,
    .page-blog-suncity-code-getting-started__hero-image {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-blog-suncity-code-getting-started__video-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-blog-suncity-code-getting-started__video {
        max-width: 100% !important;
        width: 100% !important;
        height: 100% !important;
        display: block !important;
    }

    .page-blog-suncity-code-getting-started__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }
}

/* Ensure no filter on images */
.page-blog-suncity-code-getting-started img {
    filter: none;
}