
@font-face {
  font-family: 'b1';
  src: url(../fonts/b1.ttf);
}

@font-face {
  font-family: 'abrama';
  src: url(../fonts/bpg-no9-webfont.ttf);
}


@font-face {
  font-family: 'font-1';
  src: url(../fonts/font-1.ttf);
}



*{
margin: 0px;
box-sizing: border-box;
padding: 0px;
}





body {
  font-family: 'b1';
  margin: 0;
  padding: 0;

  background-color: #107b3d84;
  background-image: url(../images/bg-vector-lg.png);
  background-position: center center;
  background-repeat: repeat;
  background-attachment: fixed; /* ← ეს ამატებს გაჩერების ეფექტს */
  color: #141414;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}


/* --- Header Styles --- */
.headerbg {
    background-color: #15141d; 
    color: white;
    padding: 15px 0;
      border-bottom: 2px solid #4aff03;
    position: relative;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0px;
}

.logo {
    font-family: 'Impact', sans-serif;
    font-size: 34px;
    font-weight: bold;
color: #d6dde5;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
}

.navlink {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    animation: fadeUp 1.5s ease forwards;
}

.navlink li {
    position: relative;
    margin-left: 35px;
}

.navlink a {
    color: white;
    font-family: 'abrama';
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    padding: 10px 0;
    transition: color 0.3s ease, transform 0.3s ease, border-bottom 0.3s ease, text-shadow 0.3s ease;
    border-bottom: 2px solid transparent;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.navlink a:hover {
    color: #4aff03;
    transform: translateY(-2px);
    border-bottom-color: #4aff03;
    text-shadow: 0 0 8px rgba(46, 202, 122, 0.7);
}

.dropdown-menu {
    position: absolute;
    background-color: #15141d;
    min-width: 300px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
    top: 100%;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    max-height: 0;
    transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease, visibility 0.4s;
    backdrop-filter: blur(5px);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 500px;
    padding: 8px 0;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    color: #f8f9fa;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #4aff03;
    color: white;
}

/* --- Authorization Section --- */
.avtorizacia {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.auth-menu {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.auth-menu li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #141414;
  background: linear-gradient(135deg, #2eca7a, #03ff0b);
  padding: 5px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}

.auth-menu li a:hover {
  background: linear-gradient(135deg, #03ff0b, #2eca7a);
  transform: scale(1.1);
}


/* --- Hamburger Menu (Mobile) --- */
.hamburger {
    display: none; /* Hidden by default for desktop */
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    background-color: transparent; /* Ensure no background */
    border: none; /* No border */
    position: relative; /* For z-index control */
    z-index: 1001; /* Above other elements */
}

.hamburger span {
    height: 3px;
    width: 28px; /* Slightly wider bars */
    background-color: white;
    margin-bottom: 6px; /* Slightly more space between bars */
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Animation for hamburger */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


.form-wrapper {
    display: none; /* Hidden by default */
    text-align: center; /* Center form content */
}

.form-wrapper.active {
    display: block;
}

.form-wrapper h2 {
    color: #fff;
    margin-bottom: 25px; /* Spacing below heading */
    font-size: 28px;
    font-weight: 700;
}

.form-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 18px; /* Spacing between form elements */
}

.form-wrapper input[type="text"],
.form-wrapper input[type="email"],
.form-wrapper input[type="password"] {
    width: calc(100% - 20px); /* Adjust for padding */
    padding: 12px 10px; /* Consistent padding */
    margin: 0 auto; /* Center input */
    border: 1px solid #4aff03;
    border-radius: 6px;
    font-size: 16px;
    background-color: #232222c4;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    color: #fff;
}

.form-wrapper input[type="text"]:focus,
.form-wrapper input[type="email"]:focus,
.form-wrapper input[type="password"]:focus {
    border-color: #4aff03; /* Green border on focus */
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2); /* Subtle green glow */
    outline: none;
}

.form-wrapper button[type="submit"] {
    background-color: #26e808c4;
    color: #fff;
    padding: 14px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block; /* რათა ზომა არ იყოს 100% */
}
.form-wrapper button[type="submit"]:hover {
    background-color: #4aff03; /* Darker green on hover */
    transform: translateY(-2px); /* Lift effect */
}

.form-wrapper p {
    margin-top: 20px; /* Space above paragraph */
    font-size: 15px;
    color: #666;
}

.form-wrapper p a {
    color: #28a745; /* Green link in forms */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.form-wrapper p a:hover {
    color: #218838; /* Darker green on hover */
    text-decoration: underline;
}



#loginBtn{
background-color: #383B39;
border-radius: 5px;
display: flex;
align-items: center;
}

#loginBtn:hover{
background-color: #2ecc71;
border-radius: 5px;
}

#loginBtn i{
padding-right: 10px;
}


.avtorizacia{
display: flex;
align-items: center;
}

.avtorizacia li{
list-style: none;
color: #fff;
padding: 0px 10px;
font-size: 30px;
}


.avtorizacia li a{
list-style: none;
color: #fff;
text-decoration: none;
font-size: 25px;
padding: 10px;
}

/* Sidebar toggle button */
.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 2px;
  display: none;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  font-weight: bold;
}

