/* إعادة تعيين الهوامش والحشو */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body.custom-bg {
    background-image: url(imgs/backgroundGem.jpg);
}

@font-face {
    font-family: GretaArabic;
    src: url(Fonts/GretaArabic-Light.otf);
}

@font-face {
    font-family: GothamBook;
    src: url(Fonts/Gotham-Book.woff);
    
}
@font-face {
    font-family: GothamLight;
    src: url(Fonts/Gotham-Light.woff);
   
}
@font-face {
    font-family: GretaArabic;
    src: url(Fonts/GretaArabic-Light.woff);
   
}
@font-face {
    font-family: "Ogg Roman";
    src: url("https://db.onlinewebfonts.com/t/2596224269750e00c3ad5356299a3b9f.eot");
    src: url("https://db.onlinewebfonts.com/t/2596224269750e00c3ad5356299a3b9f.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/2596224269750e00c3ad5356299a3b9f.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/2596224269750e00c3ad5356299a3b9f.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/2596224269750e00c3ad5356299a3b9f.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/2596224269750e00c3ad5356299a3b9f.svg#Ogg Roman")format("svg");
}
html, body {
  margin: 0;
  padding: 0;
  overflow: hidden; /* ده يمنع الـ scroll نهائيًا */
  height: 100%;
}
/* تنسيق الصفحة الأساسي */
body {
    font-family: 'oggRoman';
    background: black;
    min-height: 100vh;
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
    /* direction: rtl; */
    /* إمكانية إضافة خلفية مخصصة */

    /* background-attachment: fixed; */
    background-size: cover;
    /* background-position: center; */
    background-size: cover;
    /* تغطي الشاشة بالكامل */
    background-position: center;
    /* توسيط الصورة */
    background-repeat: no-repeat;
    /* منع التكرار */
    background-attachment: round;
    /* تثبيت الخلفية أثناء التمرير (اختياري) */
}

a {
    text-decoration: none;
    color: none;
}


/*// Glow Border Animation //*/
.glow-box {
    position: relative;
    max-width: 580px;
    max-height: 120px;
    border-radius: 60px;
    background: #7c5b008c;
    z-index: 1;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.glow-box::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: conic-gradient(rgba(0, 0, 0, 0), #ce9a28, rgba(0, 0, 0, 0) 25%);
    animation: rotateGlow 5s linear infinite;
    z-index: 2;
    filter: blur(10px);
    border-radius: 60px;
}

.glow-box::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: #111;
    border-radius: 60px;
    z-index: 3;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.timer-display {
    position: relative;
    z-index: 5;
    /* فوق التوهج */
    color: white;
    text-align: center;
    padding: 20px;
    font-family: oggRoman, sans-serif;
}

.logo-in-top {
    position: fixed;
    right: 20px;
    top: 20px;
    left: auto;
    max-width: 102px;
    /* justify-content: end; */
    color: aliceblue;
}
.btn-lang {
    margin: 40px 35px ;
    padding: 7px 0;
text-align: center;
    width: 40px;
    height: 40px;
    background-color: black;
    border-radius: 8px;
    border: 1px solid #ce9a28;
}
.btn-lang a {
    text-align: center;
    color: #ce9a28 !important;
    display: block;
    /* font-family: "greta-ar"; */
}


/* Base style for all */
.frame-wrapper {
  width: 150px;
  height: 180px;
  background: url('icons/Iconspng/1-03.png') no-repeat center center;
  background-size: contain;
  position: absolute;
  bottom: 0;
  left: -10px;
  overflow: hidden;
}

/* الصور جوه نفس المكان */
.image-switcher {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* الصورة الأساسية */
.img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  /* animation: fadeSwitch 6s infinite ease-in-out; */
}

/* تأخير الصورة الثانية */
.img-2 {
  animation-delay: 3s;
}

/* أنيميشن يظهر ويخفي الصورة */
@keyframes fadeSwitch {
  0% { opacity: 0; }
  10% { opacity: 1; }
  40% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 0; }
}

