/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Glassmorphism Colors */
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: rgba(0, 0, 0, 0.05);
    --glass-highlight: rgba(255, 255, 255, 0.8);
    
    /* Neumorphism Colors */
    --neumorph-light: #f8f9fa;
    --neumorph-dark: #dee2e6;
    --neumorph-shadow-light: rgba(255, 255, 255, 0.9);
    --neumorph-shadow-dark: rgba(206, 212, 218, 0.3);
    
    /* Brand Colors */
    --primary: #ff0050;
    --primary-light: #ff3370;
    --primary-dark: #cc0040;
    --secondary: #6c5ce7;
    --accent: #00cec9;
    
    /* Text Colors */
    --text-primary: #1a237e;
    --text-secondary: #4a148c;
    --text-light: #424242;
    
    /* Background */
    --bg-gradient: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    --bg-pattern: radial-gradient(circle at 20% 50%, rgba(144, 202, 249, 0.2), transparent 50%),
                   radial-gradient(circle at 80% 20%, rgba(206, 147, 216, 0.2), transparent 50%),
                   radial-gradient(circle at 40% 80%, rgba(186, 104, 200, 0.2), transparent 50%);
    
    /* Glass Properties */
    --glass-blur: 20px;
    --glass-border-radius: 20px;
    --glass-padding: 2rem;
    
    /* Animation */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-gradient);
    background-attachment: fixed;
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated Background */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-pattern);
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

/* Floating Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glass Components */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--glass-border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--glass-highlight);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.neumorph {
    background: var(--neumorph-light);
    border-radius: var(--glass-border-radius);
    box-shadow: 9px 9px 16px var(--neumorph-shadow-dark),
                -9px -9px 16px var(--neumorph-shadow-light);
    transition: var(--transition);
}

.neumorph:hover {
    box-shadow: 6px 6px 12px var(--neumorph-shadow-dark),
                -6px -6px 12px var(--neumorph-shadow-light);
}

.neumorph-inset {
    background: var(--neumorph-light);
    border-radius: var(--glass-border-radius);
    box-shadow: inset 6px 6px 12px var(--neumorph-shadow-dark),
                inset -6px -6px 12px var(--neumorph-shadow-light);
}

/* Header */
.header {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.header .container {
    padding: 1rem 20px;
}

/* Desktop Header */
.desktop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Mobile Header */
.mobile-header {
    display: none;
}

.mobile-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Mobile Navigation */
.mobile-nav {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
    justify-content: flex-end;
    margin-left: 1rem;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.9;
}

.breadcrumb-dropdown {
    position: relative;
    display: inline-block;
}

.breadcrumb-toggle {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    font-size: 0.8rem;
    min-width: 80px;
    justify-content: space-between;
}

.breadcrumb-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--glass-highlight);
    transform: translateY(-1px);
}

.breadcrumb-current {
    color: var(--text-light);
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 60px;
}

.breadcrumb-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    box-shadow: 0 8px 32px var(--glass-shadow);
    min-width: 180px;
    max-width: 250px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0.25rem;
}

.breadcrumb-dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.breadcrumb-dropdown-item {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.6rem 0.8rem;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breadcrumb-dropdown-item:last-child {
    border-bottom: none;
}

.breadcrumb-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary-light);
    transform: translateX(3px);
}

.breadcrumb-dropdown-item:first-child:hover {
    border-radius: 15px 15px 0 0;
}

.breadcrumb-dropdown-item:last-child:hover {
    border-radius: 0 0 15px 15px;
}

/* Scrollbar for dropdown menu */
.breadcrumb-dropdown-menu::-webkit-scrollbar {
    width: 4px;
}

.breadcrumb-dropdown-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.breadcrumb-dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.breadcrumb-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Mobile Dropdown Styles */
.mobile-dropdown-toggle {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    padding: 0.4rem 0.6rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    white-space: nowrap;
    font-size: 0.75rem;
    min-width: 70px;
    justify-content: space-between;
}

.mobile-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--glass-highlight);
    transform: translateY(-1px);
}

