@font-face {
    font-family: 'Fukiai';
    src: url('fukiai.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    background: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.panel {
    position: relative;
    width: 100%;
    max-width: 1000px;
    padding: 30px;
    background: rgba(255, 123, 0, 0.1);
    border: none;
    border-radius: 4px;
    margin-bottom: 120px;
    user-select: none;
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 20px;
    border: 1px solid rgba(255, 123, 0, 0.2);
}

@media (max-width: 950px) {
    .panel {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
}

.panel-header {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 123, 0, 0.3);

    gap: 20px;
}

.panel-title {
     font-size: 18px;
    font-weight: 100;
    color: #ff7b00;
    margin: 0;

    letter-spacing: 0.05em;

line-height: 1;
display: flex;
align-items: center;
vertical-align: center;
flex: 1;

}
.panel-title .small{
    font-size: 0.7em;
padding-left:1em;

font-weight: 500;

}
.panel-title *{display: flex;
align-items: center;

}

.fukiai{ 
    font-size: 1.3em;
    display: inline;  font-family: 'Fukiai', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}

.status-display {
    display: flex;
    gap: 20px;
    align-items: center;

    justify-content: center;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 123, 0, 0.3);
}

.status-indicator.active {
    background-color: #00ff00;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
}

.status-indicator.error {
    background-color: #ff0000;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
}

