body {
    margin: 0;
    overflow: hidden;
    background: var(--bs-dark);
    color: var(--bs-light);
}

.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#three-canvas {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.stats-card {
    background: rgba(var(--bs-dark-rgb), 0.8);
    padding: 2rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.email-stat {
    text-align: center;
    transition: all 0.3s ease;
}

.email-stat h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--bs-light);
    opacity: 0.8;
}

.email-stat p {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    line-height: 1;
    color: var(--bs-primary);
}

.chart-container {
    position: relative;
    height: 200px;
    width: 100%;
}

.d-none {
    display: none !important;
}

#visualization .container-fluid {
    height: 100vh;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

#loading {
    z-index: 1000;
    background: var(--bs-dark);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #visualization .container-fluid {
        height: auto;
        overflow-y: auto;
    }

    .stats-card {
        margin-bottom: 1rem;
    }
}

/* Navigation buttons */
#back-button {
    z-index: 1000;
    border-radius: 2rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

#back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Frequent contact section */
#frequent-contact {
    background: var(--bs-dark);
    min-height: 100vh;
}

#frequent-contact .stats-card {
    margin-top: 2rem;
}

#frequent-contact-email {
    color: var(--bs-primary);
    word-break: break-word;
}

#frequent-contact-count {
    color: var(--bs-light);
    opacity: 0.8;
}

/* Animation classes */
.fade-enter {
    opacity: 0;
}

.fade-enter-active {
    opacity: 1;
    transition: opacity 300ms ease-in;
}

.fade-exit {
    opacity: 1;
}

.fade-exit-active {
    opacity: 0;
    transition: opacity 300ms ease-in;
}