.mobile-dropdown-current {
    color: var(--text-light);
    font-size: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 45px;
}

.mobile-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    box-shadow: 0 8px 32px var(--glass-shadow);
    min-width: 140px;
    max-width: 180px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0.25rem;
}

.mobile-dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}


.mobile-dropdown-item {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 0.7rem;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    font-size: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-dropdown-item:last-child {
    border-bottom: none;
}

.mobile-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary-light);
    transform: translateX(3px);
}

.mobile-dropdown-item:first-child:hover {
    border-radius: 15px 15px 0 0;
}

.mobile-dropdown-item:last-child:hover {
    border-radius: 0 0 15px 15px;
}

/* Scrollbar for mobile dropdown menu */
.mobile-dropdown-menu::-webkit-scrollbar {
    width: 4px;
}

.mobile-dropdown-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.mobile-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light);
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.logo a:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255, 0, 80, 0.3));
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.nav a:hover::before {
    width: 100%;
    height: 100%;
    border-radius: 25px;
}

.nav a:hover {
    color: var(--primary-light);
    transform: translateY(-2px);
}

/* Language Dropdown Container */
.language-dropdown {
    position: relative;
    display: inline-block;
}

/* Language Toggle Button */
.language-toggle {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.language-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--glass-highlight);
    transform: translateY(-2px);
}

/* Language Dropdown Menu */
.language-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    box-shadow: 0 8px 32px var(--glass-shadow);
    min-width: 200px;
    max-width: 300px;
    z-index: 1000;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0.25rem;
    overflow: hidden;
}

.language-dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.language-dropdown-menu .dropdown-item {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.75rem 1rem;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.language-dropdown-menu .dropdown-item:last-child {
    border-bottom: none;
}

.language-dropdown-menu .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary-light);
    transform: translateX(5px);
}

.language-dropdown-menu .dropdown-item:first-child:hover {
    border-radius: 15px 15px 0 0;
}

.language-dropdown-menu .dropdown-item:last-child:hover {
    border-radius: 0 0 15px 15px;
}

/* Platform Navigation */
.platform-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.platform-link {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-weight: 500;
    white-space: nowrap;
}

.platform-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.platform-link:hover::before {
    width: 100%;
    height: 100%;
    border-radius: 25px;
}

.platform-link:hover {
    color: var(--primary-light);
    transform: translateY(-2px);
}

/* Platform Dropdown */
.platform-dropdown {
    position: relative;
}

.dropdown-toggle {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--glass-highlight);
    transform: translateY(-2px);
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.dropdown-arrow.arrow-up {
    transform: rotate(-90deg);
}

.dropdown-arrow.arrow-down {
    transform: rotate(90deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    box-shadow: 0 8px 32px var(--glass-shadow);
    min-width: 200px;
    max-width: 300px;
    z-index: 1000;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0.25rem;
    overflow: hidden;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.75rem 1rem;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary-light);
    transform: translateX(5px);
}

.dropdown-item:first-child:hover {
    border-radius: 15px 15px 0 0;
}

.dropdown-item:last-child:hover {
    border-radius: 0 0 15px 15px;
}

/* Main Content */
.main {
    min-height: calc(100vh - 140px);
    padding: 2rem 0;
}

.hero {
    text-align: center;
    margin-bottom: 0rem;
    padding: 3rem 0;
}

.hero h1 {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-light), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
      animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    }
    to {
        filter: drop-shadow(0 0 30px rgba(255, 0, 80, 0.5));
    }
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-light);
    opacity: 0.9;
  }

.hero-subtitle {
    margin-top: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-subtitle p {
    font-size: 1.1rem;
    color: var(--text-light);
    opacity: 0.8;
    font-style: italic;
  }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 0.8;
        transform: translateY(0);
    }
}

/* Parser Section */
.parser-section {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--glass-border-radius);
    padding: var(--glass-padding);
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.parser-section:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--glass-highlight);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.parser-form {
    max-width: 900px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    flex-wrap: nowrap;
    align-items: center;
}

.url-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--glass-border);
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
    min-width: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    outline: none;
}