.status-indicator.warning {
    background-color: #ffaa00;
    box-shadow: 0 0 8px rgba(255, 170, 0, 0.6);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.status-label {
    color: rgba(255, 123, 0, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-value {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'SF Mono', Monaco, 'Consolas', monospace;
    font-size: 10px;
}

.disabled-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 400px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 1;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.disabled-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.overlay-content {
    text-align: center;
    padding: 24px 32px;
}

.overlay-message {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.overlay-message strong {
    color: #ff7b00;
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.icon-button {
    width: 32px;
    height: 32px;
    padding: 0;
    --tint-rgb: 255, 123, 0;
    background-color: rgba(var(--tint-rgb), 0.1);
    border: none;
    border-radius: 16px;
    color: rgba(var(--tint-rgb), 0.8);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.icon-button:hover {
    background-color: rgba(var(--tint-rgb), 0.2);
    color: rgba(var(--tint-rgb), 1);
}

.icon-button:active {
    transform: translateY(1px);
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}

.left-column.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.right-column {
    display: flex;
    flex-direction: column;
}

.controls-left {
    width: 100%;
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.control-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 123, 0, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 123, 0, 0.2);
}

.section-title {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 123, 0, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 5px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 123, 0, 0.3);
}

.visualizer {
    width: 100%;
    max-width: 450px;
    /* Auto height based on aspect ratio */
    height: auto;
    aspect-ratio: 1024 / 837;
    background: #000;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.visualizer canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    image-rendering: high-quality;
    image-rendering: -webkit-optimize-contrast;
}

.visualizer #waveDistortionCanvas {
    image-rendering: high-quality;
    image-rendering: -webkit-optimize-contrast;
}

.visualizer img {
    max-width: 100%;
    max-height: 150%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: opacity 0.1s ease-in-out;
    display: none !important;
    visibility: hidden !important;
}

.visualizer img.base {
    opacity: 0.0;
    z-index: 1;
}

.visualizer img.back {
    opacity: 0.0;
    z-index: 2;
}

.visualizer img.front {
    opacity: 0.0;
    z-index: 3;
}

.visualizer img.eye-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 150%;
    object-fit: contain;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s ease-in-out;
}

.controls {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 20px;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}

.controls.disabled {
    opacity: 0.4;
    pointer-events: none;
}

@media (max-width: 600px) {
    .controls {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

label {
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 123, 0, 0.8);
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.value-display {
    font-size: 10px;
    font-family: 'SF Mono', Monaco, 'Consolas', monospace;
    color: #ff7b00;
    text-align: right;
    font-variant-numeric: tabular-nums;
    min-width: 50px;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 24px;
    background: transparent;
    cursor: pointer;
    --progress-start: 0%;
    --progress-end: 0%;
    --tint-rgb: 255, 123, 0;
}

input[type="range"]:focus {
    outline: none;
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background:
        linear-gradient(to right,
            transparent var(--progress-start, 0%),
            rgba(var(--tint-rgb), 0.5) var(--progress-start, 0%),
            rgba(var(--tint-rgb), 0.5) var(--progress-end, var(--progress)),
            transparent var(--progress-end, var(--progress))),
        rgba(0, 0, 0, 1);
    border-radius: 3px;
}

input[type="range"]:hover::-webkit-slider-runnable-track {
    background:
        linear-gradient(to right,
            transparent var(--progress-start, 0%),
            rgba(var(--tint-rgb), 0.6) var(--progress-start, 0%),
            rgba(var(--tint-rgb), 0.6) var(--progress-end, var(--progress)),
            transparent var(--progress-end, var(--progress))),
        rgba(0, 0, 0, 1);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    cursor: pointer;
    background-color: rgba(var(--tint-rgb), 0.2);
    border: 1px solid rgba(var(--tint-rgb), 0.6);
    box-shadow: inset 0 0 0 30px rgba(255, 255, 255, 0.1), 0 2px 6px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.15);
    margin-top: -6px;
    z-index: 2;
    transition: all 0.15s ease;
    backdrop-filter: blur(5px);
}

input[type="range"]:hover::-webkit-slider-thumb {
    background-color: rgba(var(--tint-rgb), 0.4);
    box-shadow: inset 0 0 0 30px rgba(255, 255, 255, 0.1), 0 2px 6px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.15), 0 0 2px 1px rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

/* Vowel Toggle Buttons (Awaon style) */
.vowel-selector-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vowel-selector-label {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 0 4px;
}

.label-text {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 123, 0, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.label-subtitle {
    font-size: 9px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.025em;
}

.vowel-selector {
    display: flex;
    gap: 5px;
    justify-content: space-between;
}

.vowel-selector {
    display: flex;
    justify-content: space-between;
    border-radius: 2em;
    overflow: hidden;
    position: relative;
    padding: 4px;
    background-color: rgba(0, 0, 0, 0.25);
    margin-top: 0;
}

.vowel-selector .active-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    border-radius: 999px;
    background-color: rgba(255, 123, 0, 0.3);
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.68, -0.1, 0.32, 1.2), width 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.2);
    pointer-events: none;
}

.vowel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex: 1;
    height: 32px;
    padding: 0.25rem;
    background: transparent;
    border: none;
    color: rgba(255, 123, 0, 0.7);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
    z-index: 1;
}

.vowel-btn:hover {
    color: rgba(255, 123, 0, 1);
    text-shadow: 0 0 5px rgba(255, 123, 0, 0.5);
}

.vowel-btn.is-active {
    opacity: 1;
    color: rgba(255, 123, 0, 1);
}

.vowel-btn.active {
    opacity: 1;
    color: rgba(255, 123, 0, 1);
}

