/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Kolory główne - nowoczesna paleta niebiesko-czarna */
    --primary-blue: #0066ff;
    --secondary-blue: #1a73e8;
    --light-blue: #4285f4;
    --dark-blue: #1557b0;
    --accent-blue: #00d4ff;
    --electric-blue: #0080ff;
    
    /* Tła */
    --dark-bg: #0a0a0a;
    --darker-bg: #000000;
    --card-bg: #111111;
    --surface-bg: #1a1a1a;
    --border-color: #222222;
    --border-light: #333333;
    
    /* Teksty */
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #666666;
    --text-accent: #e0e0e0;
    
    /* Spotify */
    --spotify-green: #1db954;
    --spotify-green-hover: #1ed760;
    --spotify-dark: #191414;
    
    /* Gradienty */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-blue) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    --gradient-mesh: linear-gradient(45deg, var(--primary-blue) 0%, var(--accent-blue) 50%, var(--electric-blue) 100%);
    --gradient-spotify: linear-gradient(135deg, var(--spotify-green) 0%, #1ed760 100%);
    
    /* Cienie */
    --shadow-sm: 0 2px 4px rgba(0, 102, 255, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 102, 255, 0.15);
    --shadow-lg: 0 8px 25px rgba(0, 102, 255, 0.2);
    --shadow-xl: 0 20px 40px rgba(0, 102, 255, 0.3);
    --shadow-glow: 0 0 20px rgba(0, 102, 255, 0.4);
    
    /* Przejścia */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Rozmiary */
    --navbar-height: 80px;
    --container-max-width: 1200px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

/* Podstawowe style */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gradient-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-feature-settings: 'kern' 1, 'liga' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Loader - Nowoczesny design */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-container.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    max-width: 400px;
}

.modern-spinner {
    position: relative;
    margin-bottom: 2rem;
}

.spinner-inner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.spinner-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

.spinner-circle:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
    border-top-color: var(--accent-blue);
    animation-duration: 1.5s;
    animation-direction: reverse;
}

