/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #f7f7f8;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="white" opacity="0.8"/><circle cx="80" cy="40" r="0.5" fill="white" opacity="0.6"/><circle cx="40" cy="80" r="1.5" fill="white" opacity="0.9"/><circle cx="90" cy="10" r="0.8" fill="white" opacity="0.7"/><circle cx="10" cy="90" r="1.2" fill="white" opacity="0.8"/></svg>') repeat;
    animation: twinkle 3s ease-in-out infinite;
    z-index: -2;
}

.twinkling {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
    position: relative;
    z-index: 1;
}

/* Hide container when using ChatGPT layout */
.chatgpt-layout .container {
    display: none;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 50px;
    height: 50px;
    position: relative;
}

.robot-face {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    animation: robot-bounce 2s ease-in-out infinite;
}

@keyframes robot-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.eyes {
    display: flex;
    gap: 8px;
    margin-bottom: 5px;
}

.eye {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: blink 3s infinite;
}

@keyframes blink {
    0%, 90%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}

.mouth {
    width: 12px;
    height: 6px;
    border: 2px solid white;
    border-top: none;
    border-radius: 0 0 12px 12px;
}

.antenna {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 12px;
    background: #4CAF50;
    border-radius: 2px;
}

.antenna::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #FFD700;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.7; transform: translateX(-50%) scale(1.2); }
}

h1 {
    font-family: 'Nunito', cursive;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    flex-wrap: wrap;
}

.ai-title {
    color: #4CAF50;
    font-weight: 700;
}

.title-separator {
    color: #FFD700;
    font-size: 20px;
}

.subtitle {
    color: #666;
    font-size: 16px;
    font-weight: 600;
}

/* Bot strip under header title - continuous marquee */
.bot-strip {
    position: relative;
    overflow: hidden;
    margin-top: 6px;
    width: 180px; /* show exactly 4 items (4*36 + 3*10) */
}

.bot-strip__track {
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    animation: botMarquee 14s linear infinite;
}

.bot-strip__item {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    flex: 0 0 auto;
    animation: botBob 1.8s ease-in-out infinite;
}

/* Stagger bobbing for a playful effect (handles duplicates in track) */
.bot-strip__item:nth-child(4n+1) { animation-delay: 0s; }
.bot-strip__item:nth-child(4n+2) { animation-delay: 0.15s; }
.bot-strip__item:nth-child(4n+3) { animation-delay: 0.30s; }
.bot-strip__item:nth-child(4n+4) { animation-delay: 0.45s; }

@keyframes botMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes botBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.welcome-text {
    font-weight: 600;
    color: #4CAF50;
    font-size: 14px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 13px;
}

.btn-primary {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #FF6B6B, #FF5252);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin-bottom: 12px;
}

.mood-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.mood-question {
    font-size: 16px;
    color: #666;
    font-weight: 600;
    white-space: nowrap;
}

.mood-selector {
    display: flex;
    gap: 8px;
}

.mood-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border: 2px solid transparent;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    min-width: 80px;
}

.mood-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-color: #4CAF50;
}

