/* ===== CSS Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== CSS Variables (Design System) ===== */
:root {
    /* Colors - Background */
    --bg-primary: #0E001D;
    --bg-secondary: #1A002E;
    --bg-gradient-hero: linear-gradient(90deg, #410076 0%, #6A00B8 50%, #E100FF 100%);
    
    /* Colors - Text */
    --text-primary: #FFFFFF;
    --text-secondary: #CFC3E6;
    --text-tertiary: #8F7BAF;
    --text-muted: #6A5C84;
    
    /* Colors - Cards & Components */
    --card-bg: linear-gradient(145deg, #2B003F 0%, #19002B 100%);
    --card-border: rgba(255, 255, 255, 0.05);
    
    /* Colors - Buttons */
    --btn-primary-bg: linear-gradient(90deg, #E100FF 0%, #FF007A 100%);
    --btn-primary-hover: linear-gradient(90deg, #FF3EF1 0%, #FF5A94 100%);
    --btn-primary-active: #C3006E;
    --btn-secondary-bg: #1A002E;
    --btn-secondary-border: #6A00B8;
    --btn-secondary-hover-bg: #2B0047;
    --btn-secondary-hover-border: #E100FF;
    
    /* Colors - Accents */
    --accent-pink: #FF007A;
    --accent-gold: #FFD700;
    
    /* Shadows */
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-button-hover: 0 0 12px rgba(255, 0, 122, 0.35);
    --shadow-card-hover: 0 6px 18px rgba(0, 0, 0, 0.4);
    
    /* Border Radius */
    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 16px;
    --radius-button: 9999px;
    
    /* Transitions */
    --transition-button: 150ms ease-in-out;
    --transition-card: 200ms ease-out;
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    /* Layout */
    --container-max-width: 1200px;
    --container-padding: 20px;
}

/* ===== Base Styles ===== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-button);
}

a:hover {
    color: var(--accent-pink);
}

/* ===== Typography ===== */
h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.3;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    line-height: 1.4;
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all var(--transition-button);
    border-radius: var(--radius-button);
    min-width: 60px;
}

.btn-primary {
    background: var(--btn-primary-bg);
    color: var(--text-primary);
    box-shadow: 0 0 8px rgba(255, 0, 122, 0.4);
}

.btn-primary:hover {
    background: var(--btn-primary-hover);
    box-shadow: var(--shadow-button-hover);
    transform: translateY(-2px);
}

.btn-primary:active {
    background: var(--btn-primary-active);
    transform: translateY(0);
}

.btn-secondary {
    background: var(--btn-secondary-bg);
    border: 1px solid var(--btn-secondary-border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--btn-secondary-hover-bg);
    border-color: var(--btn-secondary-hover-border);
}

/* ===== Header ===== */
#main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--card-border);
}

.header-upper {
    padding: 1rem 0;
    background: var(--bg-primary);
}

.header-upper-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: auto;
    width: auto;
}

.header-cta {
    display: flex;
    gap: 1rem;
}

/* Скрыть мобильные кнопки на desktop */
.header-cta-mobile {
    display: none;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    width: 40px;
    height: 40px;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    position: absolute;
    transition: all 0.3s ease;
}

.burger-menu span:nth-child(1) {
    top: 10px;
}

.burger-menu span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.burger-menu span:nth-child(3) {
    bottom: 10px;
}

/* Burger transforms into X when menu is open */
body.menu-open .burger-menu span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

body.menu-open .burger-menu span:nth-child(2) {
    opacity: 0;
}

body.menu-open .burger-menu span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

@media (min-width: 769px) {
    .header-lower {
      display: block;
    }
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    list-style: none;
    flex-wrap: wrap;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color var(--transition-button);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: var(--accent-pink);
}

/* ToC Strip */
.toc-strip {
    background: var(--bg-secondary);
    border-top: 1px solid var(--card-border);
    overflow-x: auto;
    scrollbar-width: none;
}

.toc-strip::-webkit-scrollbar {
    display: none;
}

.toc-nav {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
    white-space: nowrap;
}

.toc-item {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-small);
    transition: all var(--transition-button);
    position: relative;
}

.toc-item:hover,
.toc-item.active {
    color: var(--accent-pink);
    background: rgba(255, 0, 122, 0.1);
}

.toc-item.active {
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 0, 122, 0.2);
}

