@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --tertiary-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, #232526 0%, #414345 100%);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-tertiary: rgba(255, 255, 255, 0.6);
    --accent-blue: #00d4ff;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --success-green: #10b981;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.25);
    --shadow-heavy: rgba(0, 0, 0, 0.4);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 25%, #16213e 50%, #0f0f23 75%, #000000 100%);
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    font-weight: 400;
}

.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -2;
}

.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(3px 3px at 25px 35px, rgba(0, 212, 255, 0.4), transparent),
        radial-gradient(2px 2px at 65px 85px, rgba(139, 92, 246, 0.3), transparent),
        radial-gradient(1px 1px at 135px 45px, rgba(236, 72, 153, 0.2), transparent),
        radial-gradient(2px 2px at 195px 125px, rgba(16, 185, 129, 0.3), transparent),
        radial-gradient(1px 1px at 245px 65px, rgba(255, 255, 255, 0.4), transparent);
    background-repeat: repeat;
    background-size: 300px 200px;
    pointer-events: none;
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

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

.container {
    max-width: 900px;
    width: 95%;
    margin: 0 auto;
    padding: 40px 30px;
    position: relative;
    z-index: 1;
}

.header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.header-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-gradient);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    box-shadow: 0 8px 32px var(--shadow-medium);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.header-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s infinite;
}

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

.title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.subtitle {
    font-size: clamp(14px, 2.5vw, 18px);
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 15px;
}

.version-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.features-container {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-form {
    width: 100%;
}

.feature-item {
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
    font-family: inherit;
    color: inherit;
    box-shadow: 
        0 4px 16px var(--shadow-light),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 32px var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(139, 92, 246, 0.3);
}

.feature-item:active {
    transform: translateY(0px);
    box-shadow: 
        0 4px 16px var(--shadow-light),
        inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.feature-content {
    flex: 1;
    min-width: 0;
}

.feature-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.feature-description {
    font-size: 14px;
    color: var(--text-tertiary);
    font-weight: 400;
}

.feature-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-arrow {
    color: var(--accent-blue);
    transform: translateX(4px);
}

.glass-reflection {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 45%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 55%);
    transform: rotate(-45deg);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.feature-item:hover .glass-reflection {
    opacity: 1;
    animation: reflection-sweep 1.5s ease-in-out;
}

@keyframes reflection-sweep {
    0% { transform: rotate(-45deg) translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: rotate(-45deg) translateX(100%); opacity: 0; }
}

.navigation-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
    gap: 20px;
}

.nav-button {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 12px 24px;
    color: var(--text-primary);
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px var(--shadow-light);
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-blue);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.page-indicator {
    flex: 1;
    text-align: center;
}

.page-info {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 8px 16px;
    display: inline-block;
}

.action-form {
    text-align: center;
    margin-bottom: 50px;
}

.update-all-button {
    background: var(--secondary-gradient);
    border: none;
    border-radius: 20px;
    padding: 20px 40px;
    color: white;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 
        0 8px 32px rgba(245, 87, 108, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.update-all-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(245, 87, 108, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.update-all-button:active {
    transform: translateY(0px);
}

.button-content {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    position: relative;
}

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

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

.results-section {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px;
    margin-top: 50px;
    box-shadow: 0 8px 32px var(--shadow-medium);
}

.results-header {
    margin-bottom: 24px;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.header-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.header-content i {
    color: var(--accent-blue);
    font-size: 24px;
}

.results-content {
    margin-bottom: 24px;
}

#resultsTextarea {
    width: 100%;
    height: 300px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1.5;
    resize: none;
    outline: none;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

#resultsTextarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 
        inset 0 2px 8px rgba(0, 0, 0, 0.2),
        0 0 0 1px var(--accent-blue);
}

#resultsTextarea::placeholder {
    color: var(--text-tertiary);
}

.results-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.action-button {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 12px 20px;
    color: var(--text-primary);
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px var(--shadow-light);
}

.action-button:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.copy-button:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.clear-button:hover {
    border-color: var(--accent-pink);
    color: var(--accent-pink);
}

.action-button.success {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--success-green);
    color: var(--success-green);
}

.action-button i {
    font-size: 16px;
}

.loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
}

.modal-content {
    position: relative;
    z-index: 2001;
    background: var(--glass-bg);
    backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 50px;
    width: 400px;
    max-width: 90vw;
    text-align: center;
    box-shadow: 0 20px 60px var(--shadow-heavy);
    transform: scale(0.9) translateY(30px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.loading-modal.show .modal-content {
    transform: scale(1) translateY(0);
}

.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
}

.spinner-ring {
    position: absolute;
    border: 3px solid transparent;
    border-top: 3px solid;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
    width: 80px;
    height: 80px;
    border-top-color: var(--accent-blue);
    animation-duration: 1.5s;
}

.spinner-ring:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
    border-top-color: var(--accent-purple);
    animation-duration: 1.2s;
    animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 20px;
    left: 20px;
    border-top-color: var(--accent-pink);
    animation-duration: 0.9s;
}

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

.loading-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 600;
    background: var(--tertiary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.loading-subtitle {
    font-size: 14px;
    color: var(--text-tertiary);
    font-weight: 400;
}

#resultsTextarea::-webkit-scrollbar {
    width: 8px;
}

#resultsTextarea::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

#resultsTextarea::-webkit-scrollbar-thumb {
    background: var(--accent-purple);
    border-radius: 4px;
    opacity: 0.7;
}