.url-input::placeholder {
    color: rgba(0, 0, 0, 0.469);
}

.url-input:focus {
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 0, 80, 0.3);
    transform: translateY(-2px);
}

.parse-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 0, 80, 0.3);
    position: relative;
    overflow: hidden;
}

.parse-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.parse-btn:hover:not(:disabled)::before {
    width: 100%;
    height: 100%;
    border-radius: 50px;
}

.parse-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 80, 0.4);
}

.parse-btn:disabled {
    background: var(--neumorph-dark);
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

/* Loading */
.loading {
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--primary-light);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
    box-shadow: 0 0 30px rgba(255, 0, 80, 0.4);
}

.loading-text {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.6; }
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-dark));
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 0, 80, 0.5);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Result */
.result {
    margin-top: 2rem;
}

.content-display {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    transition: none;
}

.video-player {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--glass-border-radius);
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.video-player:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.image-collection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.image-item {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--glass-border-radius);
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
}

.image-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--glass-highlight);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.button-container {
    margin-top: auto;
}

.image-display {
    width: 100%;
    height: auto;
    border-radius: var(--glass-border-radius);
    margin-bottom: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    aspect-ratio: 1 / 1;
    transition: var(--transition);
}

.image-display:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.video-info {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.video-cover {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--glass-border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.video-cover:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.video-details, .content-details {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.video-details h3, .content-title {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.5rem;
    text-align: center;
    font-weight: 600;
  }

.content-description {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.5;
    opacity: 0.9;
}

.content-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    justify-content: center;
}

.content-stats span {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.content-stats span:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--glass-highlight);
    transform: translateY(-2px);
}

.audio-player {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: var(--glass-border-radius);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
}

/* Media controls for video content */
.media-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.media-controls .audio-player {
    flex: 0 0 60%;
    min-width: 200px;
    margin-bottom: 0;
    height: 38px;
}

.media-controls .download-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    min-width: 120px;
    flex: 1;
}

.media-controls .download-btn {
    width: 100%;
    margin: 0;
    padding: 0.8rem 1rem;
    color: #ffffff;
}

/* Audio container for image collections */
.audio-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.audio-container .audio-player {
    flex: 1;
    margin-bottom: 0;
    min-width: 0; /* Ensure audio player doesn't overflow in flex container */
    width: 100%;
}

.audio-container .download-btn {
    width: auto;
    min-width: 120px;
    margin: 0;
    color: #ffffff;
}

.download-btn, .download-image-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    margin: 0.25rem;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(255, 0, 80, 0.3);
    position: relative;
    overflow: hidden;
}

.download-btn::before, .download-image-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.download-btn:hover::before, .download-image-btn:hover::before {
    width: 100%;
    height: 100%;
    border-radius: 50px;
}

.download-btn:hover, .download-image-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 80, 0.4);
}

/* Error */
.error {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 0, 80, 0.3);
    color: var(--text-light);
    padding: 1rem 1.5rem;
    border-radius: var(--glass-border-radius);
    text-align: center;
    word-break: keep-all;
    white-space: nowrap;
    min-width: fit-content;
    width: fit-content;
    margin-left: 0;
    margin-right: auto;
    display: block;
    line-height: 1.2;
    box-shadow: 0 8px 32px rgba(255, 0, 80, 0.2);
    transition: var(--transition);
}

.error::before,
.error::after {
    display: none !important;
    content: none !important;
}

.error p {
    margin: 0;
    padding: 0;
    display: block;
    line-height: 0;
}

/* Instructions - 平台页面使用说明卡片 */
.instructions {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--glass-border-radius);
    padding: var(--glass-padding);
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.instructions:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--glass-highlight);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.instructions h2 {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 600;
  }

.instructions p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    opacity: 0.9;
}

.instructions ol {
    margin-left: 2rem;
    color: var(--text-light);
    opacity: 0.9;
}

.instructions li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    opacity: 0.9;
}

.instructions img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: var(--glass-border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 1rem 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: var(--transition);
}

