/* Ultra-Minimalist Style - YogaKiddy */

@import url('https://fonts.googleapis.com/css2?family=Comic+Relief&display=swap');

:root {
    --bg-color: #f5f1ed;
    --text-color: #2a2a2a;
    --accent-color: #b8a892;
    --border-color: #e0d9d0;
    --sage-green: #8ab08a;
    --sage-light: #a8c4a8;
    --coral: #e85a47;
    --warm-orange: #f4a760;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Garamond', serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    padding-top: 45px; /* Offset for the fixed top bar */
}

/* Header & Navigation */
header {
    padding: 1.5rem 0 2rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

/* Top Promo Bar */
.promo-bar {
    background: linear-gradient(to right, #e85a47, #f4a760);
    color: white;
    text-align: center;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.4s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.promo-bar a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.promo-bar strong {
    font-weight: bold;
}

.promo-bar a:hover {
    color: white;
    text-decoration: underline;
}

.promo-bar.hidden {
    transform: translateY(-100%);
}

nav#menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    gap: 1.2rem;
}

.menu-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo-link {
    display: flex;
    align-items: center;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.logo-img {
    height: 48px; 
    width: auto;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

nav#menu a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 13.5px;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
    white-space: nowrap;
}

nav#menu a:hover {
    color: var(--sage-green);
    border-bottom: 1px solid var(--sage-green);
}

/* Main Content */
main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

h1 {
    font-family: 'Comic Relief', cursive;
    font-size: 2.8rem;
    font-weight: normal;
    letter-spacing: 0.5px;
    margin-bottom: 1.2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    color: var(--text-color);
    animation: fadeInUp 0.8s ease-out;
}

main > h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--sage-green);
    margin: 0.8rem auto 0;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3.2rem 3.5rem 3.8rem;
    background: linear-gradient(135deg, #fff9f5 0%, #fff 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    margin: 1rem 0 3.5rem;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background-color: var(--warm-orange);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}

.hero-content {
    flex: 1.2;
    text-align: left;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.82rem;
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    line-height: 1.1;
    text-align: left;
    padding-bottom: 0;
}

.hero h1::after {
    display: none;
}

.hero-subtitle {
    font-family: 'Comic Relief', cursive;
    font-size: 1.3rem;
    color: var(--coral);
    text-align: left;
    margin-bottom: 1.5rem;
    font-weight: normal;
    letter-spacing: 1px;
}

.hero-desc {
    text-align: left;
    font-size: 1.15rem;
    color: #666;
    max-width: 550px;
    margin: 0 0 2.5rem 0;
    line-height: 1.7;
}

.hero-image {
    flex: 1.3;
    position: relative;
    z-index: 1;
}

.hero-caption {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-top: 1.2rem;
    font-style: italic;
    text-align: right;
    letter-spacing: 0.3px;
    padding-right: 1.5rem;
}

.hero-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(184, 168, 146, 0.2);
    transform: rotate(2deg);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 8px solid white;
}

.hero-image:hover img {
    transform: rotate(0deg) scale(1.02);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1.1rem 2.2rem;
    background: linear-gradient(135deg, var(--coral) 0%, #d14937 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Comic Relief', cursive;
    font-size: 1.1rem;
    font-weight: normal;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(232, 90, 71, 0.25);
    border: none;
    cursor: pointer;
}

.btn-thumb {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 25px rgba(232, 90, 71, 0.35);
    color: white;
}

h2 {
    font-family: 'Comic Relief', cursive;
    font-size: 2.2rem;
    font-weight: normal;
    letter-spacing: 0.5px;
    margin-top: 3rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
}

h2::after {
    display: none;
}

h3 {
    font-family: 'Comic Relief', cursive;
    font-size: 1.4rem;
    font-weight: normal;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* Links */
a {
    color: var(--text-color);
    text-decoration: underline;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

a:hover {
    color: var(--sage-green);
    text-decoration-color: var(--sage-green);
}

/* Lists */
ul, ol {
    margin: 1.5rem 0 1.5rem 2rem;
}

li {
    margin-bottom: 0.6rem;
}

li a {
    display: block;
    padding: 0.3rem 0;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    margin: 0;
    display: block;
}

/* Featured image in articles */
main > img:first-of-type {
    margin: 0 -2rem 2rem -2rem;
    max-width: calc(100% + 4rem);
    width: calc(100% + 4rem);
}

/* Other images */
article img,
.post-content img {
    margin: 2rem 0;
    max-width: 100%;
}

/* Image figure wrapper */
figure {
    margin: 2rem 0;
    padding: 0;
}

figcaption {
    font-size: 13px;
    color: #777;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--sage-green);
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 1.2rem;
    cursor: pointer;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    z-index: 999;
}

#back-to-top:hover {
    background-color: #7ba97a;
}

/* Material & Resources Grid */
.material-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.material-grid figure {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.material-grid figure img {
    margin: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.material-grid figure:hover img {
    transform: translateY(-5px);
}

.material-grid figcaption {
    margin-top: 1rem;
    font-size: 13px;
    line-height: 1.5;
    color: #777;
    text-align: center;
}

@media (max-width: 850px) {
    .material-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
        gap: 2.5rem;
    }
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
    font-size: 14px;
}

footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

footer nav a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

footer nav a:hover {
    color: var(--sage-green);
}

footer p {
    font-size: 12px;
    text-align: center;
    margin: 0;
}

/* Highlighted text */
mark {
    background-color: #f0ebe5;
    padding: 0.2em 0.4em;
    border-radius: 2px;
}

/* Statistics Grid - Ultra Compact */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0;
    padding: 0;
}

.stat-item {
    text-align: center;
    padding: 0.7rem;
    background-color: white;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--sage-green);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideInUp 0.6s ease-out both;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.stat-item:nth-child(1) { animation-delay: 0.1s; border-left-color: var(--coral); }
.stat-item:nth-child(2) { animation-delay: 0.2s; border-left-color: var(--warm-orange); }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.stat-number {
    font-family: 'Comic Relief', cursive;
    font-size: 1.6rem;
    font-weight: normal;
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Match number color to accent */
.stat-item:nth-child(1) .stat-number { color: var(--coral); }
.stat-item:nth-child(2) .stat-number { color: var(--warm-orange); }
.stat-item:nth-child(3) .stat-number { color: var(--sage-green); }
.stat-item:nth-child(4) .stat-number { color: var(--sage-green); }

.stat-label {
    font-size: 0.68rem;
    color: #666;
    margin: 0.2rem 0 0;
    letter-spacing: 0.03rem;
    text-transform: uppercase;
    font-weight: 500;
}

/* Formations Grid - Ultra Compact */
.formations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.formation-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    animation: slideInUp 0.7s ease-out both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.formation-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.formation-card:nth-child(1) { animation-delay: 0.2s; }
.formation-card:nth-child(2) { animation-delay: 0.3s; }
.formation-card:nth-child(3) { animation-delay: 0.4s; }

.formation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.formation-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.formation-card:hover img {
    transform: scale(1.05);
}

.formation-card h3 {
    font-family: 'Comic Relief', cursive;
    font-size: 1.1rem;
    font-weight: normal;
    margin: 0.8rem 0 0.3rem 0;
    color: var(--text-color);
    padding: 0 1rem 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.formation-subtitle {
    font-size: 0.7rem;
    color: var(--coral);
    margin: 0;
    padding: 0.1rem 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.formation-description {
    font-size: 0.85rem;
    margin: 0.4rem 0 0.8rem;
    text-align: left;
    line-height: 1.4;
    color: #666;
    flex: 1;
    padding: 0 1rem;
}

.formation-card .cta {
    display: none; /* Replaced by btn-discover */
}



/* Responsive Design */
@media (max-width: 600px) {
    body {
        font-size: 15px;
    }

    main {
        padding: 0 1rem 2rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    nav#menu {
        gap: 1rem;
        font-size: 13px;
    }

    nav#menu a {
        font-size: 12px;
    }

    header {
        padding: 1.5rem 0;
        margin-bottom: 1.5rem;
    }
}

/* Tablet & above */
@media (min-width: 768px) {
    main {
        padding: 0 2rem 3rem;
    }
}

/* Tablet responsive */
@media (max-width: 900px) {
    .formations-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

/* Mobile responsive */
@media (max-width: 600px) {
    .formations-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .formation-card {
        margin-bottom: 0;
    }

    .hero-image img {
        height: 380px;
    }

    #back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* Code blocks (if needed) */
code {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
    background-color: #ede9e4;
    padding: 0.2em 0.4em;
    border-radius: 2px;
}

pre {
    background-color: #ede9e4;
    padding: 1rem;
    border-radius: 2px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

pre code {
    background-color: transparent;
    padding: 0;
}

/* Blockquotes */
blockquote {
    border-left: 2px solid var(--accent-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #777;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

table th,
table td {
    padding: 0.8rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

table th {
    background-color: #ede9e4;
    font-weight: normal;
}

/* Formation Pages - 2 Column Layout */
.formation-page {
    max-width: 1200px;
}

.formation-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

.post-content {
    flex: 1;
}

.formation-sidebar {
    width: 100%;
    align-self: start;
    position: -webkit-sticky;
    position: sticky;
    top: 2rem;
}

.formation-card-sticky {
    position: relative;
    align-self: start;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    background-color: #faf8f5;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.formation-card-sticky h3 {
    font-family: 'Comic Relief', cursive;
    font-size: 0.95rem;
    font-weight: normal;
    margin: 0;
    color: var(--text-color);
    text-align: center;
    border-bottom: 2px solid var(--sage-green);
    padding-bottom: 0.5rem;
}

.info-block {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-block:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    color: #999;
    margin: 0 0 0.15rem 0;
}

.info-value {
    font-size: 0.85rem;
    font-weight: normal;
    color: var(--text-color);
    margin: 0.1rem 0;
}

.info-location {
    font-size: 0.75rem;
    color: #666;
    margin: 0.05rem 0 0.3rem 0;
}

.info-price {
    font-size: 1.1rem;
    font-weight: normal;
    color: var(--sage-green);
    margin: 0.1rem 0;
}

.info-small {
    font-size: 0.7rem;
    color: #999;
    margin: 0.05rem 0;
    font-style: italic;
}

.info-original {
    font-size: 0.7rem;
    color: #bbb;
    text-decoration: line-through;
    margin: 0.05rem 0;
}

.btn-inscription {
    display: block;
    text-align: center;
    background-color: var(--sage-green);
    color: white;
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 0.2rem;
    border: none;
}

.btn-buy {
    background-color: var(--sage-green);
    box-shadow: 0 4px 12px rgba(138, 176, 138, 0.2);
}

.btn-buy:hover {
    background-color: #7ba97a;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(138, 176, 138, 0.3);
    color: white;
}

.btn-login {
    background-color: transparent;
    color: #666;
    border: 1px solid var(--border-color);
    margin-top: 0.6rem;
    font-size: 0.8rem;
}

.btn-login:hover {
    background-color: white;
    border-color: var(--sage-green);
    color: var(--sage-green);
    transform: translateY(-1px);
}

/* Formation Pages Responsive */
@media (max-width: 1000px) {
    .formation-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .formation-sidebar {
        position: static;
        top: auto;
    }

    .formation-card-sticky {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
}

@media (max-width: 600px) {
    .formation-card-sticky {
        padding: 0.7rem;
    }

    .formation-card-sticky h3 {
        font-size: 0.9rem;
    }

    .info-value {
        font-size: 0.8rem;
    }

    .info-price {
        font-size: 1rem;
    }
}

/* Games Grid Layout */
.games-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.game-card {
    display: flex;
    flex-direction: column;
    background-color: #faf8f5;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    animation: slideInUp 0.7s ease-out;
    animation-fill-mode: both;
    padding: 0;
    margin: 0;
}

.game-card:nth-child(1) { animation-delay: 0.2s; }
.game-card:nth-child(2) { animation-delay: 0.3s; }

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    transition: transform 0.6s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

/* Cards Download Page */
.cards-page {
    position: relative;
}

.cards-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 2rem;
    align-items: center;
    margin: 2rem 0 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #faf8f5 0%, #efe6db 100%);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
}

.cards-hero-copy h2 {
    text-align: left;
    margin: 0 0 1rem;
    padding: 0;
}

.cards-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 0.75rem;
}

.cards-eyebrow {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background-color: rgba(232, 90, 71, 0.12);
    color: var(--coral);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cards-free-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    background-color: rgba(138, 176, 138, 0.18);
    border: 1px solid rgba(138, 176, 138, 0.32);
    color: #486848;
    font-size: 0.82rem;
    font-weight: bold;
    letter-spacing: 0.03em;
}

.cards-hero-text {
    max-width: 52ch;
    color: #5f5a54;
    font-size: 1.02rem;
}

.cards-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 1.5rem 0;
}

.cards-hero-btn,
.cards-hero-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.cards-hero-btn {
    background-color: var(--coral);
    color: white;
    box-shadow: 0 12px 24px rgba(232, 90, 71, 0.2);
}

.cards-hero-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(232, 90, 71, 0.24);
}

.cards-hero-link {
    border: 1px solid rgba(42, 42, 42, 0.14);
    background-color: rgba(255, 255, 255, 0.66);
}

.cards-hero-link:hover {
    transform: translateY(-2px);
}

.cards-quickfacts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.cards-quickfacts div {
    padding: 0.95rem 0.8rem;
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(42, 42, 42, 0.08);
    text-align: center;
}

.cards-quickfacts strong,
.cards-quickfacts span {
    display: block;
}

.cards-quickfacts strong {
    font-family: 'Comic Relief', cursive;
    font-size: 1.55rem;
}

.cards-quickfacts span {
    font-size: 0.8rem;
    color: #6c675f;
}

.cards-hero-media {
    position: relative;
}

.cards-hero-media::before {
    content: '';
    position: absolute;
    inset: 8% -8% -10% 18%;
    background: radial-gradient(circle, rgba(244, 167, 96, 0.28), transparent 70%);
    z-index: 0;
}

.cards-hero-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.12));
}

.cards-gallery {
    margin-top: 2rem;
}

.cards-content-media {
    margin: 2.5rem auto 3.5rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
}

.cards-content-media img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid #eee;
}

.cards-content-media figcaption {
    margin-top: 1.2rem;
    font-size: 0.9rem;
    color: #6c675f;
    font-style: italic;
    font-family: inherit;
    text-align: center;
}

.cards-grid-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    list-style: none;
    margin: 1.5rem 0 2rem;
    padding: 0;
}

.cards-grid-list.cards-grid-list--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-grid-list li {
    margin: 0;
}

.cards-grid-list li p {
    min-height: 100%;
    margin: 0;
    padding: 0.95rem 1rem;
    background-color: #faf8f5;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    text-align: left;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.cards-grid-list li p img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 0.8rem;
    object-fit: cover;
}

.cards-download-fab {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0.95rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--coral), var(--warm-orange));
    color: white;
    text-decoration: none;
    box-shadow: 0 16px 30px rgba(232, 90, 71, 0.26);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease, visibility 0.3s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    font-family: 'Comic Relief', cursive;
    font-size: 0.85rem;
}

.cards-download-fab.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.cards-download-fab:hover {
    color: white;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 20px 34px rgba(232, 90, 71, 0.3);
}

@media (max-width: 900px) {
    .cards-hero {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .cards-hero-copy h2 {
        text-align: center;
    }

    .cards-hero-meta {
        justify-content: center;
    }

    .cards-hero-text {
        max-width: none;
        text-align: center;
    }

    .cards-hero-actions {
        justify-content: center;
    }

    .cards-grid-list,
    .cards-grid-list.cards-grid-list--compact {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .cards-quickfacts {
        grid-template-columns: 1fr;
    }

    .cards-grid-list,
    .cards-grid-list.cards-grid-list--compact {
        grid-template-columns: 1fr;
    }

    .cards-download-fab {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
}

.game-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.game-info h2 {
    font-family: 'Comic Relief', cursive;
    font-size: 1.3rem;
    font-weight: normal;
    margin: 0 0 0.8rem 0;
    color: var(--text-color);
    border-bottom: 2px solid var(--sage-green);
    padding-bottom: 0.8rem;
}

.game-info p {
    font-size: 0.95rem;
    margin: 0 0 1rem 0;
    color: #666;
    text-align: left;
    flex: 1;
}

.game-cta {
    display: none; /* Replaced by btn-discover */
}

/* Games Grid Responsive */
@media (max-width: 900px) {
    .games-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .game-image {
        height: 200px;
    }

    .game-info {
        padding: 1.2rem;
    }

    .game-info h2 {
        font-size: 1.1rem;
    }

    .game-info p {
        font-size: 0.9rem;
    }
}

/* Testimonials Carousel */
.testimonials-carousel {
    max-width: 600px;
    margin: 2rem auto;
}

.carousel-container {
    position: relative;
    background-color: #faf8f5;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 2rem;
    min-height: 150px;
}

.carousel-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    animation: fadeIn 0.5s ease-in-out;
}

.carousel-slide.active {
    display: block;
    opacity: 1;
}

.carousel-slide blockquote {
    margin: 0;
    padding: 0;
    border: none;
    font-style: italic;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.carousel-slide blockquote p {
    margin: 0 0 0.8rem 0;
    text-align: left;
}

.carousel-slide blockquote p:last-child {
    margin: 1rem 0 0 0;
    font-weight: normal;
    font-style: normal;
    color: var(--text-color);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.carousel-btn {
    background: none;
    border: none;
    color: var(--sage-green);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.carousel-btn:hover {
    color: #7ba97a;
}

.carousel-dots {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
    padding: 0;
}

.dot.active {
    background-color: var(--sage-green);
}

.dot:hover {
    background-color: #bbb;
}

.carousel-counter {
    font-size: 0.85rem;
    color: #999;
    text-align: center;
    margin-top: 0.8rem;
}

@media (max-width: 600px) {
    .carousel-container {
        padding: 1.5rem;
    }

    .carousel-slide blockquote {
        font-size: 0.9rem;
    }

    .carousel-controls {
        gap: 1rem;
    }

    .carousel-btn {
        font-size: 1rem;
    }
}

/* Image Carousel */
.image-carousel {
    max-width: 700px;
    margin: 2rem auto;
}

.image-carousel .carousel-container {
    min-height: 300px;
    padding: 1rem;
}

.image-carousel .carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
    border-radius: 6px;
}

.carousel-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 1rem;
}

.carousel-thumb {
    border: 1px solid var(--border-color);
    background-color: #faf8f5;
    border-radius: 12px;
    padding: 0.25rem;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    opacity: 0.75;
}

.carousel-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.carousel-thumb.active {
    opacity: 1;
    border-color: rgba(232, 90, 71, 0.45);
    box-shadow: 0 10px 20px rgba(232, 90, 71, 0.12);
}

.carousel-thumb:hover {
    opacity: 1;
    transform: translateY(-1px);
}

/* Responsive - Image Carousel */
@media (max-width: 600px) {
    .image-carousel .carousel-slide img {
        max-height: 300px;
    }

    .carousel-thumbnails {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Responsive Hero */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding: 4rem 2rem;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content, .hero h1, .hero-subtitle, .hero-desc {
        text-align: center;
    }
    
    .hero-desc {
        margin: 0 auto 2.5rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-image img {
        transform: rotate(0deg);
        max-width: 100%;
    }
}

/* Mobile Menu Adjustments */
@media (max-width: 1024px) {
    nav#menu {
        flex-direction: column;
        gap: 1rem;
    }
    .menu-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}



/* NTV Series Card */
.ntv-card {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: #faf8f5;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    align-items: center;
    margin: 3rem 0;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.ntv-card:hover {
    border-color: var(--sage-green);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.ntv-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    transition: transform 0.6s ease;
}

.ntv-card:hover .ntv-img {
    transform: scale(1.05);
}

.ntv-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.ntv-content h3 {
    margin: 0 0 1rem 0;
    font-size: 1.4rem;
    color: var(--text-color);
}

.ntv-desc {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.ntv-cta {
    display: none; /* Replaced by btn-discover */
}

/* New Unified Discover Button */
.btn-discover {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.4rem;
    background-color: var(--sage-green);
    color: white !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
    box-shadow: 0 4px 10px rgba(138, 176, 138, 0.2);
}

.btn-discover::after {
    content: '→';
    transition: transform 0.3s ease;
}

.formation-card:hover .btn-discover,
.game-card:hover .btn-discover,
.ntv-card:hover .btn-discover {
    background-color: #7ba97a;
    transform: translateX(3px);
    box-shadow: 0 6px 15px rgba(138, 176, 138, 0.3);
}

.formation-card:hover .btn-discover::after,
.game-card:hover .btn-discover::after,
.ntv-card:hover .btn-discover::after {
    transform: translateX(3px);
}

/* Specific spacing for button in different cards */
.formation-card .btn-discover {
    margin: 0 1rem 1.2rem;
}

.game-info .btn-discover {
    margin-top: 1rem;
}

.ntv-content .btn-discover {
    margin-top: 1.5rem;
}

/* Contact Cards */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.2rem;
    max-width: 860px;
    margin: 4rem auto;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

.contact-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--coral-accent);
    transform: translateY(-4px);
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-card p {
    font-size: 1rem;
    color: #666;
    margin: 0.5rem 0;
    text-align: center;
}

.contact-card a {
    color: var(--sage-green);
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Profile Image Circle Style */
.profile-img-circle {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    margin: 1.5rem auto 1.5rem;
    display: block;
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .profile-img-circle {
        width: 220px;
        height: 220px;
    }
}


/* Authentic / About Page Image Styles */
.photo-frame {
    background: white;
    padding: 12px 12px 40px 12px;
    box-shadow: 0 15px 35px rgba(184, 168, 146, 0.15);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
    display: inline-block;
    position: relative;
    z-index: 1;
}

.photo-frame img {
    margin: 0 !important;
    border-radius: 0 !important;
    width: 100%;
    display: block;
}

.photo-frame figcaption {
    font-family: 'Comic Relief', cursive;
    margin-top: 15px !important;
    text-align: center;
    color: #555;
    font-size: 0.95rem !important;
    font-style: normal !important;
}

.photo-left {
    float: left;
    margin: 0.5rem 2.5rem 1.5rem 0;
    max-width: 380px;
    transform: rotate(-1.5deg);
}

.photo-right {
    float: right;
    margin: 0.5rem 0 1.5rem 2.5rem;
    max-width: 380px;
    transform: rotate(1.5deg);
}

.photo-center {
    display: block;
    margin: 3rem auto;
    max-width: 600px;
    transform: rotate(0.5deg);
}

.photo-frame:hover {
    transform: rotate(0) scale(1.03);
    z-index: 10;
    box-shadow: 0 20px 45px rgba(184, 168, 146, 0.25);
}

.post-content.authentic-layout {
    overflow: hidden; /* Clearfix */
}

@media (max-width: 850px) {
    .photo-left, .photo-right, .photo-center {
        float: none;
        margin: 2.5rem auto;
        max-width: 100%;
        transform: rotate(-1deg);
        display: block;
    }
}