/* Sidebar styles */
.sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: #15141d;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
  transition: right 0.3s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar.active {
  right: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  position: relative;
}



.close-btn {
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  background-color: red;
  border-radius: 5px;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
}

.sidebar-menu > li {
  border-bottom: 1px solid #111018;
  list-style: none;
}

.sidebar-menu a {
  display: block;
  padding: 15px 20px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  font-family: 'abrama';
}

.submenu-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding-left: 20px;
  background: #15141d;
}

.submenu.active .submenu-list {
  max-height: 500px; /* თუ მეტი ქვემენიუ გექნება, შეგიძლია გაზარდო */
}

.sidebar-footer {
  display: flex;
  justify-content: space-around;
  padding: 15px 10px;
  border-top: 1px solid #bbb8b83a;
}

.sidebar-footer a {
  font-size: 20px;
  color: #fff;
  text-decoration: none;
}





/* მოდალის ფონური ეფექტი */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
}

/* მოდალის კონტენტი ლამაზი "ჩამოსვლის" ეფექტით */
.modal-content {
  background: #232222c4;
  padding: 40px 30px;
  border-radius: 16px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(-50px);
  opacity: 0;
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid #4aff03;
}

/* პოპაპი აქტიურ რეჟიმში */
.modal.show {
  display: flex;
}

.modal.show .modal-content {
  transform: translateY(0);
  opacity: 1;
}

/* დახურვის ღილაკი */
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}

/* ლოგინ ფორმის სტილი */
.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-content input {
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid #232222c4;
  border-radius: 5px;
  outline: none;
  transition: border-color 0.3s ease;
  font-family: 'b1';
}

.modal-content input:focus {
  border-color: #4b4bff;
}

/* ღილაკი */
.modal-content button {
  padding: 12px;
  background-color: #71bd14;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
    font-family: 'b1';
}

.modal-content button:hover {
  background-color: #599c06;
}


.form-wrapper {
  display: none;
  animation: fadeIn 0.4s ease forwards;
  color: #fff;
}

.form-wrapper h2{
display: flex;
justify-content: center;
margin-bottom: 20px;
color: #fff;
}

.form-wrapper.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-content input,
.modal-content button {
  border-radius: 12px;
  padding: 12px;
  font-size: 16px;
}

.modal-content p {
  font-size: 14px;
  text-align: center;
}

.modal-content a {
  color: #00537f;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}





.maincontent {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
}


/* პროფილის კონტეინერი */
.profile-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
 background: hsl(228deg 6.28% 10.18% / 50%);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-radius: 12px;
  font-family: 'b1', Tahoma, Geneva, Verdana, sans-serif;
}

/* სათაური */
.profile-title {
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
}

/* ძირითადი Grid განლაგება */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.profile-card,
.games-card {
background: hsl(228deg 6.28% 10.18% / 50%);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  color: #fff;
}

.profile-card p {
  margin: 10px 0;
}

.label {
  font-weight: bold;
  color: #03ff0b;
}

/* თამაშების სია */
.games-title {
  margin-top: 0;
  color: #2E8B57;
}

.game-list {
  list-style: none;
  padding: 0;
  margin: 15px 0 0 0;
}

.game-item {
  padding: 8px 12px;
  background: #2E8B57;
  color: white;
  margin-bottom: 8px;
  border-radius: 6px;
  transition: background 0.3s;
}

.game-item:hover {
  background: #256f48;
}

.no-games-msg {
  color: #888;
}

