/* CSS Variables for Theme System */
:root {
    /* Light Theme - Fresh Green & Cream */
    --bg-primary: linear-gradient(135deg, #fbfcee 0%, #e8f5e8 100%);
    --bg-secondary: rgba(251, 252, 238, 0.95);
    --bg-card: rgba(251, 252, 238, 0.9);
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-accent: #68a063;
    --border-color: rgba(203, 214, 155, 0.4);
    --border-focus: rgba(203, 214, 155, 0.8);
    --shadow-color: rgba(203, 214, 155, 0.2);
    --shadow-hover: rgba(203, 214, 155, 0.3);
    --focus-color: #68a063;
    --error-color: #e53e3e;
    --success-color: #38a169;
    --accent-color: #68a063;
    --accent-gradient: linear-gradient(135deg, #cbd69b 0%, #a8c686 100%);
    --card-backdrop: rgba(203, 214, 155, 0.15);
}

[data-theme="dark"] {
    /* Dark Theme - Deep Purple & Teal Gradient */
    --bg-primary: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    --bg-secondary: rgba(45, 55, 72, 0.95);
    --bg-card: rgba(45, 55, 72, 0.9);
    --text-primary: #f7fafc;
    --text-secondary: #a0aec0;
    --text-accent: #81e6d9;
    --border-color: rgba(129, 230, 217, 0.3);
    --border-focus: rgba(129, 230, 217, 0.6);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --shadow-hover: rgba(129, 230, 217, 0.15);
    --focus-color: #81e6d9;
    --error-color: #fc8181;
    --success-color: #68d391;
    --accent-color: #81e6d9;
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #81e6d9 100%);
    --card-backdrop: rgba(45, 55, 72, 0.25);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr;
    transition: all 0.3s ease;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: -1;
}

/* Header Styles */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px var(--shadow-color);
    position: relative;
    z-index: 1000;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.brand-icon {
    font-size: 1.5rem;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.theme-toggle {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.theme-toggle:hover {
    border-color: var(--focus-color);
    transform: scale(1.05);
}

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

.theme-icon {
    font-size: 1.25rem;
}

/* Sign-in Button Styles */
.signin-container {
    display: flex;
    align-items: center;
}

.signin-btn {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.signin-btn:hover {
    border-color: var(--focus-color);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

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

.signin-btn:active {
    transform: translateY(0);
}

/* Google Sign-in Button Styles */
.google-signin-container {
    display: flex;
    align-items: center;
}

#google-signin-btn {
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

#google-signin-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-color);
}

/* User Menu Styles */
.user-menu {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.user-menu-trigger:hover {
    border-color: var(--focus-color);
    background: rgba(255, 255, 255, 0.05);
}

.user-menu-trigger:focus {
    outline: 2px solid var(--focus-color);
    outline-offset: 2px;
}

.user-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.user-menu-trigger[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

/* User Menu Dropdown */
.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.user-menu-trigger[aria-expanded="true"] + .user-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
}

.user-avatar-large {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
}

.user-details {
    flex: 1;
    min-width: 0;
}

.user-name-full {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-email {
    font-size: 0.875rem;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menu-divider {
    border: none;
    height: 1px;
    background: var(--border-color);
    margin: 0;
}

.menu-items {
    padding: 0.5rem;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-accent);
}

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

.menu-icon {
    font-size: 1rem;
    width: 1.25rem;
    text-align: center;
}

#sign-out-btn:hover {
    background: rgba(220, 53, 69, 0.1);
    color: var(--error-color);
}

/* Main Content */
.app-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem;
    gap: 3rem;
}

/* Converter Card */
.converter-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    padding: 3rem 4rem;
    box-shadow: 0 20px 40px var(--shadow-color), 0 0 0 1px var(--border-color);
    width: 100%;
    max-width: 600px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.converter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent-gradient);
    opacity: 0.6;
}

.converter-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px var(--shadow-hover), 0 0 0 1px var(--border-focus);
}

.card-title {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.card-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: 0.9;
    font-weight: 400;
}

/* Input Sections */
.input-section {
    margin-bottom: 1.5rem;
}

.input-section label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.input-section input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-section input:focus {
    outline: none;
    border-color: var(--focus-color);
    box-shadow: 0 0 0 3px var(--border-focus);
    background: rgba(255, 255, 255, 0.15);
}

.input-section input::placeholder {
    color: var(--text-secondary);
}

/* Gallons Row */
.gallons-row {
    display: flex;
    gap: 0.75rem;
}

.gallons-row input {
    flex: 1;
}

.gallons-row select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.gallons-row select:focus {
    outline: none;
    border-color: var(--focus-color);
    box-shadow: 0 0 0 3px var(--border-focus);
    background: rgba(255, 255, 255, 0.15);
}

/* Divider */
.divider {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    margin: 1.5rem 0;
}

/* Summary Section */
.summary-section {
    text-align: center;
}

#conversion-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .converter-card {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .app-header {
        padding: 1rem;
    }
    
    .brand-text {
        font-size: 1.1rem;
    }
    
    .header-actions {
        gap: 0.75rem;
    }
    
    .theme-toggle {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .user-menu-trigger {
        padding: 0.4rem 0.8rem;
    }
    
    .user-name {
        max-width: 80px;
    }
    
    .user-menu-dropdown {
        min-width: 260px;
        right: -1rem;
    }
    
    .app-main {
        padding: 1rem;
    }
    
    .converter-card {
        margin: 0;
        padding: 1.5rem;
        border-radius: 0.75rem;
    }
    
    .card-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .gallons-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .gallons-row select {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .app-header {
        padding: 0.75rem;
    }
    
    .brand-section {
        gap: 0.25rem;
    }
    
    .brand-icon {
        font-size: 1.25rem;
    }
    
    .brand-text {
        font-size: 1rem;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .theme-toggle {
        width: 2.25rem;
        height: 2.25rem;
    }
    
    .theme-icon {
        font-size: 1rem;
    }
    
    /* 移动端用户菜单优化 */
    .user-menu-trigger {
        padding: 0.3rem 0.6rem;
        border-radius: 1.5rem;
    }
    
    .user-avatar {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .user-name {
        display: none; /* 在小屏幕上隐藏用户名，只显示头像 */
    }
    
    .user-menu-dropdown {
        min-width: 240px;
        right: -0.5rem;
        left: auto;
        max-width: calc(100vw - 1rem);
    }
    
    .user-info {
        padding: 1rem;
    }
    
    .user-avatar-large {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .menu-item {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .menu-icon {
        font-size: 1.1rem;
        width: 1.5rem;
    }
    
    /* Google登录按钮移动端优化 */
    .google-signin-container {
        transform: scale(0.9);
        transform-origin: center;
    }
}
    
    .converter-card {
        padding: 1.25rem;
        border-radius: 0.5rem;
    }
    
    .card-title {
        font-size: 1.125rem;
        margin-bottom: 1.25rem;
    }
    
    .input-section {
        margin-bottom: 1.25rem;
    }
    
    .input-section input,
    .gallons-row select {
        padding: 0.625rem;
        font-size: 0.9rem;
    }
    
    #conversion-info {
        font-size: 0.8rem;
    }
}

@media (max-width: 320px) {
    .app-header {
        padding: 0.5rem;
    }
    
    .brand-text {
        font-size: 0.9rem;
    }
    
    .header-actions {
        gap: 0.25rem;
    }
    
    .theme-toggle {
        width: 2rem;
        height: 2rem;
    }
    
    .theme-icon {
        font-size: 0.9rem;
    }
    
    /* 超小屏幕用户菜单 */
    .user-menu-trigger {
        padding: 0.25rem 0.5rem;
    }
    
    .user-avatar {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .dropdown-arrow {
        font-size: 0.6rem;
    }
    
    .user-menu-dropdown {
        min-width: 220px;
        right: 0;
        left: auto;
        max-width: calc(100vw - 0.5rem);
    }
    
    .user-info {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .user-avatar-large {
        width: 2rem;
        height: 2rem;
    }
    
    .user-name-full {
        font-size: 0.9rem;
    }
    
    .user-email {
        font-size: 0.8rem;
    }
    
    .menu-item {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    .menu-icon {
        font-size: 1rem;
        width: 1.25rem;
    }
    
    /* Google登录按钮超小屏幕优化 */
    .google-signin-container {
        transform: scale(0.8);
    }
    
    .converter-card {
        padding: 1rem;
    }
    
    .input-section input,
    .gallons-row select {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
}

/* Error States */
.input-error {
    border-color: var(--error-color) !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Focus Indicators for Accessibility */
*:focus-visible {
    outline: 2px solid var(--focus-color);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000000;
        --focus-color: #0000ff;
    }
    
    [data-theme="dark"] {
        --border-color: #ffffff;
        --focus-color: #00ffff;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
    
    .theme-toggle:hover {
        transform: none;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .user-menu-trigger:hover,
    .menu-item:hover,
    .theme-toggle:hover {
        transform: none;
    }
    
    .user-menu-trigger,
    .menu-item,
    .theme-toggle {
        min-height: 44px; /* 确保触摸目标足够大 */
    }
    
    .user-menu-trigger {
        padding: 0.5rem 1rem;
    }
    
    .menu-item {
        padding: 1rem;
    }
    
    /* 触摸反馈 */
    .user-menu-trigger:active,
    .menu-item:active,
    .theme-toggle:active {
        background: rgba(255, 255, 255, 0.1);
        transform: scale(0.98);
    }
}

/* 横屏模式优化 */
@media (orientation: landscape) and (max-height: 500px) {
    .user-menu-dropdown {
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
    
    .user-info {
        padding: 0.75rem 1rem;
    }
    
    .user-avatar-large {
        width: 2rem;
        height: 2rem;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .user-menu-trigger {
        border-width: 2px;
    }
    
    .user-menu-dropdown {
        border-width: 2px;
    }
    
    .menu-item:focus {
        outline-width: 3px;
    }
}

/* Print Styles */
@media print {
    .theme-toggle,
    .google-signin-container,
    .user-menu {
        display: none;
    }
    
    .converter-card {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* 消息提示响应式样式 */
.error-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 10000;
    max-width: 400px;
}

@media (max-width: 768px) {
    .error-container {
        top: 0.5rem;
        right: 0.5rem;
        left: 0.5rem;
        max-width: none;
    }
    
    .message {
        font-size: 0.9rem;
        padding: 0.875rem;
    }
}

@media (max-width: 480px) {
    .error-container {
        top: 0.25rem;
        right: 0.25rem;
        left: 0.25rem;
    }
    
    .message {
        font-size: 0.85rem;
        padding: 0.75rem;
    }
}

/* Smooth Transitions */
* {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success State */
.input-success {
    border-color: var(--success-color) !important;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1) !important;
}

/* Description Area */
.description-area {
    width: 100%;
    max-width: 1200px;
    margin-top: 2rem;
}

.description-content {
    padding: 2rem 1rem;
}

.description-section {
    margin-bottom: 2.5rem;
}

.description-section:last-child {
    margin-bottom: 0;
}

.description-section h2 {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.description-section h3 {
    color: var(--text-accent);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 1.5rem 0 0.75rem 0;
}

.description-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.description-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Conversion Methods Grid */
.conversion-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.method-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.method-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-color);
    border-color: var(--border-focus);
}

.method-card h3 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.method-card p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.method-card p:last-child {
    margin-bottom: 0;
    opacity: 0.8;
}

/* Responsive Design for Description Area */
@media (max-width: 768px) {
    .description-area {
        margin-top: 1rem;
    }
    
    .description-content {
        padding: 2rem 1.5rem;
        border-radius: 1rem;
    }
    
    .description-section h2 {
        font-size: 1.2rem;
    }
    
    .description-section h3 {
        font-size: 1rem;
    }
    
    .conversion-methods {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .method-card {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .description-content {
        padding: 1.5rem 1rem;
    }
    
    .description-section {
        margin-bottom: 2rem;
    }
    
    .description-section h2 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .description-section h3 {
        font-size: 0.95rem;
        margin: 1rem 0 0.5rem 0;
    }
    
    .description-section p {
        font-size: 0.9rem;
    }
}

/* FAQ Styles */
.faq-container {
    margin-top: 1.5rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-focus);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1rem 1.25rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

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

.faq-icon {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-accent);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.faq-answer.open {
    max-height: 500px;
    padding: 1rem 1.25rem;
}

.faq-answer p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* FAQ Responsive Design */
@media (max-width: 768px) {
    .faq-question {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .faq-answer.open {
        padding: 0.875rem 1rem;
    }
    
    .faq-icon {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .faq-answer.open {
        padding: 0.75rem;
    }
    
    .faq-answer p {
        font-size: 0.875rem;
    }
}

/* Footer Styles */
.app-footer {
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.footer-link:hover {
    color: var(--text-accent);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.footer-text {
    text-align: center;
}

.footer-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Footer Responsive Design */
@media (max-width: 768px) {
    .app-footer {
        padding: 1.5rem 1rem;
        margin-top: 2rem;
    }
    
    .footer-links {
        gap: 1.5rem;
    }
    
    .footer-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .footer-link {
        padding: 0.5rem;
    }
    
    .footer-text p {
        font-size: 0.8rem;
    }
}