.instructions img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ - 平台页面常见问题解答卡片 */
/* Landing Page FAQ - Card Style */
.landing-faq {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--glass-border-radius);
    padding: var(--glass-padding);
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.landing-faq:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--glass-highlight);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.landing-faq h2 {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 600;
  }

.landing-faq .faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.landing-faq .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: var(--transition);
    border-radius: 10px;
    padding: 0.5rem 1rem;
}

.landing-faq .faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.landing-faq .faq-question h3 {
    margin: 0;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

.landing-faq .faq-answer {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-top: 0.5rem;
    display: none;
    border: 1px solid var(--glass-border);
}

.landing-faq .faq-answer p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

.landing-faq .toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light);
    transition: var(--transition);
}

.landing-faq .faq-question:hover .toggle {
    transform: rotate(90deg);
}

/* FAQ - Card Style (for platform pages) */
.faq {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--glass-border-radius);
    padding: var(--glass-padding);
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.faq:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--glass-highlight);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.faq h2 {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 600;
  }

/* FAQ Items - Match Landing Page Style */
.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: var(--transition);
    border-radius: 10px;
    padding: 0.5rem 1rem;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border: none;
    box-shadow: none;
}

.faq-question h3 {
    margin: 0;
    color: var(--text-light);
    font-weight: 500;
    font-size: 1.1rem;
}

.toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light);
    transition: var(--transition);
}

.faq-question:hover .toggle {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-top: 0.5rem;
    display: none;
    border: 1px solid var(--glass-border);
}

.faq-answer p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-top: 1px solid var(--glass-border);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
    transition: var(--transition);
}