.toc-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--accent-pink);
    border-radius: 0 3px 3px 0;
}

/* ===== Mobile Menu ===== */
@media (max-width: 768px) {
    .header-upper {
        position: relative;
    }
    
    .header-upper .container {
        display: flex;
        flex-direction: column;
    }
    
    .header-upper-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 0;
        order: 1;
    }
    
    .burger-menu {
        display: flex;
    }
    
    /* Меню раскрывается МЕЖДУ logo/burger и кнопками */
    .header-lower {
        display: none;
        width: 100%;
    }
    
    .header-lower.active {
        display: block;
    }
    
    body.menu-open .header-lower {
        display: block;
        order: 2;
        background: var(--bg-secondary);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin: 0;
    }
    
    /* Скрыть desktop кнопки на мобильных */
    .header-cta-desktop {
        display: none !important;
    }
    
    /* Показать мобильные кнопки на отдельной строке */
    .header-cta-mobile {
        display: flex !important;
        width: 100%;
        gap: 0.75rem;
        padding: 0.75rem 0;
        order: 3;
    }
    
    .header-cta-mobile .btn {
        flex: 1;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        font-weight: 700;
        border-radius: 16px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }
    
    .header-cta-mobile .btn-primary {
        background: linear-gradient(135deg, #FF007A 0%, #FF1493 100%);
        box-shadow: 0 6px 20px rgba(255, 0, 122, 0.4);
    }
    
    .header-cta-mobile .btn-primary:active {
        transform: translateY(2px);
        box-shadow: 0 2px 10px rgba(255, 0, 122, 0.3);
    }
    
    .header-cta-mobile .btn-secondary {
        border-width: 2px;
        border-color: var(--accent-pink);
    }
    
    .header-cta-mobile .btn-secondary:active {
        transform: translateY(2px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    
    .nav-menu li {
        border-bottom: 1px solid var(--card-border);
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
    }
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
    background: var(--bg-secondary);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breadcrumbs .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.breadcrumbs ul {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    list-style: none;
    flex-wrap: wrap;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--accent-pink);
    border-radius: 50%;
    opacity: 0.5;
}

.breadcrumbs li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumbs li a:hover {
    color: var(--accent-pink);
}

.breadcrumbs li a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.breadcrumbs li:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 0.75rem 0;
    }
    
    .breadcrumbs .container {
        padding: 0 1rem;
    }
    
    .breadcrumbs li {
        font-size: 0.8125rem;
    }
}

/* ===== Hero Section ===== */
#hero {
    background: var(--bg-gradient-hero);
    padding: 4rem 0;
}

#hero h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reading-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.reading-time svg {
    width: 16px;
    height: 16px;
}

.fact-checked {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-image {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-image img {
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-card);
    width: 100%;
    object-fit: contain;
}

.btn-hero-cta {
    width: 100%;
    max-width: 300px;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
    }
}

/* ===== Games Section ===== */
#games {
    padding: 4rem 0;
    background: var(--bg-primary);
}

#games h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.game-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-medium);
    padding: 1rem;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-card);
    overflow: hidden;
    cursor: pointer;
}

.game-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.game-card img {
    border-radius: var(--radius-small);
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-card);
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-card h3 {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: 1fr;
        overflow-x: auto;
        display: flex;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding-bottom: 1rem;
    }
    
    .game-card {
        min-width: 280px;
        scroll-snap-align: start;
    }
}

/* ===== Content Sections ===== */
section {
    padding: 3rem 0;
}

section:nth-child(even) {
    background: var(--bg-secondary);
}

.section-image {
    margin: 2rem 0;
    text-align: center;
}

.section-image img {
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-card);
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
}

.content {
    max-width: 900px;
    margin: 0 auto;
}

/* ===== Tables ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--card-bg);
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

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

th {
    background: rgba(255, 0, 122, 0.1);
    color: var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

td {
    color: var(--text-secondary);
}

tr:hover {
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.3s ease;
}

tr:last-child td {
    border-bottom: none;
}

/* Адаптивные таблицы для мобильных */
@media (max-width: 768px) {
    /* Контейнер для горизонтальной прокрутки */
    .content > table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 1.5rem 0;
        border-radius: var(--radius-medium);
    }
    
    table {
        min-width: 600px;
        font-size: 0.85rem;
    }
    
    th, td {
        padding: 0.75rem 0.5rem;
        white-space: nowrap;
    }
    
    th {
        font-size: 0.75rem;
        position: sticky;
        top: 0;
        z-index: 1;
        background: rgba(255, 0, 122, 0.15);
    }
    
    /* Индикатор прокрутки */
    .content > table::after {
        content: '← Przesuń w bok →';
        display: block;
        text-align: center;
        padding: 0.5rem;
        font-size: 0.75rem;
        color: var(--accent-pink);
        background: rgba(255, 0, 122, 0.05);
        border-radius: 0 0 var(--radius-medium) var(--radius-medium);
    }
}

