/* Futuristic CSS Styles for CodeWithGarry Homepage */

:root {
    --primary-color: #330028;
    --secondary-color: #f5c33b;
    --dark-color: #4e0281;
    --light-color: #f4f4f4;
    --gradient-primary: linear-gradient(135deg, #330028 0%, #4e0281 100%);
    --gradient-secondary: linear-gradient(135deg, #f5c33b 0%, #ffd700 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-glow: 0 0 30px rgba(245, 195, 59, 0.3);
    --shadow-purple: 0 0 30px rgba(78, 2, 129, 0.3);
    
    /* Navbar Colors - यहाँ अपना color change करें */
    --navbar-bg: rgba(21, 21, 21, 0.95);
    --navbar-bg-hover: rgba(21, 21, 21, 0.98);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: rgba(134, 134, 165, 0.2) url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="4" height="4" viewBox="0 0 4 4"%3E%3Cpath fill="%239C92AC" fill-opacity="0.8" d="M1 3h1v1H1V3zm2-2h1v1H3V1z"%3E%3C/path%3E%3C/svg%3E');
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Skip Link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    background: var(--secondary-color);
    color: #000;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
}

.skip-link:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    z-index: 10001;
}

/* Navigation Styles */
.futuristic-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
    background: rgba(245, 195, 59, 0.1);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 60px 0;
    background: rgba(167, 5, 189, 0.3) url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="4" height="4" viewBox="0 0 4 4"%3E%3Cpath fill="%239C92AC" fill-opacity="0.8" d="M1 3h1v1H1V3zm2-2h1v1H3V1z"%3E%3C/path%3E%3C/svg%3E');
    perspective: 1000px;
}

/* Subtle aurora and scanlines overlays */
.hero-section::before {
    content: "";
    position: absolute;
    inset: -15% -10% -25% -10%;
    background: radial-gradient(60% 60% at 20% 30%, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.05) 40%, transparent 70%),
                conic-gradient(from 180deg at 80% 40%, rgba(245,195,59,0.15), rgba(78,2,129,0.10), rgba(245,195,59,0.15));
    filter: blur(28px) saturate(115%);
    pointer-events: none;
    z-index: 0;
    animation: auroraShift 16s ease-in-out infinite;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(180deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 6px);
    mix-blend-mode: overlay;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

@keyframes auroraShift {
    0% { transform: translate3d(0,0,0) scale(1); opacity: 0.8; }
    50% { transform: translate3d(2%, -2%, 0) scale(1.05); opacity: 1; }
    100% { transform: translate3d(0,0,0) scale(1); opacity: 0.8; }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    opacity: 0.1;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 1; 
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
        opacity: 0.5; 
    }
}

/* Floating Tech Icons */
.floating-tech-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.tech-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.6;
    animation: techFloat 8s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
}

.tech-icon:hover {
    opacity: 1;
    transform: scale(1.2);
}

.tech-icon[data-tech="cloud"] { top: 15%; left: 15%; animation-delay: 0s; }
.tech-icon[data-tech="code"] { top: 25%; right: 20%; animation-delay: 1s; }
.tech-icon[data-tech="rocket"] { bottom: 30%; left: 10%; animation-delay: 2s; }
.tech-icon[data-tech="gear"] { bottom: 20%; right: 15%; animation-delay: 3s; }
.tech-icon[data-tech="linux"] { top: 40%; left: 5%; animation-delay: 4s; }
.tech-icon[data-tech="docker"] { top: 60%; right: 10%; animation-delay: 5s; }
.tech-icon[data-tech="kubernetes"] { top: 10%; right: 40%; animation-delay: 6s; }
.tech-icon[data-tech="python"] { bottom: 15%; left: 40%; animation-delay: 7s; }

@keyframes techFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.6; 
    }
    25% { 
        transform: translateY(-15px) rotate(5deg) scale(1.05); 
        opacity: 0.8; 
    }
    50% { 
        transform: translateY(-25px) rotate(-5deg) scale(1.1); 
        opacity: 1; 
    }
    75% { 
        transform: translateY(-10px) rotate(3deg) scale(1.05); 
        opacity: 0.8; 
    }
}

