.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.preloader-content {
    text-align: center;
    animation: pulse 2s infinite;
}

.preloader-emblem {
    margin-bottom: 20px;
}

.preloader-emblem img {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 10px rgba(196, 30, 58, 0.7));
}

.preloader-text {
    font-family: 'Courier New', monospace;
    font-size: 4rem;
    font-weight: bold;
    color: var(--accent-red);
    letter-spacing: 10px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(196, 30, 58, 0.7);
}

.preloader-subtext {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: var(--warning-yellow);
    letter-spacing: 3px;
    opacity: 0.8;
}

/* Add a loading line animation */
.preloader-content::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--accent-red), var(--warning-yellow));
    margin-top: 20px;
    animation: loading 2s infinite;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes loading {
    0% { transform: scaleX(0); transform-origin: left; }
    49% { transform: scaleX(1); transform-origin: left; }
    50% { transform: scaleX(1); transform-origin: right; }
    100% { transform: scaleX(0); transform-origin: right; }
}

/* Fade out animation */
.preloader.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

:root {
    --dark-gray: #1a1a1a;
    --light-gray: #f0f0f0;
    --accent-red: #c41e3a;
    --warning-yellow: #ff9800;
}

body {
    font-family: 'Courier New', monospace;
    background: linear-gradient(45deg, #0a0a0a, #1a1a1a);
    margin: 0;
    padding: 20px;
    color: #d4d4d4;
    min-height: 100vh;
    overflow-x: hidden;
    box-sizing: border-box;
}

.header {
    background: linear-gradient(180deg, #000000, #1a1a1a);
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    border: 2px solid #333;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    margin: 0 auto;
    max-width: calc(100% - 40px);
    box-sizing: border-box;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0, 0, 0, 0.1) 10px,
        rgba(0, 0, 0, 0.1) 20px
    );
}

.warning-banner {
    background: linear-gradient(90deg, #ff9800, #ff5722);
    color: #000;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    margin: 20px auto;
    max-width: calc(100% - 40px);
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 15px rgba(255, 152, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

.container {
    max-width: calc(100% - 40px);
    width: 1200px;
    margin: 0 auto;
    background: linear-gradient(180deg, #1c1c1c, #242424);
    padding: 30px;
    border: 1px solid #333;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-red) var(--dark-gray);
    padding-right: 10px;
}

/* Add WebKit scrollbar styles */
.container::-webkit-scrollbar {
    width: 8px;
}

.container::-webkit-scrollbar-track {
    background: var(--dark-gray);
}

.container::-webkit-scrollbar-thumb {
    background-color: var(--accent-red);
    border-radius: 4px;
}

.scp-entry {
    border: 1px solid #333;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a1a, #242424);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
    opacity: 1;
    animation: fadeIn 0.3s ease;
    animation-fill-mode: both;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
}

.scp-entry:nth-child(n) {
    animation-delay: calc(n * 0.1s);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scp-entry:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 0 15px rgba(196, 30, 58, 0.2);
}

.scp-entry::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
}

.classification {
    color: var(--accent-red);
    font-weight: bold;
    text-shadow: 0 0 5px rgba(196, 30, 58, 0.5);
}

.search-bar {
    width: 100%;
    padding: 15px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.search-bar:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 15px rgba(196, 30, 58, 0.3);
}

[data-redacted] {
    background: #000;
    color: transparent;
    cursor: not-allowed;
    -webkit-user-select: none;
    user-select: none;
    padding: 0 5px;
}

footer {
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    background-color: #000;
    color: #fff;
}

.highlight {
    background-color: rgba(196, 30, 58, 0.3);
    padding: 2px;
    border-radius: 2px;
    color: #fff;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.no-results {
    text-align: center;
    padding: 20px;
    color: var(--accent-red);
    font-style: italic;
}

.scp-entry[style*="display: none"] {
    opacity: 0;
    transform: translateY(-10px);
}

.site-logo {
    width: 120px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
    transition: all 0.3s ease;
}

.site-logo:hover {
    filter: drop-shadow(0 0 15px rgba(196, 30, 58, 0.4));
    transform: scale(1.05);
}

*, *:before, *:after {
    box-sizing: inherit;
}

.info-section {
    max-width: calc(100% - 40px);
    margin: 40px auto;
    color: #d4d4d4;
}

.info-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(196, 30, 58, 0.3);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.info-card {
    background: linear-gradient(135deg, #1a1a1a, #242424);
    border: 1px solid #333;
    padding: 25px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.2);
}

.info-card h3 {
    color: var(--accent-red);
    margin-bottom: 15px;
    font-size: 1.2em;
    letter-spacing: 1px;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card ul li {
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
}

.info-card ul li::before {
    content: '►';
    color: var(--accent-red);
    position: absolute;
    left: 0;
    font-size: 0.8em;
}

.info-card strong {
    color: var(--warning-yellow);
}

.info-card p {
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        margin-bottom: 20px;
    }
}

/* Add subtle animation for cards */
.info-card {
    animation: fadeInUp 0.6s ease backwards;
}

.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }
.info-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a, #242424);
    margin: 50px auto;
    padding: 30px;
    width: 90%;
    max-width: 800px;
    border: 1px solid #333;
    box-shadow: 0 0 30px rgba(196, 30, 58, 0.3);
    animation: modalSlideIn 0.3s ease;
}

.close-button {
    position: absolute;
    right: 20px;
    top: 20px;
    color: var(--accent-red);
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-button:hover {
    color: #ff0000;
    transform: scale(1.1);
}

.modal-header {
    border-bottom: 1px solid var(--accent-red);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.modal-header h2 {
    color: #fff;
    margin: 0 0 10px 0;
}

.modal-section {
    margin: 20px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--accent-red);
}

.modal-section h3 {
    color: var(--warning-yellow);
    margin: 0 0 15px 0;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Make SCP entries clickable */
.scp-entry {
    cursor: pointer;
    transition: all 0.3s ease;
}

.scp-entry:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(196, 30, 58, 0.3);
}

.scroll-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--accent-red), var(--warning-yellow));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 5s linear;
    opacity: 0;
}

