/* ==================================================
   PORTFOLIO WEBSITE CSS
   ==================================================
   
   This stylesheet contains optimized CSS for the 
   Boril Koralski portfolio website with:
   
   ✅ CSS Custom Properties for maintainability
   ✅ Accessibility enhancements (focus states, etc.)
   ✅ Performance optimizations
   ✅ Responsive design
   ✅ Component-based approach
   
   ================================================== */

/* CSS Custom Properties for Better Maintainability */
:root {
    /* Color Palette */
    --color-primary: #000;
    --color-secondary: #fff;
    --color-accent: #ffffff;
    --color-text-primary: #fff;
    --color-text-secondary: rgba(255, 255, 255, 0.8);
    --color-text-muted: rgba(255, 255, 255, 0.6);
    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-hover: rgba(255, 255, 255, 0.25);
    --color-bg-subtle: rgba(255, 255, 255, 0.02);
    --color-bg-hover: rgba(255, 255, 255, 0.05);
    
    /* Animation Properties */
    --animation-duration: 0.3s;
    --animation-easing: cubic-bezier(0.4, 0, 0.2, 1);
    --animation-fade-duration: 0.8s;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Typography */
    --font-size-xs: 0.6rem;
    --font-size-sm: 0.75rem;
    --font-size-md: 0.85rem;
    --font-size-lg: 0.9rem;
    --font-size-xl: 1.1rem;
    --font-size-2xl: 1.8rem;
    --font-size-3xl: 2.8rem;
    --font-size-4xl: 3.5rem;
    
    /* Enhanced Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(255, 255, 255, 0.05), 0 0 40px rgba(255, 255, 255, 0.02);
    
    /* Gradients */
    --gradient-subtle: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    --gradient-border: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    
    /* Layout */
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --nav-height: 120px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: var(--spacing-xs);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-lg);
    font-weight: 500;
    z-index: 1000;
    transition: top var(--animation-duration) var(--animation-easing);
}

.skip-link:focus {
    top: 6px;
}

body {
    font-family: 'JetBrains Mono', monospace;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.015) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.01) 0%, transparent 50%),
        var(--color-primary);
    color: var(--color-text-primary);
    overflow-x: hidden;
    height: 100vh;
    position: relative;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

body.loaded {
    opacity: 1;
}

/* Fallback styles for when JavaScript fails */
body.app-init-failed .nav-link {
    pointer-events: auto;
    cursor: pointer;
}

body.app-init-failed .dot {
    pointer-events: none;
}

body.app-init-failed .content.hidden {
    position: static;
    opacity: 1;
    pointer-events: auto;
}

/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--spacing-lg) 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--color-text-primary);
    text-decoration: none;
    font-size: var(--font-size-md);
    font-weight: 400;
    letter-spacing: 0.2em;
    transition: all var(--animation-duration) var(--animation-easing);
    position: relative;
    cursor: pointer;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-sm);
    background: transparent;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-subtle);
    opacity: 0;
    transition: all var(--animation-duration) var(--animation-easing);
    z-index: -1;
}

.nav-link:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.nav-link:hover {
    color: var(--color-text-primary);
    transform: translateY(-2px);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.nav-link:hover::before {
    opacity: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-link.active {
    color: var(--color-text-primary);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.08) 100%);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-text-primary);
    transition: all var(--animation-duration) ease;
    transform: translateX(-50%);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 80%;
}

/* Utility Classes */
.focus-ring {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: var(--border-radius-sm);
}

.sr-only {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Card Component */
.card {
    padding: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: var(--gradient-subtle);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: var(--border-radius);
    transition: all var(--animation-duration) var(--animation-easing);
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-border);
    opacity: 0.6;
}

.card:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.12) 0%, 
        rgba(255, 255, 255, 0.06) 100%);
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 
        var(--shadow-glow),
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Geometric Background */
.geometric-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    will-change: transform;
}

.shape {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.12);
    animation: float 14s ease-in-out infinite;
    will-change: transform;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: all 2s ease;
}

.shape::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: var(--gradient-border);
    border-radius: inherit;
    opacity: 0.3;
    z-index: -1;
}

.shape:nth-child(odd) {
    animation-direction: reverse;
}

.shape:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.circle {
    border-radius: 50%;
}

.circle-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 80px;
    height: 80px;
    top: 70%;
    right: 15%;
    animation-delay: -6s;
}

.square-1 {
    width: 100px;
    height: 100px;
    top: 15%;
    right: 20%;
    animation-delay: -3s;
    transform: rotate(45deg);
}

