/*
Theme Name: AI News 2026
Theme URI: https://ai-news.node-lab.ru
Author: AI News Team
Author URI: https://ai-news.node-lab.ru
Description: Ultra-modern AI news portal with Bento grids, Glassmorphism, and AI-powered features. Dark theme with neon accents.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ai-news-2026
Tags: news, dark-theme, custom-menu, featured-images, theme-options, bento-grid
*/

/* ============================================
   AI NEWS 2026 — MAIN STYLES
   Ultra-modern Dark Theme with Neon Accents
   ============================================ */

:root {
    /* Colors - Deep Space Dark */
    --color-bg-primary: #0D0D0D;
    --color-bg-secondary: #1A1A2E;
    --color-bg-tertiary: #16213E;
    --color-bg-glass: rgba(13, 13, 13, 0.7);

    /* Neon Accents */
    --color-accent-cyan: #00D4FF;
    --color-accent-purple: #7B2FFF;
    --color-accent-pink: #F15BB5;
    --color-accent-green: #00FF88;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00D4FF 0%, #7B2FFF 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(123, 47, 255, 0.3) 0%, transparent 70%);
    --gradient-premium: linear-gradient(135deg, #F15BB5 0%, #7B2FFF 100%);

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.5);

    /* Border */
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(0, 212, 255, 0.3);

    /* Radius - Extra Rounded */
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --radius-xl: 48px;

    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Transitions */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Shadows */
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 60px rgba(123, 47, 255, 0.15);
    --shadow-neon: 0 0 20px rgba(0, 212, 255, 0.3);

    /* Container */
    --container-max: 1440px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--color-bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 80px; /* Header height offset */
}

/* Background Glow Effect */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(123, 47, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s var(--transition-smooth);
}

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

/* Focus States - Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-accent-cyan);
    outline-offset: 4px;
    border-radius: 4px;
}

/* ============================================
   GLASS HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 1rem 2rem;
    background: var(--color-bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: all 0.3s var(--transition-smooth);
}

/* Admin bar compatibility */
.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* Fallback for browsers without backdrop-filter */
@supports not (backdrop-filter: blur(20px)) {
    .site-header {
        background: rgba(13, 13, 13, 0.95);
    }
}

.site-header.scrolled {
    padding: 0.75rem 2rem;
    background: rgba(13, 13, 13, 0.85);
}

.site-header__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo__icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.site-logo__text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.site-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.site-nav a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s var(--transition-smooth);
}

.site-nav a:hover {
    color: var(--color-accent-cyan);
}

.site-nav a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* ============================================
   BENTO GRID LAYOUT
   ============================================ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, minmax(200px, auto));
    gap: 24px;
    padding: 140px 24px 60px;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
}

@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
        padding: 100px 16px 40px;
    }
}

/* ============================================
   BENTO CARD STYLES
   ============================================ */
.bento-card {
    position: relative;
    background: rgba(26, 26, 46, 0.5);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.4s var(--transition-smooth);
    cursor: pointer;
    animation: cardFadeIn 0.6s var(--transition-smooth) backwards;
}

