* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #121212;
    color: #eee;
    padding: 20px;
    min-height: 100vh;
}

.app-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    color: #9147ff; /* Twitch purple */
    margin-bottom: 10px;
    font-size: 2.2rem;
}

.subtitle {
    color: #aaa;
    font-size: 1.1rem;
}

.fake-badge {
    background-color: #e91e63;
    color: white;
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 12px;
    vertical-align: middle;
    margin-left: 8px;
}

#drop-area {
    border: 3px dashed #9147ff;
    border-radius: 10px;
    padding: 50px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background-color: rgba(145, 71, 255, 0.1);
}

#drop-area:hover {
    background-color: rgba(145, 71, 255, 0.2);
}

#drop-area p {
    font-size: 1.2rem;
    color: #ccc;
}

.canvas-container {
    margin: 20px 0;
}

.canvas-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#canvas {
    max-width: 100%;
    background-color: #2d2d2d;
    border: 1px solid #444;
}

.stickers-panel {
    padding: 15px;
    background-color: #2a2a2a;
    border-radius: 8px;
}

.stickers-panel h3 {
    margin-bottom: 10px;
    color: #9147ff;
}

.stickers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.sticker {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px;
}

.sticker:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.2);
}

.analysis-container {
    margin: 30px 0;
    padding: 20px;
    background-color: #2a2a2a;
    border-radius: 8px;
}

.loading-bar {
    height: 20px;
    background-color: #333;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #9147ff, #e91e63);
    transition: width 0.5s;
}

.analysis-steps p {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 5px;
    opacity: 0.5;
}

.analysis-steps p.active {
    background-color: rgba(145, 71, 255, 0.2);
    opacity: 1;
}

.result-container {
    text-align: center;
    padding: 20px;
    background-color: #2a2a2a;
    border-radius: 8px;
    margin: 30px 0;
}

.result-title {
    color: #e91e63;
    margin-bottom: 20px;
}

.result-message {
    font-size: 1.4rem;
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    line-height: 1.5;
}

button {
    background-color: #9147ff;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    margin: 0 10px;
}

button:hover {
    background-color: #7732d1;
}

footer {
    margin-top: 40px;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

@media (max-width: 600px) {
    .app-container {
        padding: 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .stickers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    button {
        padding: 10px 20px;
        margin-bottom: 10px;
        width: 100%;
    }
}