/* Hero Background Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(245, 195, 59, 0.1), rgba(78, 2, 129, 0.1));
    animation: shapeFloat 12s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    animation-delay: 3s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 30%;
    animation-delay: 6s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 10%;
    animation-delay: 9s;
}

@keyframes shapeFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1) rotate(0deg); 
        opacity: 0.1; 
    }
    50% { 
        transform: translateY(-30px) scale(1.1) rotate(180deg); 
        opacity: 0.3; 
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    z-index: 2;
    position: relative;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
    min-height: 80vh;
    transform-style: preserve-3d;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a1a1a !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-text p {
    font-size: 1.2rem;
    color: #333333 !important;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Hero Actions and Badges */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(167, 5, 189, 0.2);
}

.badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(167, 5, 189, 0.3);
    background: rgba(255, 255, 255, 1);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-secondary);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
    border: none;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(245, 195, 59, 0.4);
    color: #000;
    text-decoration: none;
}

.cta-button.secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.cta-button.secondary:hover {
    background: var(--secondary-color);
    color: #000;
}

/* Magnetic button highlight (works with JS setting --mx/--my) */
.cta-button::after, .btn-advanced::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.35), transparent 40%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.cta-button:hover::after, .btn-advanced:hover::after { opacity: 1; }

/* Optional subtle hover tilt (enhanced via JS) */
.hero-visual .glass-card {
    will-change: transform;
    transform: translateZ(0);
}
.hero-visual .glass-card:hover {
    transform: translateZ(20px) rotateX(1.5deg) rotateY(-1.5deg);
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

/* Notice Board */
.notice-board {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.notice-header h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.expand-btn {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
}

.expand-btn:hover {
    color: var(--secondary-color);
    background: rgba(245, 195, 59, 0.1);
    transform: scale(1.1);
}

.notice-content {
    height: 300px;
    overflow: hidden;
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.scrolling-notice {
    animation: scroll-up 20s linear infinite;
}

.scrolling-notice p {
    padding: 1rem 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

@keyframes scroll-up {
    0% { transform: translateY(100%); }
    100% { transform: translateY(-100%); }
}

/* Skills Preview Section */
.skills-preview {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skills-preview h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-name {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), #ffd700);
    border-radius: 10px;
    width: 0%;
    transition: width 2s ease-in-out;
    position: relative;
    overflow: hidden;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Sections */
.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1a1a1a !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

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

/* Stats Section */
.stats-section {
    background: rgba(167, 5, 189, 0.1);
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Cg fill-rule="evenodd"%3E%3Cg fill="%23330028" fill-opacity="0.05"%3E%3Cpath d="M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(167, 5, 189, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 195, 59, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(167, 5, 189, 0.3);
}

.stat-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a !important;
    margin-bottom: 0.5rem;
    display: block;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.stat-label {
    color: #333333 !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Featured Content */
.featured-content {
    background: rgba(167, 5, 189, 0.05);
}

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

.content-card {
    background: linear-gradient(135deg, rgba(0, 1, 50, 0.95) 0%, rgba(51, 0, 40, 0.9) 50%, rgba(0, 1, 50, 0.95) 100%);
    backdrop-filter: blur(25px);
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 
        0 8px 32px rgba(167, 5, 189, 0.2),
        0 0 0 1px rgba(245, 195, 59, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(245, 195, 59, 0.1) 0%, transparent 50%, rgba(167, 5, 189, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.content-card:hover::before {
    opacity: 1;
}

.content-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 
        0 25px 50px rgba(167, 5, 189, 0.4),
        0 0 0 2px rgba(245, 195, 59, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(245, 195, 59, 0.5);
}

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

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    background: rgba(167, 5, 189, 0.1);
}

.card-image img[style*="opacity: 1"] {
    opacity: 1;
}

.content-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.card-date {
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 600;
}

.card-content {
    padding: 2rem;
}

.card-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(135deg, rgba(245, 195, 59, 0.3) 0%, rgba(167, 5, 189, 0.2) 100%);
    color: rgba(245, 195, 59, 1);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(245, 195, 59, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.content-card:hover .tag::before {
    left: 100%;
}

.tag:hover {
    background: linear-gradient(135deg, rgba(245, 195, 59, 0.5) 0%, rgba(167, 5, 189, 0.4) 100%);
    border-color: rgba(245, 195, 59, 0.8);
    transform: scale(1.05);
}

.card-content h3 {
    background: linear-gradient(135deg, rgba(245, 195, 59, 1) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(167, 5, 189, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 0 0 20px rgba(245, 195, 59, 0.3);
}

.card-content p {
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    letter-spacing: 0.3px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(245, 195, 59, 1);
    text-decoration: none;
    font-weight: 700;
    padding: 0.8rem 1.5rem;
    border: 2px solid rgba(245, 195, 59, 0.3);
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(245, 195, 59, 0.1) 0%, rgba(167, 5, 189, 0.1) 100%);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
}

.read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 195, 59, 0.3), transparent);
    transition: left 0.6s ease;
}

.read-more:hover::before {
    left: 100%;
}

.read-more:hover {
    color: rgba(255, 255, 255, 1);
    border-color: rgba(245, 195, 59, 0.8);
    background: linear-gradient(135deg, rgba(245, 195, 59, 0.3) 0%, rgba(167, 5, 189, 0.3) 100%);
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 195, 59, 0.4);
}

/* Technologies Section */
.technologies-section {
    background: var(--gradient-dark);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tech-category {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

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

.tech-category h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(167, 5, 189, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tech-item:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 25px rgba(167, 5, 189, 0.2);
}

.tech-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(1.2);
    transition: all 0.3s ease;
    display: block;
    opacity: 1;
    visibility: visible;
}

.tech-item img:hover {
    transform: scale(1.1);
    filter: brightness(1.4);
}

/* Prevent loading animations on tech images */
.tech-item img.loading {
    opacity: 1 !important;
    animation: none !important;
}

.tech-item img.loading::after {
    display: none !important;
}

.icon-fallback {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: rgba(167, 5, 189, 0.1);
    border-radius: 10px;
    border: 2px solid rgba(167, 5, 189, 0.3);
}

.tech-item span {
    color: #1a1a1a !important;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* About Section */
.about-section {
    background: rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(10, 8, 4, 0.05) 0%, rgba(114, 0, 190, 0.05) 100%);
    pointer-events: none;
}

.section-badge {
    display: inline-block;
    background: rgba(245, 195, 59, 0.1);
    border: 1px solid rgba(245, 195, 59, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.section-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #0c0b0b 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.about-intro {
    font-size: 1.1rem;
    color: rgba(13, 13, 13, 0.9);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 400;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
}

.expertise-tag {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.expertise-tag:hover {
    background: rgba(245, 195, 59, 0.2);
    border-color: var(--secondary-color);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(245, 195, 59, 0.3);
}

.achievement-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.achievement {
    text-align: center;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    transition: all 0.3s ease;
}

.achievement:hover {
    background: rgba(245, 195, 59, 0.1);
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(245, 195, 59, 0.3);
}

.achievement .number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(245, 195, 59, 0.5);
}

.achievement .label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.achievement-icon {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

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

.cta-buttons .cta-button {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.about-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.profile-card {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--secondary-color);
    box-shadow: 
        0 0 150px rgba(216, 177, 1, 0.804),
        inset 0 0 50px rgba(245, 195, 59, 0.1);
    margin-bottom: 2rem;
    /* background: #f5c33b; */
}

.profile-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.floating-element {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.floating-element:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
.floating-element:nth-child(3) { bottom: 20%; left: 20%; animation-delay: 2s; }
.floating-element:nth-child(4) { bottom: 30%; right: 10%; animation-delay: 3s; }
.floating-element:nth-child(5) { top: 50%; left: 5%; animation-delay: 4s; }
.floating-element:nth-child(6) { top: 60%; right: 5%; animation-delay: 5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(5deg); }
    50% { transform: translateY(-20px) rotate(-5deg); }
    75% { transform: translateY(-10px) rotate(3deg); }
}

.profile-card .profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    display: block !important;
    border-radius: 50%;
    opacity: 1 !important;
}

.profile-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background: conic-gradient(from 0deg, 
        var(--secondary-color), 
        rgba(245, 195, 59, 0.3), 
        var(--secondary-color));
    animation: rotate 4s linear infinite;
    z-index: 2;
    border-radius: 50%;
}

.profile-ring {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    border: 2px solid rgba(245, 195, 59, 0.3);
    border-radius: 50%;
    z-index: 0;
    animation: pulse 3s ease-in-out infinite;
}

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.achievement-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    min-width: 200px;
}

.highlight-item:hover {
    background: rgba(245, 195, 59, 0.2);
    border-color: var(--secondary-color);
    transform: translateX(10px);
}

.highlight-icon {
    font-size: 1.2rem;
}

.highlight-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Footer */
.futuristic-footer {
    background: var(--primary-color);
    border-top: 1px solid rgba(167, 5, 189, 0.3);
    position: relative;
}

.futuristic-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand .logo-text {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-links h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    z-index: 10000;
    display: none;
    max-width: 500px;
    margin: 0 auto;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    min-width: 200px;
}

.cookie-accept,
.cookie-decline {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: var(--gradient-secondary);
    color: #000;
}

.cookie-decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 195, 59, 0.4);
}

.cookie-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* ===== RESPONSIVE DESIGN - MOBILE FIRST ===== */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1600px;
        padding: 4rem 3rem;
    }
    
    .hero-text h1 {
        font-size: 4.5rem;
    }
    
    .hero-text p {
        font-size: 1.3rem;
    }
    
    .hero-grid {
        gap: 4rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
    
    .content-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* Desktop (1024px - 1399px) */
@media (min-width: 1024px) and (max-width: 1399px) {
    .container {
        max-width: 1200px;
        padding: 4rem 2rem;
    }
    
    .hero-grid {
        gap: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .content-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Tablet Landscape (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
    
    .social-links {
        gap: 0.8rem;
    }
    
    .social-links a {
        font-size: 1rem;
        padding: 0.4rem;
    }
    
    .hero-section {
        padding: 100px 0 40px 0;
        min-height: 80vh;
    }
    
    .hero-grid {
        gap: 2.5rem;
        min-height: 70vh;
    }
    
    .hero-text h1 {
        font-size: 3rem;
        line-height: 1.1;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cta-button {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tech-items {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .about-grid {
        gap: 2rem;
    }
    
    .about-content h2 {
        font-size: 2.5rem;
    }
    
    .about-intro {
        font-size: 1.05rem;
    }
    
    .achievement-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
    
    .profile-card {
        width: 300px;
        height: 300px;
    }
    
    .container {
        padding: 3rem 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    /* Floating tech icons - adjust for tablet */
    .tech-icon {
        font-size: 1.8rem;
    }
    
    .floating-tech-icons {
        display: block;
    }
    
    .hero-shapes {
        display: block;
    }
    
    .shape {
        width: 80%;
        height: 80%;
    }
}

/* Tablet Portrait & Large Mobile (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem;
        border-top: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 1rem 0;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.1rem;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .social-links {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .hero-section {
        padding: 90px 0 30px 0;
        min-height: 75vh;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        min-height: auto;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 1rem 2rem;
    }
    
    .glass-card {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .notice-content {
        height: 250px;
    }
    
    .skills-preview {
        margin-top: 1.5rem;
        padding: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tech-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .about-content h2 {
        font-size: 2.3rem;
        line-height: 1.2;
    }
    
    .about-intro {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .expertise-tags {
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .achievement-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .achievement {
        padding: 1rem 0.8rem;
    }
    
    .achievement .number {
        font-size: 1.8rem;
    }
    
    .profile-card {
        width: 280px;
        height: 280px;
        margin: 0 auto 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        text-align: center;
    }
    
    .container {
        padding: 2.5rem 1.5rem;
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    /* Adjust floating elements for tablet */
    .tech-icon {
        font-size: 1.6rem;
    }
    
    .floating-tech-icons {
        display: block;
    }
    
    .hero-shapes .shape {
        width: 70%;
        height: 70%;
    }
}

/* Mobile (320px - 480px) */
@media (max-width: 480px) {
    .nav-container {
        padding: 0.8rem 1rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .nav-links {
        padding: 1rem;
    }
    
    .nav-links a {
        font-size: 1rem;
        padding: 0.8rem 0;
    }
    
    .social-links a {
        font-size: 1.2rem;
        padding: 0.5rem;
    }
    
    .hero-section {
        padding: 80px 0 20px 0;
        min-height: 70vh;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .glass-card {
        padding: 1.5rem;
        margin: 0 auto;
    }
    
    .notice-header h3 {
        font-size: 1rem;
    }
    
    .notice-content {
        height: 200px;
    }
    
    .scrolling-notice p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .skills-preview {
        margin-top: 1rem;
        padding: 1rem;
    }
    
    .skills-preview h4 {
        font-size: 1rem;
    }
    
    .skill-name {
        font-size: 0.85rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.2rem;
    }
    
    .stat-icon {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .card-content h3 {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    .card-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .tech-category {
        padding: 1.5rem;
    }
    
    .tech-category h3 {
        font-size: 1.1rem;
    }
    
    .tech-items {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
    
    .tech-item {
        padding: 0.8rem;
    }
    
    .tech-item img {
        width: 40px;
        height: 40px;
    }
    
    .tech-item span {
        font-size: 0.8rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-content h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .about-intro {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .expertise-tags {
        justify-content: center;
        gap: 0.6rem;
    }
    
    .expertise-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .achievement-stats {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .achievement {
        padding: 0.8rem 0.6rem;
    }
    
    .achievement .number {
        font-size: 1.5rem;
    }
    
    .achievement .label {
        font-size: 0.8rem;
    }
    
    .profile-card {
        width: 220px;
        height: 220px;
        margin: 0 auto 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-links h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-links ul li a {
        font-size: 0.9rem;
        padding: 0.3rem 0;
    }
    
    .container {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }
    
    /* Hide floating elements on mobile for performance */
    .floating-tech-icons {
        display: none;
    }
    
    .hero-shapes {
        display: none;
    }
    
    .floating-elements {
        display: none;
    }
    
    /* Cookie banner mobile */
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-content p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .cookie-accept,
    .cookie-decline {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ===== MOBILE TOUCH & INTERACTION OPTIMIZATIONS ===== */

/* Touch-friendly button sizes */
@media (max-width: 767px) {
    .cta-button,
    .btn-advanced,
    .mobile-menu-btn,
    .social-links a {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Improve tap targets */
    .nav-links a {
        padding: 1rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Better touch feedback */
    .cta-button:active,
    .btn-advanced:active {
        transform: scale(0.98);
    }
    
    /* Prevent zoom on focus */
    input, textarea, select {
        font-size: 16px !important;
    }
    
    /* Smooth scroll behavior */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Better hover states for touch devices */
    @media (hover: none) {
        .cta-button:hover,
        .btn-advanced:hover,
        .tech-icon:hover,
        .stat-card:hover,
        .content-card:hover {
            transform: none;
        }
        
        .cta-button:active,
        .btn-advanced:active {
            transform: scale(0.95);
        }
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .tech-item img,
    .profile-image,
    .card-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: 60vh;
        padding: 60px 0 20px 0;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }
    
    .cta-button {
        max-width: 200px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .glass-card {
        padding: 1.2rem;
    }
    
    .notice-content {
        height: 150px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .achievement-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Ultra-wide mobile landscape */
@media (max-width: 767px) and (orientation: landscape) and (min-aspect-ratio: 16/9) {
    .hero-section {
        min-height: 50vh;
        padding: 40px 0 20px 0;
    }
    
    .nav-container {
        padding: 0.5rem 1rem;
    }
    
    .container {
        padding: 1.5rem 1rem;
    }
}

/* Small screens with limited height */
@media (max-height: 600px) {
    .hero-section {
        min-height: 90vh;
        padding: 60px 0 20px 0;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-text p {
        margin-bottom: 1rem;
    }
    
    .notice-content {
        height: 120px;
    }
}

/* Performance optimizations for mobile */
@media (max-width: 767px) {
    /* Reduce animations for better performance */
    * {
        animation-duration: 0.3s !important;
    }
    
    /* Simplify transforms */
    .floating-element,
    .tech-icon,
    .shape {
        will-change: auto;
    }
    
    /* Optimize backdrop-filter usage */
    @supports not (backdrop-filter: blur(10px)) {
        .glass-card,
        .nav-links,
        .futuristic-nav {
            background: rgba(255, 255, 255, 0.95) !important;
        }
        
        .futuristic-nav {
            background: rgba(5, 5, 5, 0.98) !important;
        }
    }
}

/* Dark mode adjustments for mobile */
@media (prefers-color-scheme: dark) and (max-width: 767px) {
    .glass-card {
        background: rgba(0, 0, 0, 0.8) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
    
    .nav-links {
        background: rgba(0, 0, 0, 0.95) !important;
    }
}

/* Accessibility improvements for mobile */
@media (max-width: 767px) {
    /* Focus indicators */
    .cta-button:focus,
    .mobile-menu-btn:focus,
    .nav-links a:focus {
        outline: 3px solid var(--secondary-color);
        outline-offset: 2px;
    }
    
    /* Better contrast for small text */
    .skill-name,
    .stat-label,
    .tech-item span {
        color: #000 !important;
        text-shadow: none;
    }
    
    /* Ensure minimum contrast */
    .scrolling-notice p,
    .about-intro,
    .card-content p {
        color: #333 !important;
    }
}

/* Enhanced Components */

/* Back to Top Button */
.back-to-top.enhanced {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: var(--gradient-secondary);
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-glow);
}

.back-to-top.enhanced.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top.enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(245, 195, 59, 0.4);
}

/* Telegram Widget CSS Disabled to prevent duplicates */
/*
.telegram-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.telegram-widget.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
*/

/*
.widget-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-purple);
}

.widget-trigger:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(78, 2, 129, 0.4);
}

.widget-popup {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 300px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.widget-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.popup-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.popup-header img {
    width: 40px;
    height: 40px;
}

.popup-header h3 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.popup-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.join-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-secondary);
    color: #000;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.join-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: #000;
    text-decoration: none;
}
*/

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    color: #ffffff;
    z-index: 10001;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    max-width: 350px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-success {
    border-left: 4px solid #10b981;
}

.notification-error {
    border-left: 4px solid #ef4444;
}

.notification-info {
    border-left: 4px solid var(--secondary-color);
}

.notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.notification-close:hover {
    color: #ffffff;
}

/* Form Enhancements */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group.focused .form-label {
    color: var(--secondary-color);
    transform: translateY(-25px) scale(0.9);
}

.form-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.5);
    padding: 0 0.5rem;
    border-radius: 4px;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(245, 195, 59, 0.3);
}

.form-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.form-input.valid {
    border-color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.field-error {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.field-error::before {
    content: '⚠';
    font-size: 1rem;
}

/* Image Placeholder */
.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 2rem;
    width: 100%;
    height: 200px;
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Slide animations for cookie banner */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

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

.cta-button:focus,
.join-btn:focus,
.cookie-accept:focus,
.cookie-decline:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 195, 59, 0.5);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --glass-bg: rgba(0, 0, 0, 0.9);
        --glass-border: rgba(255, 255, 255, 0.8);
    }
    
    .glass-card {
        background: rgba(0, 0, 0, 0.9);
        border: 2px solid rgba(255, 255, 255, 0.8);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-element {
        display: none;
    }
    
    .profile-glow {
        animation: none;
    }
}

/* Print styles */
@media print {
    .futuristic-nav,
    .cookie-banner,
    .back-to-top,
    .floating-elements {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .glass-card {
        background: white !important;
        border: 1px solid black !important;
    }
}

/* ===== ADVANCED FEATURES AND ANIMATIONS ===== */

/* Advanced Animations and Effects */
@keyframes slideInFromLeft {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromRight {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromBottom {
    0% { transform: translateY(100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInScale {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(245, 195, 59, 0.3); }
    50% { box-shadow: 0 0 40px rgba(245, 195, 59, 0.6); }
}

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

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

/* Advanced Interactive Elements */
.interactive-element {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.interactive-element:hover {
    transform: translateY(-5px) scale(1.02);
    filter: brightness(1.1);
}

.glass-morphism-advanced {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.neon-glow {
    box-shadow: 
        0 0 5px var(--secondary-color),
        0 0 10px var(--secondary-color),
        0 0 15px var(--secondary-color),
        0 0 20px var(--secondary-color);
}

.text-shimmer {
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Advanced Button Effects */
.btn-advanced {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--gradient-secondary);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-advanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-advanced:hover::before {
    left: 100%;
}

.btn-advanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: #000;
    text-decoration: none;
}

/* Advanced Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hover-tilt {
    transition: transform 0.3s ease;
}

.hover-tilt:hover {
    transform: perspective(1000px) rotateX(10deg) rotateY(5deg);
}

/* Advanced Typography */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Micro-interactions */
.pulse-on-hover {
    transition: all 0.3s ease;
}

.pulse-on-hover:hover {
    animation: glowPulse 1s ease-in-out infinite;
}

/* Loading States */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

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

/* Performance Optimizations */
.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000;
}

.will-change-transform {
    will-change: transform;
}

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

.focus-visible:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* ===== UTILITY CLASSES FOR RESPONSIVE DESIGN ===== */

/* Container max-widths */
.container-fluid {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

.container-sm {
    max-width: 576px;
    margin-left: auto;
    margin-right: auto;
}

.container-md {
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

.container-lg {
    max-width: 992px;
    margin-left: auto;
    margin-right: auto;
}

.container-xl {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive text sizes */
.text-responsive {
    font-size: clamp(0.875rem, 2.5vw, 1.125rem);
}

.heading-responsive {
    font-size: clamp(1.5rem, 5vw, 3rem);
    line-height: 1.2;
}

/* Hide/show elements based on screen size */
.d-mobile-none {
    display: block;
}

.d-mobile-block {
    display: none;
}

@media (max-width: 767px) {
    .d-mobile-none {
        display: none !important;
    }
    
    .d-mobile-block {
        display: block !important;
    }
    
    .d-mobile-flex {
        display: flex !important;
    }
    
    .d-mobile-grid {
        display: grid !important;
    }
}

.d-tablet-none {
    display: block;
}

.d-tablet-block {
    display: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .d-tablet-none {
        display: none !important;
    }
    
    .d-tablet-block {
        display: block !important;
    }
}

.d-desktop-none {
    display: block;
}

.d-desktop-block {
    display: none;
}

@media (min-width: 1024px) {
    .d-desktop-none {
        display: none !important;
    }
    
    .d-desktop-block {
        display: block !important;
    }
}

/* Responsive spacing */
.p-responsive {
    padding: clamp(1rem, 4vw, 2rem);
}

.m-responsive {
    margin: clamp(1rem, 4vw, 2rem);
}

.gap-responsive {
    gap: clamp(1rem, 3vw, 2rem);
}

/* Responsive flex and grid utilities */
.flex-mobile-column {
    display: flex;
}

@media (max-width: 767px) {
    .flex-mobile-column {
        flex-direction: column;
    }
}

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

@media (max-width: 480px) {
    .grid-responsive {
        grid-template-columns: 1fr;
    }
}

/* Safe area insets for mobile devices with notches */
@supports (padding: max(0px)) {
    .safe-area-inset-top {
        padding-top: max(1rem, env(safe-area-inset-top));
    }
    
    .safe-area-inset-bottom {
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }
    
    .safe-area-inset-left {
        padding-left: max(1rem, env(safe-area-inset-left));
    }
    
    .safe-area-inset-right {
        padding-right: max(1rem, env(safe-area-inset-right));
    }
}

/* Overflow handling for mobile */
.overflow-x-auto {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Image responsive utilities */
.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.img-contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Aspect ratio utilities */
.aspect-ratio-16-9 {
    aspect-ratio: 16 / 9;
}

.aspect-ratio-4-3 {
    aspect-ratio: 4 / 3;
}

.aspect-ratio-1-1 {
    aspect-ratio: 1 / 1;
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 1) {
    .aspect-ratio-16-9 {
        position: relative;
        height: 0;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
    }
    
    .aspect-ratio-16-9 > * {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .aspect-ratio-4-3 {
        position: relative;
        height: 0;
        padding-bottom: 75%; /* 4:3 aspect ratio */
    }
    
    .aspect-ratio-4-3 > * {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .aspect-ratio-1-1 {
        position: relative;
        height: 0;
        padding-bottom: 100%; /* 1:1 aspect ratio */
    }
    
    .aspect-ratio-1-1 > * {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

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

@media (prefers-reduced-motion: no-preference) {
    .animate-in {
        animation: slideInFromBottom 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .animate-fade-in {
        animation: fadeInScale 0.5s ease-out;
    }
    
    .animate-float {
        animation: float 3s ease-in-out infinite;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .content-card, .stat-card, .tech-item {
        border: 2px solid var(--primary-color) !important;
        background: rgba(255, 255, 255, 0.95) !important;
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #ffffff;
        --bg-color: #0a0a0a;
        --card-bg: rgba(255, 255, 255, 0.05);
    }
    
    .content-card, .stat-card, .tech-item {
        background: rgba(255, 255, 255, 0.1) !important;
        color: #ffffff !important;
    }
}
