:root {
    --max-w: 1200px;
    --accent: #E53935;
    /* Changed from orange to red */
    --muted: #6b7280;
    --bg: #f7f7f8;
    --card: #ffffff;
    --radius: 12px;
    --container-pad: 18px;
    --shadow: 0 6px 20px rgba(11, 22, 40, 0.06);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
}

body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    margin: 0;
    background: var(--bg);
    color: #111827;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.45;
    overflow-x: hidden;
}

/* --- NEW: Golden Headings Rule --- */
.platforms h2,
.rating-table-container h2,
.top-platforms-list h2,
.key-benefits-card h2,
.info-card h3,
.faq-card h2,
.testimonials-section h2,
.bio-content h2 {
    color: #DAA520;
}

/* --- NEW: Dark Golden Subheadings Rule --- */
.platform-body h3,
.benefit-text-content h4,
.step-item h4 {
    color: #B8860B;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 22px var(--container-pad);
}

/* ---------- MOBILE MENU STYLES ---------- */

/* Hamburger Icon */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 26px;
    height: 3px;
    background-color: #333;
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* Animated X effect when opened */
.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #e6e7eb;
    position: sticky;
    top: 0;
    z-index: 40;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 200px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.header-actions .btn {
    margin-left: 8px;
}

/* ✅ Normalized Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-align: center;
    box-sizing: border-box;
    background: none;
    line-height: 1;
    appearance: none;
}

.btn,
.btn:link,
.btn:visited {
    text-decoration: none;
    /* color: inherit; */
    font-family: inherit;
}

/* Primary button */
.btn-primary {
    background: var(--accent);
    color: #fff;
    border: none;
}

/* Outline button */
.btn-outline {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: #fff;
}

.btn-sm {
    padding: 6px 10px;
    font-size: 0.9rem;
}

.btn-cta {
    background: var(--accent);
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .header-actions {
        position: absolute;
        top: 64px;
        right: 20px;
        background: #fff;
        flex-direction: column;
        padding: 0;
        border-radius: 10px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        overflow: hidden;

        /* ✅ Transition animation */
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    /* ✅ When active, it slides down smoothly */
    .header-actions.active {
        max-height: 500px;
        /* enough space for buttons */
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        padding: 12px;
    }

    .header-actions .btn {
        width: 100%;
        text-align: center;
        margin: 6px 0;
    }
}

/* ---------- HERO SECTION ---------- */
.hero {
    height: 100vh;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-image: url('Images/chickenroad.avif');
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hero .container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    align-items: center;
    background-color: rgba(0, 0, 0, 0.65);
    text-align: center;
    padding: 20px;
    max-width: none;
}

.hero h1 {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    max-width: 800px;
}

.hero .lead {
    color: #e0e0e0;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.hero .btn-cta {
    background: var(--accent);
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1;
}

.hero .btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}

/* ---------- CONTENT STYLES ---------- */

.bio-card {
    background-color: var(--card);
    border: none;
    border-radius: var(--radius);
    padding: 24px 32px;
    max-width: var(--max-w);
    margin: 40px auto 20px;
    box-shadow: var(--shadow);
}

.last-updated {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0 0 20px 0;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
}

.author-role {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
}

.read-more-link {
    display: block;
    background-color: #d1e7fd;
    color: #0d6efd;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 24px;
    transition: background-color 0.2s ease-in-out;
}

.read-more-link:hover {
    background-color: #bde0fe;
}

.arrow-icon {
    display: inline-block;
    font-weight: bold;
}

.bio-content.hidden {
    display: none;
}

.bio-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 16px;
}

.bio-content p {
    color: #495057;
    margin: 0 0 1rem 0;
}

.bio-content strong {
    color: #000;
    font-weight: 600;
}

blockquote {
    margin: 24px 0;
    padding: 16px 20px;
    background-color: #f8f9fa;
    border-left: 4px solid #9b59b6;
}

blockquote p {
    margin: 0;
    font-size: 0.95rem;
    color: #343a40;
}

/* ---------- PLATFORM STYLES ---------- */

.platforms {
    padding: 10px 0;
}

.platforms h2 {
    text-align: center;
    margin-bottom: 16px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 14px;
}

.slider-container {
    display: none;
}

.platform-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.platform-thumb {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.platform-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.platform-body h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.meta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 0.95rem;
}

.card-actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
}

.btn-claim {
    background-color: var(--accent);
    color: #fff;
}

/* ---------- FOOTER ---------- */

.site-footer {
    padding: 22px 0;
    border-top: 1px solid #e6e7eb;
    background: #fff;
}

.site-footer p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.rating-table-container {
    background-color: var(--card);
    border-radius: var(--radius);
    padding: 24px 32px;
    margin-top: 10px;
    border: none;
    box-shadow: 0 8px 25px rgba(11, 22, 40, 0.1);
}

