/* Simple Working CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #000000;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Particle Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(20px) rotate(-1deg); }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* Header */
.header {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    padding: 40px;
    border: 4px solid #000000;
    margin-bottom: 30px;
    box-shadow: 
        8px 8px 0px 0px #000000,
        0 0 30px rgba(255, 107, 53, 0.5),
        inset 0 0 50px rgba(255, 255, 255, 0.1);
    transform: rotate(-1deg);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.header:hover {
    transform: rotate(0deg) scale(1.02);
    transition: all 0.3s ease;
    box-shadow: 
        12px 12px 0px 0px #000000,
        0 0 50px rgba(255, 107, 53, 0.8),
        inset 0 0 50px rgba(255, 255, 255, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.logo i {
    font-size: 3rem;
    color: #000000;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border: 4px solid #000000;
    box-shadow: 
        4px 4px 0px 0px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    animation: pulse 2s ease-in-out infinite;
}

.header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: -2px;
    text-shadow: 
        3px 3px 0px #4ecdc4,
        0 0 20px rgba(78, 205, 196, 0.5);
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 3px 3px 0px #4ecdc4, 0 0 20px rgba(78, 205, 196, 0.5); }
    to { text-shadow: 3px 3px 0px #4ecdc4, 0 0 30px rgba(78, 205, 196, 0.8); }
}

.subtitle {
    font-size: 1.2rem;
    color: #000000;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

/* Navigation Tabs - Glassmorphism Style */
.nav-container {
    margin-bottom: 30px;
    width: 100%;
}

.nav-tabs {
    display: flex;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 4px solid #000000;
    box-shadow: 
        8px 8px 0px 0px #000000,
        0 0 30px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
}

.nav-tabs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    z-index: -1;
}

.nav-tab {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    color: #000000;
    border: none;
    border-right: 4px solid #000000;
    padding: 20px 30px;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-tab:hover::before {
    left: 100%;
}

.nav-tab:last-child {
    border-right: none;
}

.nav-tab:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #ffffff;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        8px 8px 0px 0px #000000,
        0 0 30px rgba(255, 107, 53, 0.6);
}

.nav-tab.active {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: #ffffff;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        8px 8px 0px 0px #000000,
        0 0 30px rgba(0, 0, 0, 0.8);
}

.nav-tab i {
    margin-right: 10px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.nav-tab:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* Tool Sections */
.tool-section {
    margin-bottom: 40px;
    width: 100%;
}

.tool-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
    width: 100%;
}

@media (max-width: 1200px) {
    .tool-container {
        grid-template-columns: 1fr;
    }
}

/* Tool Panels - Glassmorphism */
.tool-panel, .results-panel {
    background: rgba(255, 255, 255, 0.1);
    border: 4px solid #000000;
    border-radius: 0;
    padding: 30px;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 
        8px 8px 0px 0px #000000,
        0 0 30px rgba(255, 255, 255, 0.1);
    width: 100%;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.tool-panel::before, .results-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    z-index: -1;
}

.tool-panel:hover, .results-panel:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        12px 12px 0px 0px #000000,
        0 0 50px rgba(255, 255, 255, 0.3);
}

.tool-panel h2, .results-panel h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
    letter-spacing: -1px;
    position: relative;
}

.tool-panel h2 i, .results-panel h2 i {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #ffffff;
    padding: 10px;
    border: 2px solid #000000;
    border-radius: 0;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.tool-description {
    color: #6c757d;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Input Groups - Neon Style */
.input-group {
    margin-bottom: 25px;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 800;
    color: #000000;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 20px;
    border: 4px solid #000000;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.9);
    color: #000000;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 
        4px 4px 0px 0px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 
        8px 8px 0px 0px #000000,
        0 0 30px rgba(255, 107, 53, 0.6);
    transform: translateY(-2px) scale(1.02);
    background: rgba(255, 255, 255, 1);
}

.input-group textarea {
    min-height: 120px;
    resize: vertical;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.5;
}

/* Thread Controls - Neo-Brutalist Style */
.thread-controls {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 4px solid #000000;
    box-shadow: 
        4px 4px 0px 0px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.thread-controls label {
    display: block;
    margin-bottom: 10px;
    font-weight: 800;
    color: #000000;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.thread-controls select {
    width: 100%;
    padding: 15px 20px;
    border: 4px solid #000000;
    border-radius: 0;
    background: rgba(255, 255, 255, 1);
    color: #000000;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', Arial, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        4px 4px 0px 0px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(255, 255, 255, 0.3);
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 50px;
}

.thread-controls select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 
        8px 8px 0px 0px #000000,
        0 0 30px rgba(255, 107, 53, 0.6);
    transform: translateY(-2px) scale(1.02);
}

.thread-controls select:hover {
    border-color: #ff6b35;
    box-shadow: 
        6px 6px 0px 0px rgba(0, 0, 0, 0.2),
        0 0 25px rgba(255, 107, 53, 0.4);
}

.thread-controls small {
    display: block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    font-style: italic;
}

/* Buttons - Holographic Style */
.check-btn, .format-btn, .search-btn, .extract-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: 4px solid #000000;
    color: #ffffff;
    padding: 20px 40px;
    border-radius: 0;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 
        8px 8px 0px 0px #000000,
        0 0 30px rgba(255, 107, 53, 0.4);
    position: relative;
    overflow: hidden;
}

.check-btn::before, .format-btn::before, .search-btn::before, .extract-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.check-btn:hover::before, .format-btn:hover::before, .search-btn:hover::before, .extract-btn:hover::before {
    left: 100%;
}

.check-btn:hover, .format-btn:hover, .search-btn:hover, .extract-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        12px 12px 0px 0px #000000,
        0 0 50px rgba(255, 107, 53, 0.8);
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

.check-btn:active, .format-btn:active, .search-btn:active, .extract-btn:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.1);
}