.footer-nav {
    margin-top: 1rem;
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 1rem;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.footer-nav a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.footer-nav a:hover::before {
    width: 100%;
    height: 100%;
    border-radius: 25px;
}

.footer-nav a:hover {
    color: var(--primary-light);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .image-collection {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Hide desktop header, show mobile header */
    .desktop-header {
        display: none;
    }
    
    .mobile-header {
        display: block;
    }
    
    .header .container {
        padding: 0.75rem 20px;
    }

    .logo a {
        font-size: 1.1rem;
    }

    .mobile-nav {
        gap: 0.6rem;
        margin-left: 0.8rem;
    }

    .mobile-dropdown-toggle {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
        min-width: 60px;
    }

    .mobile-dropdown-current {
        max-width: 40px;
        font-size: 0.7rem;
    }

    .mobile-dropdown-menu {
        min-width: 120px;
        max-width: 150px;
        right: -5px;
    }

    .breadcrumb-toggle {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
        min-width: 60px;
    }

    .breadcrumb-current {
        max-width: 40px;
        font-size: 0.7rem;
    }

    .breadcrumb-dropdown-menu {
        min-width: 140px;
        max-width: 170px;
        right: -5px;
    }

    .platform-nav {
        gap: 0.5rem;
    }

    .platform-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .dropdown-toggle {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .dropdown-menu {
        min-width: 180px;
        right: -10px;
        margin-top: 0.25rem;
    }

    .language-toggle {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.9rem !important;
    }

    .language-dropdown-menu {
        min-width: 180px !important;
        right: 0 !important;
        left: auto !important;
        margin-top: 0.25rem !important;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .video-info {
        flex-direction: column;
        text-align: center;
    }

    .video-cover {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .image-collection {
        grid-template-columns: 1fr;
    }

    /* Platform cards responsive */
    .platform-cards {
        grid-template-columns: 1fr;
    }

    .audio-container {
        flex-direction: column;
        align-items: stretch;
    }

    .audio-container .download-btn {
        width: 100%;
        margin-top: 1rem;
    }

    .audio-container .audio-player {
        margin-bottom: 1rem;
        min-width: auto;
        width: 100% !important; /* Override flex: 1 on mobile */
        height: auto !important; /* Ensure audio player has proper height */
        min-height: 50px; /* Minimum height for audio player */
    }

    /* Stack media controls vertically on mobile */
    .media-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .media-controls .audio-player {
        min-width: auto;
        width: 100% !important;
        margin-bottom: 1rem;
        height: 50px !important;
        min-height: 50px;
    }

    .media-controls .download-buttons {
        flex-direction: column;
        min-width: auto;
        width: 100%;
    }

    .media-controls .download-btn {
        width: 100%;
        margin: 0 0 0.5rem 0;
    }

    .media-controls .download-btn:last-child {
        margin-bottom: 0;
    }

    .video-player {
        max-width: 100%;
    }

    .content-stats {
        justify-content: center;
    }

    .footer-nav a {
        display: block;
        margin: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .header .container {
        padding: 0.5rem 20px;
    }

    .mobile-header-row {
        align-items: center;
    }

    .logo a {
        font-size: 1rem;
    }

    .mobile-nav {
        gap: 0.4rem;
        margin-left: 0.5rem;
    }

    .mobile-dropdown-toggle {
        padding: 0.2rem 0.4rem;
        font-size: 0.65rem;
        min-width: 50px;
    }

    .mobile-dropdown-current {
        max-width: 35px;
        font-size: 0.65rem;
    }

    .mobile-dropdown-menu {
        min-width: 100px;
        max-width: 130px;
        right: -3px;
    }

    .breadcrumb-toggle {
        padding: 0.2rem 0.4rem;
        font-size: 0.65rem;
        min-width: 50px;
    }

    .breadcrumb-current {
        max-width: 60px;
        font-size: 0.65rem;
    }

    .breadcrumb-dropdown-menu {
        min-width: 120px;
        max-width: 150px;
        right: -3px;
    }

    .nav {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .platform-nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.3rem;
    }

    .platform-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .dropdown-toggle {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .dropdown-menu {
        min-width: 160px;
        right: -5px;
        margin-top: 0.25rem;
    }

    .language-toggle {
        padding: 0.3rem 0.6rem !important;
        font-size: 0.8rem !important;
    }

    .language-dropdown-menu {
        min-width: 160px !important;
        right: 0 !important;
        left: auto !important;
        margin-top: 0.25rem !important;
    }

    .language-switcher {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .language-toggle {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.9rem !important;
    }

    .language-dropdown-menu {
        min-width: 180px !important;
        right: 0 !important;
        left: auto !important;
        margin-top: 0.25rem !important;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .parser-section {
        padding: 1rem;
    }

    .url-input, .parse-btn {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
    
    .parse-btn {
        padding: 0.8rem 1rem;
    }
    
    .instructions img {
        max-width: 250px;
    }
    
    .platform-card {
        height: auto;
        min-height: 200px;
        padding: 1.5rem 1rem;
    }
    
    .platform-group {
        padding: 1.5rem;
    }
    
    .platform-card {
        padding: 1.5rem 1rem;
        height: auto;
        min-height: 180px;
    }
    
    .platform-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
    }
    
    .platform-card h4 {
        font-size: 1.1rem;
    }
    
    .platform-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }
    
    /* Features responsive */
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Platform Selection Styles */
.platforms-section {
    margin-bottom: 4rem;
}

.platforms-grid {
    display: grid;
    gap: 3rem;
}

.platform-group {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: var(--glass-padding);
    box-shadow: none;
    transition: none;
    position: relative;
}


.platform-group:hover {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.platform-group-title {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
      position: relative;
    display: inline-block;
    width: 100%;
}

.platform-group-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-dark));
    border-radius: 2px;
}

.platform-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.platform-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--glass-border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 220px;
    height: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.platform-card:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--glass-highlight);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px) scale(1.02);
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.platform-card:hover::before {
    transform: scaleX(1);
}

.platform-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 0, 80, 0.3);
    flex-shrink: 0;
}

.platform-icon.bilibili {
    background: linear-gradient(135deg, #fb7299, #ff6b6b);
    box-shadow: 0 4px 15px rgba(251, 114, 153, 0.3);
}

.platform-icon.douyin {
    background: linear-gradient(135deg, #000000, #333333);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.platform-card:hover .platform-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 6px 20px rgba(255, 0, 80, 0.4);
}

.platform-card h3 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
    flex-shrink: 0;
}

.platform-card p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.9;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.platform-btn {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    color: var(--text-light);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 0, 80, 0.3);
    position: relative;
    overflow: hidden;
}

.platform-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.platform-btn:hover::before {
    width: 100%;
    height: 100%;
    border-radius: 50px;
}

.platform-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 80, 0.4);
}

.platform-card.empty {
    background: transparent;
    border: 2px dashed var(--glass-border);
    cursor: default;
    backdrop-filter: none;
    box-shadow: none;
}

.platform-card.empty:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--glass-border);
    background: transparent;
}

