:root {
--real-vh: 1vh;
--primary-color: #F16232;
--secondary-color: #FFFFFF;
--text-color: #F16232;
--edge-blue: #5A6F8C;
--shadow: 0 4px 10px rgba(0, 0, 0, 0.25);}
* { margin: 0; padding: 0; box-sizing: border-box; user-select: none; }
html, body {
height: calc(var(--real-vh) * 100);
overflow: hidden;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: var(--primary-color);
display: flex;
flex-direction: column;
direction: rtl;}
header, footer {
flex-shrink: 0;
text-align: center;
color: white;
padding: 10px;
box-shadow: var(--shadow);
z-index: 10;}
header {
background-color: var(--primary-color);
font-size: 1.3rem;
font-weight: bold;
border-bottom: 1px solid rgba(255, 255, 255, 0.2);}
footer {
background-color: var(--primary-color);
font-size: 0.8rem;
border-top: 1px solid rgba(255, 255, 255, 0.2);}
footer a {
color: #fff;
text-decoration: none;
margin: 0 8px;
transition: color 0.3s ease;}
main {
flex-grow: 1;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;}
.grid-container {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 15px;
max-width: 1200px;
width: 100%;}
.letter-tile {
background: linear-gradient(145deg, var(--secondary-color), #f8f8f8);
color: var(--text-color);
display: flex;
justify-content: center;
align-items: center;
font-size: 1.8rem;
border-radius: 15px;
box-shadow:
0 4px 0 var(--edge-blue),
0 8px 15px rgba(0, 0, 0, 0.25),
inset 0 2px 4px rgba(255,255,255,0.8),
inset 0 -2px 6px rgba(0,0,0,0.15);
border: 2px solid var(--edge-blue);
cursor: pointer;
font-weight: bold;
transition: transform 0.25s ease, box-shadow 0.3s ease;
position: relative;
-webkit-tap-highlight-color: transparent;}
.letter-tile:hover {
transform: translateY(-6px);
box-shadow:
0 6px 0 var(--edge-blue),
0 12px 20px rgba(0, 0, 0, 0.3),
inset 0 2px 4px rgba(255,255,255,0.9);}
.letter-tile:active {
transform: translateY(2px) scale(0.96);
box-shadow:
0 2px 0 var(--edge-blue),
0 6px 10px rgba(0, 0, 0, 0.3),
inset 0 2px 4px rgba(255,255,255,0.6);}
@keyframes pulse {
0% { transform: scale(1); box-shadow: 0 0 0 rgba(25,100,186,0.6); }
50% { transform: scale(1.08); box-shadow: 0 0 12px rgba(25,100,186,0.8); }
100% { transform: scale(1); box-shadow: 0 0 0 rgba(25,100,186,0); }}
.pulse { animation: pulse 0.5s ease; }
@media (max-width: 480px) {
.grid-container { grid-template-columns: repeat(4, 1fr); gap: 14px; }
.letter-tile { font-size: 2rem; border-radius: 12px; }
header { font-size: 1.1rem; }}
@media (min-width: 480px) {
.letter-tile{aspect-ratio: 1/1; font-size: 4rem ;}.letter-tile::after {content: "";
position: absolute;
inset: 6px;
border-radius: 12px;
background: transparent;
box-shadow: 0 6px 18px rgba(90, 111, 140, 0.35);
z-index: -1;
pointer-events: none;}
  
  
  
  
  
  
 
