* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace;
}

body {
    background-color: #f5f5f5;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.instructions {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.5;
    border: none;
}

.post-it-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.post-it {
    width: 280px;
    height: 280px;
    padding: 20px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    background-image: url('/sticky-note-background.png');
    background-size: cover;
}

.post-it:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#candidate-a {
    background-color: #fef8a0;
    transform: rotate(-2deg);
}

#candidate-b {
    background-color: #a0c8fe;
    transform: rotate(1deg);
}

#normal-candidate-a {
    background-color: #ffcc99;
    transform: rotate(-2deg);
}

#normal-candidate-b {
    background-color: #cc99ff;
    transform: rotate(1deg);
}

#routine-candidate-a {
    background-color: #ffa0a0;
    transform: rotate(-2deg);
}

#routine-candidate-b {
    background-color: #a0ffa0;
    transform: rotate(1deg);
}

#identity-candidate-a {
    background-color: #a0d6d1;
    transform: rotate(-2deg);
}

#identity-candidate-b {
    background-color: #ffb6c1;
    transform: rotate(1deg);
}

#opportunity-candidate-a {
    background-color: #ffeaa7;
    transform: rotate(-2deg);
}

#opportunity-candidate-b {
    background-color: #74b9ff;
    transform: rotate(1deg);
}

#celebrity-candidate-a {
    background-color: #ffdfba;
    transform: rotate(-2deg);
}

#celebrity-candidate-b {
    background-color: #bae1ff;
    transform: rotate(1deg);
}

#conflict-candidate-a {
    background-color: #ff9999;
    transform: rotate(-2deg);
}

#conflict-candidate-b {
    background-color: #99ccff;
    transform: rotate(1deg);
}

#blackfriday-candidate-a {
    background-color: #ffd700;
    transform: rotate(-2deg);
}

#blackfriday-candidate-b {
    background-color: #98fb98;
    transform: rotate(1deg);
}

#marine-candidate-a {
    background-color: #a0e6ff;
    transform: rotate(-2deg);
}

#marine-candidate-b {
    background-color: #80ced6;
    transform: rotate(1deg);
}

#apathy-candidate-a {
    background-color: #d1c4e9;
    transform: rotate(-2deg);
}

#apathy-candidate-b {
    background-color: #b39ddb;
    transform: rotate(1deg);
}

.post-it h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #333;
}

.post-it .preview {
    font-size: 1rem;
    color: #555;
}

.post-it-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: inherit;
    padding: 20px;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.4s;
    z-index: 10;
}

.post-it.expanded .post-it-content {
    transform: translateY(0);
}

.post-it-content h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.post-it-content p, .post-it-content ul {
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.post-it-content ul {
    padding-left: 20px;
}

.button-container {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.topic-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.topic-btn {
    padding: 10px 20px;
    background-color: #e0e0e0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    width: 250px;
    text-align: center;
}

.topic-btn.active {
    background-color: #4CAF50;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.topic-content {
    display: none;
}

.topic-content.active {
    display: block;
}

.conversation-icon {
    width: 40px;
    height: 40px;
    display: inline-block;
}

.conversation-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#start-conversation {
    padding: 12px 24px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.2s;
}

#start-conversation:hover {
    background-color: #3e8e41;
    transform: translateY(-2px);
}

#start-conversation:active {
    transform: translateY(0);
}

.conversation-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 20px;
    max-height: 600px;
    overflow-y: auto;
}

.conversation {
    padding: 10px;
}

.message {
    padding: 12px 16px;
    margin-bottom: 15px;
    border-radius: 8px;
    position: relative;
    max-width: 80%;
    animation: fadeIn 0.5s ease-out;
}

.message.candidate-a {
    background-color: rgba(254, 248, 160, 0.7);
    align-self: flex-start;
    margin-left: 10px;
}

.message.candidate-b {
    background-color: rgba(160, 200, 254, 0.7);
    align-self: flex-end;
    margin-right: 10px;
    margin-left: auto;
}

.message.normal-candidate-a {
    background-color: rgba(255, 204, 153, 0.7);
    align-self: flex-start;
    margin-left: 10px;
}

.message.normal-candidate-b {
    background-color: rgba(204, 153, 255, 0.7);
    align-self: flex-end;
    margin-right: 10px;
    margin-left: auto;
}

.message.routine-candidate-a {
    background-color: rgba(255, 160, 160, 0.7);
    align-self: flex-start;
    margin-left: 10px;
}

.message.routine-candidate-b {
    background-color: rgba(160, 255, 160, 0.7);
    align-self: flex-end;
    margin-right: 10px;
    margin-left: auto;
}

