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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0e27, #16213e);
    color: #00ff41;
    min-height: 100vh;
    padding: 20px;
}

.header {
    text-align: center;
    background: rgba(0, 255, 65, 0.05);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid #00ff41;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.header h1 {
    font-size: 3em;
    margin-bottom: 15px;
    text-shadow: 0 0 10px #00ff41, 0 0 20px #00ff41;
    color: #00ff41;
    font-family: 'Courier New', monospace;
}

.header p {
    color: #0f0;
    text-shadow: 0 0 5px #00ff41;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.nav-btn {
    background: rgba(0, 255, 65, 0.1);
    color: #00ff41;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #00ff41;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Courier New', monospace;
}

.nav-btn:hover {
    background: rgba(0, 255, 65, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
    transform: translateY(-2px);
}

.nav-btn.active {
    background: rgba(0, 255, 65, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.6);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    background: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid #00ff41;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.hidden {
    display: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.stat-card {
    background: rgba(0, 255, 65, 0.1);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #00ff41;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #00ff41;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #00ff41;
    font-family: 'Courier New', monospace;
}

.demo-form {
    background: rgba(0, 255, 65, 0.05);
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid #00ff41;
}

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

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #00ff41;
    font-family: 'Courier New', monospace;
}

select, input, button {
    width: 100%;
    padding: 12px;
    border: 2px solid #00ff41;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.8);
    color: #00ff41;
    font-size: 14px;
    font-family: 'Courier New', monospace;
}

select option {
    background: #0a0e27;
    color: #00ff41;
}

button {
    background: rgba(0, 255, 65, 0.2);
    border: 2px solid #00ff41;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

button:hover {
    background: rgba(0, 255, 65, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

.radio-group {
    margin: 15px 0;
}

.radio-item {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

input[type="radio"] {
    width: auto;
}

.preview-box {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #00ff41;
}

.hebrew-text {
    font-family: 'David', 'Times New Roman', serif;
    font-size: 1.8em;
    direction: rtl;
    text-align: right;
    background: rgba(0, 255, 65, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
    color: #0f0;
}

.alert {
    background: rgba(255, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
    font-weight: bold;
    border: 2px solid #ff0000;
    color: #ff0000;
}

.success-alert {
    background: rgba(0, 255, 65, 0.2);
    border: 2px solid #00ff41;
    color: #00ff41;
}

.analysis-demo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.analysis-card {
    background: rgba(0, 255, 65, 0.05);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #00ff41;
}

.analysis-title {
    color: #00ff41;
    font-size: 1.3em;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
}

.footer {
    text-align: center;
    background: rgba(0, 0, 0, 0.9);
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
    border: 1px solid #00ff41;
}

.clickable-hebrew {
    cursor: pointer;
    padding: 4px;
    margin: 2px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1.2em;
    position: relative;
}

.clickable-hebrew:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.6);
    z-index: 100;
}

.clickable-hebrew.selected {
    transform: scale(1.1);
    opacity: 0.8;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.8);
}

.clickable-hebrew.highlight-gold {
    background: rgba(0, 255, 65, 0.3);
    border: 2px solid #00ff41;
    color: #00ff41;
}

.clickable-hebrew.highlight-blue {
    background: rgba(0, 255, 255, 0.3);
    border: 2px solid #0ff;
    color: #0ff;
}

.clickable-hebrew.highlight-green {
    background: rgba(0, 255, 65, 0.2);
    border: 1px solid #00ff41;
    color: #0f0;
}

.clickable-hebrew.highlight-gray {
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid #00ff41;
    color: #00ff41;
}

.interactive-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.verse-container {
    background: rgba(0, 255, 65, 0.05);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #00ff41;
}

.verse-reference {
    text-align: center;
    font-size: 1.5em;
    color: #00ff41;
    margin-bottom: 20px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px #00ff41;
}

.interactive-text {
    font-family: 'David', 'Times New Roman', serif;
    font-size: 3em;
    direction: rtl;
    text-align: center;
    line-height: 1.8;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    margin-bottom: 20px;
}

.instructions {
    background: rgba(0, 255, 65, 0.1);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    color: #00ff41;
    margin-top: 15px;
    border: 1px solid #00ff41;
}

.info-panel {
    background: rgba(0, 255, 65, 0.05);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #00ff41;
    max-height: 500px;
    overflow-y: auto;
}

.gematria-display {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    margin: 15px 0;
    text-align: center;
    border: 1px solid #00ff41;
}

.score-examples {
    margin-top: 10px;
}

.score-item {
    display: inline-block;
    background: rgba(0, 255, 65, 0.2);
    color: #00ff41;
    padding: 4px 8px;
    margin: 2px;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: bold;
    border: 1px solid #00ff41;
}

.stat-description {
    font-size: 0.8em;
    color: #0f0;
    margin-top: 5px;
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 5px #00ff41, 0 0 10px #00ff41; }
    50% { text-shadow: 0 0 10px #00ff41, 0 0 20px #00ff41, 0 0 30px #00ff41; }
}

h1, h2, h3 {
    animation: glow 2s ease-in-out infinite;
}