.mood-btn.selected {
    border-color: #4CAF50;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.2));
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.mood-emoji {
    font-size: 20px;
    display: block;
    transition: transform 0.3s ease;
}

.mood-btn:hover .mood-emoji {
    transform: scale(1.1);
}

.mood-btn.selected .mood-emoji {
    transform: scale(1.1);
}

.mood-text {
    font-size: 11px;
    font-weight: 600;
    color: #333;
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.app-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 15px;
}

.app-card.animate-in {
    animation: slideInUp 0.6s ease-out forwards;
}

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

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.app-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.app-card.disabled:hover {
    transform: none;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.vocab-card .card-icon {
    /* background: linear-gradient(135deg, #FF6B6B, #FF5252); */
    background: transparent;
}

.exam-card .card-icon {
    background: linear-gradient(135deg, #FFD700, #FFA000);
}

.writing-card .card-icon {
    /* background: linear-gradient(135deg, #9C27B0, #7B1FA2); */
    background: transparent;
}

.chatbox-card .card-icon {
    /* background: linear-gradient(135deg, #4CAF50, #45a049); */
    background: transparent;
}

.analytics-card .card-icon {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.card-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.feature {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #495057;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid #dee2e6;
}

.coming-soon-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin-top: 8px;
}

.featured-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.card-arrow {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #6c5ce7, #5f3dc4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.app-card:hover .card-arrow {
    background: #4CAF50;
    color: white;
    transform: scale(1.1);
}

/* Fun Facts Section */
.fun-facts {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.fun-facts h3 {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.fact {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.fact:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.fact i {
    font-size: 24px;
    color: #4CAF50;
    margin-bottom: 8px;
    display: block;
}

.fact p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 15px;
    }

    h1 {
        font-size: 20px;
        justify-content: center;
    }

    .hero-title {
        font-size: 20px;
    }

    .mood-row {
        flex-direction: column;
        gap: 10px;
    }

    .mood-question {
        font-size: 14px;
    }

    .mood-selector {
        gap: 6px;
    }

    .mood-btn {
        padding: 6px 10px;
        min-width: 70px;
    }

    .mood-emoji {
        font-size: 18px;
    }

    .mood-text {
        font-size: 10px;
    }

    .apps-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .facts-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.upload-section {
    text-align: right;
    max-width: 300px;
    margin: 0;
    padding: 12px 16px;
    background: #f8f8f8;
    border-radius: 6px;
    flex-shrink: 0;
}

.file-input {
    display: none;
}

.upload-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.upload-btn:hover {
    background-color: #45a049;
}

.file-name {
    margin-top: 5px;
    font-size: 12px;
}

.loading {
    display: none;
    text-align: center;
    margin: 20px 0;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.response-section {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: none;
}

.error-message {
    color: #d32f2f;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 4px;
    animation: fadeIn 0.3s ease-in;
    display: none;
}

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

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

.page-selector {
    margin: 20px 0;
}

#page-select {
    padding: 5px;
    margin-left: 10px;
}

#vocab-content {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

#vocab-content pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.content-wrapper {
    display: flex;
    gap: 2rem;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

.pdf-preview {
    flex: 3;
    min-width: 60%;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.vocab-section {
    flex: 2;
    min-width: 35%;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-selector {
    margin-bottom: 20px;
}

.page-selector select {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-left: 10px;
}

.markdown-content {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.4;
    overflow-y: auto;
    max-height: 750px;
    padding-right: 20px;
    font-size: 14px;
}

.markdown-content h1 {
    font-size: 1.6em;
    margin-top: 1em;
    margin-bottom: 0.4em;
}

.markdown-content h2 {
    font-size: 1.4em;
    margin-top: 0.8em;
    margin-bottom: 0.3em;
}

.markdown-content h3 {
    font-size: 1.2em;
    margin-top: 0.6em;
    margin-bottom: 0.2em;
}

.markdown-content p {
    margin-bottom: 0.8em;
}

.markdown-content ul,
.markdown-content ol {
    padding-left: 1.2em;
    margin-bottom: 0.8em;
}

.markdown-content li {
    margin-bottom: 0.3em;
}

.markdown-content pre {
    background: #f8f8f8;
    padding: 0.8em;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 13px;
}

/* Make sure the main container can accommodate the wide layout */
#response-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: none;
}

/* Add styles for highlighted vocabulary */
.vocab-highlight {
    background-color: rgba(255, 255, 0, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.vocab-highlight:hover {
    background-color: rgba(255, 255, 0, 0.5);
}

/* Add tooltip style for highlighted words */
.vocab-tooltip {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    padding: 8px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: 12px;
    max-width: 200px;
    z-index: 1000;
}

/* Add brand and logo styles */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.logo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo svg {
    width: 40px;
    height: 40px;
}

.pdf-preview {
    height: 800px;
    overflow: auto;
}

/* Add styles for the vocab header */
.vocab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Style for the print button */
.print-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.print-btn:hover {
    background-color: #45a049;
}

.print-btn svg {
    width: 16px;
    height: 16px;
}

/* Adjust the page selector to fit in header */
.page-selector {
    margin-bottom: 0;
}

/* Add these to your existing styles.css */
.auth-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.flash-messages {
    padding: 10px;
    margin-bottom: 15px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
}

/* Quiz styles */
.quiz-container {
    max-width: 600px;
    width: 100%;
}

.answer-btn {
    width: 100%;
    text-align: left;
    background: white;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.answer-btn:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

.answer-btn[disabled] {
    cursor: not-allowed;
    opacity: 0.7;
}

.answer-btn.bg-green-100 {
    background: #dcfce7;
    border-color: #22c55e;
}

.answer-btn.bg-red-100 {
    background: #fee2e2;
    border-color: #ef4444;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Ensure modal is hidden by default */
.modal-overlay[style*="display: none"] {
    display: none !important;
}

.modal-content {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    max-width: 90%;
    width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: bounceIn 0.5s;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

.answers-grid {
    display: grid;
    gap: 1rem;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.action-btn:hover {
    transform: translateY(-1px);
}

/* Add these styles */
#toggle-all-words {
    transition: all 0.3s ease;
    font-weight: 500;
}

#toggle-all-words:hover {
    background-color: #e5e7eb;
}

#toggle-all-words i {
    transition: transform 0.3s ease;
}

#toggle-all-words:hover i {
    transform: translateY(2px);
}

#all-words-section {
    transition: opacity 0.3s ease;
}

#all-words-section.hidden {
    display: none;
    opacity: 0;
}

#all-words-section:not(.hidden) {
    display: block;
    opacity: 1;
}

/* Add these styles */
.search-container {
    position: relative;
}

.search-container input {
    width: 100%;
    padding-left: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 0.75rem center;
    background-size: 1.25rem;
}

.search-container input:focus {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

#search-results {
    transition: all 0.3s ease;
}

#search-results.hidden {
    display: none;
}

.vocab-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* Add or update these styles */
.flash-message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.375rem;
}

.flash-message.error {
    background-color: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.flash-message.success {
    background-color: #dcfce7;
    border: 1px solid #22c55e;
    color: #166534;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.error {
    color: #dc2626;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Add these styles */
.session-word {
    border-left: 3px solid #9333ea; /* Purple border */
    background: linear-gradient(to right, rgba(147, 51, 234, 0.05), transparent);
    transition: all 0.3s ease;
}

.session-word:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 0 4px 6px rgba(147, 51, 234, 0.1);
}

#session-words-section {
    background-color: #faf5ff;
    border: 1px solid #e9d5ff;
    position: relative;
    overflow: hidden;
}
 