:root {
    --bg-color: #121212;
    --text-primary: #f5f5f5;
    --text-secondary: #c0c0c0;
    --accent-color: #FF9933; /* Saffron/Bhagwa */
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

.app {
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    width: 100%;
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.name-container {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.name-index {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-family: 'Cinzel', serif;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.8;
}

.bigfont {
    font-family: 'Cinzel', serif;
    font-size: 4.5rem;
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(255, 153, 51, 0.4);
    margin: 10px 0;
    line-height: 1.2;
}

.mediumfont {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.sloka-container {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 153, 51, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.smallfont {
    font-size: 1.2rem;
    margin: 15px 0;
    line-height: 1.6;
}

.sanskrit {
    font-family: 'Martel', serif;
    color: #e0e0e0;
    font-size: 1.4rem;
}

.english {
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    font-style: italic;
    font-size: 1.1rem;
}

.footer {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: #666;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .bigfont { font-size: 3rem; }
    .mediumfont { font-size: 1.2rem; }
    .smallfont { font-size: 1rem; }
    .sanskrit { font-size: 1.2rem; }
}

.nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.3s, transform 0.2s;
    font-family: 'Inter', sans-serif;
    padding: 20px;
    z-index: 10;
    opacity: 0.6;
}

.nav-btn:hover {
    color: var(--accent-color);
    transform: translateY(-50%) scale(1.2);
    opacity: 1;
}

.left-btn {
    left: 20px;
}

.right-btn {
    right: 20px;
}

.secret-btn {
    position: fixed;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: color 0.3s;
    user-select: none;
    z-index: 20;
}

.secret-btn:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
}

.modal-content {
    background-color: #1a1a1a;
    margin: 2% auto;
    padding: 20px;
    border: 1px solid rgba(255, 153, 51, 0.3);
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    border-radius: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-content h2 {
    color: var(--accent-color);
    font-family: 'Cinzel', serif;
    text-align: center;
    margin-top: 0;
}

.close-btn {
    color: var(--text-secondary);
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
}

.table-container {
    overflow-y: auto;
    flex-grow: 1;
    border-radius: 8px;
    background: #121212;
}

table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-primary);
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #333;
}

th {
    background-color: #222;
    color: var(--accent-color);
    font-family: 'Cinzel', serif;
    position: sticky;
    top: 0;
    z-index: 1;
}

tr:hover {
    background-color: rgba(255, 153, 51, 0.1);
}

@media (max-width: 600px) {
    .nav-btn { font-size: 2rem; padding: 10px; }
    .left-btn { left: 5px; }
    .right-btn { right: 5px; }
    .modal-content { width: 95%; height: 95vh; margin: 2.5vh auto; }
    th, td { padding: 8px 10px; font-size: 0.9rem; }
}