:root {
    --primary-color: #007AFF;
    --background-dark: #000000;
    --background-light: #1c1c1e;
    --text-color: #ffffff;
    --glass-bg: rgba(28, 28, 30, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: var(--background-dark);
    color: var(--text-color);
    line-height: 1.6;
    background-image: radial-gradient(circle at 50% 10%, #1a1a1a 0%, #000000 100%);
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

/* Glassmorphism Card */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Typography */
h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 0.5em;
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 1.5em;
    color: #e5e5e5;
    margin-top: 1.5em;
}

p {
    font-size: 1.1em;
    color: #aeaeb2;
    margin-bottom: 1.5em;
}

/* App Icon */
.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 22%;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.2s;
    font-size: 1.1em;
}

.btn:hover {
    transform: scale(1.05);
    background-color: #0066d6;
}

/* Language Grid */
.lang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.lang-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lang-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.lang-name {
    font-size: 0.9em;
    font-weight: 500;
}

/* Footer */
footer {
    margin-top: 50px;
    font-size: 0.9em;
    color: #6e6e73;
}

footer a {
    color: #6e6e73;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* RTL Support via class */
.rtl {
    direction: rtl;
}

@media (prefers-color-scheme: light) {
    /* Optional light mode overrides if needed, but keeping dark theme for "premium" feel as requested */
}
