:root {
  --gold: #b8860b;
  --dark1: #0c301e;
  --dark2: #124d2c;
  --dark3: #0a2216;
  --white: #ffffff;
  --muted: #dbdbdb;
}

/* RESET */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Josefin Sans", sans-serif;
}

/* BODY GRADIENT */

body {
  display: flex;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark1), var(--dark2), var(--dark3));
}

/* PHONE CONTAINER */

.phone {
  width: 100%;
  max-width: 430px;
  background: #f5f5f5;
  min-height: auto;
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
/* BANNER */

.banner {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.banner-logo {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px !important;
  height: auto;
}

.banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* PROFILE */

.profile {
  background: #0c2013;
  padding: 20px;
  /* padding-bottom: 90px;*/
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
  margin-top: -20px;
  padding-bottom:90px;
}

.photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 5px solid var(--gold);

  margin-top: -110px;
  display: block;
  margin-left: auto;
  margin-right: auto;

  position: relative;
  z-index: 10;

  /* 3D EFFECT */
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.5),
    0 0 0 6px rgba(255, 255, 255, 0.05),
    inset 0 0 15px rgba(0, 0, 0, 0.3);
}
.name {
  color: #f5f5f5;
  margin-top: 20px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.title {
  font-size: 20px;
  color: #b3b3b3;
  margin-top: 5px;
}

.exp-row {
  display: flex;
  gap: 6px;
  margin-top: 18px;
  margin-bottom: 10px;
  flex-wrap: nowrap; /* IMPORTANT */
  justify-content: center;
}

.exp {
  background: #e9e9e9;
  padding: 6px 8px;
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  flex-wrap: wrap;
  white-space: nowrap; /* IMPORTANT */
}

.info {
  color: #f5f5f5;
  display: flex;
  align-items: center; /* ADD THIS LINE */
  margin-top: 10px;
  font-size: 18px;
  gap: 15px;
}
.info:last-child {
  align-items: flex-start;
}

.info a{
    text-decoration:none;
    color: #fff;
}
.info-text {
  line-height: 1;
}
.info-link{
text-decoration:none;
color:#f5f5f5;
}

.info-link:hover{
text-decoration:none;
color:var(--gold);
}

.info-link i{
text-decoration:none;
}

.info-link .circle{
text-decoration:none;
}
.circle {
  min-width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  margin-right: 15px;
}

.map-link {
  color: #fff;
  text-decoration: none;
  line-height: 1;
  font-size: 16px;
}

.map-link:hover {
  color: #c5a253;
}

/* STICKY BUTTON */

.sticky {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--gold);
  padding: 15px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.share-btn {
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(135deg, #0c2013, #092917);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

/* MODAL */

.modal {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: -100%;
  width: 100%;
  max-width: 430px;
  height:100dvh;   /* Mobile SAFE viewport height */
  max-height:100dvh;
  background: var(--gold);
  color: #fff;
  z-index: 1000;
  transition: 0.4s;
  display: flex;
  flex-direction: column;
  padding-bottom:30px;
}

.modal.show {
  bottom: 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 22px;
  padding: 15px;
  background: var(--gold);
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar i {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0c2013;
  border-radius: 50%;
  font-size: 18px;
  flex-shrink: 0;
}
.topbar p {
  padding: 10px 40px;
  background: #0c2013;
  border-radius: 30px;
}
.modal-content {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.qrbox {
  background: #fff;
  padding: 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-align: center;
}
.qrbox img {
  width: 230px; /* SET SIZE */
  height: 230px;
  display: block;
  margin: auto; /* CENTER */
}
.options-grid {
  display: grid;
  grid-template-columns: 1fr; /* ONE COLUMN */
  gap: 8px;
  margin-top: 20px;
}
.option {
  background: #0c2013;
  margin: 0;
  padding: 14px 10px;
  border-radius: 30px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}
.option i {
  font-size: 16px;
}

html,
body {
  overflow-x: hidden;
}

@supports(padding:max(0px)){
.modal-content{
padding-bottom:max(30px, env(safe-area-inset-bottom));

}
}

@media (max-width: 480px){
.banner-logo{
width:210px !important;   /* mobile size */
top:15px;                 /* adjust position */

}

}