/* ქმედებების ღილაკები */
.profile-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.btn {
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  color: white;
  transition: background 0.3s;
}

.edit-btn {
  background: #2E8B57;
}

.edit-btn:hover {
  background: #256f48;
}

.logout-btn {
  background: #d9534f;
}

.logout-btn:hover {
  background: #c9302c;
}

/* მობილური მოწყობილობებისთვის */
@media (max-width: 768px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}



    .form-container {
        max-width: 500px;
        margin: 30px auto;
      background: hsl(228deg 6.28% 10.18% / 50%);
        padding: 30px 25px;
        border-radius: 10px;
        box-shadow: 0 0 12px rgba(0,0,0,0.1);
        
    }

    .form-container h1 {
        text-align: center;
        margin-bottom: 25px;
        color: #fff;
    }

    .form-container label {
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
        margin-top: 15px;
        color: #fff;
    }

    .form-container input[type="email"],
    .form-container input[type="tel"],
    .form-container input[type="password"] {
        width: 100%;
        padding: 12px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 16px;
        box-sizing: border-box;
        font-family: 'b1';
    }

    .form-container hr {
        margin: 25px 0;
        border: none;
        height: 1px;
        background-color: #ddd;
    }

    .form-container .form-error {
        background-color: #fff;
        color: #c0392b;
        padding: 10px;
        border: 1px solid #e0a1a1;
        border-radius: 5px;
        text-align: center;
        margin-bottom: 15px;
    }

    .form-container button[type="submit"] {
        width: 100%;
        background-color: #03ff0b;
        color: white;
        padding: 14px;
        border: none;
        border-radius: 6px;
        font-size: 18px;
        font-weight: bold;
        margin-top: 20px;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.2s ease;
    }

    .form-container button[type="submit"]:hover {
        background-color: #20c206;
        transform: scale(1.02);
    }

    .form-container .back-link {
        display: inline-block;
        margin-top: 20px;
        text-decoration: none;
        color: #fff;
        text-align: center;
        width: 100%;
    }

    .form-container .back-link:hover {
        text-decoration: underline;
        color: #000;
    }



.contact-container {
  max-width: 600px;
  margin: 20px auto;
  padding: 30px;
  background: hsl(228deg 6.28% 10.18% / 50%);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.contact-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 25px;
  color: #fff;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #fff;
}

.input-field, .textarea-field {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #cccccc34;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s;
  background: hsl(228deg 6.28% 10.18% / 50%);
  color: #fff;
}

.input-field:focus, .textarea-field:focus {
  border-color: #03ff0b;
  outline: none;
}

.submit-button {
  background-color: #2ecc71;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s;
  font-family: 'b1';
}

.submit-button:hover {
  background-color: #06893d;
}

/* --- შეტყობინებების სტილიზაცია --- */
.alert {
    position: fixed; /* ელემენტი ფიქსირდება ეკრანზე, არ მოძრაობს სქროლვისას */
    top: 85px; /* ზედა კიდიდან დაშორება */
    left: 50%; /* ჰორიზონტალურად ცენტრში დასმა */
    transform: translateX(-50%); /* ზუსტი ჰორიზონტალური ცენტრირება (ელემენტის სიგანის ნახევრით უკან გადმოწევა) */
    z-index: 1000; /* უზრუნველყოფს, რომ შეტყობინება სხვა ელემენტების თავზე გამოჩნდეს */
    width: 90%; /* სიგანე, რესპონსივობისთვის */
    max-width: 550px; /* მაქსიმალური სიგანე დესკტოპზე */

    padding: 18px 45px 18px 25px; /* შიდა დაშორება: ზედა, მარჯვენა (დახურვის ღილაკისთვის), ქვედა, მარცხენა */
    border-radius: 12px; /* უფრო მომრგვალებული კუთხეები თანამედროვე იერსახისთვის */
    margin-bottom: 25px; /* ქვედა დაშორება, თუმცა Fixed პოზიციონირებისას ეს ნაკლებად მნიშვნელოვანია */
    font-weight: 500; /* შედარებით ღია შრიფტის სისქე წაკითხვადობის გასაუმჯობესებლად */
    font-size: 1.08rem; /* ოდნავ დიდი შრიფტის ზომა */
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* უფრო ღრმა, დახვეწილი ჩრდილი */
    opacity: 0; /* საწყისი გამჭვირვალობა ანიმაციისთვის (დაფარული) */
    /* transform: translateY(-20px); - ეს უკვე translateX-თან ერთად გამოიყენება ზემოთ */
    animation: fadeInSlideDown 0.7s ease-out forwards; /* ანიმაცია გამოჩენისთვის, ოდნავ ნელი და გლუვი */
    display: flex; /* Flexbox-ის გამოყენება შიგთავსის გასასწორებლად */
    align-items: center; /* ვერტიკალური გასწორება */
    justify-content: center; /* ჰორიზონტალური გასწორება */
    line-height: 1.6; /* ტექსტის ხაზებს შორის დაშორება უკეთესი წაკითხვადობისთვის */
    word-break: break-word; /* უზრუნველყოფს გრძელი სიტყვების სწორად გაყოფას */
    box-sizing: border-box; /* padding და border ჩართულია ელემენტის საერთო სიგანეში */
}

