/* ============================================
   УНИКАЛИЗАЦИЯ ПРОЕКТА: bicrunga.net.nz
   
   CSS АРХИТЕКТУРА: Atomic CSS / Utility-First
   ПАЛИТРА: New Zealand Pacific (pacific-blue, kiwi-green, silver-fern, maori-red, southern-black, wellington-gray)
   ЭФФЕКТ: Neumorphism (soft shadows, embossed cards)
   ТИПОГРАФИКА: Geometric (Montserrat + Poppins)
   КНОПКИ: Gradient Fill (gradient background, no animations)
   JS NAMING: snake_case (age_modal, cookie_banner, mobile_menu)
   HTML: Namespace Style (hero-section, games-section, etc.)
   ============================================ */

/* ============================================
   CSS VARIABLES - NEW ZEALAND PACIFIC THEME
   ============================================ */
:root {
    /* New Zealand Pacific Color Palette */
    --pacific-blue: #aa00d4 ;              /* Pacific Ocean blue */
    --kiwi-green: #3500a8 ;                /* Kiwi fruit green */
    --silver-fern: #c0c0c0;               /* Silver fern silver */
    --maori-red: #ff0000;                  /* Maori red */
    --southern-black: #1a1a1a;            /* Southern night black */
    --wellington-gray: #4a4a4a;           /* Wellington gray */
    --alpine-white: #f5f5f5;              /* Alpine snow white */
    --coast-cyan: #d400c9;                /* Coast cyan */
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Neumorphism Shadows */
    --neuro-shadow-inset: inset 2px 2px 5px #bebebe, inset -2px -2px 5px #ffffff;
    --neuro-shadow-outset: 8px 8px 16px #bebebe, -8px -8px 16px #ffffff;
    --neuro-shadow-pressed: inset 4px 4px 8px #bebebe, inset -4px -4px 8px #ffffff;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Header */
    --header-height: 80px;
}

/* ============================================
   GOOGLE FONTS - GEOMETRIC TYPOGRAPHY
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    width: 100% !important;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--southern-black);
    background: #e4f3ff;
    overflow-x: hidden !important;
    width: 100% !important;
    word-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--pacific-blue);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   ATOMIC CSS UTILITY CLASSES
   ============================================ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }
.px-sm { padding-left: var(--spacing-sm); padding-right: var(--spacing-sm); }
.px-md { padding-left: var(--spacing-md); padding-right: var(--spacing-md); }
.px-lg { padding-left: var(--spacing-lg); padding-right: var(--spacing-lg); }
.py-sm { padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); }
.py-md { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-lg { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }

.m-sm { margin: var(--spacing-sm); }
.m-md { margin: var(--spacing-md); }
.m-lg { margin: var(--spacing-lg); }
.mx-auto { margin-left: auto; margin-right: auto; }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }

.bg-primary { background: var(--pacific-blue); }
.bg-secondary { background: var(--kiwi-green); }
.bg-light { background: #e4f3ff; }

.text-primary { color: var(--pacific-blue); }
.text-secondary { color: var(--kiwi-green); }
.text-white { color: #ffffff; }
.text-dark { color: var(--southern-black); }

.font-heading { font-family: var(--font-heading); }
.font-body { font-family: var(--font-body); }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }

.hidden { display: none; }
.block { display: block; }

/* ============================================
   NEUMORPHISM EFFECT (UNIQUE CSS EFFECT)
   ============================================ */
.neuro-card {
    background: #e4f3ff;
    border-radius: var(--radius-lg);
    box-shadow: var(--neuro-shadow-outset);
    transition: var(--transition-normal);
}

.neuro-card:hover {
    box-shadow: var(--neuro-shadow-inset);
    transform: translateY(2px);
}

.neuro-pressed {
    background: #e4f3ff;
    box-shadow: var(--neuro-shadow-pressed);
}

.neuro-button {
    background: #e4f3ff;
    border-radius: var(--radius-md);
    box-shadow: var(--neuro-shadow-outset);
    transition: var(--transition-fast);
}

.neuro-button:hover {
    box-shadow: var(--neuro-shadow-inset);
    transform: translateY(1px);
}

.neuro-button:active {
    box-shadow: var(--neuro-shadow-pressed);
    transform: translateY(2px);
}

/* ============================================
   GRADIENT FILL BUTTONS
   ============================================ */
.btn-gradient {
    background: linear-gradient(135deg, var(--pacific-blue) 0%, var(--coast-cyan) 100%);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 119, 190, 0.3);
}

