body {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f4f8;
    color: #333;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

#app {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 30px;
    text-align: center;
    max-width: 700px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 500px;
    justify-content: center;
}

h1 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 2.8em;
    font-weight: 700;
}

h2 {
    color: #34495e;
    margin-bottom: 20px;
    font-size: 2em;
    font-weight: 700;
}

.page {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page.active {
    display: flex;
}

#verse-display {
    background-color: #ecf0f1;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#verse-display h2 {
    font-size: 1.8em;
    color: #34495e;
    margin-bottom: 15px;
}

#verse-display p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 10px;
    background: beige;
}

#sanskrit-text {
    font-style: italic;
    color: #555;
}

#translation-text {
    color: #333;
    font-weight: 500;
}

.navigation-buttons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 15px 30px;
    margin: 0;
    border-radius: 8px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    min-width: 180px;
}

button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

@media (max-width: 480px) {
    #app {
        padding: 15px;
        min-height: 400px;
    }
    h1 {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    h2 {
        font-size: 1.6em;
        margin-bottom: 15px;
        background: aquamarine;
        font: bold;
    }
    #verse-display {
        padding: 15px;
        min-height: 150px;
    }
    #verse-display h2 {
        font-size: 1.4em;
    }
    #verse-display p {
        font-size: 1em;
    }
    button {
        padding: 12px 20px;
        font-size: 1em;
        min-width: 120px;
    }
    .navigation-buttons {
        flex-direction: column;
        gap: 10px;
    }
}
.sanskirt-text {
    font-style: bold;
    font-size: 2;
    color: #ed4b10;
}