/* Background Selector */
.background-selector {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.background-options {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.background-option {
    position: relative;
    cursor: pointer;
    padding: 8px 16px;
    transition: all 0.15s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    border: 2px solid rgba(255, 123, 0, 0.3);
    border-radius: 4px;
}

/* Black button */
.background-option:nth-child(1) {
    background: #000000;
    border-color: #333333;
}

/* Blue button */
.background-option:nth-child(2) {
    background: #0066ff;
    border-color: #0052cc;
}

/* Green button */
.background-option:nth-child(3) {
    background: #00ff00;
    border-color: #00cc00;
}

.background-option:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.background-option input[type="radio"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.option-label {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    pointer-events: none;
}

.background-option:nth-child(2) .option-label {
    color: #fff;
}

.background-option:has(input[type="radio"]:checked) {
    border-width: 3px;
    border-color: #ff7b00;
}

/* Random Formant Checkbox (Awaon style) */
.checkbox-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease;
    position: relative;
}

.checkbox-control input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.checkbox-icon {
    font-family: 'Fukiai', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    font-size: 14px;
    line-height: 1;
    display: none;
    color: rgba(0, 0, 0, 0.85);
}

.checkbox-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: all 0.15s ease;
    color: rgba(255, 255, 255, 0.8);
}

.checkbox-control .checkbox-icon {
    display: inline;
}

.checkbox-control .checkbox-icon::before {
    font-family: 'Fukiai', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    content: ' ';   
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff7b00;
    height: 100%;
    width: 100%;
}

.checkbox-control:has(input[type="checkbox"]:checked) .checkbox-icon::before {
    font-family: 'Fukiai', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    content: '';    color: #ff7b00;
}


.checkbox-control:has(input[type="checkbox"]:checked) .checkbox-label {
    color: #ff7b00;
}
/* Simple checkbox (for Random Formant) */
.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease;
}

.checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.checkbox-icon {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    border: 1px solid rgba(255, 123, 0, 0.4);
    background-color: rgba(255, 123, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    transition: all 0.15s ease;
}

.checkbox:has(input[type="checkbox"]:checked) .checkbox-icon {
    background-color: rgba(255, 123, 0, 0.8);
    border-color: rgba(255, 123, 0, 0.8);
    box-shadow: 0 0 6px rgba(255, 123, 0, 0.3);
}

.start-button {
    height: 36px;
    padding: 4px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 1rem;
    border: 0;
    overflow: hidden;
    --tint-rgb: 255, 123, 0;
    color: rgba(var(--tint-rgb), 0.95);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: rgba(var(--tint-rgb), 0.15);
    cursor: pointer;
    transition: all 0.15s ease;
}

.start-button:hover {
    background-color: rgba(var(--tint-rgb), 0.3);
    color: rgba(var(--tint-rgb), 1);
}

.start-button:active {
    transform: translateY(1px);
}

.start-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.hidden {
    display: none;
}

/* Virtual Keyboard UI - Fixed at bottom */
.keyboard-ui {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    height: 8em;
    z-index: 999;
    background: #1a1a1a;
    border-top: 2px solid rgba(255, 123, 0, 0.5);
    display: flex;
    align-items: stretch;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}

.keyboard-ui.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.piano-keyboard-scroll {
    width: 100%;
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    background: #1a1a1a;
    border: none;
}

/* Sticky key switches on the left */
.key-switches {
    position: relative;
    z-index: 100;
    display: flex;
    height: 100%;
    background: #1a1a1a;
    border-right: 2px solid rgba(255, 123, 0, 0.5);
    padding-right: 2px;
    flex-shrink: 0;
    padding-bottom: 8px;
}

.key-switch {
    position: relative;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
    font-size: 9px;
    font-weight: 500;
    user-select: none;
}

/* 反転：白鍵を黒鍵風に */
.key-switch.white-key {
    width: 40px;
    height: 100%;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 1px solid #000;
    border-radius: 0 0 4px 4px;
    color: #ff7b00;

    z-index: 1;
}

.key-switch.white-key:hover {
    background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 100%);
}