.square-2 {
    width: 60px;
    height: 60px;
    bottom: 25%;
    left: 20%;
    animation-delay: -9s;
    transform: rotate(15deg);
}

.triangle-1 {
    width: 90px;
    height: 90px;
    top: 60%;
    right: 8%;
    animation-delay: -4s;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: rgba(255, 255, 255, 0.05);
    border: none;
}

.triangle-2 {
    width: 70px;
    height: 70px;
    bottom: 15%;
    right: 35%;
    animation-delay: -8s;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: rgba(255, 255, 255, 0.05);
    border: none;
}

/* Container */
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    z-index: 10;
    padding: 120px 2rem 2rem;
}

.content {
    text-align: center;
    max-width: 600px;
    width: 100%;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content.hidden {
    opacity: 0;
    transform: translateY(20px);
    position: absolute;
    pointer-events: none;
}

/* Name Section */
.name-section {
    margin-bottom: 3rem;
}

.name, .page-title {
    font-size: clamp(2rem, 5vw, var(--font-size-4xl));
    font-weight: 300;
    letter-spacing: 0.3em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    position: relative;
}

.name::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-subtle);
    opacity: 0.3;
    z-index: -1;
    border-radius: 4px;
    transform: scale(1.1);
    filter: blur(20px);
}

.underline {
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 20%, 
        rgba(255, 255, 255, 0.8) 50%, 
        rgba(255, 255, 255, 0.2) 80%, 
        transparent 100%);
    margin: 0 auto 2rem;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    animation: expandLine 1.5s ease-out 1.2s forwards;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    opacity: 0;
    transform: translateY(30px);
}

.info-item:hover {
    transform: translateY(-2px);
}

.info-item.fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.info-item:nth-child(1) { animation-delay: 1.8s; }
.info-item:nth-child(2) { animation-delay: 2s; }
.info-item:nth-child(3) { animation-delay: 2.2s; }
.info-item:nth-child(4) { animation-delay: 2.4s; }

.label, .contact-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    letter-spacing: 0.2em;
}

.value, .contact-value {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.4;
}

/* Values Section */
.values-section {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 2.6s forwards;
}

.values-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.value-item {
    padding: 1.2rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: var(--gradient-subtle);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--animation-duration) var(--animation-easing);
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-border);
    opacity: 0.5;
}

.value-item:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.04) 100%);
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.08),
        0 8px 32px rgba(0, 0, 0, 0.2);
}

.value-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* Status */
.status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 2.8s forwards;
}

/* Contact status with extra margin */
.contact-status {
    margin-top: 4rem;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.8) 70%, 
        rgba(255, 255, 255, 0.4) 100%);
    animation: pulse 2s infinite;
    box-shadow: 
        0 0 15px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.3),
        inset 0 0 5px rgba(255, 255, 255, 0.2);
    position: relative;
}

.status-indicator::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: radial-gradient(circle, 
        transparent 60%, 
        rgba(255, 255, 255, 0.1) 100%);
    animation: pulse 2s infinite;
    animation-delay: 0.5s;
}

.status-text {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.8);
}

/* Blog Section Status - Extra spacing */
#blog-content .status {
    margin-top: 3rem;
    padding: 2rem 1rem;
}

#blog-content .status-text {
    padding: 1rem 0;
}

/* Blog and Contact Sections */
.blog-section, .contact-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.blog-placeholder {
    text-align: center;
}

.blog-placeholder p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.8;
}

/* Blog Posts Styling */
.blog-posts {
    max-width: 600px;
    margin: 0 auto;
}

.blog-post {
    margin-bottom: calc(var(--spacing-lg) * 1.5);
    text-align: left;
    padding: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: calc(var(--border-radius) * 1.5);
    background: var(--gradient-subtle);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transition: all var(--animation-duration) var(--animation-easing);
    position: relative;
    overflow: hidden;
}

.blog-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-border);
    opacity: 0.5;
}

.blog-post:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.04) 100%);
    box-shadow: 
        0 0 30px rgba(255, 255, 255, 0.1),
        0 16px 48px rgba(0, 0, 0, 0.3);
}

.blog-post:last-child {
    margin-bottom: 0;
}

.post-title {
    font-size: var(--font-size-xl);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
    transition: color var(--animation-duration) ease;
}

.blog-post:hover .post-title {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.post-date {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
}

.post-excerpt {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-md);
}

