/* CSS Variables for Purple Theme with Animations */
:root {
    --color-bg: #0f0f1a;
    --color-surface: rgba(255, 255, 255, 0.05);
    --color-glass: rgba(255, 255, 255, 0.1);
    --color-border: rgba(255, 255, 255, 0.2);
    --color-text: #ffffff;
    --color-primary: #8B5FBF;
    --color-secondary: #6D28D9;
    --color-accent: #A78BFA;
    
    /* Enhanced Gradients */
    --gradient-primary: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-secondary));
    --gradient-bg: linear-gradient(135deg, #1a0b2e, #0f0f1a, #2d1b69);
    --gradient-holographic: linear-gradient(125deg, transparent 30%, rgba(168, 85, 247, 0.3) 45%, rgba(139, 95, 191, 0.3) 55%, transparent 70%);
    
    /* Shadows and Effects */
    --shadow-glass: 0 8px 32px 0 rgba(139, 95, 191, 0.2);
    --shadow-glow: 0 0 20px rgba(139, 95, 191, 0.3);
    --shadow-hover: 0 15px 40px rgba(139, 95, 191, 0.4);
    
    /* Sizes */
    --border-radius: 20px;
    --blur-intensity: blur(10px);
}

/* ==== MOBILE FIRST APPROACH ==== */

/* Base Mobile Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 2rem;
    font-size: 14px; /* Base font size for mobile */
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--gradient-bg);
    background-size: 400% 400%;
    color: var(--color-text);
    min-height: 100vh;
    animation: gradientShift 15s ease infinite;
    line-height: 1.6;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ==== CONTAINERS ==== */
.pov-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* всегда под контентом */
    pointer-events: none;
    overflow: hidden;
    filter: blur(3px) brightness(0.8) saturate(0.8); /* меньше blur, чуть ярче */
}

.pov {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tray {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.die {
    width: 320px;
    height: 55px;
    padding-bottom: 9px;
    perspective: 999px;
    position: relative;
}

.cube {
    position: absolute;
    width: 100%;
    height: 700%;
    transform-style: preserve-3d;
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
    font-weight: 900;
    letter-spacing: -1px;
    backface-visibility: hidden;
    user-select: none;
    text-shadow: 0 2px 16px var(--color-primary), 0 0 2px #000;
    opacity: 0.7; /* надписи более чёткие */
}

@media (max-width: 600px) {
  .die { width: 180px; }
  .face { font-size: 32px !important; }
}
.glass-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem; /* Mobile padding */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ==== NAVIGATION - MOBILE FIRST ==== */
.neo-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.neo-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    z-index: 1001;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: block;
    background: var(--color-glass);
    backdrop-filter: var(--blur-intensity);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

/* Navigation List - Hidden by default on mobile */
.neo-nav__list {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 15, 26, 0.98);
    backdrop-filter: blur(30px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    z-index: 999;
    padding: 2rem;
}

.neo-nav__list.mobile-open {
    display: flex;
}

.neo-nav__link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    width: 200px;
}

.neo-nav__link:hover,
.neo-nav__link--active {
    background: var(--color-glass);
    color: var(--color-accent);
}

/* Submenu for mobile */
.neo-submenu {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

.neo-nav__item:hover .neo-submenu {
    display: block;
}

.neo-submenu .neo-nav__link {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    width: 180px;
}

/* ==== HERO SECTION - MOBILE ==== */
.hero {
    padding: 7rem 1rem 3rem; /* Account for fixed navbar */
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.hero-text {
    padding: 1rem 0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* Hero Stats - Mobile */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.stat {
    text-align: center;
    padding: 1rem 0.5rem;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text);
    opacity: 0.8;
}

/* Hero Links - Mobile */
.hero-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.glass-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--color-glass);
    backdrop-filter: var(--blur-intensity);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    color: var(--color-text);
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    background: rgba(139, 95, 191, 0.2);
}

.glass-button-outline {
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}

/* Hero Visual - Hidden on mobile */
.hero-visual {
    display: none;
}

.floating-card {
    background: var(--color-glass);
    backdrop-filter: var(--blur-intensity);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-glass);
}