/* Gradient Border Effect */
.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    padding: 1px;
    background: linear-gradient(
        135deg, 
        rgba(255,255,255,0.15) 0%, 
        rgba(255,255,255,0.02) 50%,
        rgba(255,255,255,0.05) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Hover Effects */
.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.bento-card:hover .bento-card__image {
    transform: scale(1.05);
}

/* Premium Card */
.bento-card--premium::before {
    background: linear-gradient(
        135deg, 
        rgba(0, 212, 255, 0.5) 0%, 
        rgba(123, 47, 255, 0.5) 100%
    );
}

.bento-card--premium::after {
    content: '★ PREMIUM';
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    background: var(--gradient-primary);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Card Sizes for Bento Layout */
.bento-card--featured {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-card--large {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-card--tall {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-card--regular {
    grid-column: span 1;
    grid-row: span 1;
}

/* Card Image */
.bento-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
    position: absolute;
    inset: 0;
}

.bento-card--has-image .bento-card__content {
    background: linear-gradient(
        to top, 
        rgba(13,13,13,0.98) 0%, 
        rgba(13,13,13,0.7) 50%, 
        transparent 100%
    );
}

/* Card Content */
.bento-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 1;
}

/* Category Badge */
.bento-card__category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    color: var(--color-accent-cyan);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.bento-card__category::before {
    content: '●';
    font-size: 0.5rem;
    animation: pulse 2s infinite;
}

/* Card Title */
.bento-card__title {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.bento-card--featured .bento-card__title {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}

/* Card Meta */
.bento-card__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: var(--font-mono);
}

.bento-card__meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ============================================
   AI SUMMARY BLOCK
   ============================================ */
.ai-summary {
    margin-top: 16px;
    padding: 16px;
    background: rgba(123, 47, 255, 0.1);
    border-left: 3px solid var(--color-accent-purple);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    backdrop-filter: blur(10px);
}

.ai-summary__label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent-purple);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.ai-summary__text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ============================================
   AUDIO PLAYER
   ============================================ */
.audio-player {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 212, 255, 0.08);
    border-radius: var(--radius-sm);
    margin-top: 12px;
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.audio-player__btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-primary);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s var(--transition-smooth), box-shadow 0.2s var(--transition-smooth);
    flex-shrink: 0;
}

.audio-player__btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-neon);
}

.audio-player__btn:active {
    transform: scale(0.95);
}

.audio-player__progress {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.audio-player__bar {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.1s linear;
}

.audio-player__time {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    min-width: 45px;
    text-align: right;
}

/* ============================================
   LIVE AI AGENTS FEED
   ============================================ */
.live-feed {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 380px;
    max-height: 500px;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    overflow: hidden;
    z-index: 999;
    box-shadow: var(--shadow-card), 0 0 40px rgba(0, 212, 255, 0.1);
    transform: translateY(calc(100% + 40px));
    transition: transform 0.4s var(--transition-smooth);
}

.live-feed.active {
    transform: translateY(0);
}

.live-feed__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--border-glass);
    background: rgba(0, 212, 255, 0.05);
}

.live-feed__title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: var(--color-accent-green);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.live-feed__toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-neon);
    z-index: 998;
    transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
}

.live-feed__toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.live-feed__close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s var(--transition-smooth);
}

.live-feed__close:hover {
    color: var(--text-primary);
}

.live-feed__items {
    overflow-y: auto;
    max-height: 400px;
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent-purple) var(--color-bg-secondary);
}

.live-feed__items::-webkit-scrollbar {
    width: 6px;
}

.live-feed__items::-webkit-scrollbar-track {
    background: var(--color-bg-secondary);
}

.live-feed__items::-webkit-scrollbar-thumb {
    background: var(--color-accent-purple);
    border-radius: 3px;
}

.live-feed__item {
    padding: 16px;
    border-bottom: 1px solid var(--border-glass);
    transition: background 0.2s var(--transition-smooth);
}

.live-feed__item:last-child {
    border-bottom: none;
}

.live-feed__item:hover {
    background: rgba(0, 212, 255, 0.05);
}

.live-feed__text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.live-feed__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-family: var(--font-mono);
}

.live-feed__agent {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-accent-cyan);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Stagger Animation for Cards */
.bento-card:nth-child(1) { animation-delay: 0.05s; }
.bento-card:nth-child(2) { animation-delay: 0.1s; }
.bento-card:nth-child(3) { animation-delay: 0.15s; }
.bento-card:nth-child(4) { animation-delay: 0.2s; }
.bento-card:nth-child(5) { animation-delay: 0.25s; }
.bento-card:nth-child(6) { animation-delay: 0.3s; }
.bento-card:nth-child(7) { animation-delay: 0.35s; }
.bento-card:nth-child(8) { animation-delay: 0.4s; }