.platform-card.empty::before {
    display: none;
}

.platform-btn:hover {
    background: linear-gradient(135deg, #e60045, #ff5252);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 80, 0.3);
}

/* Features Section */
.features-section {
    margin-bottom: 4rem;
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 0, 80, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 2rem;
    text-align: center;
    box-shadow: none;
    transition: none;
    position: relative;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    border-radius: 2px;
    opacity: 0.6;
}

.feature-item:hover {
    transform: none;
}

.feature-item p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-item span {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 4.5em;
    opacity: 0.9;
}

/* Static Pages - Enhanced Styling */
.static-page {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--glass-border-radius);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.static-page:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--glass-highlight);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Page Title */
.static-page h2 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    text-align: center;
}

.static-page h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-dark));
    border-radius: 1px;
}

/* Section Headers */
.static-page h3 {
    color: var(--text-light);
    margin: 2.5rem 0 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-left: 1rem;
}

.static-page h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    border-radius: 2px;
}

/* Sub-section Headers */
.static-page h4 {
    color: var(--text-light);
    margin: 2rem 0 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    padding-left: 0.8rem;
}

.static-page h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    background: var(--primary-light);
    border-radius: 1.5px;
}

/* Paragraphs and Text */
.static-page p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
    opacity: 0.95;
}

.static-page p:last-child {
    margin-bottom: 0;
}

/* Update Date Badge */
.static-page p strong {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Lists */
.static-page ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.static-page ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.static-page li {
    margin-bottom: 0.8rem;
    color: var(--text-light);
    line-height: 1.6;
    opacity: 0.95;
}

.static-page li:last-child {
    margin-bottom: 0;
}

/* Strong emphasis in lists */
.static-page li strong {
    color: var(--primary);
    font-weight: 600;
}

/* Links in static pages */
.static-page a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.static-page a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Content Sections */
.content-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.content-section:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--glass-highlight);
    transform: translateY(-1px);
}

.content-section h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.content-section p {
    margin-bottom: 1rem;
}

.content-section ul {
    margin-bottom: 0;
}

/* Platform List */
.platform-list {
    margin: 1.5rem 0;
}

.platform-list h4 {
    color: var(--primary-light);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.platform-list p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Help Section Specific */
.help-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.8rem;
    margin-bottom: 1.8rem;
    transition: var(--transition);
}

.help-section:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--glass-highlight);
    transform: translateY(-1px);
}

.help-section h4 {
    color: var(--primary-light);
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.help-section p {
    margin-bottom: 1rem;
}

.help-section ul {
    margin-bottom: 0;
}

/* Address styling */
.static-page address {
    font-style: normal;
    color: var(--text-light);
    opacity: 0.9;
    line-height: 1.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .static-page {
        padding: 1.8rem;
    }
    
    .static-page h2 {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }
    
    .static-page h3 {
        font-size: 1.3rem;
        margin: 2rem 0 1.2rem;
    }
    
    .static-page h4 {
        font-size: 1.1rem;
        margin: 1.5rem 0 0.8rem;
    }
    
    .content-section,
    .help-section {
        padding: 1.3rem;
        margin-bottom: 1.3rem;
    }
}

@media (max-width: 480px) {
    .static-page {
        padding: 1.5rem;
    }
    
    .static-page h2 {
        font-size: 1.4rem;
    }
    
    .static-page h3 {
        font-size: 1.2rem;
    }
    
    .content-section,
    .help-section {
        padding: 1.1rem;
    }
}