.scroll-indicator.active {
    opacity: 1;
    transform: scaleX(1);
}

.scroll-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--accent-red), var(--warning-yellow));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 5s linear;
    opacity: 0;
}

.scroll-indicator.active {
    opacity: 1;
    transform: scaleX(1);
}
.context-menu {
    position: fixed;
    background: linear-gradient(135deg, #1a1a1a, #242424);
    border: 1px solid var(--accent-red);
    box-shadow: 0 2px 15px rgba(196, 30, 58, 0.3);
    padding: 5px 0;
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    transform: scale(0.98);
    transform-origin: top left;
    transition: opacity 0.15s ease, transform 0.15s ease;
    pointer-events: none;
}

.context-menu.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.context-menu-item {
    padding: 8px 15px;
    color: #d4d4d4;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.context-menu-item:hover {
    background: var(--accent-red);
    color: #fff;
}

.context-menu-separator {
    height: 1px;
    background: #333;
    margin: 5px 0;
}

.context-menu i {
    width: 16px;
    text-align: center;
    color: var(--warning-yellow);
}

.context-menu-item:hover i {
    color: #fff;
}

.foundation-alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: linear-gradient(135deg, #1a1a1a, #242424);
    border: 1px solid var(--accent-red);
    box-shadow: 0 0 20px rgba(196, 30, 58, 0.3);
    padding: 20px;
    z-index: 2000;
    min-width: 300px;
    max-width: 600px;
    animation: alertSlideIn 0.3s ease forwards;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #d4d4d4;
    font-family: 'Courier New', monospace;
}

.alert-content i {
    color: var(--warning-yellow);
    font-size: 24px;
}

.alert-message {
    flex-grow: 1;
    font-size: 14px;
    line-height: 1.4;
}

.alert-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent-red), var(--warning-yellow));
    width: 100%;
    transform-origin: left;
    animation: progressShrink 3s linear;
}