/* წარმატების შეტყობინებების სტილი */
.alert.success {
    background: hsl(228deg 6.28% 10.18% / 50%) !important;/* ძალიან ღია, დამამშვიდებელი მწვანე ფონი */
    color: #fff; /* ღრმა, ადვილად წასაკითხი მწვანე ტექსტი */
    border: 1px solid #03ff0b; /* დახვეწილი, შესაბამისი მწვანე ბორდერი */
}

/* შეცდომის შეტყობინებების სტილი */
.alert.error {
    background: hsl(228deg 6.28% 10.18% / 50%) !important; /* ძალიან ღია, რბილი წითელი ფონი */
    color: #fff; /* ძლიერი, მკაფიო წითელი ტექსტი */
    border: 1px solid #fa0101; /* დახვეწილი, შესაბამისი წითელი ბორდერი */
}

/* დახურვის ღილაკის სტილი შეტყობინებაში */
.close-btn {
    position: absolute;
    top: 50%; /* ვერტიკალურად ცენტრში */
    right: 18px; /* მარჯვენა კიდიდან დაშორება */
    transform: translateY(-50%); /* ზუსტი ვერტიკალური ცენტრირება */
    font-size: 1.7rem; /* უფრო დიდი ხატულა ადვილი დაწკაპუნებისთვის */
    line-height: 1; /* უზრუნველყოფს, რომ "x" სიმბოლოს არ ჰქონდეს დამატებითი ხაზის სიმაღლე */
    color: inherit; /* მემკვიდრეობით იღებს მშობელი შეტყობინების ტექსტის ფერს თანმიმდევრულობისთვის */
    cursor: pointer; /* მაჩვენებელი ხელის ფორმის ხდება დაწკაპუნებადობის მანიშნებლად */
    padding: 5px; /* დამატებითი padding დაწკაპუნებადი არეალის გასადიდებლად */
    transition: color 0.2s ease, transform 0.2s ease; /* გლუვი გადასვლა hover ეფექტებისთვის */
}

.close-btn:hover {
    color: #333; /* მუქდება დახურვის ღილაკი hover-ზე უკუკავშირისთვის */
    transform: translateY(-50%) scale(1.15); /* ოდნავ იზრდება hover-ზე */
}

/* ანიმაცია შეტყობინების გამოჩენისთვის */
@keyframes fadeInSlideDown {
    from {
        opacity: 0; /* იწყება სრულად გამჭვირვალედ */
        transform: translate(-50%, -40px); /* ეკრანის ცენტრიდან ოდნავ ზემოთ იწყება */
    }
    to {
        opacity: 1; /* სრულად ხილული ხდება */
        transform: translate(-50%, 0); /* გადადის თავის საბოლოო პოზიციაზე */
    }
}



/* --- Games Container --- */
.games-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 0px;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50; /* Darker, more professional heading color */
    font-family: 'abrama', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #03ff0b; /* Green accent */
    border-radius: 2px;
}

.no-games-message {
    text-align: center;
    color: #555;
    font-size: 1.1rem;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* --- Games Grid --- */
.games-grid {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 25px;
}

/* --- Game Card --- */
.game-card {
  background: #2a2a29;
 position: relative;
    border-radius: 10px; /* More rounded corners */

    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smoother transitions */
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Softer shadow */
}

.game-card:hover {
    transform: translateY(-8px); /* More pronounced lift */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15); /* More prominent shadow on hover */
}