.code-snippet {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    overflow-x: auto;
}

.code-snippet code {
    color: #a78bfa;
}

/* ==== SKILLS MARQUEE - MOBILE ==== */
.quick-skills {
    padding: 2rem 1rem;
}

.skills-marquee {
    overflow: hidden;
    white-space: nowrap;
    background: var(--color-glass);
    backdrop-filter: var(--blur-intensity);
    border-radius: var(--border-radius);
    padding: 1rem 0;
    margin: 1rem 0;
}

.marquee-track {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
}

.skill-tag {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin: 0 0.5rem;
    font-size: 0.8rem;
    white-space: nowrap;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==== SECTIONS - MOBILE ==== */
.neo-section {
    padding: 3rem 1rem;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.3;
}

/* Featured Projects - Mobile */
.projects-showcase {
    margin: 2rem 0;
}

.project-highlight {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--color-glass);
    backdrop-filter: var(--blur-intensity);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.project-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-orb {
    width: 150px;
    height: 150px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.project-info p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tech {
    background: var(--color-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
}

/* Aspirations - Mobile */
.aspirations {
    padding: 3rem 1rem;
}

.aspiration-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.aspiration-card {
    background: var(--color-glass);
    backdrop-filter: var(--blur-intensity);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.aspiration-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.aspiration-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.aspiration-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.aspiration-card p {
    opacity: 0.8;
    line-height: 1.5;
}

/* Skills Categories - Mobile */
.skills-category {
    background: var(--color-glass);
    backdrop-filter: var(--blur-intensity);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.skills-category.visible {
    opacity: 1;
    transform: translateY(0);
}

.skills-category > p {
    text-align: center;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.skill-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: calc(var(--border-radius) - 5px);
    text-align: center;
    transition: all 0.3s ease;
}

.skill-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.skill-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Progress Bars */
.skill-level {
    height: 6px;
    background: var(--color-surface);
    border-radius: 3px;
    margin-top: 0.8rem;
    overflow: hidden;
}

.skill-level-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 1s ease-in-out;
}

/* Anchor links */
.anchor-link {
    position: relative;
}

.anchor-link::before {
    content: '#';
    position: absolute;
    left: -1.2em;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--color-accent);
}

.anchor-link:hover::before {
    opacity: 1;
}

/* Contacts - Mobile */
.contacts-section {
    padding: 3rem 1rem;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.contact-card {
    background: var(--color-glass);
    backdrop-filter: var(--blur-intensity);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

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

.contact-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-card small {
    opacity: 0.7;
    font-size: 0.8rem;
}

/* Projects Grid - Mobile */
.projects-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 2rem 0;
    padding: 0 1rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--color-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
    border: none;
    min-height: 44px;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--color-primary);
    color: white;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1rem;
}

.project-card {
    background: var(--color-glass);
    backdrop-filter: var(--blur-intensity);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.featured-badge,
.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--color-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.7rem;
    z-index: 2;
}

.status-badge {
    background: #f59e0b;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.project-content p {
    opacity: 0.8;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tech-tag {
    background: var(--color-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
}

.project-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.project-actions button,
.project-actions a {
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    min-height: 44px;
}

.view-details {
    background: var(--color-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.view-details:hover {
    background: var(--color-primary);
    color: white;
}

.view-live {
    background: transparent;
    border: 1px solid var(--color-accent);
    border-radius: var(--border-radius);
    color: var(--color-accent);
    text-decoration: none;
    text-align: center;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.view-live:hover {
    background: var(--color-accent);
    color: white;
}

/* Modal - Mobile */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    padding: 1rem;
    overflow-y: auto;
}

.modal-content {
    background: var(--color-glass);
    backdrop-filter: var(--blur-intensity);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    max-width: 100%;
    margin: 2rem auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-text);
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-image img {
    width: 100%;
    border-radius: var(--border-radius);
}

.modal-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.modal-info p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.8;
}

.modal-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.modal-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Footer - Mobile */
.neo-footer {
    background: var(--color-glass);
    backdrop-filter: var(--blur-intensity);
    border-top: 1px solid var(--color-border);
    margin-top: 3rem;
}

.footer-content {
    padding: 2rem 1rem;
    text-align: center;
}

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

.footer-info p {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

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

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

.footer-copyright {
    margin-top: 1rem;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ==== ANIMATIONS ==== */
.animated-gradient-text {
    background: var(--gradient-primary);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 3s ease-in-out infinite alternate;
}

@keyframes textShine {
    to {
        background-position: 200% center;
    }
}

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

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Particle Canvas */
.particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* ==== TABLET STYLES (768px and up) ==== */
@media screen and (min-width: 768px) {
    html {
        font-size: 16px;
    }
    
    .glass-container {
        padding: 0 2rem;
    }
    
    .container {
        padding: 0 2rem;
    }
    
    /* Navigation - Tablet */
    .mobile-menu-toggle {
        display: none;
    }
    
    .neo-nav__list {
        display: flex;
        position: static;
        height: auto;
        background: transparent;
        backdrop-filter: none;
        flex-direction: row;
        gap: 1rem;
        padding: 0;
    }
    
    .neo-nav__link {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        width: auto;
    }
    
    .neo-submenu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
    }
    
    /* Hero - Tablet */
    .hero {
        padding: 8rem 2rem 4rem;
    }
    
    .hero-content {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
    
    .hero-text {
        flex: 1;
    }
    
    .hero-visual {
        display: flex;
        flex: 1;
        justify-content: center;
    }
    
    .floating-card {
        max-width: 400px;
    }
    
    .hero-links {
        flex-direction: row;
    }
    
    /* Skills - Tablet */
    .skill-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contacts-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .aspiration-cards {
        flex-direction: row;
    }
    
    /* Projects - Tablet */
    .projects-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .project-actions {
        flex-direction: row;
    }
    
    .modal-body {
        flex-direction: row;
    }
    
    .modal-links {
        flex-direction: row;
    }
}

/* ==== DESKTOP STYLES (1024px and up) ==== */
@media screen and (min-width: 1024px) {
    .glass-container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    /* Navigation - Desktop */
    .neo-nav__list {
        gap: 2rem;
    }
    
    /* Hero - Desktop */
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .subtitle {
        font-size: 1.25rem;
    }
    
    /* Skills - Desktop */
    .skill-items {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Projects - Desktop */
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .modal-content {
        max-width: 900px;
    }
}

/* ==== LARGE DESKTOP STYLES (1440px and up) ==== */
@media screen and (min-width: 1440px) {
    .hero h1 {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* ==== VERY SMALL MOBILE (360px and below) ==== */
@media screen and (max-width: 360px) {
    html {
        font-size: 12px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .modal-content {
        padding: 1rem;
        margin: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ==== TOUCH DEVICE OPTIMIZATIONS ==== */
@media (hover: none) and (pointer: coarse) {
    .skill-item:hover,
    .project-card:hover,
    .aspiration-card:hover,
    .contact-card:hover {
        transform: none;
    }
    
    .glass-button:hover {
        transform: none;
    }
    
    /* Increase tap targets for mobile */
    .glass-button,
    .filter-btn,
    .neo-nav__link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

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

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-glass: rgba(255, 255, 255, 0.15);
        --color-border: rgba(255, 255, 255, 0.4);
    }
}

/* Dark mode support (already dark by default) */
@media (prefers-color-scheme: light) {
    :root {
        --color-bg: #f0f0f0;
        --color-text: #333333;
        --color-glass: rgba(0, 0, 0, 0.05);
        --color-border: rgba(0, 0, 0, 0.1);
    }
}