@keyframes alertSlideIn {
    from {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes alertSlideOut {
    from {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    to {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
}

@keyframes progressShrink {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

.foundation-alert.removing {
    animation: alertSlideOut 0.3s ease forwards;
}

.modal-footer {
    margin-top: 20px;
    text-align: center;
}

.read-more-btn {
    background: linear-gradient(135deg, var(--accent-red), #8b0000);
    color: white;
    border: none;
    padding: 12px 24px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(196, 30, 58, 0.3);
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
    background: linear-gradient(135deg, #8b0000, var(--accent-red));
}

.read-more-btn:active {
    transform: translateY(0);
}

.main-footer {
    margin-top: 50px;
    background: linear-gradient(180deg, #1a1a1a, #000000);
    border-top: 2px solid var(--accent-red);
    padding: 40px 20px 20px 20px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    position: relative;
}

.footer-section h3 {
    color: var(--warning-yellow);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2em;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-item {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-label {
    color: #888;
    font-size: 0.9em;
}

.stat-value {
    color: var(--accent-red);
    font-weight: bold;
    font-size: 1.1em;
}

.stat-value.online {
    color: #4CAF50;
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.access-link {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border: 1px solid #333;
    color: var(--light-gray);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.access-link:hover {
    background: rgba(196, 30, 58, 0.1);
    border-color: var(--accent-red);
    transform: translateY(-2px);
}

.security-notice {
    background: linear-gradient(135deg, #1a1a1a, #242424);
    border-left: 3px solid var(--warning-yellow);
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notice-icon {
    font-size: 2em;
    color: var(--warning-yellow);
}

.notice-text h3 {
    color: var(--warning-yellow);
    margin: 0 0 10px 0;
}

.notice-text p {
    color: #d4d4d4;
    line-height: 1.5;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.foundation-motto {
    color: var(--accent-red);
    font-size: 1.2em;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.copyright {
    color: #888;
    font-size: 0.9em;
}

/* Animation for online status */
.stat-value.online {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stat-grid, .access-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .notice-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Class Grid Styles */
.class-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.class-card {
    background: linear-gradient(135deg, #1a1a1a, #242424);
    border: 1px solid #333;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.class-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.3);
}

.class-header {
    padding: 20px;
    background: linear-gradient(90deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6));
    display: flex;
    align-items: center;
    gap: 15px;
}

.class-header i {
    font-size: 24px;
}

.class-header h2 {
    margin: 0;
    font-size: 1.5em;
    letter-spacing: 2px;
}

.class-content {
    padding: 20px;
}

.class-content p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.class-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.class-content ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.class-content ul li:before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--accent-red);
}

.class-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: linear-gradient(90deg, var(--accent-red), #8b0000);
    color: white;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.class-button:hover {
    background: linear-gradient(90deg, #8b0000, var(--accent-red));
    transform: translateX(5px);
}

/* Class-specific styles */
.class-card.keter .class-header {
    color: #ff4444;
}

.class-card.euclid .class-header {
    color: #ffa500;
}

.class-card.safe .class-header {
    color: #4CAF50;
}

.class-card.thaumiel .class-header {
    color: #9c27b0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .class-grid {
        grid-template-columns: 1fr;
    }
}

.plague-doctor {
    position: fixed;
    z-index: 9000;
    right: -100px;
    bottom: 20px;
    width: 150px;
    height: 150px;
    transition: all 0.5s ease-in-out;
    pointer-events: auto;
    transform: rotate(-30deg);
    transform-origin: right bottom;
    cursor: pointer;
}

.plague-doctor img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.plague-doctor.peek {
    right: -30px;
    bottom: -20px;
    transform: rotate(0deg);
}

.plague-trigger {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    z-index: 8999;
    pointer-events: auto;
}

/* Add speech bubble styles */
.plague-speech {
    position: absolute;
    background: #1a1a1a;
    border: 2px solid var(--accent-red);
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    top: -60px;
    right: 60px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.plague-speech.show {
    opacity: 1;
    transform: translateY(0);
}

/* Add vibration animation */
@keyframes vibrate {
    0% { transform: rotate(30deg) translate(0); }
    25% { transform: rotate(30deg) translate(1px, 1px); }
    50% { transform: rotate(30deg) translate(0, -1px); }
    75% { transform: rotate(30deg) translate(-1px, 0); }
    100% { transform: rotate(30deg) translate(0); }
}

.plague-doctor.talking {
    animation: vibrate 0.1s linear infinite;
}

.plague-doctor.peek.talking {
    animation: vibrate-peek 0.1s linear infinite;
}

@keyframes vibrate-peek {
    0% { transform: rotate(0deg) translate(0); }
    25% { transform: rotate(0deg) translate(1px, 1px); }
    50% { transform: rotate(0deg) translate(0, -1px); }
    75% { transform: rotate(0deg) translate(-1px, 0); }
    100% { transform: rotate(0deg) translate(0); }
}

.dialogue-choices {
    position: fixed;
    display: none;
    flex-direction: column;
    gap: 8px;
    background: #1a1a1a;
    border: 2px solid var(--accent-red);
    padding: 15px;
    padding-right: 35px;
    border-radius: 8px;
    z-index: 9001;
    min-width: 180px;
    max-width: 220px;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dialogue-choices.show {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

.dialogue-btn {
    background: linear-gradient(135deg, #1a1a1a, #242424);
    border: 1px solid var(--accent-red);
    color: #d4d4d4;
    padding: 8px 12px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    border-radius: 4px;
    font-style: italic;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.3;
    opacity: 0;
    transform: translateX(20px);
}

.dialogue-btn:hover {
    background: var(--accent-red);
    transform: translateX(5px);
    color: #fff;
}

.dialogue-close {
    position: absolute;
    top: 8px;
    right: 8px;
    color: var(--accent-red);
    cursor: pointer;
    font-size: 20px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dialogue-close:hover {
    background: rgba(196, 30, 58, 0.2);
    transform: scale(1.1);
}

/* Animate the dialogue buttons */
.dialogue-btn {
    opacity: 0;
    transform: translateX(20px);
}

.dialogue-choices.show .dialogue-btn {
    opacity: 1;
    transform: translateX(0);
}

/* Add delay for each button */
.dialogue-choices.show .dialogue-btn:nth-child(1) { transition-delay: 0.1s; }
.dialogue-choices.show .dialogue-btn:nth-child(2) { transition-delay: 0.15s; }
.dialogue-choices.show .dialogue-btn:nth-child(3) { transition-delay: 0.2s; }
.dialogue-choices.show .dialogue-btn:nth-child(4) { transition-delay: 0.25s; }