.spinner-circle:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 20px;
    left: 20px;
    border-top-color: var(--electric-blue);
    animation-duration: 0.8s;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text h2 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.8rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loader-text p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.loading-progress {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Navbar - Przeprojektowany z Spotify Widget */
/* Navbar - Ultimate Design */
.navbar {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 88%;
    max-width: 1400px;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    height: auto;
    border-radius: 50px;
    padding: 0.7rem 1.8rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.nav-container {
    max-width: 100%;
    margin: 0;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.3rem;
    padding: 0;
}

/* Brand Logo */
.nav-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-icon {
    position: relative;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-letter {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    z-index: 2;
}

.logo-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: 12px;
    transform: translate(-50%, -50%) scale(0);
    animation: logo-pulse 2s ease-in-out infinite;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-name {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.brand-subtitle {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 400;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding: 0.8rem 1.2rem;
    transition: all var(--transition-normal);
    border-radius: 25px;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
    color: white;
    background: var(--primary-blue);
}

.nav-link::after {
    display: none;
}

/* Spotify Widget - WIĘKSZY SZERSZY */
.navbar-spotify-widget {
    position: relative;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 0.7rem 1.2rem;
    min-width: 320px;
    max-width: 320px;
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.navbar-spotify-widget:hover {
    border-color: var(--spotify-green);
    box-shadow: 0 4px 20px rgba(29, 185, 84, 0.2);
}

.spotify-player-compact {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.spotify-status {
    position: relative;
    flex-shrink: 0;
}

.spotify-icon-animated {
    position: relative;
    width: 38px;
    height: 38px;
    background: var(--gradient-spotify);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.pulse-ring {
    position: absolute;
    top: -3px;
    left: -3px;
    width: calc(100% + 6px);
    height: calc(100% + 6px);
    border: 2px solid var(--spotify-green);
    border-radius: 50%;
    opacity: 0;
    animation: pulse-ring 2s ease-out infinite;
}

.track-info-compact {
    flex: 1;
    min-width: 0;
}

.track-loading {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.loading-dots {
    display: flex;
    gap: 0.3rem;
}

.loading-dots span {
    width: 5px;
    height: 5px;
    background: var(--spotify-green);
    border-radius: 50%;
    animation: loading-dots 1.4s infinite ease-in-out;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0s; }

.loading-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.track-display-compact {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.track-image-compact {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.track-info-text {
    flex: 1;
    min-width: 0;
}

.track-name-compact {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.track-artist-compact {
    color: var(--text-secondary);
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spotify-controls-compact {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

.control-btn-compact {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.75rem;
    position: relative;
}

.control-btn-compact:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-1px);
}

.control-btn-compact.dropdown-toggle.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.control-btn-compact.dropdown-toggle i {
    transition: transform 0.3s ease;
}

.control-btn-compact.dropdown-toggle.active i {
    transform: rotate(180deg);
}

/* Dropdown */
.spotify-details-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    padding: 0;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.spotify-details-dropdown.show {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    padding: 1.2rem;
}

.navbar-spotify-widget.dropdown-open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
    position: relative;
    z-index: 999;
}

.navbar-spotify-widget.dropdown-open .spotify-details-dropdown {
    border-top-color: var(--border-color);
}

.track-details-full {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.track-header-full {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.track-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.3;
}

.track-artist {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.track-album {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.track-progress-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.track-progress-bar {
    width: 100%;
    height: 5px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.track-progress-fill {
    height: 100%;
    background: var(--spotify-green);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.track-time-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.track-actions-full {
    display: flex;
    gap: 0.6rem;
}

.spotify-link-full {
    flex: 1;
    background: var(--spotify-green);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.spotify-link-full:hover {
    background: var(--spotify-green-hover);
    transform: translateY(-1px);
}

.preview-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.preview-btn:hover {
    background: var(--primary-blue-hover);
    transform: translateY(-1px);
}

/* Spotify Connect Button */
.spotify-connect-navbar {
    position: relative;
    flex-shrink: 0;
}

.spotify-connect-btn-navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient-spotify);
    color: white;
    padding: 0.8rem 1.3rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.spotify-connect-btn-navbar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.4);
}

.btn-glow {
    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;
}

.spotify-connect-btn-navbar:hover .btn-glow {
    left: 100%;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
    flex-shrink: 0;
    background: transparent;
    border: none;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all var(--transition-normal);
    border-radius: 2px;
}

/* Animacje */
@keyframes logo-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes loading-dots {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1500px) {
    .navbar {
        width: 90%;
        max-width: 1350px;
    }
}

@media (max-width: 1400px) {
    .navbar {
        width: 92%;
        max-width: 1250px;
        padding: 0.6rem 1.5rem;
    }

    .nav-container {
        gap: 1.1rem;
    }

    .nav-menu {
        gap: 0.3rem;
    }

    .navbar-spotify-widget {
        min-width: 280px;
        max-width: 280px;
    }
}

@media (max-width: 1200px) {
    .navbar {
        width: 94%;
        padding: 0.6rem 1.2rem;
    }

    .nav-container {
        gap: 1rem;
    }

    .nav-link {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }

    .navbar-spotify-widget {
        min-width: 260px;
        max-width: 260px;
    }
}

@media (max-width: 1024px) {
    .navbar {
        top: 1rem;
        border-radius: 25px;
        width: calc(100% - 2rem);
        padding: 0.7rem 1.2rem;
    }

    /* Spotify widget UKRYTY TYLKO NA TABLET */
    .navbar .navbar-spotify-widget {
        display: none;
    }

    .brand-subtitle {
        display: none;
    }

    .spotify-connect-navbar {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: calc(100% - 2rem);
        padding: 0.7rem 1.2rem;
        border-radius: 22px;
    }

    .nav-container {
        gap: 1rem;
    }

    /* Mobile Menu - Z SPOTIFY WIDGETEM! */
    .nav-menu {
        position: fixed;
        top: calc(1rem + 70px);
        left: 1rem;
        right: 1rem;
        width: calc(100% - 2rem);
        background: rgba(12, 12, 12, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 1.5rem 1.2rem;
        transform: translateY(-15px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 22px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
        gap: 0.8rem;
        max-height: calc(100vh - 110px);
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    /* Spotify Widget NA MOBILE - NA GÓRZE MENU */
    .nav-menu .navbar-spotify-widget-mobile {
        display: block;
        background: rgba(26, 26, 26, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 18px;
        padding: 1rem;
        margin-bottom: 0.8rem;
        min-width: auto;
        max-width: 100%;
    }

    .nav-menu .spotify-player-compact {
        gap: 1rem;
    }

    .nav-menu .spotify-icon-animated {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .nav-menu .track-image-compact {
        width: 40px;
        height: 40px;
    }

    .nav-menu .track-name-compact {
        font-size: 0.95rem;
    }

    .nav-menu .track-artist-compact {
        font-size: 0.82rem;
    }

    .nav-menu .control-btn-compact {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    /* Nav Links */
    .nav-link {
        text-align: center;
        padding: 1rem;
        font-size: 1rem;
        font-weight: 500;
        border-radius: 16px;
        margin: 0;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.08);
    }

    .nav-link.active {
        background: var(--primary-blue);
        color: white;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .brand-info {
        display: none;
    }

    .logo-icon {
        width: 42px;
        height: 42px;
    }

    .logo-letter {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        top: 0.75rem;
        width: calc(100% - 1.5rem);
        padding: 0.6rem 1rem;
        border-radius: 20px;
    }

    .nav-menu {
        top: calc(0.75rem + 65px);
        left: 0.75rem;
        right: 0.75rem;
        width: calc(100% - 1.5rem);
        padding: 1.2rem 1rem;
        border-radius: 20px;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
    }

    .logo-letter {
        font-size: 1.3rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--navbar-height);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.gradient-mesh {
    position: absolute;
    width: 100%;
    height: 100%;
}

.mesh-gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: mesh-float 8s ease-in-out infinite;
}

.mesh-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.mesh-2 {
    width: 300px;
    height: 300px;
    background: var(--gradient-secondary);
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.mesh-3 {
    width: 250px;
    height: 250px;
    background: var(--gradient-mesh);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.mesh-4 {
    width: 350px;
    height: 350px;
    background: var(--gradient-spotify);
    top: 30%;
    right: 30%;
    animation-delay: 6s;
}

@keyframes mesh-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -20px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 20px) scale(1.05); }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.float-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.5rem;
    animation: float-element 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.element-1 { top: 20%; left: 15%; animation-delay: 0s; }
.element-2 { top: 60%; right: 20%; animation-delay: 1s; }
.element-3 { bottom: 30%; left: 25%; animation-delay: 2s; }
.element-4 { top: 40%; right: 15%; animation-delay: 3s; }
.element-5 { bottom: 20%; right: 40%; animation-delay: 4s; }

@keyframes float-element {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-intro {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    width: fit-content;
    position: relative;
}

.badge-text {
    color: #00ff88;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-line {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 400;
}

.title-name {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-role {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-accent);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 500px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 1rem 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
}

.stat-item:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: rgba(0, 102, 255, 0.1);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-showcase {
    position: relative;
}

.profile-card-modern {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.profile-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.profile-avatar {
    position: relative;
}

.avatar-image {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    font-weight: 800;
}

.avatar-letter {
    z-index: 2;
}

.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--card-bg);
}

.status-indicator.online {
    background: #00ff88;
}

.status-dot {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: pulse-status 2s ease-in-out infinite;
}

@keyframes pulse-status {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.profile-info {
    text-align: center;
}

.profile-info h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.profile-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.profile-badges {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.badge {
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(0, 102, 255, 0.3);
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-links-modern {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
    font-size: 0.9rem;
    font-weight: 500;
}

.social-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateX(5px);
}

.social-btn.github:hover {
    border-color: #333;
    color: #333;
    background: #f6f8fa;
}

.social-btn.spotify:hover {
    border-color: var(--spotify-green);
    color: var(--spotify-green);
}

.social-btn.email:hover {
    border-color: #ea4335;
    color: #ea4335;
}

.spotify-connect-card {
    background: rgba(29, 185, 84, 0.1);
    border: 1px solid rgba(29, 185, 84, 0.3);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
}

.connect-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.connect-header i {
    color: var(--spotify-green);
    font-size: 1.5rem;
}

.connect-header h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.spotify-connect-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.connect-btn-card {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-spotify);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.connect-btn-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.3);
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sections */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-blue);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 102, 255, 0.3);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Section */
.about {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
}

.text-blocks {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.text-block {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.block-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.block-content h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.block-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-showcase {
    width: 100%;
    max-width: 450px;
}

.code-editor {
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.editor-header {
    background: var(--surface-bg);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.editor-tabs {
    display: flex;
    gap: 0.5rem;
}

.tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card-bg);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.tab.active {
    background: var(--primary-blue);
    color: white;
}

.editor-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f57; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #28ca42; }

.editor-content {
    padding: 1.5rem;
    font-family: 'JetBrains Mono', 'Monaco', 'Menlo', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
}

.code-lines {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.code-line {
    display: flex;
    align-items: center;
}

.line-number {
    color: var(--text-muted);
    width: 30px;
    text-align: right;
    margin-right: 1.5rem;
    user-select: none;
    font-size: 0.8rem;
}

.code-text {
    color: var(--text-secondary);
    flex: 1;
}

.keyword { color: #ff79c6; font-weight: 600; }
.class-name { color: #8be9fd; }
.function { color: #50fa7b; }
.string { color: #f1fa8c; }

/* Skills Section */
.skills-showcase {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.skill-category.frontend::before {
    background: linear-gradient(135deg, #e34c26 0%, #f06529 100%);
}

.skill-category.backend::before {
    background: linear-gradient(135deg, #3776ab 0%, #ffd43b 100%);
}

.skill-category.specialty::before {
    background: linear-gradient(135deg, #1db954 0%, #1ed760 100%);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.category-header h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 700;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.skill-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-icon {
    width: 40px;
    height: 40px;
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-blue);
}

.skill-details {
    flex: 1;
}

.skill-details h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.skill-level {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skill-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-text {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 35px;
    text-align: right;
}

/* Projects Section */
.projects-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.project-card.featured {
    grid-column: span 2;
}

.project-preview {
    height: 200px;
    background: var(--surface-bg);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: var(--darker-bg);
    border-bottom: 1px solid var(--border-color);
}

.preview-controls {
    display: flex;
    gap: 0.5rem;
}

.preview-url {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
}

.preview-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-mockup {
    width: 100%;
    max-width: 250px;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mockup-navbar {
    height: 20px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.5rem;
}

.mockup-logo {
    width: 30px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.mockup-spotify {
    width: 40px;
    height: 8px;
    background: var(--spotify-green);
    border-radius: 2px;
}

.mockup-menu {
    width: 20px;
    height: 8px;
    background: #ddd;
    border-radius: 2px;
    margin-left: auto;
}

.mockup-hero {
    height: 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.mockup-text {
    width: 80%;
    height: 6px;
    background: #666;
    border-radius: 1px;
}

.mockup-buttons {
    width: 60%;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 1px;
}

.project-info {
    padding: 2rem;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-category {
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 102, 255, 0.3);
}

.project-links {
    display: flex;
    gap: 0.5rem;
}

.project-link {
    width: 35px;
    height: 35px;
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 0.9rem;
}

.project-link:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-1px);
}

.project-info h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.project-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: var(--surface-bg);
    color: var(--text-secondary);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.tech-tag:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* Contact Section */
.contact {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
}

.contact-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.card-content {
    flex: 1;
}

.card-content h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-content a,
.card-content span {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.card-content a:hover {
    color: var(--primary-blue);
}

.card-description {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.contact-form-section {
    display: flex;
    flex-direction: column;
}

.form-container {
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.8rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color var(--transition-normal);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand .brand-logo {
    margin-bottom: 1rem;
}

.footer-brand .brand-info h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.footer-brand .brand-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-section h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section a,
.footer-section span {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--primary-blue);
}

.social-links-footer {
    display: flex;
    gap: 1rem;
}

.social-links-footer .social-link {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: 1rem;
}

.social-links-footer .social-link:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom-content {
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        grid-template-columns: auto 1fr auto;
        gap: 1rem;
    }
    
    .navbar-spotify-widget {
        min-width: 250px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .project-card.featured {
        grid-column: span 1;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        grid-template-columns: auto 1fr auto;
        gap: 1rem;
    }
    
    .navbar-spotify-widget {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--navbar-height));
        background: var(--darker-bg);
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 2rem;
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .title-name {
        font-size: 2.5rem;
    }
    
    .title-role {
        font-size: 1.4rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .skills-categories {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .title-name {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .stat-icon {
        margin: 0 auto;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-blue);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--light-blue);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .navbar,
    .floating-elements,
    .gradient-mesh {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* Utility classes */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.fade-out {
    animation: fadeOut 0.6s ease forwards;
}

.slide-up {
    animation: slideUp 0.6s ease forwards;
}

.scale-in {
    animation: scaleIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes scaleIn {
    from { 
        opacity: 0; 
        transform: scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: scale(1); 
    }
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    z-index: 10001;
    max-width: 400px;
    color: var(--text-primary);
    backdrop-filter: blur(20px);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left: 4px solid var(--spotify-green);
}

.notification.error {
    border-left: 4px solid #ef4444;
}

.notification.info {
    border-left: 4px solid var(--primary-blue);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.2rem;
    border-radius: 4px;
    transition: background var(--transition-fast);
    font-size: 0.8rem;
}

.notification-close:hover {
    background: var(--border-color);
}

/* Loading states */
.loading-skeleton {
    background: linear-gradient(90deg, var(--border-color) 25%, var(--border-light) 50%, var(--border-color) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Custom focus styles */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #ffffff;
        --text-secondary: #cccccc;
        --border-color: #444444;
    }
}

/* Dark mode variables (already implemented) */
@media (prefers-color-scheme: dark) {
    :root {
        --dark-bg: #0a0a0a;
        --darker-bg: #000000;
        --card-bg: #111111;
        --text-primary: #ffffff;
        --text-secondary: #b3b3b3;
    }
}
/* Contact CTA Section */
.contact-cta {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 600px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-normal);
}

.cta-card::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.8s ease;
}

.cta-card:hover::before {
    left: 100%;
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.4);
    border-color: var(--accent-blue);
}

.cta-card h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.cta-card .btn {
    background: white;
    color: var(--primary-blue);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-card .btn:hover {
    background: var(--text-primary);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-card .btn i {
    font-size: 0.9rem;
    transition: transform var(--transition-normal);
}

.cta-card .btn:hover i {
    transform: translateX(3px);
}

/* Dodatkowe efekty wizualne */
.cta-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.cta-card:hover::after {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cta-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .cta-card h3 {
        font-size: 1.5rem;
    }
    
    .cta-card p {
        font-size: 1rem;
    }
    
    .cta-card .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contact-cta {
        margin-top: 2rem;
    }
    
    .cta-card {
        padding: 1.5rem 1rem;
    }
    
    .cta-card h3 {
        font-size: 1.3rem;
    }
    
    .cta-card .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Animacja wejścia */
.cta-card {
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dodatkowy efekt pulsowania dla przycisku */
.cta-card .btn {
    position: relative;
}

.cta-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    opacity: 0;
    transform: scale(1);
    animation: pulse-btn 2s ease-in-out infinite;
}

@keyframes pulse-btn {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.05);
    }
}

/* Focus states dla accessibility */
.cta-card .btn:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 3px;
}

/* Hover effect dla całej karty */
@media (hover: hover) {
    .cta-card {
        cursor: default;
    }
    
    .cta-card:hover {
        background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
    }
}
/* ========================================
   CHANGELOGS OVERLAY - POPRAWIONY WSZYSTKO
   ======================================== */

.changelogs-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.changelogs-overlay.active {
    opacity: 1;
    visibility: visible;
}

.changelogs-modal {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 100%;
    max-width: 750px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 
        0 20px 40px -12px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    transform: scale(0.95) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.changelogs-overlay.active .changelogs-modal {
    transform: scale(1) translateY(0);
}

/* Header */
.changelogs-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: rgba(26, 26, 26, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.changelogs-header-content {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.changelogs-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 12px rgba(0, 102, 255, 0.3);
    flex-shrink: 0;
}

.changelogs-icon i {
    font-size: 1.15rem;
    color: white;
}

.changelogs-modal-header h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.3px;
}

.changelogs-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.changelogs-close:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    transform: rotate(90deg) scale(1.05);
}

.changelogs-close i {
    font-size: 1.1rem;
}

/* Body - POPRAWIONY SCROLL */
.changelogs-modal-body {
    padding: 1.5rem 2rem 2rem 2rem;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    flex: 1;
    min-height: 0;
}

.changelogs-modal-body::-webkit-scrollbar {
    width: 6px;
}

.changelogs-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.changelogs-modal-body::-webkit-scrollbar-thumb {
    background: rgba(0, 102, 255, 0.5);
    border-radius: 10px;
}

.changelogs-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* Changelog Items */
.changelog-item {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.changelog-item:hover {
    border-color: rgba(0, 102, 255, 0.4);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.15);
}

.changelog-item:last-child {
    margin-bottom: 0;
}

.changelog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.4rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    position: relative;
}

.changelog-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.changelog-header:active {
    transform: scale(0.995);
}

.changelog-header-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* Version Badges */
.changelog-version {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.8rem;
    color: white;
    min-width: 95px;
    max-width: 95px;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.changelog-version.v-major {
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    box-shadow: 0 3px 12px rgba(0, 102, 255, 0.4);
}

.changelog-version.v-minor {
    background: linear-gradient(135deg, #00d4ff 0%, #0088ff 100%);
    box-shadow: 0 3px 12px rgba(0, 212, 255, 0.4);
}

.changelog-version.v-initial {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    box-shadow: 0 3px 12px rgba(255, 193, 7, 0.4);
}

.changelog-version i {
    font-size: 0.95rem;
}

/* Changelog Info - POPRAWIONE OVERFLOW */
.changelog-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.changelog-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.changelog-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.changelog-meta i {
    font-size: 0.7rem;
}

/* Arrow */
.changelog-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.changelog-item.active .changelog-arrow {
    background: var(--primary-blue);
    transform: rotate(180deg);
}

.changelog-arrow i {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.changelog-item.active .changelog-arrow i {
    color: white;
}

/* Changelog Body - POPRAWIONY */
.changelog-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid transparent;
}

.changelog-item.active .changelog-body {
    max-height: 2000px;
    border-top-color: rgba(255, 255, 255, 0.08);
}

.changelog-section {
    padding: 1.2rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.changelog-section:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.changelog-section:last-child {
    padding-bottom: 1.2rem;
}

/* Badges */
.changelog-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.changelog-badge i {
    font-size: 0.75rem;
}

.badge-new {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-improved {
    background: rgba(0, 102, 255, 0.15);
    color: #0066ff;
    border: 1px solid rgba(0, 102, 255, 0.3);
}

.badge-fixed {
    background: rgba(251, 146, 60, 0.15);
    color: #fb923c;
    border: 1px solid rgba(251, 146, 60, 0.3);
}

/* Lists - POPRAWIONE WORD WRAP */
.changelog-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.changelog-list:last-child {
    margin-bottom: 0;
}

.changelog-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.5;
    padding: 0.75rem 0.95rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    transition: all 0.2s ease;
    overflow: hidden;
}

.changelog-list li span {
    word-break: break-word;
    overflow-wrap: break-word;
    flex: 1;
}

.changelog-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 102, 255, 0.4);
    transform: translateX(3px);
}

.list-icon {
    width: 18px;
    height: 18px;
    background: var(--gradient-primary);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.list-icon i {
    font-size: 0.65rem;
    color: white;
}

/* ========================================
   RESPONSYWNOŚĆ - POPRAWIONA
   ======================================== */

@media (max-width: 768px) {
    .changelogs-overlay {
        padding: 0.75rem;
    }

    .changelogs-modal {
        max-height: 90vh;
        border-radius: 18px;
        max-width: 100%;
    }

    .changelogs-modal-header {
        padding: 1.25rem 1.5rem;
    }

    .changelogs-icon {
        width: 36px;
        height: 36px;
    }

    .changelogs-icon i {
        font-size: 1rem;
    }

    .changelogs-modal-header h2 {
        font-size: 1.2rem;
    }

    .changelogs-close {
        width: 36px;
        height: 36px;
    }

    .changelogs-modal-body {
        padding: 1.25rem 1.5rem 1.5rem 1.5rem;
    }

    .changelog-header {
        padding: 1rem 1.2rem;
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .changelog-header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        flex: 1;
        min-width: 0;
        padding-right: 0.5rem;
    }

    .changelog-version {
        font-size: 0.75rem;
        padding: 0.6rem 0.9rem;
        min-width: 85px;
        max-width: 100%;
    }

    .changelog-info {
        width: 100%;
    }

    .changelog-info h3 {
        font-size: 0.9rem;
        white-space: normal;
        -webkit-line-clamp: 3;
    }

    .changelog-arrow {
        margin-left: 0.5rem;
        margin-top: 0.5rem;
    }

    .changelog-section {
        padding: 1rem 1.2rem;
    }

    .changelog-section:last-child {
        padding-bottom: 1rem;
    }

    .changelog-list li {
        padding: 0.7rem 0.85rem;
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    .changelogs-modal {
        max-height: 92vh;
    }

    .changelogs-modal-header {
        padding: 1rem 1.25rem;
    }

    .changelogs-modal-header h2 {
        font-size: 1.1rem;
    }

    .changelogs-modal-body {
        padding: 1rem 1.25rem 1.25rem 1.25rem;
    }

    .changelog-header {
        padding: 0.9rem 1rem;
    }

    .changelog-version {
        font-size: 0.7rem;
        padding: 0.55rem 0.8rem;
        min-width: 80px;
    }

    .changelog-info h3 {
        font-size: 0.85rem;
    }

    .changelog-arrow {
        width: 30px;
        height: 30px;
    }

    .changelog-list li {
        padding: 0.65rem 0.75rem;
        font-size: 0.75rem;
    }

    .changelog-section:last-child {
        padding-bottom: 0.9rem;
    }
}

/* Fix dla długich tytułów */
@media (max-width: 600px) {
    .changelog-info h3 {
        font-size: 0.88rem;
        line-height: 1.4;
    }
}
/* ========================================
   CONTACT SECTION - ULTRA PREMIUM v2
======================================== */

#contact {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Section Badge */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Discord Highlight Card */
.discord-highlight-card {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    border-radius: 20px;
    padding: 0;
    margin-bottom: 4rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(88, 101, 242, 0.3);
}

.discord-highlight-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.discord-highlight-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    padding: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.discord-logo-large {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.discord-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
}

.discord-pulse.pulse-2 {
    animation-delay: 1s;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.discord-server-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.discord-server-header h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.status-badge.live {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge .status-dot {
    width: 8px;
    height: 8px;
    background: #43B581;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.discord-server-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.discord-stats-mini {
    display: flex;
    gap: 1.5rem;
}

.stat-mini {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.stat-mini i {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
}

.stat-mini i.online-icon {
    color: #43B581;
}

.stat-mini-info {
    display: flex;
    flex-direction: column;
}

.stat-mini-value {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}

.stat-mini-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
}

.discord-join-big {
    background: white;
    color: #5865F2;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 0.8rem;
}

.discord-join-big:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.discord-info-trigger {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.discord-info-trigger:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.contact-methods-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form-section {
    height: 100%;
}

/* Subsection Title */
.subsection-title {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.subsection-title i {
    color: var(--primary-blue);
}

/* Contact Methods */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-method-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.2rem;
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
}

.contact-method-item:hover {
    border-color: var(--primary-blue);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.method-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
}

.method-icon-wrapper.email {
    background: linear-gradient(135deg, #EA4335 0%, #D93025 100%);
}

.method-icon-wrapper.github {
    background: linear-gradient(135deg, #24292e 0%, #000000 100%);
}

.method-icon-wrapper.discord {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
}

.method-icon-wrapper.location {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.method-details {
    flex: 1;
}

.method-details h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.method-details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.method-info {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.method-action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.method-action:hover {
    gap: 0.6rem;
    color: var(--dark-blue);
}

/* Quick Links Box */
.quick-links-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
}

.quick-links-box h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: var(--surface-bg);
    color: var(--primary-blue);
    padding-left: 1.2rem;
}

/* Form Card */
.form-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.form-card-header {
    margin-bottom: 2rem;
    flex-shrink: 0;
}

.form-card-header h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.form-card-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Premium Form */
.premium-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field label {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-field label i {
    color: var(--primary-blue);
    font-size: 0.85rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    background: var(--surface-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 0.9rem 1rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
    background: var(--card-bg);
}

.form-field textarea {
    resize: vertical;
    min-height: 140px;
}

.char-counter {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: right;
    margin-top: -0.3rem;
}

.form-submit-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1.1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    position: relative;
    z-index: 2;
}

.btn-shine {
    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;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.form-submit-btn:hover .btn-shine {
    left: 100%;
}

.form-privacy-note {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: -0.5rem;
}

/* Footer Info */
.contact-footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.footer-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-info-item i {
    font-size: 1.8rem;
    color: var(--primary-blue);
}

.footer-info-item div {
    display: flex;
    flex-direction: column;
}

.footer-info-item strong {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-info-item span {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .discord-highlight-content {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
    }
    
    .discord-highlight-right {
        grid-column: 1 / -1;
        display: flex;
        gap: 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .discord-highlight-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .discord-logo-large {
        margin: 0 auto;
    }
    
    .discord-server-header {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .discord-stats-mini {
        justify-content: center;
    }
    
    .discord-highlight-right {
        flex-direction: column;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    
    .contact-footer-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .discord-stats-mini {
        flex-direction: column;
        align-items: center;
    }
}

.changelog-badge.badge-technical {
    background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
}