/* الحاوية الرئيسية للتايمر */
.timer-container {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 47%;
    left: 50%;
    z-index: 10;
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    border-radius: 50px;
    text-align: center;
    max-width: 580px;
    border-radius: 50px;
    overflow: hidden;
}

.reserve {
    text-align: center;
    margin-top: 25px;
    font-size: 1.8rem;
    color: #ce9a28;
}
.reserve.ar{
    margin-top: 25px;
}

.ticket-btn {
    margin-top: 15px;
    padding: 8px 16px;
    border: 1px solid #fff;
    background: transparent;
    color: #ce9a28;
    border-radius: 20px;
    font-size: 1.2rem;
    cursor: pointer;
    font-family: 'Times New Roman', Times, serif;

    a {
        text-decoration: none;
        color: #ce9a28;
    }
}

.timer-title {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 24px;
    font-weight: 200;
    font-family: "Ogg Roman";
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.timer-display {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    /* margin: 16px; */
    direction: ltr;

}

.timer-display span {
    border-right: 1px solid #fffff9a8;
    height: 40px;
    margin: auto;
}

.time-unit {
    /* padding: 10px  16px ; */
    margin: 0 28px;
    
}



.time-value {
    font-size: 2.1rem;
    /* font-weight: 300; */
    color: #ce9928b1;
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    font-family: GothamBook;
    font-weight: 00;
}

.time-label {
    font-size: 0.7rem;
    color: #7C5B00;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: GothamBook;
}
.time-label.ar{
    width: 50px;
}

.finished-message {
    animation: pulse 2s infinite;
}

.finished-message h2 {
    font-size: 2.5rem;
    color: #7C5B00;
    margin-bottom: 15px;
    font-weight: bold;
}

.finished-message p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 25px;
}

.reset-button {
    background: linear-gradient(45deg, #7C5B00, #7C5B00);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.reset-button:hover {
    background: linear-gradient(45deg, #7C5B00, #7C5B00);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.6);
}


@media (max-width: 768px) {

    .glow-box {
        width: 90%;
        margin: 10px;
        padding: 2px;
    }

    .timer-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .timer-display {
        gap: 15px;
    }

    .time-unit {
        min-width: 80px;
        margin:0 1px;
    }

    .time-value {
        font-size: 2rem;
    }

    .time-label {
        font-size: 0.7rem;
    }
    .time-label.ar{

        width: 80px;
    }
    .reserve{
        font-size: 1.5rem;
    }
    .ticket-btn{
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
.frame-wrapper {
  width: 120px;}


    .time-label.ar{
    width: 70px;
}

    .btn-lang {
    margin: 40px 25px ;

}
    .logo-in-top{
        top:10px;
        right: 10px;
    }
body.custom-bg {
    background-image: url(imgs/bgMobile.jpg);
}
    .glow-box {
        width: 95%;
        margin: 10px;
        padding: 6px;
        height: 70px;
    }

    .timer-display {
        gap: 10px;
        margin: 3px;
        padding: 3px;
    }

    .time-unit {
        min-width: 70px;
        margin: 0 1px;

    }

    .time-value {
        font-size: 1.4rem;
    }

    .time-label {
        font-size: 0.6rem;
    }

    .timer-title {
        font-size: 1.60rem;
    }

    .finished-message h2 {
        font-size: 2rem;
    }
    .reserve{
        font-size: 1.1rem;
    }
    .ticket-btn{
        font-size: 0.9rem;
    }
}

/* 
.time-unit.animate {
    animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
} */
.fct {
    margin-bottom: 12px !important;
}

:root {
    --primary-color: #7C5B00;
    --secondary-color: #764ba2;
    --accent-color: #3498db;
    --text-color: #333;
    --background-overlay: rgba(255, 255, 255, 0.95);
}
.ar{
font-family: GretaArabic;
}
.en{
font-family: GothamBook;
}