.message.identity-candidate-a {
    background-color: rgba(160, 214, 209, 0.7);
    align-self: flex-start;
    margin-left: 10px;
}

.message.identity-candidate-b {
    background-color: rgba(255, 182, 193, 0.7);
    align-self: flex-end;
    margin-right: 10px;
    margin-left: auto;
}

.message.opportunity-candidate-a {
    background-color: rgba(255, 234, 167, 0.7);
    align-self: flex-start;
    margin-left: 10px;
}

.message.opportunity-candidate-b {
    background-color: rgba(116, 185, 255, 0.7);
    align-self: flex-end;
    margin-right: 10px;
    margin-left: auto;
}

.message.celebrity-candidate-a {
    background-color: rgba(255, 223, 186, 0.7);
    align-self: flex-start;
    margin-left: 10px;
}

.message.celebrity-candidate-b {
    background-color: rgba(186, 225, 255, 0.7);
    align-self: flex-end;
    margin-right: 10px;
    margin-left: auto;
}

.message.conflict-candidate-a {
    background-color: rgba(255, 153, 153, 0.7);
    align-self: flex-start;
    margin-left: 10px;
}

.message.conflict-candidate-b {
    background-color: rgba(153, 204, 255, 0.7);
    align-self: flex-end;
    margin-right: 10px;
    margin-left: auto;
}

.message.blackfriday-candidate-a {
    background-color: rgba(255, 215, 0, 0.7);
    align-self: flex-start;
    margin-left: 10px;
}

.message.blackfriday-candidate-b {
    background-color: rgba(152, 251, 152, 0.7);
    align-self: flex-end;
    margin-right: 10px;
    margin-left: auto;
}

.message.marine-candidate-a {
    background-color: rgba(160, 230, 255, 0.7);
    align-self: flex-start;
    margin-left: 10px;
}

.message.marine-candidate-b {
    background-color: rgba(128, 206, 214, 0.7);
    align-self: flex-end;
    margin-right: 10px;
    margin-left: auto;
}

.message.apathy-candidate-a {
    background-color: rgba(209, 196, 233, 0.7);
    align-self: flex-start;
    margin-left: 10px;
}

.message.apathy-candidate-b {
    background-color: rgba(179, 157, 219, 0.7);
    align-self: flex-end;
    margin-right: 10px;
    margin-left: auto;
}

.message-header {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.message-content {
    line-height: 1.5;
    letter-spacing: 0.05em;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.main-title {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 3.2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 20px 0;
}

.exam-description {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 35px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    margin-bottom: 25px;
    text-align: center;
    border: none;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.exam-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.exam-description p {
    position: relative;
    z-index: 1;
    margin: 0;
}

.topic-index {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
}

.index-card {
    width: 80%;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.index-card:nth-child(even) {
    transform: translateY(0);
}

.index-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.index-card:nth-child(even):hover {
    transform: translateY(-5px);
}

.index-card h3 {
    margin-bottom: 10px;
    color: #333;
}

.index-card p {
    color: #666;
    font-size: 0.9rem;
}

.topic-image {
    text-align: center;
    margin-bottom: 25px;
}

.topic-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.notebook-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    background-image: url('/asset_name.png');
    background-size: cover;
    background-position: center;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin: 20px 0;
    min-height: 600px;
}

.notebook-page {
    min-width: 300px;
    flex: 1;
    padding: 20px 30px;
    background-color: rgba(255, 255, 255, 0.9);
    margin: 0 15px;
    border-right: 1px solid #ddd;
}

.notebook-page:last-child {
    border-right: none;
}

.notebook-page h2 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #3498db;
}

.notebook-page ul {
    list-style-type: none;
    padding-left: 5px;
    margin-bottom: 25px;
}

.notebook-page ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #34495e;
    position: relative;
    padding-left: 20px;
}

.notebook-page ul li:before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

#glossary-button {
    background-color: #34495e;
    color: white;
}

#glossary-button.active {
    background-color: #2c3e50;
}

#vocabulary-notebook-button {
    background-color: #8e44ad;
    color: white;
}

#vocabulary-notebook-button.active {
    background-color: #6c3483;
}

.vocabulary-notebook {
    background-image: url('/vocabulary_notebook.png');
}

.control-btn {
    padding: 12px 24px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.2s;
}

.control-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.control-btn:active {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .post-it {
        width: 100%;
        max-width: 320px;
        height: 220px;
    }
    
    .message {
        max-width: 90%;
    }
}

/* Responsive adjustments for the notebook */
@media (max-width: 768px) {
    .notebook-container {
        flex-direction: column;
    }
    
    .notebook-page {
        width: 100%;
        margin: 10px 0;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
    
    .notebook-page:last-child {
        border-bottom: none;
    }
}