.btn-gradient:hover {
    box-shadow: 0 6px 20px rgba(0, 119, 190, 0.4);
}

.btn-gradient:active {
    box-shadow: 0 2px 10px rgba(0, 119, 190, 0.3);
}

.btn-gradient-secondary {
    background: linear-gradient(135deg, var(--kiwi-green) 0%, var(--coast-cyan) 100%);
    box-shadow: 0 4px 15px rgba(0, 168, 107, 0.3);
}

.btn-gradient-secondary:hover {
    box-shadow: 0 6px 20px rgba(0, 168, 107, 0.4);
}

/* ============================================
   LAYOUT - CONTAINER
   ============================================ */
.max-w-1200 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.max-w-800 {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   HEADER
   ============================================ */
.header-section {
    background: #e4f3ff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.header-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--pacific-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.header-nav {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
}

.header-nav-link {
    color: var(--southern-black);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition-normal);
    position: relative;
    padding-bottom: 4px;
}

.header-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pacific-blue);
    transition: width var(--transition-normal);
}

.header-nav-link:hover {
    color: var(--pacific-blue);
}

.header-nav-link:hover::after {
    width: 100%;
}

.header-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    cursor: pointer;
}

.header-burger-line {
    width: 25px;
    height: 3px;
    background: var(--pacific-blue);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu-section {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #e4f3ff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
    padding: var(--spacing-md) 0;
    transform: translateY(-100%);
    transition: transform var(--transition-normal);
}

.mobile-menu-section.active {
    transform: translateY(0);
}

.mobile-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.mobile-menu-link {
    color: var(--southern-black);
    font-weight: 500;
    font-size: 1.1rem;
    padding: var(--spacing-sm) var(--spacing-md);
    display: block;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.mobile-menu-link:hover {
    background: rgba(0, 119, 190, 0.1);
    color: var(--pacific-blue);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: #e4f3ff;
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--pacific-blue);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--wellington-gray);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   GAMES SECTION
   ============================================ */
.games-section {
    padding: var(--spacing-2xl) 0;
    background: #e4f3ff;
}

.games-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pacific-blue);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.game-card {
    background: #e4f3ff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--neuro-shadow-outset);
    transition: var(--transition-normal);
    text-align: center;
}

.game-card:hover {
    box-shadow: var(--neuro-shadow-inset);
    transform: translateY(-5px);
}

.game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--pacific-blue), var(--coast-cyan));
}

.game-card-content {
    padding: var(--spacing-lg);
}

.game-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pacific-blue);
    margin-bottom: var(--spacing-sm);
}

.game-card-description {
    color: var(--wellington-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits-section {
    padding: var(--spacing-2xl) 0;
    background: #e4f3ff;
}

.benefits-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pacific-blue);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.benefit-card {
    background: #e4f3ff;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--neuro-shadow-outset);
    text-align: center;
    transition: var(--transition-normal);
}

.benefit-card:hover {
    box-shadow: var(--neuro-shadow-inset);
    transform: translateY(-3px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--pacific-blue);
    margin-bottom: var(--spacing-sm);
}

.benefit-description {
    color: var(--wellington-gray);
    line-height: 1.6;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: var(--spacing-2xl) 0;
    background: #e4f3ff;
}

.testimonials-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pacific-blue);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.testimonial-card {
    background: #e4f3ff;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--neuro-shadow-outset);
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    box-shadow: var(--neuro-shadow-inset);
    transform: translateY(-3px);
}

.testimonial-text {
    color: var(--wellington-gray);
    font-style: italic;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--pacific-blue);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: var(--spacing-2xl) 0;
    background: #e4f3ff;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pacific-blue);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.faq-item {
    background: #e4f3ff;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--neuro-shadow-outset);
    overflow: hidden;
}

.faq-question {
    padding: var(--spacing-md);
    font-weight: 600;
    color: var(--pacific-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: rgba(0, 119, 190, 0.05);
}

.faq-answer {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--wellington-gray);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-section {
    background: var(--southern-black);
    color: #ffffff;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-column-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--pacific-blue);
    margin-bottom: var(--spacing-md);
}

.footer-link {
    color: #cccccc;
    display: block;
    margin-bottom: var(--spacing-sm);
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--pacific-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--wellington-gray);
    color: #999999;
    font-size: 0.875rem;
}