/* ===== Lists ===== */
ul, ol {
    margin: 1rem 0;
    padding-left: 2rem;
    color: var(--text-secondary);
}

ul li, ol li {
    margin-bottom: 0.5rem;
}

/* ===== Steps (Process Section) ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-medium);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-card);
    display: flex;
    gap: 1rem;
}

.step-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.step-index {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--btn-primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-body h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-body p {
    margin: 0;
    font-size: 0.95rem;
}

/* ===== Bonus Slider ===== */
.bonus-slider {
    position: relative;
    margin: 2rem 0;
    padding: 2rem 3rem;
}

.bonus-cards {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 1rem;
    list-style: none;
}

.bonus-cards::-webkit-scrollbar {
    display: none;
}

.bonus-card {
    min-width: 300px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-large);
    padding: 2.5rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-card);
    scroll-snap-align: start;
    transition: all var(--transition-card);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bonus-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.bonus-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-pink);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-button);
    font-size: 0.8rem;
    font-weight: 600;
}

.bonus-title {
    font-size: 1.3rem;
    margin: 0;
}

.bonus-desc {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    margin: 0;
    flex-grow: 1;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 0, 122, 0.2);
    border: 1px solid var(--accent-pink);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-button);
    z-index: 10;
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 0, 122, 0.4);
}

@media (max-width: 768px) {
    .bonus-slider {
        padding: 2rem 0;
    }
    
    .slider-prev,
    .slider-next {
        display: none;
    }
}

/* ===== Pros/Cons Section ===== */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.pros-col, .cons-col {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-medium);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
}

.pros-list, .cons-list {
    list-style: none;
    padding: 0;
}

.pros-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pros-list li::before {
    content: '✓';
    color: #00FF00;
    font-weight: 700;
    font-size: 1.2rem;
}

.cons-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cons-list li::before {
    content: '✗';
    color: #FF0000;
    font-weight: 700;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .pros-cons {
        grid-template-columns: 1fr;
    }
}

/* ===== Author Section ===== */
#author {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.author-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-large);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    display: flex;
    gap: 2rem;
    align-items: center;
}

.author-avatar {
    width: 100px;
    height: 100px;
    min-width: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-pink);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h3 {
    margin-bottom: 0.5rem;
}

.author-info p {
    margin: 0;
    color: var(--text-tertiary);
}

.author-meta {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .author-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== FAQ Section ===== */
#faq {
    padding: 3rem 0;
    background: var(--bg-primary);
}

#faq h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

details {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-medium);
    margin-bottom: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-card);
}

details:hover {
    box-shadow: var(--shadow-card-hover);
}

details[open] {
    background: linear-gradient(145deg, #35004F 0%, #1A002E 100%);
}

summary {
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-pink);
    transition: transform var(--transition-button);
}

details[open] summary::after {
    transform: rotate(45deg);
}

details p {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--card-border);
}

/* ===== Footer ===== */
footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--card-border);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--accent-pink);
}

.footer-payments {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer-payments img {
    height: 30px;
    width: auto;
    opacity: 0.7;
    transition: opacity var(--transition-button);
}

.footer-payments img:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
    margin: 0 auto;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--btn-primary-bg);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-card);
    box-shadow: var(--shadow-card);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    box-shadow: var(--shadow-button-hover);
    transform: translateY(-4px);
}

/* ===== Utility Classes ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.text-center {
    text-align: center;
}

/* ===== Focus Styles (Accessibility) ===== */
*:focus-visible {
    outline: 2px solid var(--accent-pink);
    outline-offset: 2px;
}

button:focus-visible {
    outline-offset: 4px;
}

/* ===== Responsive Images ===== */
@media (max-width: 768px) {
    .section-image img {
        width: 100%;
    }
}

