:root {
    --bg-color: #050505;
    --text-primary: #f0f0f0;
    --text-secondary: #a1a1aa;
    --accent-primary: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
}

html:not([lang="en"]) [lang="en"] {
    display: none !important;
}

html[lang="en"] [lang="sk"] {
    display: none !important;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 2rem;
}

p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 40px var(--accent-glow);
    }

    50% {
        box-shadow: 0 0 60px rgba(59, 130, 246, 0.6);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 100;
    background: #21283a;
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}

.logo span {
    color: var(--accent-primary);
}

.header-logo {
    height: 90px;
    width: auto;
    display: block;
    transition: height 0.3s ease;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

/* Contact Section & Footer */
.contact-section {
    margin-top: 80px;
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-details {
    flex: 1 1 300px;
}

.contact-form-wrapper {
    flex: 2 1 400px;
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.btn-submit {
    background: var(--accent-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background: #2563eb;
}

footer {
    padding: 4rem 0 2rem 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    color: var(--text-secondary);
}

.lang-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 2rem;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lang-active {
    color: var(--accent-primary);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 1rem;
    padding: 5px;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--accent-primary);
}

/* Interactive Utilities */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    text-align: center;
    position: relative;
}

.hero p {
    margin: 0 auto 2rem auto;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.features {
    padding: 100px 0;
    position: relative;
}

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

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem 2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Recordings View Specifics */
.folder-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.folder-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.3s ease;
}

.folder-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.folder-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #fff;
}

.folder-icon {
    color: var(--accent-primary);
    margin-right: 15px;
}

.folder-toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.folder-card.open .folder-toggle-icon {
    transform: rotate(180deg);
}

.folder-content {
    padding: 0 2rem 2rem 2rem;
    display: none;
}

.folder-card.open .folder-content {
    display: block;
    animation: fadeIn 0.4s ease;
}

.track-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.track-item {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.track-title {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.track-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 10px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 3px solid var(--accent-primary);
    display: none;
}

.track-desc.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.btn-toggle-desc {
    background: none;
    border: none;
    color: var(--accent-primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
    margin-top: 5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-toggle-desc:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.qr-home-container {
    background: #fff;
    padding: 5px;
    border-radius: 4px;
    display: inline-block;
    margin-right: 15px;
    flex-shrink: 0;
}

.track-info-wrapper {
    display: flex;
    align-items: center;
    flex-grow: 1;
    min-width: 250px;
}

audio {
    width: 100%;
    height: 40px;
    border-radius: 8px;
    outline: none;
    flex-basis: 100%;
}

audio::-webkit-media-controls-panel {
    background-color: #f0f0f0;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.cta-button:hover {
    background: #fff;
    color: var(--bg-color);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
    .track-item {
        gap: 1rem;
        flex-wrap: nowrap;
    }

    audio {
        flex-basis: 300px;
        width: 300px;
    }
}

@media (max-width: 768px) {
    .header-logo {
        height: 60px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(33, 40, 58, 0.98);
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 10px 0;
        width: 100%;
    }

    .mobile-menu-btn {
        display: block;
    }

    .folder-header {
        padding: 1.5rem;
    }

    .folder-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .contact-info div {
        width: 100%;
    }
}