/* Button Groups */
.button-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.download-btn {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    border: 4px solid #000000;
    color: #ffffff;
    padding: 20px 40px;
    border-radius: 0;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 
        8px 8px 0px 0px #000000,
        0 0 30px rgba(78, 205, 196, 0.4);
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        12px 12px 0px 0px #000000,
        0 0 50px rgba(78, 205, 196, 0.8);
    background: linear-gradient(135deg, #45b7d1 0%, #96c93d 100%);
}

/* Status Card - Glowing */
.status-card {
    background: rgba(255, 255, 255, 0.1);
    border: 4px solid #000000;
    border-radius: 0;
    padding: 25px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 
        8px 8px 0px 0px #000000,
        0 0 30px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    z-index: -1;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.status-icon {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

.status-icon.online {
    color: #2ecc71;
    text-shadow: 0 0 20px rgba(46, 204, 113, 0.8);
}

.status-icon.offline {
    color: #e74c3c;
    text-shadow: 0 0 20px rgba(231, 76, 60, 0.8);
}

.refresh-btn {
    background: linear-gradient(135deg, #96ceb4 0%, #feca57 100%);
    border: 4px solid #000000;
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 0;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.1);
}

.refresh-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        8px 8px 0px 0px #000000,
        0 0 30px rgba(150, 206, 180, 0.6);
}

/* Card Sections */
.card-section {
    background: rgba(255, 255, 255, 0.1);
    border: 4px solid #000000;
    border-radius: 0;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    box-shadow: 
        8px 8px 0px 0px #000000,
        0 0 30px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.card-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    z-index: -1;
}

.card-section:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        12px 12px 0px 0px #000000,
        0 0 50px rgba(255, 255, 255, 0.3);
}

.card-section h2 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    position: relative;
}

.card-section h2 i {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #ffffff;
    padding: 8px;
    border: 2px solid #000000;
    border-radius: 0;
    animation: iconFloat 3s ease-in-out infinite;
}

/* Bulk Info */
.bulk-info {
    background: linear-gradient(135deg, #ff9ff3 0%, #f368e0 100%);
    border: 4px solid #000000;
    border-radius: 0;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 
        4px 4px 0px 0px rgba(0, 0, 0, 0.1),
        0 0 30px rgba(255, 159, 243, 0.4);
    position: relative;
    overflow: hidden;
}

.bulk-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shine 3s ease-in-out infinite;
}

.bulk-info p {
    margin-bottom: 10px;
    color: #000000;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.bulk-info p:last-child {
    margin-bottom: 0;
}

.bulk-info strong {
    color: #000000;
    font-weight: 900;
}

/* Results */
.result-area {
    background: rgba(255, 255, 255, 0.9);
    border: 4px solid #000000;
    border-radius: 0;
    padding: 25px;
    margin-top: 25px;
    min-height: 120px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #000000;
    box-shadow: 
        4px 4px 0px 0px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* Summary Grid */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.summary-item {
    background: rgba(255, 255, 255, 0.1);
    border: 4px solid #000000;
    border-radius: 0;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 
        8px 8px 0px 0px #000000,
        0 0 30px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.summary-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    z-index: -1;
}

.summary-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        12px 12px 0px 0px #000000,
        0 0 50px rgba(255, 255, 255, 0.3);
}

.summary-item i {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    animation: iconFloat 3s ease-in-out infinite;
}

.summary-item.live i {
    color: #2ecc71;
    text-shadow: 0 0 20px rgba(46, 204, 113, 0.8);
}

.summary-item.dead i {
    color: #e74c3c;
    text-shadow: 0 0 20px rgba(231, 76, 60, 0.8);
}

.summary-item.unknown i {
    color: #f39c12;
    text-shadow: 0 0 20px rgba(243, 156, 18, 0.8);
}

.summary-item.error i {
    color: #e74c3c;
    text-shadow: 0 0 20px rgba(231, 76, 60, 0.8);
}