.key-switch.white-key.active {
    background: linear-gradient(180deg, #ff7b00 0%, #ff5500 100%);
    border-color: #ff7b00;
    color: #000;
}

/* 反転：黒鍵を白鍵風に */
.key-switch.black-key {
    width: 26px;
    height: 60%;
    background: linear-gradient(180deg, #ffffff 0%, #e8e8e8 100%);
    border: 1px solid #999;
    border-radius: 0 0 3px 3px;
    color: #666;
    position: absolute;
    z-index: 2;

    padding-bottom: 6px;
}

.key-switch.black-key:hover {
    background: linear-gradient(180deg, #f0f0f0 0%, #d8d8d8 100%);
}

.key-switch.black-key.active {
    background: linear-gradient(180deg, #ff7b00 0%, #ff5500 100%);
    border-color: #ff7b00;
    color: #000;
}

.key-switch .note-label {
    position: absolute;
    bottom: 4px;
    font-size: 8px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.key-switch .note-label small {
    font-size: 6px;
    opacity: 0.7;
}

.key-switch.white-key .note-label {
    color: #ff7b00;
}

.key-switch.black-key .note-label {
    color: #666;
}

.key-switch.active .note-label {
    color: #000;
}

.key-switch.active .note-label small {
    color: #000;
}

.piano-keyboard {
    display: flex;
    position: relative;
    height: 100%;
    min-width: max-content;
    padding: 0 ;
    flex: 1;
}

.piano-key {
    position: relative;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
    font-size: 9px;
    font-weight: 500;
    user-select: none;
}

.piano-key.white-key {
    width: 40px;
    height: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #e8e8e8 100%);
    border: 1px solid #999;
    border-radius: 0 0 4px 4px;
    color: #666;

    z-index: 1;
}

.piano-key.white-key:hover {
    background: linear-gradient(180deg, #f0f0f0 0%, #d8d8d8 100%);
}

.piano-key.white-key.active {
    background: linear-gradient(180deg, #ff7b00 0%, #ff5500 100%);
    border-color: #ff7b00;
    color: #000;
}

.piano-key.black-key {
    width: 26px;
    height: 60%;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 1px solid #000;
    border-radius: 0 0 3px 3px;
    color: #ff7b00;
    position: absolute;
    z-index: 2;

    padding-bottom: 6px;
}

.piano-key.black-key:hover {
    background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 100%);
}

.piano-key.black-key.active {
    background: linear-gradient(180deg, #ff7b00 0%, #ff5500 100%);
    border-color: #ff7b00;
    color: #000;
}

.piano-keyboard-scroll::-webkit-scrollbar {
    height: 8px;
}

.piano-keyboard-scroll::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.piano-keyboard-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 123, 0, 0.5);
    border-radius: 4px;
}

.piano-keyboard-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 123, 0, 0.7);
}

/* Info Modal */
.info-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.info-modal-content {
    background: rgba(20, 20, 20, 0.95);
    border: 2px solid rgba(255, 123, 0, 0.5);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.info-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 123, 0, 0.3);
    position: sticky;
    top: 0;
    background: rgba(20, 20, 20, 0.95);
    z-index: 1;
}

.info-modal-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #ff7b00;
}

.info-modal-close {
    background: none;
    border: none;
    color: #ff7b00;
    font-size: 32px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform 0.2s ease;
}

.info-modal-close:hover {
    transform: scale(1.1);
}

.info-modal-body {
    padding: 25px;
}

.info-lead {
    font-size: 14px;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 25px;
}

.info-section {
    margin-bottom: 25px;
}

.info-section:last-child {
    margin-bottom: 0;
}

.info-section h3 {
    font-size: 13px;
    font-weight: 600;
    color: #ff7b00;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-section p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 10px 0;
}

.info-section p:last-child {
    margin-bottom: 0;
}

.info-section strong {
    color: #ff7b00;
    font-weight: 600;
}

.info-section em {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.info-section a {
    color: #ff7b00;
    text-decoration: none;
    transition: color 0.15s ease;
}

.info-section a:hover {
    color: #ff9933;
    text-decoration: underline;
}

.info-section.copyright {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 123, 0, 0.2);
}

.info-section.copyright p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Scrollbar styling for modal */
.info-modal-content::-webkit-scrollbar {
    width: 8px;
}

.info-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.info-modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 123, 0, 0.5);
    border-radius: 4px;
}

.info-modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 123, 0, 0.7);
}
