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

:root {
    --primary-color: #7c9cbf;
    --primary-dark: #5a7a9e;
    --primary-light: #a8c4e0;
    --accent-color: #9b8fc4;
    --accent-light: #c4b8e8;
    --bg-color: #e8eef5;
    --bg-light: #f4f7fb;
    --text-color: #2c3e50;
    --text-light: #5a6d7e;
    --border-color: #c5d3e3;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-light) 100%);
    min-height: 100vh;
    color: var(--text-color);
}

#app {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(124, 156, 191, 0.3);
    position: relative;
}

.contact-link {
    position: absolute;
    bottom: 10px;
    right: 15px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: white;
    text-decoration: underline;
}

header h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

main {
    flex: 1;
}

#navigation-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(124, 156, 191, 0.15);
    border: 1px solid var(--border-color);
}

#navigation-section h2 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-light);
}

#viewer-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-option:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--bg-light) 0%, #e8ecf5 100%);
    transform: translateX(4px);
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    cursor: pointer;
    accent-color: var(--accent-color);
}

.radio-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
}

.radio-description {
    width: 100%;
    margin-top: 8px;
    margin-left: 35px;
    font-size: 0.9rem;
    color: var(--text-light);
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    line-height: 1.6;
}

.modal-content p {
    margin-bottom: 15px;
    color: var(--text-color);
}

.modal-content p:last-child {
    margin-bottom: 0;
}

.contact-email {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--text-color);
}