.footer-compliance {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-compliance-link {
    display: inline-block;
}

.footer-compliance-image {
    height: 50px;
    width: auto;
    background: #ffffff;
    padding: 8px;
    border-radius: var(--radius-sm);
    opacity: 0.9;
    transition: var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-compliance-image:hover {
    opacity: 1;
    border-color: var(--pacific-blue);
    box-shadow: 0 0 10px rgba(0, 119, 190, 0.3);
}

/* ============================================
   MODAL - AGE VERIFICATION
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #e4f3ff;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    max-width: 500px;
    width: 90%;
    box-shadow: var(--neuro-shadow-outset);
    text-align: center;
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pacific-blue);
    margin-bottom: var(--spacing-md);
}

.modal-text {
    color: var(--wellington-gray);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.modal-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--southern-black);
    color: #ffffff;
    padding: var(--spacing-md);
    z-index: 10001;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.active {
    display: block;
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 250px;
}

.cookie-banner-link {
    color: var(--pacific-blue);
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
    
    .header-burger {
        display: flex;
    }
    
    .mobile-menu-section {
        display: block;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .games-title,
    .benefits-title,
    .testimonials-title,
    .faq-title {
        font-size: 2rem;
    }
    
    .btn-gradient {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}


.ybc-articles{
    position:relative;
    overflow:hidden;
    padding:90px 0;
    background:
            radial-gradient(circle at 14% 0%,rgba(255,210,80,.24),transparent 34%),
            radial-gradient(circle at 86% 14%,rgba(0,170,255,.18),transparent 34%),
            linear-gradient(180deg,#f8fbff 0%,#eef5ff 48%,#ffffff 100%);
}

.ybc-articles:before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:.42;
    background-image:
            linear-gradient(rgba(20,40,80,.07) 1px,transparent 1px),
            linear-gradient(90deg,rgba(20,40,80,.07) 1px,transparent 1px);
    background-size:48px 48px;
}

.ybc-articles-inner{
    position:relative;
}

.ybc-articles-head{
    max-width:820px;
    margin:0 auto 44px;
    text-align:center;
}

.ybc-kicker{
    display:inline-flex;
    margin-bottom:14px;
    padding:8px 14px;
    border-radius:999px;
    background:rgba(255,190,40,.18);
    border:1px solid rgba(255,190,40,.34);
    color:#9a6200;
    font-size:13px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.ybc-articles-title{
    margin:0 0 16px;
    color:#141424;
    font-size:clamp(34px,5vw,58px);
    line-height:1.04;
    font-weight:800;
}

.ybc-articles-text{
    margin:0;
    color:#536070;
    font-size:18px;
    line-height:1.75;
}

.ybc-articles-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
}

.ybc-article-card{
    display:flex;
    flex-direction:column;
    min-height:100%;
    padding:28px;
    border-radius:28px;
    background:rgba(255,255,255,.84);
    border:1px solid rgba(20,40,80,.12);
    box-shadow:0 24px 60px rgba(35,55,95,.14);
    backdrop-filter:blur(12px);
}

.ybc-article-date{
    display:inline-flex;
    width:max-content;
    margin-bottom:16px;
    padding:7px 12px;
    border-radius:999px;
    background:rgba(0,150,255,.1);
    border:1px solid rgba(0,150,255,.18);
    color:#0a75c2;
    font-size:13px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.ybc-article-card h3{
    margin:0 0 13px;
    color:#151527;
    font-size:24px;
    line-height:1.18;
}

.ybc-article-card p{
    margin:0 0 22px;
    color:#536070;
    line-height:1.7;
}

.ybc-article-link{
    margin-top:auto;
    display:inline-flex;
    width:max-content;
    align-items:center;
    justify-content:center;
    padding:12px 18px;
    border-radius:999px;
    background:linear-gradient(135deg,#ffd24f,#2eb8ff);
    color:#111526;
    font-weight:800;
    text-decoration:none;
}

.ybc-article-link:hover{
    color:#111526;
    text-decoration:none;
    filter:brightness(1.05);
}

.ybc-hero-note{
    max-width:760px;
    margin:0 auto 2rem;
    color:var(--wellington-gray);
    font-size:1.15rem;
    line-height:1.75;
    text-align:center;
}

.ybc-game-note{
    margin-top:.9rem;
    color:var(--wellington-gray);
    line-height:1.65;
    font-size:.98rem;
}

@media(max-width:900px){
    .ybc-articles-grid{
        grid-template-columns:1fr;
    }
}

.ybc-page-main{
    position:relative;
    overflow:hidden;
    padding:76px 0 96px;
    background:
            radial-gradient(circle at 12% 4%,rgba(255,210,80,.24),transparent 34%),
            radial-gradient(circle at 88% 12%,rgba(0,170,255,.18),transparent 34%),
            linear-gradient(180deg,#f8fbff 0%,#eef5ff 52%,#ffffff 100%);
}

.ybc-page-main:before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:.42;
    background-image:
            linear-gradient(rgba(20,40,80,.07) 1px,transparent 1px),
            linear-gradient(90deg,rgba(20,40,80,.07) 1px,transparent 1px);
    background-size:48px 48px;
    mask-image:linear-gradient(180deg,transparent 0%,#000 14%,#000 86%,transparent 100%);
}

.ybc-page-shell{
    position:relative;
    width:min(960px,calc(100% - 32px));
    margin:0 auto;
    padding:clamp(24px,4vw,56px);
    border-radius:32px;
    background:rgba(255,255,255,.92);
    border:1px solid rgba(20,40,80,.12);
    box-shadow:
            0 28px 82px rgba(35,55,95,.16),
            inset 0 1px 0 rgba(255,255,255,.7);
    color:#151527;
}

.ybc-page-shell:before{
    content:"YouBrightChance guide";
    display:inline-flex;
    width:max-content;
    max-width:100%;
    margin-bottom:22px;
    padding:8px 14px;
    border-radius:999px;
    background:rgba(255,190,40,.18);
    border:1px solid rgba(255,190,40,.34);
    color:#9a6200;
    font-size:13px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.ybc-page-shell h1,
.ybc-page-shell h2,
.ybc-page-shell h3,
.ybc-page-shell h4{
    color:#151527;
    letter-spacing:-.03em;
}

.ybc-page-shell h1{
    max-width:860px;
    margin:0 0 20px;
    font-size:clamp(34px,5vw,62px);
    line-height:1.02;
}

.ybc-page-shell h2{
    position:relative;
    margin:48px 0 16px;
    padding-top:18px;
    font-size:clamp(27px,3.4vw,40px);
    line-height:1.1;
}

.ybc-page-shell h2:before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:92px;
    height:5px;
    border-radius:999px;
    background:linear-gradient(90deg,#ffd24f,#2eb8ff);
}

.ybc-page-shell h3{
    margin:30px 0 12px;
    font-size:clamp(22px,2.4vw,28px);
    line-height:1.18;
    color:#0a75c2;
}

.ybc-page-shell h4{
    margin:24px 0 10px;
    font-size:21px;
}

.ybc-page-shell p{
    margin:0 0 18px;
    color:#536070;
    font-size:17px;
    line-height:1.82;
}

.ybc-page-shell .article-meta{
    display:inline-flex;
    width:max-content;
    max-width:100%;
    margin:0 0 20px;
    padding:7px 12px;
    border-radius:999px;
    background:rgba(0,150,255,.1);
    color:#0a75c2;
    font-size:13px;
    font-weight:800;
}

.ybc-page-shell a{
    color:#0a75c2;
    font-weight:800;
    text-decoration:none;
    border-bottom:1px solid rgba(10,117,194,.34);
}

.ybc-page-shell a:hover{
    color:#151527;
    border-bottom-color:currentColor;
    text-decoration:none;
}

.ybc-page-shell img{
    display:block;
    width:100%;
    height:auto;
    margin:26px 0;
    border-radius:28px;
    border:1px solid rgba(20,40,80,.12);
    box-shadow:0 22px 58px rgba(35,55,95,.16);
}

.ybc-page-shell ul,
.ybc-page-shell ol{
    display:grid;
    gap:12px;
    margin:22px 0 28px;
    padding:0;
    list-style:none;
}

.ybc-page-shell li{
    position:relative;
    padding:15px 16px 15px 50px;
    border-radius:18px;
    background:rgba(255,255,255,.82);
    border:1px solid rgba(20,40,80,.1);
    color:#536070;
    font-size:16.5px;
    line-height:1.65;
    box-shadow:0 10px 26px rgba(35,55,95,.1);
}

.ybc-page-shell ul li:before{
    content:"";
    position:absolute;
    left:18px;
    top:23px;
    width:12px;
    height:12px;
    border-radius:50%;
    background:linear-gradient(135deg,#ffd24f,#2eb8ff);
    box-shadow:0 0 0 5px rgba(46,184,255,.1);
}

.ybc-page-shell ol{
    counter-reset:ybc-counter;
}

.ybc-page-shell ol li{
    counter-increment:ybc-counter;
}

.ybc-page-shell ol li:before{
    content:counter(ybc-counter);
    position:absolute;
    left:14px;
    top:14px;
    width:26px;
    height:26px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#ffd24f;
    color:#151527;
    font-size:13px;
    font-weight:800;
}

.ybc-page-shell table{
    width:100%;
    margin:30px 0;
    border-collapse:separate;
    border-spacing:0;
    overflow:hidden;
    border-radius:24px;
    border:1px solid rgba(20,40,80,.12);
    background:rgba(255,255,255,.9);
    box-shadow:0 18px 42px rgba(35,55,95,.12);
}

.ybc-page-shell th,
.ybc-page-shell td{
    padding:16px;
    text-align:left;
    vertical-align:top;
    border-bottom:1px solid rgba(20,40,80,.1);
    color:#536070;
}

.ybc-page-shell th{
    background:linear-gradient(135deg,rgba(255,210,80,.32),rgba(46,184,255,.18));
    color:#151527;
    font-size:15px;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.ybc-page-shell tr:last-child td{
    border-bottom:0;
}

.ybc-page-shell blockquote{
    margin:32px 0;
    padding:24px 26px;
    border-left:5px solid #2eb8ff;
    border-radius:22px;
    background:rgba(46,184,255,.08);
}

.ybc-page-shell blockquote p{
    margin:0;
    color:#151527;
    font-size:18px;
}

.ybc-page-shell .toc,
.ybc-page-shell .contents,
.ybc-page-shell .table-of-contents{
    margin:26px 0 36px;
    padding:24px;
    border-radius:24px;
    border:1px solid rgba(0,150,255,.18);
    background:
            radial-gradient(circle at 12% 0%,rgba(255,210,80,.22),transparent 34%),
            linear-gradient(135deg,rgba(255,255,255,.9),rgba(238,245,255,.92));
}

.ybc-page-shell .toc strong,
.ybc-page-shell .contents strong,
.ybc-page-shell .table-of-contents strong{
    display:block;
    margin-bottom:14px;
    color:#151527;
    font-size:21px;
}

.ybc-page-shell .toc ol,
.ybc-page-shell .toc ul,
.ybc-page-shell .contents ol,
.ybc-page-shell .contents ul,
.ybc-page-shell .table-of-contents ol,
.ybc-page-shell .table-of-contents ul{
    margin:0;
    display:grid;
    gap:9px;
}

.ybc-page-shell .toc li,
.ybc-page-shell .contents li,
.ybc-page-shell .table-of-contents li{
    padding:0;
    border:0;
    background:transparent;
    box-shadow:none;
}

.ybc-page-shell .toc li:before,
.ybc-page-shell .contents li:before,
.ybc-page-shell .table-of-contents li:before{
    display:none;
}

.ybc-page-shell .author-note,
.ybc-page-shell .note,
.ybc-page-shell .summary-box{
    margin:34px 0 0;
    padding:24px;
    border-radius:24px;
    border:1px solid rgba(0,150,255,.18);
    background:linear-gradient(135deg,rgba(255,210,80,.18),rgba(46,184,255,.12));
}

.ybc-page-shell .author-note p,
.ybc-page-shell .note p,
.ybc-page-shell .summary-box p{
    margin-bottom:0;
}

.ybc-page-related{
    position:relative;
    width:min(960px,calc(100% - 32px));
    margin:28px auto 0;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

.ybc-page-related a{
    display:block;
    padding:20px;
    border-radius:22px;
    background:rgba(255,255,255,.9);
    border:1px solid rgba(20,40,80,.12);
    color:#151527;
    box-shadow:0 16px 38px rgba(35,55,95,.12);
    text-decoration:none;
}

.ybc-page-related a:hover{
    text-decoration:none;
    color:#151527;
}

.ybc-page-related span{
    display:block;
    margin-bottom:8px;
    color:#0a75c2;
    font-size:12px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.06em;
}

.ybc-page-related strong{
    display:block;
    line-height:1.35;
}

@media(max-width:900px){
    .ybc-page-related{
        grid-template-columns:1fr;
    }

    .ybc-page-shell table{
        display:block;
        overflow-x:auto;
    }
}

@media(max-width:640px){
    .ybc-page-main{
        padding:42px 0 58px;
    }

    .ybc-page-shell{
        width:calc(100% - 24px);
        padding:24px 18px;
        border-radius:22px;
    }

    .ybc-page-shell:before{
        width:auto;
        font-size:12px;
        white-space:normal;
    }

    .ybc-page-shell p,
    .ybc-page-shell li{
        font-size:16px;
    }

    .ybc-page-shell li{
        padding-left:44px;
    }
}