/*
Theme Name: CallMe
Theme URI: https://www.news.channelznow.com/
Author: CallMe
Description: Incoming call style landing page theme (Blogger template se convert kiya gaya). Caller ka naam, photo, background aur redirect link Appearance > Customize > CallMe Settings se badlein.
Version: 1.0.0
Requires at least: 5.5
Tested up to: 6.7
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: callme
*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #090e19;
  color: white;
  font-family: Arial, sans-serif;
  min-height: 100vh;
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
  }
}

.header {
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  background: #101827;
  border-bottom: 1px solid #263246;
}

.logo {
  font-size: 21px;
  font-weight: bold;
}

.logo span {
  color: #22d47b;
}

.status {
  font-size: 12px;
  color: #22d47b;
}

.container {
  min-height: calc(100vh - 65px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 15px;
}

.call-card {
  width: 100%;
  max-width: 390px;
  min-height: 590px;
  padding: 35px 25px;
  border-radius: 28px;
  background: linear-gradient(160deg, #1b2940, #101827 70%);
  border: 1px solid #30405a;
  box-shadow: 0 20px 65px rgba(0, 0, 0, .45);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.top-label {
  color: #a5b4c9;
  font-size: 13px;
  letter-spacing: 2px;
}

.avatar {
  width: 125px;
  height: 125px;
  margin-top: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #315d83, #162f4b);
  border: 3px solid #3b6382;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 54px;
  box-shadow: 0 0 0 12px rgba(44, 153, 111, .08);
  animation: glow 2s infinite;
  cursor: pointer;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  font-size: 12px;
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 0 8px rgba(44, 211, 125, .08);
  }
  50% {
    box-shadow: 0 0 0 18px rgba(44, 211, 125, .02);
  }
}

.caller-name {
  font-size: 27px;
  margin-top: 27px;
  font-weight: bold;
}

.call-info {
  color: #a5b4c9;
  margin-top: 10px;
  font-size: 14px;
}

.ringing {
  margin-top: 24px;
  color: #25d982;
  font-size: 14px;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  50% { opacity: .35; }
}

.timer {
  margin-top: 18px;
  color: #d1dbea;
  font-size: 19px;
  display: none;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 55px;
  margin-top: auto;
  padding-top: 40px;
}

.action {
  width: 67px;
  height: 67px;
  border: 0;
  border-radius: 50%;
  color: white;
  font-size: 27px;
  cursor: pointer;
  box-shadow: 0 7px 20px rgba(0, 0, 0, .3);
  transition: transform .2s;
}

.action:hover {
  transform: scale(1.12);
}

.accept {
  background: #20c875;
}

.reject {
  background: #f04455;
}

.action-label {
  font-size: 12px;
  color: #c1ccdc;
  margin-top: 12px;
}

.whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 32px;
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  background: #168e59;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

.whatsapp:hover {
  background: #20b875;
}

.footer {
  color: #728198;
  font-size: 11px;
  margin-top: 22px;
}

.hidden {
  display: none !important;
}

.widget-area {
  max-width: 390px;
  margin: 0 auto 25px;
  padding: 0 15px;
}

/* WordPress admin bar ke saath height adjust */
.admin-bar .container {
  min-height: calc(100vh - 65px - 32px);
}

@media (max-width: 782px) {
  .admin-bar .container {
    min-height: calc(100vh - 65px - 46px);
  }
}

@media (max-width: 480px) {
  .call-card {
    min-height: 570px;
    padding: 30px 22px;
  }

  .header {
    padding: 0 15px;
  }

  .caller-name {
    font-size: 24px;
  }
}
