/*
Theme Name: Astra Child
Template: astra
Version: 1.0.4
*/

/* Google Fonts Import - functions.php তে এনকিউ করা হয়েছে, তাই এখানে প্রয়োজন নেই */

/* --------------------------------------------------------------
Spin Game Styles for WinYo.site (Page: spin-to-win-free-mobile-recharge)
-------------------------------------------------------------- */

body.page-slug-spin-to-win-free-mobile-recharge {
  font-family: 'Roboto', sans-serif;
  text-align: center;
  padding: 20px 10px; /* body-র জন্য প্যাডিং, যদি পেজ-টেমপ্লেট ফুল-উইডথ না হয় */
  color: #333;
  box-sizing: border-box;
}


/* মূল কন্টেইনার - পেজের HTML এ <div class="winyo-spin-game-container"> দিয়ে র‍্যাপ করুন */
.winyo-spin-game-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  /*max-width: 450px;*/
  margin: 20px auto;
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.winyo-spin-game-container h2,
.winyo-spin-game-container h4 {
  font-family: 'Poppins', sans-serif;
  color: #1a2e3b;
  margin-bottom: 10px;
}
.winyo-spin-game-container h2 { font-size: 22px; margin: 20px 0; }
.winyo-spin-game-container h4 { 
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
    padding: 0 40px;
    text-align: center;
    line-height: 30px;
    
}
/*
.winyo-spin-game-container .prize-image {
  width: 270px;
  margin-bottom: 40px;
  margin-top: 0px;
  border-radius: 10px;
}*/

.winyo-spin-game-container .operatorheading {
  color: #1a2e3b;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 10px;
  display: block;
}
.winyo-spin-game-container input[type="email"] {
  padding: 12px;
  width: 100%;
  max-width: 320px;
  border-radius: 8px;
  border: 1px solid #dcdcdc;
  display: block;
  margin: 15px auto;
  font-size: 15px;
  color: #555;
  background-color: #f9f9f9;
  box-sizing: border-box;
}

.winyo-spin-game-container input[type="text"],
.winyo-spin-game-container select {
  padding: 12px;
  width: 100%;
  max-width: 320px;
  border-radius: 8px;
  border: 1px solid #dcdcdc;
  display: block;
  margin: 15px auto;
  font-size: 15px;
  color: #555;
  background-color: #f9f9f9;
  box-sizing: border-box;
}
.winyo-spin-game-container select {
     /*-webkit-appearance: none; -moz-appearance: none; appearance: none;
     background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23555%22%20d%3D%22M287%2C114.7L159.2%2C28.1c-3.9-3.7-9.8-3.7-13.7%2C0L6.4%2C114.7c-6.2%2C6-16.3%2C5.6-22.3-0.6c-6-6.1-5.6-16.3%2C0.6-22.3l127.7-121.6c6.7-6.4%2C17.5-6.4%2C24.2%2C0l127.7%2C121.6c6.2%2C6%2C5.8%2C16.3-0.6%2C22.3C303.3%2C120.3%2C293.2%2C120.7%2C287%2C114.7z%22%2F%3E%3C%2Fsvg%3E');
     background-repeat: no-repeat; background-position: right 10px top 50%;
     background-size: 12px auto; padding-right: 30px;*/
     height:45px;
     border-color: red;
 }

.winyo-spin-game-container .wheel-container {
  margin: 25px auto; width: 300px; height: 300px; position: relative;
  display: flex; justify-content: center; align-items: center;
}
.winyo-spin-game-container .wheel-container canvas {
  border-radius: 50%; transition: transform 4s ease-out;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.winyo-spin-game-container .arrow {
  width: 0; height: 0; border-left: 15px solid transparent;
  border-right: 15px solid transparent; border-bottom: 30px solid #3498db;
  position: absolute; top: 325px; left: 50%;
  transform: translateX(-50%) rotate(0deg); z-index: 10;
}

.winyo-spin-game-container #spin {
  background: #3498db; color: #fff; padding: 12px 35px;
  font-size: 17px; font-weight: 600; border: none; border-radius: 8px;
  cursor: pointer; margin-top: 31px; transition: background-color 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.winyo-spin-game-container #spin:hover { background-color: #2980b9; }
.winyo-spin-game-container #spin:disabled { background-color: #cccccc; cursor: not-allowed; box-shadow: none; }

.winyo-spin-game-container #result,
/* 🔴 পরিবর্তন: #share-section আর নেই */
.winyo-spin-game-container #number-form {
  margin-top: 15px; padding-top: 15px; border-top: 1px dashed #ddd;
  width: 100%; max-width: 350px; margin-left: auto; margin-right: auto;
  display: none; text-align:center;
}
.winyo-spin-game-container #result {
    font-size: 18px; font-weight: 700; color: #27ae60;
    margin-top: 30px; border-top: none; padding-top: 0; text-align: center;
}

/* 🔴 পরিবর্তন: #share-section এবং #share-button এর CSS রুল মুছে ফেলা হয়েছে। */

