body {
    font-family: "Roboto", "Arial", sans-serif;
    background-color: #1a1a1a;
    color: #fff;
    margin: 0;
    padding: 0;
    background-image: url('../images/grid-pattern.svg');
    background-size: 50px 50px;
}
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
.header {
    text-align: center;
    margin-bottom: 40px;
}
.header h1 {
    font-size: 3.5rem;
    text-shadow: 3px 3px 0px #2c1810, 6px 6px 0px #1b4332;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #8b4513, #2f4f4f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: rotate(-2deg);
}
.tagline {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #d4a373;
    transform: rotate(1deg);
}
.main-content {
    display: flex;
    flex-direction: column;
    background-color: rgba(44, 24, 16, 0.9);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(27, 67, 50, 0.3);
    border: 3px solid #2f4f4f;
}
.character-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: rgba(43, 51, 43, 0.7);
    border-radius: 15px;
}
.form-container {
    flex: 2;
    padding: 20px;
    background-color: rgba(44, 24, 16, 0.7);
    border-radius: 10px;
    position: relative;
}
.form-input {
    flex: 1;
    padding: 12px;
    border: 2px solid #3a5a40;
    background-color: #1a1a1a;
    color: white;
    border-radius: 5px;
    font-size: 1rem;
}
.submit-btn {
    background: linear-gradient(45deg, #3a5a40, #344e41);
    border: none;
    color: white;
    padding: 12px 30px;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000;
}
.submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(58, 90, 64, 0.8);
}
.results {
    margin-top: 30px;
    background-color: rgba(20, 20, 40, 0.7);
    padding: 20px;
    border-radius: 10px;
    display: none;
}
.meter-container {
    margin: 20px 0;
}
.meter-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}
.meter {
    height: 30px;
    background-color: #333;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}
.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff00, #ff0000);
    width: 75%;
    border-radius: 15px;
    animation: pulse 2s infinite;
}
.analysis {
    margin-top: 20px;
}
.character {
    width: 150px;
    height: 150px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    margin-bottom: 30px;
}
.character.active {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}
.soy.active {
    border-color: #ff4d4d;
}
.chad.active {
    border-color: #4dff4d;
}
.chad {
    background-image: url('../images/chad.jpg');
}
.soy {
    background-image: url('../images/wojak.webp');
}
.character-label {
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2rem;
    color: #ff00ff;
    text-shadow: 2px 2px 0 #000;
}
.soy .character-label {
    color: #ff4d4d;
}
.chad .character-label {
    color: #4dff4d;
}
.versus {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 20px 0;
    color: #ff00ff;
    text-shadow: 0 0 10px #00ffff;
    animation: glow 1.5s infinite alternate;
}
.feature-list {
    margin-top: 40px;
    background-color: rgba(44, 24, 16, 0.8);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(27, 67, 50, 0.2);
}
.feature-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    background-color: rgba(43, 51, 43, 0.7);
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.3s;
}
.feature-item:hover {
    transform: translateX(10px);
    box-shadow: -5px 0 0 #3a5a40;
}
.feature-icon {
    margin-right: 15px;
    font-size: 2rem;
    color: #d4a373;
    text-shadow: 0 0 5px rgba(212, 163, 115, 0.5);
}
.feature-content h4 {
    color: #a3b18a;
    margin-bottom: 5px;
}
.blink {
    animation: blink 1s infinite;
}
.glow {
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #ff00ff;
}
@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}
@keyframes glow {
    from { text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff; }
    to { text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff; }
}
.disclaimer {
    margin-top: 30px;
    font-size: 0.8rem;
    text-align: center;
    color: #999;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
}
#loading {
    display: none;
    text-align: center;
    margin: 20px 0;
}
.loading-text {
    margin-bottom: 10px;
    color: #00ffcc;
}
.loading-bar {
    height: 20px;
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.loading-progress {
    position: absolute;
    height: 100%;
    width: 30%;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    border-radius: 10px;
    animation: loading 1.5s infinite ease-in-out;
}
@keyframes loading {
    0% { left: -30%; }
    100% { left: 100%; }
}
.hidden {
    display: none;
}
.visible {
    display: block;
}
.result-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}
.soy-badge {
    background-color: #ff4d4d;
    color: white;
    animation: pulse 2s infinite;
}
.chad-badge {
    background-color: #4dff4d;
    color: black;
}
.traits-list {
    list-style-type: none;
    padding: 0;
}
.traits-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    background-color: rgba(255, 0, 0, 0.1);
    padding: 10px 10px 10px 30px;
    border-radius: 5px;
}
.traits-list li:before {
    content: "👉";
    position: absolute;
    left: 8px;
}
.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    font-size: 0.9rem;
    color: #666;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}
.screenshot-container {
    border: 2px dashed #ff00ff;
    margin-top: 20px;
    padding: 15px;
    text-align: center;
    border-radius: 10px;
}
.upload-container {
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
}
.upload-label {
    background-color: #4a1991;
    display: inline-block;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}
.upload-label:hover {
    background-color: #6a29c1;
}
.upload-text {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 10px;
}
.twitter-sample {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
    border-left: 4px solid #1DA1F2;
}
.twitter-sample p {
    margin-bottom: 10px;
}
.twitter-user {
    font-weight: bold;
    color: white;
}
.twitter-handle {
    color: #999;
}
.slider-section {
    flex: 1;
    margin: 0 30px;
}
.slider-container {
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
}
.slider-track {
    height: 12px;
    background: linear-gradient(90deg, 
        rgba(255, 77, 77, 0.8), 
        rgba(77, 255, 77, 0.8)
    );
    border-radius: 6px;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}
.slider-thumb {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #fff, #e6e6e6);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: left 0.5s ease-out;
    pointer-events: none;
}
.slider-value {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #fff;
    font-weight: bold;
}
.slider-thumb:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
}
.slider-thumb:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(0.95);
}
.tweet-display {
    background-color: rgba(20, 20, 40, 0.7);
    border-radius: 15px;
    padding: 20px;
}
.tweet-display h3 {
    color: #00ffcc;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.2rem;
}
.tweet-card {
    background-color: #1a1b2e;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.tweet-header {
    margin-bottom: 10px;
}
.tweet-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: #ffffff;
}
.tweet-handle {
    color: #8899a6;
    margin-left: 8px;
}
.tweet-body {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #ffffff;
}
.analysis-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}
.input-section {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.tweet-card.representative {
    margin: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
}
/* Responsive design */
@media (max-width: 768px) {
    .character-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .slider-section {
        width: 100%;
        margin: 20px 0;
    }
    
    .character {
        width: 120px;
        height: 120px;
    }
    
    .input-section {
        flex-direction: column;
    }
    
    .header h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
} 