/* ============================================
   SINGLE POST STYLES
   ============================================ */
.ai-single-post {
    max-width: 900px;
    margin: 0 auto;
    padding: 140px 24px 60px;
}

.ai-single-header {
    margin-bottom: 40px;
}

.ai-single-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ai-single-category {
    display: inline-flex;
    padding: 6px 14px;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    color: var(--color-accent-cyan);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ai-single-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: var(--font-mono);
}

.ai-single-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
}

.ai-single-featured-image {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
}

.ai-single-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.ai-single-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.ai-single-content p {
    margin-bottom: 24px;
}

.ai-single-content h2,
.ai-single-content h3 {
    color: var(--text-primary);
    margin: 40px 0 20px;
}

.ai-single-content a {
    color: var(--color-accent-cyan);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.ai-single-content blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background: rgba(123, 47, 255, 0.1);
    border-left: 4px solid var(--color-accent-purple);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-secondary);
}

.ai-single-content pre,
.ai-single-content code {
    background: var(--color-bg-secondary);
    padding: 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    overflow-x: auto;
    border: 1px solid var(--border-glass);
}

.ai-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 32px 0;
}

/* AI Summary in Single Post */
.ai-single-summary {
    margin: 40px 0;
    padding: 32px;
    background: rgba(123, 47, 255, 0.1);
    border: 1px solid rgba(123, 47, 255, 0.3);
    border-radius: var(--radius-md);
}

.ai-single-summary__label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-accent-purple);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.ai-single-summary__text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Tags */
.ai-single-tags {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.ai-tags-label {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ai-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.3s var(--transition-smooth);
}

.ai-tag:hover {
    background: var(--color-accent-purple);
    border-color: var(--color-accent-purple);
    color: #fff;
}

/* Share Buttons */
.ai-single-share {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.ai-share-label {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ai-share-buttons {
    display: flex;
    gap: 10px;
}

.ai-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s var(--transition-smooth);
}

.ai-share-btn:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================
   CATEGORY PAGE
   ============================================ */
.ai-category-header {
    padding: 180px 24px 60px;
    text-align: center;
    background: linear-gradient(180deg, rgba(123, 47, 255, 0.1) 0%, transparent 100%);
}

.ai-category-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.ai-category-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--border-glass);
    padding: 60px 24px 40px;
    margin-top: 80px;
}

.site-footer__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

@media (max-width: 768px) {
    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.site-footer__col h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.site-footer__col ul {
    list-style: none;
}

.site-footer__col li {
    margin-bottom: 12px;
}

.site-footer__col a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.2s var(--transition-smooth);
}

.site-footer__col a:hover {
    color: var(--color-accent-cyan);
}

.site-footer__bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.site-footer__copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.site-footer__social {
    display: flex;
    gap: 16px;
}

.site-footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-tertiary);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s var(--transition-smooth);
}

.site-footer__social a:hover {
    background: var(--gradient-primary);
    color: #fff;
    transform: translateY(-3px);
}

/* ============================================
   FOLDABLE & AR DEVICES
   ============================================ */
@media (spanning: single-fold) {
    .bento-grid {
        gap: 16px;
    }
    
    .site-header {
        padding: 0.75rem 1rem;
    }
}

@media (display-mode: immersive) {
    :root {
        --radius-md: 32px;
    }
    
    .site-header {
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(30px);
    }
    
    .bento-card {
        transform-style: preserve-3d;
    }
    
    .bento-card:hover {
        transform: translateY(-8px) rotateX(2deg);
    }
}

/* ============================================
   HIGH CONTRAST MODE
   ============================================ */
@media (prefers-contrast: high) {
    .bento-card::before {
        background: rgba(255, 255, 255, 0.3);
    }
    
    .bento-card__title {
        color: #fff;
    }
    
    .site-nav a {
        color: #fff;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-effect {
    box-shadow: var(--shadow-glow);
}