.game-image {
    width: 100%;
    height: 250px; /* Slightly reduced height for better proportions */
    object-fit: cover;
    
}

.game-content {
    padding: 20px; /* More padding */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center; /* Center content for cards */
    background-color: #15141d;
}

.game-title {
    font-size: 1.25rem; /* Larger title font */
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    font-family: 'b1', sans-serif;
}

.game-category {
  position: absolute;
  top: 10px;
  left: 10px;
    font-size: 0.95rem; /* Slightly larger category */
    background-color: red;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase; /* Uppercase for categories */
    letter-spacing: 0.5px;
  color: #fff;
  padding: 10px;
  border-radius: 4px;
}

.game-actions {
    margin-top: auto; /* Pushes buttons to the bottom */
    padding-top: 5px;
   
}

/* No Image Placeholder */
.no-image {
    height: 220px; /* Matches image height */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0; /* Light gray background */
    color: #999;
    font-style: italic;
    border-bottom: 3px solid #28a745;
    font-size: 1rem;
}

/* --- Buttons --- */
.button {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px; /* Consistent border-radius */
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%; /* Make buttons full width in card */
    max-width: 200px; /* Limit max width */
    margin: 0 auto; /* Center buttons */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.play-button {
  background-color: #28a745;
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 0 0 rgba(42, 255, 92, 0.7);
  animation: pulse 2s infinite;
  transition: background-color 0.3s ease;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(21, 250, 75, 0.879);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

.play-button:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
 
.login-required, .no-access {
  background-color: #dc3545;
  color: white;
  padding: 12px 20px;
  font-size: 16px;
 border-radius: 50px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 rgba(220, 53, 69, 0.6);
  animation: pulse-danger 2s infinite;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

@keyframes pulse-danger {
  0% {
    box-shadow: 0 0 0 0 rgb(254, 2, 27);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(220, 53, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
  }
}

.login-required:hover, .no-access:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}



/* --- Pop-up Message --- */
.popup-message {
    display: none;
    position: fixed;
    z-index: 1000; /* Higher z-index to ensure it's on top */
    left: 50%;
    top: 25%; /* Slightly lower for better visibility */
    transform: translate(-50%, -50%); /* Corrected centering */
    background-color: #15141dae;
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 30px 40px;
    border: 1px solid #4aff03;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.601); /* More pronounced shadow */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    max-width: 450px; /* Slightly reduced max-width */
    width: 90%; /* Responsive width */
    opacity: 0;
    animation: zoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; /* More dynamic animation */
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: translate(-50%, -70%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

#popupText {
    color: #fff;
    margin-top: 15px;
    margin-bottom: 25px;
    font-size: 1.15rem;
    line-height: 1.5;
    font-family: 'b1';
}

.close-button {
    background-color: #f44336; /* Gray for close button */
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-weight: bold;
    font-family: 'abrama', sans-serif;
    transition: background-color 0.3s ease;
    box-shadow: none; /* Remove extra shadow */
}

.close-button:hover {
    background-color: #5a6268;
    text-decoration: none;
}



.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 10px 40px;
  height: auto;
  background-color: #15141d;
  color: #ffffff;
  font-size: 0.9rem;
  border-top: 2px solid #4aff03;
}

.footer-left {
  text-align: left;
}

.footer-left li {
  list-style: none;
  margin: 0 0 5px;
  font-size: 1rem;
  color: #4aff03;
}
.footer-left li a{
text-decoration: none;
color: #fff;
}

.footer-left p {
  margin: 2px 0;
  line-height: 1.3;
}

.footer-right {
  text-align: right;
  font-weight: 500;
  color: #bfbfbf;
}

@media (max-width: 600px) {
  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
    height: auto;
    padding: 20px;
    gap: 10px;
  }

  .footer-left,
  .footer-right {
    text-align: center;
  }
}





.accordion {
  max-width: 1200px;
  margin: 40px auto;
  border-radius: 5px;
  overflow: hidden;
  font-family: 'b1';
}

.accordion-item {
  border-bottom: 1px solid #ddd;
  background: #f8f8f8;
  border-radius: 5px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.accordion-header {
 background-color: #15141d;
  color: #fff;
  padding: 15px 20px;
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  transition: background 0.3s;
  font-family: 'b1';
}

.accordion-header:hover {
background-color: #4aff03;
transition: background 0.3s;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #15141d;
  color: #fff;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-content h4 {
  margin-top: 20px;
  font-size: 18px;
  color: #03ff0b;
  font-weight: bold;
}

.accordion-content ul {
  margin-left: 20px;
  list-style: disc;
}

.privacy-policy p {
  margin-bottom: 15px;
}


.accordion-item.active .accordion-content {
  max-height: 2000px;
  padding: 15px 20px;
}


.user-games {
    margin-top: 20px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.games-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.game-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.game-item {
    background-color: #03ff0b70;
    color: #fff;
    padding: 10px;
    margin-bottom: 6px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.game-item:hover {
    background-color: #03ff4f;
}

.no-games-msg {
  display: flex;
  justify-content: center;
    color: #ff0707;
    font-family: 'abrama';
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 17px;
}


/* --- მომხმარებლის მცირე შეტყობინების ამომხტარი ფანჯარა (top-right) --- */
.usermesij-popup {
    position: fixed;
    top: 30px; /* ზემოდან ოდნავ მეტი დაშორება */
    right: 30px; /* მარჯვნიდან ოდნავ მეტი დაშორება */
    background: linear-gradient(135deg, #28a745, #1e8b3a); /* მწვანე გრადიენტი */
    color: white;
    padding: 16px 28px; /* გაზრდილი შიდა დაშორება */
    border-radius: 12px; /* უფრო მომრგვალებული კუთხეები */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); /* უფრო მკვეთრი და ღრმა ჩრდილი */
    font-size: 1.05rem; /* ოდნავ დიდი შრიფტი */
    font-weight: 500; /* შედარებით ღია შრიფტის სისქე */
    z-index: 9999;
    opacity: 0; /* იწყება სრულად გამჭვირვალედ ანიმაციისთვის */
    transform: translateX(100%); /* იწყება ეკრანის მარჯვნივ მიღმა */
    animation: slideInFromRight 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; /* გლუვი შემოსვლის ანიმაცია */
    cursor: pointer;
    max-width: 350px; /* გაზრდილი მაქსიმალური სიგანე */
    box-sizing: border-box; /* padding და border ჩართულია ელემენტის საერთო სიგანეში */
}

/* hover ეფექტი მცირე შეტყობინების ფანჯარაზე */
.usermesij-popup:hover {
    background: linear-gradient(135deg, #218838, #167a2f); /* ოდნავ მუქი გრადიენტი hover-ზე */
    transform: translateX(0) scale(1.02); /* ოდნავ გადიდება hover-ზე */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35); /* ჩრდილი უფრო მკვეთრი ხდება */
}

/* ანიმაცია მარჯვნიდან შემოსასვლელად */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- ფონის დაფარვა (Overlay) --- */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* უფრო მუქი, მაგრამ გამჭვირვალე შავი ფონი */
    backdrop-filter: blur(5px); /* უფრო ძლიერი დაბლარული ეფექტი */
    z-index: 998; /* main popup-ზე ოდნავ დაბალი z-index */
    display: none; /* თავდაპირველად დამალული */
    opacity: 0; /* იწყება გამჭვირვალედ ანიმაციისთვის */
    transition: opacity 0.4s ease-out; /* გლუვი გამოჩენის ანიმაცია */
}

/* კლასი, რომელიც დაემატება JavaScript-ით overlay-ის საჩვენებლად */
#overlay.active {
    display: block; /* გახდის ხილულს */
    opacity: 1; /* სრულად გამოაჩენს */
}


/* --- მთავარი ამომხტარი შეტყობინების ფანჯარა (ცენტრში) --- */
.usermesij {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9); /* იწყება ოდნავ პატარა და ცენტრში */
    background-color: #ffffff; /* სუფთა თეთრი ფონი */
    border: none; /* ბორდერის მოშორება, ჩრდილი უფრო ლამაზია */
    color: #222; /* მუქი რუხი ტექსტი */
    padding: 30px 35px; /* მეტი შიდა დაშორება */
    border-radius: 15px; /* უფრო მეტად მომრგვალებული კუთხეები */
    font-family: 'b1', sans-serif;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35); /* ღრმა, სოლიდური ჩრდილი */
    z-index: 9999; /* ყველაზე მაღალი z-index */
    max-width: 550px; /* ოდნავ გაზრდილი მაქსიმალური სიგანე */
    width: 90%; /* რესპონსივობისთვის */
    opacity: 0; /* იწყება გამჭვირვალედ ანიმაციისთვის */
    animation: zoomInFadeIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; /* გლუვი გამოჩენის ანიმაცია */
    text-align: center;
    box-sizing: border-box; /* padding და border ჩართულია ელემენტის საერთო სიგანეში */
}

/* ანიმაცია მასშტაბირებით შემოსასვლელად და გამოსაჩენად */
@keyframes zoomInFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.7); /* იწყება უფრო პატარა და გამჭვირვალე */
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1); /* მთავრდება ნორმალური ზომით და სრულად ხილული */
    }
}




.hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  background: url('../images/wp.png') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-image: 
    linear-gradient(to bottom, rgba(6, 13, 33, 0.614), rgba(5, 7, 31, 0.85)),
    url('../images/sl-2.png');
    
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  backdrop-filter: blur(3.5px);
  opacity: 0.95;
  z-index: 1;
}


.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 1;
}

.hero-content h1,
.hero-content p,
.hero-button {
  opacity: 0;
  transform: translateY(30px);
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: fadeUp 1.5s ease forwards;
  animation-delay: 0.3s;
  text-shadow: 2px 2px 8px rgba(2, 246, 18, 0.868);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: fadeUp 1.5s ease forwards;
  animation-delay: 0.6s;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

.hero-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #4aff03;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  animation: fadeUp 1.5s ease forwards;
  animation-delay: 0.9s;
}

.hero-button:hover {
  background-color: #02cc0998;
  transform: scale(1.05);
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* მთლიან scrollbar-ის სიგანე */
::-webkit-scrollbar {
  width: 10px; /* ვერტიკალური სქროლი */
  height: 10px; /* ჰორიზონტალური სქროლი */
}

/* scrollbar background (ფონური ზოლი) */
::-webkit-scrollbar-track {
  background: #15141d;
  border-radius: 0px;
}

/* scrollbar-ის actual ზოლი (თითოეული სკროლი) */
::-webkit-scrollbar-thumb {
  background-color: #4aff03; /* მწვანე ფერი */
  border-radius: 0px;

}

/* hover-ზე */
::-webkit-scrollbar-thumb:hover {
  background-color: #36c400;
}



/* paketebis css dasawyisi by abrama */
.announcement {
  background: #e0f7e9;
  padding: 30px 20px;
  text-align: center;
  border-bottom: 3px solid #2e8b57;
  margin: 20px 0px;
  cursor: pointer;
}

.announcement h1 {
  color: #141414;
  font-size: 32px;
  margin-bottom: 10px;
}

.packages {
    cursor: pointer;
  max-width: 1200px;
  margin: auto;
}

.packages h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #fff;
}