/* Read More Link */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    transition: all var(--animation-duration) var(--animation-easing);
    position: relative;
    overflow: hidden;
}

.read-more::after {
    content: '→';
    font-size: 1em;
    transition: transform var(--animation-duration) ease;
}

.read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.5s ease;
}

.read-more:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.read-more:hover::after {
    transform: translateX(4px);
}

.read-more:hover::before {
    left: 100%;
}

/* Interactive Link Component */
.interactive-link {
    transition: all var(--animation-duration) ease;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    position: relative;
    display: inline-block;
    padding: 0.2rem 0.4rem;
    margin: -0.2rem -0.4rem;
}

.interactive-link:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.interactive-link:hover {
    color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.08);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.interactive-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.8), 
        transparent);
    transition: all var(--animation-duration) ease;
    transform: translateX(-50%);
}

.interactive-link:hover::before {
    width: 100%;
}

.read-more {
    font-size: var(--font-size-sm);
    color: var(--color-accent);
    letter-spacing: 0.1em;
}

.read-more:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: var(--border-radius-sm);
}

.read-more:hover {
    color: var(--color-text-primary);
    text-decoration: underline;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.contact-value a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color var(--animation-duration) ease;
}

.contact-value a:hover {
    color: var(--color-accent);
}

/* Navigation Dots */
.nav-dots {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 6px; /* Touch target */
    margin: -6px; /* Negative margin to keep visual size */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    position: relative;
}

.dot::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: radial-gradient(circle, 
        transparent 60%, 
        rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dot:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.3);
    box-shadow: 
        0 0 15px rgba(255, 255, 255, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.2);
}

.dot:hover::before {
    opacity: 1;
}

.dot.active {
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.5);
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(255, 255, 255, 0.2);
}
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6), 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes float {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg) scale(1); 
        opacity: 0.08;
        filter: blur(0px);
    }
    25% { 
        transform: translate(20px, -15px) rotate(90deg) scale(1.1); 
        opacity: 0.15;
        filter: blur(1px);
    }
    50% {
        transform: translate(10px, 10px) rotate(180deg) scale(0.9);
        opacity: 0.12;
        filter: blur(0.5px);
    }
    75% { 
        transform: translate(-15px, 20px) rotate(270deg) scale(1.05); 
        opacity: 0.1;
        filter: blur(1px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 120px;
    }
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
        box-shadow: 
            0 0 15px rgba(255, 255, 255, 0.6),
            0 0 30px rgba(255, 255, 255, 0.3);
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.2);
        box-shadow: 
            0 0 25px rgba(255, 255, 255, 0.8),
            0 0 50px rgba(255, 255, 255, 0.4),
            0 0 70px rgba(255, 255, 255, 0.2);
    }
}

/* Performance optimizations */
* {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-nav {
        padding: 1.5rem 0;
    }
    
    .nav-links {
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
    }
    
    .container {
        padding-top: 100px;
    }
    
    .name, .page-title {
        font-size: 1.8rem;
        letter-spacing: 0.2em;
    }
    
    .values-grid {
        flex-direction: column;
        gap: 1rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .nav-dots {
        right: 1rem;
    }
    
    .shape {
        opacity: 0.3;
        animation-duration: 16s;
    }
    
    .content {
        padding: 0 1rem;
    }

    .contact-status {
        margin-top: 3rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .name, .page-title {
        font-size: 1.5rem;
        letter-spacing: 0.15em;
    }
    
    .label, .contact-label {
        font-size: 0.6rem;
    }
    
    .value, .contact-value {
        font-size: 0.8rem;
    }
    
    .status-text {
        font-size: 0.7rem;
    }
    
    .value-label {
        font-size: 0.65rem;
    }

    .blog-post {
        padding: 1rem;
    }

    .post-title {
        font-size: 1rem;
    }

    .contact-status {
        margin-top: 2rem;
    }
}

/* Blog Post Full View Styles */
.blog-post-full {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    color: var(--color-text-primary);
}

.post-header {
    margin-bottom: 2rem;
    text-align: center;
}

.back-link {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--animation-duration) ease;
}

.back-link:hover {
    color: var(--color-text-primary);
}

.blog-post-full .post-title {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.blog-post-full .post-date {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
}

.post-content {
    line-height: 1.7;
}

.blog-post-full .post-excerpt {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    font-style: italic;
}

.post-body {
    font-size: 1rem;
    color: var(--color-text-primary);
}

.post-body p {
    margin-bottom: 1.5rem;
}



/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
