/* RESET */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: black;
    background: #8e9eab;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #eef2f3, #8e9eab);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #eef2f3, #8e9eab); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    animation: fadeIn 1.5s ease;
}

/* אנימציית פתיחה */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* אנימציה לכפתורים */
@keyframes buttonEnter {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

a, button {
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #666;
    border-radius: 25px;
    transition: all 0.4s ease;
    background-color: #666;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: buttonEnter 0.6s ease;
}

a:hover, button:hover {
    background-color: #444;
    color: white;
    transform: scale(1.07);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* HEADER */
header {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* MAIN BUTTONS */
.main-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding: 0 20px;
}

.main-buttons a {
    background: #666;
    color: white;
    font-size: 18px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    animation: buttonEnter 0.8s ease;
}

.main-buttons a:hover {
    background: #444;
    color: white;
    transform: scale(1.1);
}

/* MAIN BUTTONS2 */
.main-buttons2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    padding: 0 20px;
}

.main-buttons2 a {
    background: #666;
    color: white;
    font-size: 18px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    animation: buttonEnter 0.8s ease;
}

.main-buttons2 a:hover {
    background: #444;
    color: white;
    transform: scale(1.1);
}


/* מצב כהה */
body.dark-mode {
    background: linear-gradient(to left, #434343, #000000);
    color: white;
}

body.dark-mode a,
body.dark-mode button,
body.dark-mode .game-link {
    border-color: #0080ff;
    background-color: #0080ff;
    color: white;
}

body.dark-mode a:hover,
body.dark-mode button:hover,
body.dark-mode .game-link:hover {
    background-color: #005fc0;
    color: white;
}

body.dark-mode .game-card {
    background-color: #222;
    color: #ddd;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

body.dark-mode .game-description {
    color: #aaa;
}

body.dark-mode nav ul li {
    background-color: #444;
}

body.dark-mode nav ul li:hover {
    background-color: #666;
}

/* שאר העיצובים כמו שהיו */

/* הכפתור של מצב */
#theme-toggle {
    background: none;
    border: 2px solid #666;
    color: #666;
    font-size: 20px;
    border-radius: 50%;
    padding: 10px;
    margin-left: 10px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

#theme-toggle:hover {
    background: #666;
    color: white;
    transform: scale(1.1);
}

body.dark-mode #theme-toggle {
    border-color: white;
    color: white;
}

body.dark-mode #theme-toggle:hover {
    background: white;
    color: #000;
}

/* כל שאר הסקשנים (game-card, nav, product-box וכו') יישארו בדיוק כמו בקובץ שלך */


.product-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  margin: 40px auto;
  padding: 0 20px;
  max-width: 500px;
}

.product-box {
  background-color: #1c334f; 
  border: 2px solid #112640; 
  border-radius: 16px;
  padding: 20px;
  width: 100%;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.2s ease;
}

.product-box:hover {
  transform: translateY(-4px);
}

.product-box h3 {
  margin: 10px 0 5px;
  font-size: 20px;
}

.product-box p {
  margin: 0 0 15px;
  font-weight: bold;
}

.product-box .btn {
  background-color: deeppink;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  display: inline-block;
}



.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    padding: 40px 20px;
}

.game-card {
    background: white;
    color: #333;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 200px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.game-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.game-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-card:hover .game-image {
    transform: scale(1.05);
}

.game-details {
    padding: 15px;
}

.game-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.game-description {
    font-size: 13px;
    margin-bottom: 12px;
    color: #666;
}

.game-link {
    display: inline-block;
    background-color: #ff29d1;
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(255, 41, 209, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
    animation: buttonEnter 1s ease;
}

.game-link:hover {
    background-color: #e026b0;
    transform: scale(1.05);
}
}
.tsot, nav ul li {
    list-style: none;
    padding-top: 1%;
    text-align: center;
    border-radius: 60px;
    float:right;
    margin-right: 6%;
    margin-left:2%;
    margin-top:0%;
    display: grid; 
    text-decoration: none;
 }