.rating-table-container h2 {
    font-size: 1.75rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.rating-table-container p {
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.rating-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #e6e7eb;
    box-shadow: none;
}

.rating-table thead tr {
    background-color: #4C2A4C;
    color: #ffffff;
}

.rating-table th,
.rating-table td {
    padding: 16px;
    border-bottom: 1px solid #e6e7eb;
    text-align: left;
}

.rating-table th:first-child,
.rating-table td:first-child {
    width: 25%;
}

.rating-table th[scope="row"] {
    font-weight: 600;
    color: #111827;
}

.rating-table tbody td {
    color: var(--muted);
    background-color: var(--card);
}

.rating-table tbody tr:last-child td,
.rating-table tbody tr:last-child th {
    border-bottom: none;
}

.top-platforms-list-section {
    padding-top: 10px;
    padding-bottom: 20px;
}

.top-platforms-list {
    background-color: #f9f4ff;
    border: 1px solid #e9d8ff;
    border-radius: var(--radius);
    padding: 24px 32px;
    box-shadow: var(--shadow);
}

.top-platforms-list h2 {
    font-size: 1.75rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.top-platforms-list p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 1rem;
}

.key-benefits-card {
    background-color: #f9f4ff;
    border: 1px solid #e9d8ff;
    border-radius: var(--radius);
    padding: 24px 32px;
    margin-top: 20px;
    box-shadow: var(--shadow);
}

.key-benefits-card h2 {
    font-size: 1.75rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.key-benefits-card>p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 2.5rem;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-image-wrapper {
    flex-shrink: 0;
}

.benefit-image-wrapper img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.benefit-text-content h4 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.benefit-text-content p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.info-card {
    background-color: #f9f4ff;
    border: 1px solid #e9d8ff;
    border-radius: var(--radius);
    padding: 24px 32px;
    margin-top: 20px;
    box-shadow: var(--shadow);
}

.info-card h3 {
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--muted);
    line-height: 1.7;
    margin-top: 0;
    margin-bottom: 1rem;
}

.step-guide {
    margin-top: 1.5rem;
    border-top: 1px solid #e9d8ff;
    padding-top: 1.5rem;
}

.step-item {
    margin-bottom: 1.5rem;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.step-item p {
    margin: 0;
}

.faq-card {
    background-color: #f9f4ff;
    border-radius: var(--radius);
    padding: 24px 32px;
    margin-top: 20px;
    box-shadow: var(--shadow);
}

.faq-card h2 {
    font-size: 1.75rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0d1f0;
    transition: border-color 0.2s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background-color: #f3e8ff;
    color: #4C2A4C;
    padding: 16px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-align: left;
    line-height: 1.4;
    word-break: break-word;
}

.faq-question::-webkit-details-marker,
.faq-question {
    list-style: none;
}

.faq-question::after {
    content: "▾";
    font-size: 1.5em;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
    background-color: #fff;
}

.faq-answer>div {
    overflow: hidden;
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.faq-item[open] {
    border-color: #4C2A4C;
}

.faq-item[open]>.faq-question {
    background-color: #4C2A4C;
    color: #fff;
}

.faq-item[open]>.faq-question::after {
    transform: rotate(-180deg);
}

.faq-item[open]>.faq-answer {
    grid-template-rows: 1fr;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonials-section {
    padding-top: 20px;
    padding-bottom: 40px;
}

.testimonials-section h2 {
    font-size: 1.75rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background-color: var(--card);
    border: 1px solid #f3f4f6;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.testimonial-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.testimonial-author h4 {
    margin: 0 0 4px;
    font-size: 1.1rem;
    color: #111827;
}

.star-rating {
    color: #a855f7;
}

.star-rating .star-muted {
    color: #d8b4fe;
}

.testimonial-body blockquote {
    margin: 0;
}

.testimonial-body p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .bio-card {
        padding: 16px;
    }

    .benefit-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .key-benefits-card {
        padding: 24px 16px;
    }

    .cards-grid {
        display: none;
    }

    .slider-container {
        display: block;
        position: relative;
        width: 100%;
        margin: 10px auto 20px;
        overflow: hidden;
    }

    .slider-wrapper {
        transition: transform 0.3s ease;
        display: flex;
        will-change: transform;
        cursor: grab;
    }

    .slider-wrapper:active {
        cursor: grabbing;
    }


    .slide {
        min-width: 100%;
        box-sizing: border-box;
        padding: 0 10px;
    }

    .slide .platform-card {
        width: 100%;
        margin: 0;
    }

    .slider-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 30%;
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        border: none;
        padding: 0;
        border-radius: 50%;
        cursor: pointer;
        z-index: 10;
        width: 40px;
        height: 40px;
        font-size: 24px;
        line-height: 1;
        transition: background-color 0.2s ease;
    }

    .slider-btn:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

    .slider-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

    .slider-btn.prev {
        left: 20px;
    }

    .slider-btn.next {
        right: 20px;
    }

    .slider-dots {
        text-align: center;
        padding-top: 15px;
    }

    .dot {
        cursor: pointer;
        height: 12px;
        width: 12px;
        margin: 0 5px;
        background-color: #ccc;
        border-radius: 50%;
        display: inline-block;
        transition: background-color 0.3s ease;
    }

    .dot.active,
    .dot:hover {
        background-color: var(--accent);
    }
}