#resultsTextarea::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
    opacity: 1;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1000px;
        padding: 50px 40px;
    }
    
    .feature-item {
        padding: 28px 32px;
    }
    
    .feature-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }
    
    .feature-name {
        font-size: 20px;
    }
    
    .feature-description {
        font-size: 15px;
    }
    
    .title {
        font-size: 52px;
    }
    
    .subtitle {
        font-size: 20px;
    }
}

@media (max-width: 1024px) and (min-width: 768px) {
    .container {
        width: 90%;
        padding: 35px 25px;
    }
    
    .header {
        margin-bottom: 50px;
    }
    
    .header-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .feature-item {
        padding: 22px 24px;
    }
    
    .feature-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
    
    .feature-name {
        font-size: 17px;
    }
    
    .feature-description {
        font-size: 13px;
    }
    
    .features-container {
        gap: 14px;
        margin-bottom: 40px;
    }
    
    .navigation-container {
        margin-bottom: 40px;
    }
    
    .update-all-button {
        padding: 18px 36px;
        font-size: 15px;
    }
    
    #resultsTextarea {
        height: 250px;
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .container {
        width: 95%;
        padding: 25px 20px;
    }
    
    .header {
        margin-bottom: 40px;
    }
    
    .header-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .title {
        font-size: 32px;
        margin-bottom: 8px;
    }
    
    .subtitle {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .version-badge {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    .features-container {
        gap: 12px;
        margin-bottom: 35px;
    }
    
    .feature-item {
        padding: 18px 20px;
        gap: 16px;
        border-radius: 16px;
    }
    
    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        border-radius: 12px;
    }
    
    .feature-name {
        font-size: 16px;
        margin-bottom: 2px;
    }
    
    .feature-description {
        font-size: 12px;
    }
    
    .feature-arrow {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .navigation-container {
        margin-bottom: 35px;
        gap: 15px;
    }
    
    .nav-button {
        padding: 10px 18px;
        font-size: 13px;
        border-radius: 12px;
    }
    
    .page-info {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .action-form {
        margin-bottom: 35px;
    }
    
    .update-all-button {
        padding: 16px 28px;
        font-size: 14px;
        border-radius: 16px;
        gap: 10px;
    }
    
    .results-section {
        padding: 24px;
        border-radius: 20px;
        margin-top: 35px;
    }
    
    .header-content h2 {
        font-size: 20px;
    }
    
    .header-content i {
        font-size: 20px;
    }
    
    #resultsTextarea {
        height: 200px;
        font-size: 12px;
        padding: 16px;
        border-radius: 12px;
    }
    
    .results-actions {
        gap: 12px;
    }
    
    .action-button {
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 12px;
    }
    
    .modal-content {
        width: 320px;
        padding: 35px;
        border-radius: 20px;
    }
    
    .loading-spinner {
        width: 60px;
        height: 60px;
        margin-bottom: 25px;
    }
    
    .spinner-ring:nth-child(1) {
        width: 60px;
        height: 60px;
    }
    
    .spinner-ring:nth-child(2) {
        width: 45px;
        height: 45px;
        top: 7.5px;
        left: 7.5px;
    }
    
    .spinner-ring:nth-child(3) {
        width: 30px;
        height: 30px;
        top: 15px;
        left: 15px;
    }
    
    .loading-text {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .loading-subtitle {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 98%;
        padding: 20px 15px;
    }
    
    .header {
        margin-bottom: 35px;
    }
    
    .header-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .title {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    .features-container {
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .feature-item {
        padding: 16px 18px;
        gap: 14px;
        border-radius: 14px;
    }
    
    .feature-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .feature-name {
        font-size: 15px;
    }
    
    .feature-description {
        font-size: 11px;
    }
    
    .navigation-container {
        margin-bottom: 30px;
        gap: 10px;
    }
    
    .nav-button {
        padding: 8px 14px;
        font-size: 12px;
        gap: 6px;
    }
    
    .page-info {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .update-all-button {
        padding: 14px 24px;
        font-size: 13px;
        gap: 8px;
    }
    
    .results-section {
        padding: 20px;
        margin-top: 30px;
    }
    
    .header-content h2 {
        font-size: 18px;
    }
    
    .header-content i {
        font-size: 18px;
        gap: 10px;
    }
    
    #resultsTextarea {
        height: 180px;
        font-size: 11px;
        padding: 14px;
    }
    
    .action-button {
        padding: 8px 14px;
        font-size: 12px;
        gap: 6px;
    }
    
    .modal-content {
        width: 280px;
        padding: 30px;
    }
    
    .loading-text {
        font-size: 18px;
    }
    
    .loading-subtitle {
        font-size: 12px;
    }
}

.feature-item:focus,
.nav-button:focus,
.update-all-button:focus,
.action-button:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

@media (prefers-contrast: high) {
    :root {
        --glass-bg: rgba(255, 255, 255, 0.15);
        --glass-border: rgba(255, 255, 255, 0.3);
        --text-primary: #ffffff;
        --text-secondary: #ffffff;
    }
    
    .feature-item,
    .nav-button,
    .action-button,
    .results-section {
        border-width: 2px;
    }
    
    .update-all-button {
        border: 2px solid white;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
    
    .glass-reflection {
        display: none;
    }
    
    .button-shimmer {
        display: none;
    }
    
    .floating-particles {
        animation: none;
    }
}

@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    .background-gradient,
    .floating-particles {
        display: none !important;
    }
    
    .container {
        box-shadow: none !important;
        background: white !important;
        border: 1px solid black !important;
    }
    
    .feature-item,
    .nav-button,
    .update-all-button,
    .action-button,
    .results-section {
        background: white !important;
        color: black !important;
        border: 1px solid black !important;
    }
}
.upload-section {
    text-align: center;
    margin-bottom: 50px;
}

.upload-button {
    background: var(--tertiary-gradient);
    border: none;
    border-radius: 20px;
    padding: 20px 40px;
    color: white;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 
        0 8px 32px rgba(79, 172, 254, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.upload-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(79, 172, 254, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.flash-container {
    margin-bottom: 30px;
}

.flash-message {
    background: rgba(236, 72, 153, 0.2);
    border: 1px solid rgba(236, 72, 153, 0.4);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(20px);
    margin-bottom: 10px;
}

.flash-message i {
    font-size: 20px;
    color: var(--accent-pink);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 16px var(--shadow-light);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    margin-bottom: 16px;
}

.info-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.info-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-content li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
}

.info-content li::before {
    content: "→";
    margin-right: 8px;
    color: var(--accent-blue);
}

.code-example {
    margin-top: 12px;
}

.code-block {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin: 8px 0;
}

.code-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    font-weight: 600;
}

.code-block.before .code-label {
    color: var(--accent-pink);
}

.code-block.after .code-label {
    color: var(--success-green);
}

.code-block code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-secondary);
    display: block;
    word-wrap: break-word;
}

.code-arrow {
    text-align: center;
    color: var(--accent-blue);
    font-size: 20px;
    margin: 4px 0;
}

.upload-form {
    margin-top: 40px;
}

.upload-area {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 2px dashed var(--glass-border);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 30px;
}

.upload-area:hover {
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.12);
}

.upload-area.drag-over {
    border-color: var(--success-green);
    background: rgba(16, 185, 129, 0.1);
}

.upload-area.has-file {
    border-color: var(--success-green);
    background: rgba(16, 185, 129, 0.05);
}

.upload-icon {
    font-size: 64px;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.upload-area h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.upload-area p {
    color: var(--text-tertiary);
    font-size: 14px;
}

.upload-area input[type="file"] {
    display: none;
}

.file-info {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 24px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
}

.file-info.active {
    display: flex;
}

.file-info i {
    font-size: 24px;
    color: var(--success-green);
}

.file-info span {
    flex: 1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.remove-file {
    width: 32px;
    height: 32px;
    background: rgba(236, 72, 153, 0.2);
    border: 1px solid rgba(236, 72, 153, 0.4);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--accent-pink);
}

.remove-file:hover {
    background: rgba(236, 72, 153, 0.3);
}

.submit-button {
    width: 100%;
    background: var(--secondary-gradient);
    border: none;
    border-radius: 20px;
    padding: 20px 40px;
    color: white;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 
        0 8px 32px rgba(245, 87, 108, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(245, 87, 108, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 767px) {
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .upload-area {
        padding: 40px 20px;
    }
    
    .upload-icon {
        font-size: 48px;
    }
    
    .upload-area h3 {
        font-size: 18px;
    }
}
