/* Voma 6 - 2010 Skeuomorphic Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: linear-gradient(to bottom, #222222 0%, #111111 100%);
    min-height: 100vh;
    color: #E5E5E5;
    padding: 24px 16px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}

body::first-letter {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 32px;
}

header h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1px;
    color: #E5E5E5;
    text-shadow: 
        0 2px 2px rgba(0, 0, 0, 0.8),
        0 4px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.subtitle {
    font-size: 16px;
    color: #999999;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    font-weight: 300;
}

.main-panel {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        linear-gradient(to bottom, #3B3B3B 0%, #2A2A2A 100%);
    border-radius: 8px;
    padding: 32px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.7),
        0 8px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid #444444;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.6);
    position: relative;
    backdrop-filter: blur(1px);
}

.main-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.2), 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.2)
    );
    border-radius: 8px 8px 0 0;
}

.main-panel::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, 
        rgba(0, 0, 0, 0.4), 
        rgba(0, 0, 0, 0.6), 
        rgba(0, 0, 0, 0.4)
    );
    border-radius: 0 0 8px 8px;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #444444;
}

.tab-btn {
    background: linear-gradient(to bottom, #666666 0%, #555555 100%);
    border: 1px solid #444444;
    border-radius: 6px;
    padding: 12px 20px;
    color: #E5E5E5;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 
        0 2px 3px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 150ms ease-out;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.2), 
        transparent, 
        rgba(255, 255, 255, 0.2)
    );
}

.tab-btn:hover {
    background: linear-gradient(to bottom, #777777 0%, #666666 100%);
    transform: translateY(-1px);
    box-shadow: 
        0 3px 4px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
    background: linear-gradient(to bottom, #888888 0%, #777777 100%);
    box-shadow: 
        0 2px 3px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 200ms ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tool-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #E5E5E5;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.tool-card {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        linear-gradient(to bottom, #2A2A2A 0%, #1F1F1F 100%);
    border: 1px solid #444444;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 
        0 3px 8px rgba(0, 0, 0, 0.5),
        0 6px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 2px 3px rgba(255, 255, 255, 0.02),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3),
        inset 0 -2px 3px rgba(0, 0, 0, 0.15);
    position: relative;
    backdrop-filter: blur(0.5px);
    transition: all 150ms ease-out;
}

.tool-card:hover {
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.6),
        0 8px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 2px 4px rgba(255, 255, 255, 0.03),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.15), 
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.15)
    );
    border-radius: 8px 8px 0 0;
}

.tool-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, 
        rgba(0, 0, 0, 0.4), 
        rgba(0, 0, 0, 0.6), 
        rgba(0, 0, 0, 0.4)
    );
    border-radius: 0 0 8px 8px;
}

.tool-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #E5E5E5;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-area {
    width: 100%;
    min-height: 100px;
    background: #1C1C1C;
    border: 1px solid #333333;
    border-radius: 6px;
    padding: 12px 16px;
    color: #E5E5E5;
    font-size: 14px;
    font-family: "Courier New", monospace;
    resize: vertical;
    margin-bottom: 16px;
    box-shadow: 
        inset 0 3px 5px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 150ms ease-out;
}

.input-area:focus {
    outline: none;
    border-color: #666666;
    box-shadow: 
        inset 0 3px 5px rgba(0, 0, 0, 0.6),
        0 0 8px rgba(100, 150, 255, 0.2);
}

.input-area::placeholder {
    color: #666666;
    font-style: italic;
}

.output-section {
    margin-bottom: 16px;
}

.output-section label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #999999;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.output-section textarea,
.output-section input[type="text"] {
    width: 100%;
    min-height: 60px;
    background: #1C1C1C;
    border: 1px solid #333333;
    border-radius: 6px;
    padding: 12px 16px;
    color: #E5E5E5;
    font-size: 14px;
    font-family: "Courier New", monospace;
    resize: vertical;
    box-shadow: 
        inset 0 3px 5px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.output-section input[type="text"] {
    min-height: auto;
}

.copy-btn {
    background: linear-gradient(to bottom, #666666 0%, #555555 100%);
    border: 1px solid #444444;
    border-radius: 4px;
    padding: 8px 16px;
    color: #E5E5E5;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 150ms ease-out;
}

.copy-btn:hover {
    background: linear-gradient(to bottom, #777777 0%, #666666 100%);
    transform: translateY(-1px);
    box-shadow: 
        0 2px 3px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.copy-btn:active {
    background: linear-gradient(to bottom, #555555 0%, #666666 100%);
    transform: translateY(0);
    box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.5);
}

.button-group {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.action-btn {
    background: linear-gradient(to bottom, #888888 0%, #666666 100%);
    border: 1px solid #444444;
    border-radius: 6px;
    padding: 12px 24px;
    color: #E5E5E5;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
    box-shadow: 
        0 2px 3px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 150ms ease-out;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.2), 
        transparent, 
        rgba(255, 255, 255, 0.2)
    );
}

.action-btn:hover {
    background: linear-gradient(to bottom, #999999 0%, #777777 100%);
    transform: translateY(-1px);
    box-shadow: 
        0 3px 4px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.action-btn:active {
    background: linear-gradient(to bottom, #555555 0%, #777777 100%);
    transform: translateY(0);
    box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.5);
}

.settings-group {
    margin-bottom: 16px;
}

.settings-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #999999;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.settings-group input,
.settings-group select {
    width: 100%;
    background: #1C1C1C;
    border: 1px solid #333333;
    border-radius: 4px;
    padding: 8px 12px;
    color: #E5E5E5;
    font-size: 14px;
    box-shadow: 
        inset 0 2px 3px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 150ms ease-out;
}

.settings-group input:focus,
.settings-group select:focus {
    outline: none;
    border-color: #666666;
    box-shadow: 
        inset 0 2px 3px rgba(0, 0, 0, 0.5),
        0 0 6px rgba(100, 150, 255, 0.2);
}

.checkbox-group {
    margin-bottom: 16px;
}

.checkbox-group label {
    display: block;
    font-size: 14px;
    color: #E5E5E5;
    margin-bottom: 8px;
    cursor: pointer;
    padding-left: 24px;
    position: relative;
    text-transform: none;
    letter-spacing: normal;
}

.checkbox-group input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"]:checked {
    accent-color: #888888;
}

.field-setting {
    display: grid;
    grid-template-columns: 1fr 100px 1fr;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.field-setting label {
    font-size: 12px;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

footer {
    text-align: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #444444;
    color: #666666;
    font-size: 12px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        padding: 16px 8px;
    }
    
    header h1 {
        font-size: 36px;
    }
    
    .main-panel {
        padding: 16px;
    }
    
    .toolbar {
        flex-direction: column;
        gap: 4px;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
    }
    
    .tool-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .field-setting {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 28px;
    }
    
    .tool-section h2 {
        font-size: 24px;
    }
    
    .tool-card h3 {
        font-size: 16px;
    }
    
    .input-area {
        min-height: 80px;
        font-size: 13px;
    }
}