.package-card {
  background: #ffffff73;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.package-card:hover {
  transform: scale(1.02);
}

.package-title {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
}

.price {
  font-size: 18px;
  color: #2e8b57;
  margin-bottom: 5px;
  font-weight: bold;
}

.description {
  font-size: 16px;
  color: #555;
}

.notes {
  background: #fffde7;
  padding: 30px 20px;
  border-top: 3px solid #fbc02d;
 margin: 30px 0px;
}

.notes h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #b28704;
}

.notes ul {
  list-style: disc inside;
  padding-left: 20px;
}

.notes ul li {
  margin-bottom: 8px;
}



/*onlain konsultaciis dasawyisi by abrama */
.consultation-header {
  background: #e3f2fd;
  padding: 30px 0px;
  text-align: center;
  border-bottom: 3px solid #90caf9;
  margin: 30px 0px;
}

.consultation-header h1 {
  font-size: 28px;
  color: #1976d2;
  margin-bottom: 10px;
}

.consultation-header .contact {
  font-size: 18px;
  color: #0d47a1;
  margin: 5px 0;
}

.consultation-header .name {
  font-size: 26px;
  color: #1b5e20;
  margin-top: 20px;
}

.consultation-header .role {
  font-size: 16px;
  color: #555;
}

.experience-section,
.qualification-section {
  max-width: 1200px;
  margin: 40px auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.experience-section h3,
.qualification-section h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #2e7d32;
}

.experience-list,
.qualification-list {
  padding-left: 20px;
}

.experience-list li,
.qualification-list li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.qualification-section .note {
  font-style: italic;
  color: #666;
  margin-bottom: 15px;
}