.winyo-spin-game-container .submit-btn {
  background: #28a745; color: white; padding: 12px 25px; border: none;
  border-radius: 8px; margin-top: 15px; cursor: pointer; font-size: 16px;
  transition: background-color 0.3s ease; box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.winyo-spin-game-container .submit-btn:hover { background-color: #218838; }
.winyo-spin-game-container .submit-btn:disabled { background-color: #cccccc; cursor: not-allowed; box-shadow: none; }

/* Modal Styles (popupModal) */
/* 🔴 পরিবর্তন: .special-announcement-container আর নেই, তাই এটি মুছে ফেলা হয়েছে। */
.modal {
  display: none; position: fixed; z-index: 1000;
  left: 0; top: 0; width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
  display: flex; justify-content: center; align-items: center;
  padding: 20px; box-sizing: border-box;
  animation: fadeInModalBg 0.3s ease-out;
}
@keyframes fadeInModalBg { from { opacity: 0; } to { opacity: 1; } }

.modal-content { /* For #popupModal */
  background-color: #ffffff; padding: 25px 30px; border-radius: 15px;
  width: 90%; text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  animation: slideInModalContent 0.4s ease-out; position: relative;
}
.modal-content { max-width: 350px; }
/* 🔴 পরিবর্তন: .announcement-box আর নেই, তাই এটি মুছে ফেলা হয়েছে। */

@keyframes slideInModalContent { from { transform: translateY(-30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-content p {
     font-size: 16px; color: #444; margin-bottom: 15px; line-height: 1.6;
 }
/* 🔴 পরিবর্তন: .announcement-box h2 আর নেই, তাই এটি মুছে ফেলা হয়েছে। */

.modal-content button { /* For #popupModal button */
  color: white; border: none; padding: 12px 25px; font-size: 16px;
  border-radius: 8px; cursor: pointer; transition: background-color 0.3s ease;
  margin-top: 10px;
}
.modal-content button { background-color: #007bff; }
.modal-content button:hover { background-color: #0056b3; }
/* 🔴 পরিবর্তন: .announcement-ok-btn আর নেই, তাই এটি মুছে ফেলা হয়েছে। */

#error-message,
#spin-process-error { /* Added #spin-process-error here for consistency */
  color: #c0392b; font-size: 14px; margin-top: 10px;
  margin-bottom: 10px; text-align: center; min-height: 1.2em;
}

.winyo-spin-game-container .comments-heading {
    text-align: center; padding: 0 15px; margin-bottom: 15px;
    margin-top: 30px; font-size: 18px; color: #1a2e3b; width: 100%;
}

.winyo-spin-game-container .comments {
  background: #f8f8f8; padding: 10px; width: 100%; max-width: 395px;
  margin: 0 auto; border-radius: 10px;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
  max-height: 250px; overflow-y: auto; border: 1px solid #eee;
}

.winyo-spin-game-container .comment {
  text-align: left; padding: 5px 12px 12px; border-bottom: 1px dashed #ddd;
  font-size: 14px; line-height: 1.5; color: #555;
}
.winyo-spin-game-container .comment:last-child { border-bottom: none; }
.winyo-spin-game-container .comment strong {
  font-size: 15px; color: #333; display: block; margin-bottom: 3px; border-bottom:1px solid #ccc; padding-bottom:5px;
}

/* 🔴 পরিবর্তন: .rules-list এবং .close-announcement আর নেই, তাই এগুলি মুছে ফেলা হয়েছে। */

/* Responsive adjustments */
@media only screen and (max-width: 480px) {
    body.page-slug-spin-to-win-free-mobile-recharge { padding: 15px 5px; }
    .winyo-spin-game-container {
        padding: 20px 15px; margin: 10px auto;
    }
    .winyo-spin-game-container h2 { font-size: 20px; }
    .winyo-spin-game-container h4 { font-size: 15px; padding: 0 10px; }
    .winyo-spin-game-container input[type="text"],
    .winyo-spin-game-container input[type="email"], /* Added for consistency */
    .winyo-spin-game-container select { /* Added for consistency */
        font-size: 14px; /* Adjusted to 14px, was 18px which might be too large */
        padding: 10px; /* Adjusted padding */
    }
    .winyo-spin-game-container .prize-image { width: 150px; }
    .winyo-spin-game-container .wheel-container { width: 280px; height: 280px; }
    .winyo-spin-game-container .wheel-container canvas { width: 280px !important; height: 280px !important; } /* এলিমেন্টরের ডিফল্ট সাইজ ওভাররাইড করার জন্য !important লাগতে পারে */
    .winyo-spin-game-container .arrow {top: 300px; }
    .winyo-spin-game-container #spin { font-size: 16px; padding: 10px 25px; margin-top: 25px; }
    .winyo-spin-game-container .comments-heading { padding: 0 10px; }
    .winyo-spin-game-container .comments { max-width: 360px; padding: 10px; }
    .modal-content { width: 95%; padding: 20px 15px; } /* Fixed modals don't need page-slug prefix */
    /* 🔴 পরিবর্তন: announcement-box সম্পর্কিত CSS রুল মুছে ফেলা হয়েছে। */
}
