* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    line-height: 1.6;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

#container {
    max-width: 1000px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

h1 {
    color: #2d3436;
    font-size: 2.8em;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.subtitle {
    color: #636e72;
    font-size: 1.2em;
    font-weight: 300;
}

.mode-explanation {
    display: flex;
    justify-content: space-between;
    margin: 25px 0;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border-left: 5px solid #6c5ce7;
}

.explanation-box {
    flex: 1;
    padding: 0 20px;
}

.explanation-box h3 {
    color: #2d3436;
    margin-bottom: 10px;
    font-size: 1.3em;
    display: flex;
    align-items: center;
}

.explanation-box h3 .emoji {
    margin-right: 10px;
    font-size: 1.4em;
}

.explanation-box p {
    color: #636e72;
    font-size: 0.95em;
    line-height: 1.5;
}

#sketch-holder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    border: 2px solid rgba(108, 92, 231, 0.1);
    margin: 30px 0;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

#controls {
    text-align: center;
    margin: 30px 0;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

#modeToggle {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
    letter-spacing: 0.5px;
}

#modeToggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.6);
}

#modeToggle:active {
    transform: translateY(-1px);
}

#modeDescription {
    color: #636e72;
    font-size: 1em;
    line-height: 1.5;
}

#modeDescription strong {
    color: #6c5ce7;
    font-weight: 600;
}

#description {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(116, 185, 255, 0.3);
}

#description p {
    margin: 0;
    font-size: 1.05em;
    line-height: 1.6;
}