.summary-item .count {
    font-size: 2.5rem;
    font-weight: 900;
    color: #000000;
    display: block;
    margin-bottom: 10px;
    text-shadow: 
        2px 2px 0px #ff6b35,
        0 0 20px rgba(255, 107, 53, 0.5);
    animation: countPulse 2s ease-in-out infinite;
}

@keyframes countPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.summary-item .label {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Control Panel */
.control-panel {
    background: linear-gradient(135deg, #ff9ff3 0%, #f368e0 100%);
    border: 4px solid #000000;
    border-radius: 0;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 
        4px 4px 0px 0px rgba(0, 0, 0, 0.1),
        0 0 30px rgba(255, 159, 243, 0.4);
    position: relative;
    overflow: hidden;
}

.control-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shine 3s ease-in-out infinite;
}

.control-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.control-row:last-child {
    margin-bottom: 0;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.control-group label {
    font-size: 1rem;
    color: #000000;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.control-group input {
    padding: 15px 20px;
    border: 4px solid #000000;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.9);
    color: #000000;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 
        4px 4px 0px 0px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.control-group input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 
        8px 8px 0px 0px #000000,
        0 0 30px rgba(255, 107, 53, 0.6);
    transform: translateY(-2px) scale(1.02);
    background: rgba(255, 255, 255, 1);
}

/* List Section */
.list-section {
    margin-bottom: 30px;
}

.list-section textarea {
    min-height: 220px;
    font-family: 'JetBrains Mono', monospace;
}

.list-toolbar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.list-count, .split-count {
    color: #6c757d;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Split Areas */
.split-areas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.split-area textarea {
    min-height: 180px;
    font-family: 'JetBrains Mono', monospace;
}

.split-toolbar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

/* Join Controls */
.join-controls {
    background: linear-gradient(135deg, #ff9ff3 0%, #f368e0 100%);
    border: 4px solid #000000;
    border-radius: 0;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 
        4px 4px 0px 0px rgba(0, 0, 0, 0.1),
        0 0 30px rgba(255, 159, 243, 0.4);
    position: relative;
    overflow: hidden;
}

.join-controls::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shine 3s ease-in-out infinite;
}

.join-controls label {
    display: block;
    margin-bottom: 15px;
    font-weight: 800;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.join-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.join-buttons input {
    width: 140px;
    padding: 15px 20px;
    border: 4px solid #000000;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.9);
    color: #000000;
    font-size: 1rem;
    font-weight: 600;
}

/* Tool Info */
.tool-info {
    background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%);
    border: 4px solid #000000;
    border-radius: 0;
    padding: 35px;
    box-shadow: 
        8px 8px 0px 0px #000000,
        0 0 30px rgba(254, 202, 87, 0.4);
    position: relative;
    overflow: hidden;
}

.tool-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shine 3s ease-in-out infinite;
}

.tool-info h3 {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.tool-info h3 i {
    color: #ff6b35;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
    border: 2px solid #000000;
    border-radius: 0;
    animation: iconFloat 3s ease-in-out infinite;
}

.tool-info ol, .tool-info ul {
    margin-left: 25px;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.tool-info li {
    margin-bottom: 12px;
    color: #000000;
    line-height: 1.6;
    font-weight: 600;
}

.tool-info strong {
    color: #000000;
    font-weight: 900;
}

.tool-info code {
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 10px;
    border: 2px solid #000000;
    border-radius: 0;
    font-family: 'JetBrains Mono', monospace;
    color: #ff6b35;
    font-size: 0.9rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

/* Format Results */
.format-results, .bin-results {
    background: rgba(255, 255, 255, 0.9);
    border: 4px solid #000000;
    border-radius: 0;
    padding: 25px;
    min-height: 120px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #000000;
    white-space: pre-wrap;
    word-break: break-all;
    box-shadow: 
        4px 4px 0px 0px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* Footer */
.footer {
    text-align: center;
    padding: 35px;
    color: #6c757d;
    font-size: 1rem;
    border-top: 4px solid #000000;
    margin-top: 60px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

/* Loading Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    border: 4px solid #000000;
    border-radius: 0;
    padding: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    min-width: 350px;
    box-shadow: 
        8px 8px 0px 0px #000000,
        0 0 50px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #000000;
    border-top: 4px solid #ff6b35;
    border-radius: 0;
    animation: spin 1s linear infinite;
    margin: 0 auto 25px;
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header {
        padding: 25px 20px;
        transform: rotate(0deg);
    }
    
    .header h1 {
        font-size: 2.5rem;
    }
    
    .nav-tabs {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-tab {
        text-align: center;
        border-right: none;
        border-bottom: 4px solid #000000;
    }
    
    .nav-tab:last-child {
        border-bottom: none;
    }
    
    .tool-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .split-areas {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .control-row {
        flex-direction: column;
        align-items: stretch;
    }
}
