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

body {
    font-family: 'Urbanist', sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background: #1a1a1a;
    max-width: 540px;
    margin: auto;
}

/* Background with blur */
.container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url("../../img/bgimage5_blurred_5.png");
    background-size: 100% 100%;
	background-repeat: no-repeat;
    background-position: center;
	background-attachment: scroll;
}
@media only screen and (min-width: 541px) {
    .background {
        width: 540px;
        height: 100%;
    }
}
.container {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Header Card */
.header-card {
/*     background: rgba(255, 255, 255, 0.15); */
/*     border: 2px solid rgba(255, 255, 255, 0.9); */
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
	justify-content: center;
/* 	margin-left: 56px; */
/*     gap: 16px; */
    animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #00bfff, #0099ff);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 191, 255, 0.4);
}

.logo-text {
    font-size: 32px;
    font-weight: 800;
    color: white;
}

.header-text h1 {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
    line-height: 1.3;
}

.header-text p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

/* Main Content */
.main-content {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-heading {
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.main-heading-highlight {
    font-size: 28px;
    font-weight: 800;
    color: #00bfff;
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0, 191, 255, 0.5);
}

.subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    font-weight: 400;
}

/* Phone Input */
.phone-section {
    margin-bottom: 24px;
}

.phone-input-wrapper {
    display: flex;
    background: white;
    border: 3px solid #00bfff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
}

.phone-input-wrapper:focus-within {
    border-color: #00bfff;
    box-shadow: 0 8px 32px rgba(0, 191, 255, 0.3);
}
input::placeholder {
	font-size: 1rem;
}
.country-code {
    padding: 18px 20px;
    background: #f5f5f5;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    border-right: 2px solid #e0e0e0;
    flex-shrink: 0;
}

.phone-input-container {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.phone-input {
    width: 100%;
    padding: 18px 60px 18px 20px;
    border: none;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    background: white;
}

.phone-input:focus {
    outline: none;
}

.phone-input::placeholder {
    color: #999;
    font-weight: 500;
}

.check-icon {
    position: absolute;
    right: 16px;
    width: 32px;
    height: 32px;
    /* background: #10b981; */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background-image: url('../../img/check_circle.svg');
}
.check-icon-backup {
    position: absolute;
    right: 16px;
    width: 36px;
    height: 36px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.check-icon.show {
    transform: scale(1);
}

/* .check-icon::after {
    content: '✓';
    color: white;
    font-size: 20px;
    font-weight: 700;
} */

.sms-instruction {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

/* CTA Button */
.cta-button {
    width: 100%;
    max-width: 500px;
    padding: 20px 40px;
    background: linear-gradient(135deg, #00bfff, #0099ff);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 191, 255, 0.5);
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin: 0 auto 16px;
    display: block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 191, 255, 0.6);
}

.cta-button:active {
    transform: translateY(0);
}

.subscription-info {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

/* Rating */
.rating-section {
    /* background: rgba(0, 0, 0, 0.4);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 32px;
    display: inline-block;
    width: 100%;
    max-width: 500px; */
    margin-top: 8rem;
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rating-text {
    font-size: 14px;
    font-weight: 400;
    color: #ccc;
}

.stars {
    display: flex;
    gap: 4px;
}

.star {
    color: #fbbf24;
    font-size: 22px;
}

/* Description */
.description {
    background: rgba(0, 50, 80, 0.5);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.description p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    text-align: center;
    margin-bottom: 12px;
}

.description p:last-child {
    margin-bottom: 0;
}

.terms-link {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-links {
    display: flex;
    gap: 12px;
    font-size: 13px;
    flex-wrap: wrap;
    flex: 1;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00bfff;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.5);
}

.language-selector {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.language-selector:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media (min-width: 640px) {
    .header-card {
        padding: 24px 28px;
    }

    .main-heading {
        font-size: 38px;
    }

    .main-heading-highlight {
        font-size: 42px;
    }

}

@media (min-width: 768px) {
    .main-heading {
        font-size: 44px;
    }

    .main-heading-highlight {
        font-size: 48px;
    }

    .header-text h1 {
        font-size: 22px;
    }

    .header-text p {
        font-size: 14px;
    }
}

#languageSelector {
    background-color: white;
    color: black; 
}
.subscriptionInfo {
	color: rgba(255, 255, 255, 0.8);
}


/* instagram like post cards. */


  .post-wrap {
    display: flex; justify-content: center; align-items: center;
    padding: 2rem; background: var(--color-background-secondary);
    border-radius: var(--border-radius-lg);
  }
  .post-card {
    background: #333333aa;
    border-radius: 18px; overflow: hidden;
    border: 0.5px solid var(--color-border-tertiary);
	width: 480px;
	max-width: 99%;
  }
  .post-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 12px;
	
  }
  .post-header-left { display: flex; align-items: center; gap: 10px; }

  .dots-btn:hover { background: var(--color-background-secondary); }

  .post-image-wrap {
    position: relative; width: 100%; aspect-ratio: 1 / 1;
    overflow: hidden;
  }
  .post-actions {
    display: flex; align-items: center; padding: 10px 14px;
    gap: 0;
  }
  .action-btn {
    background: none; border: none; cursor: pointer; padding: 6px;
    color: white;
    border-radius: 8px; display: flex; align-items: center;
    transition: transform 0.12s, color 0.12s;
  }
  .action-btn:hover { transform: scale(1.15); }
  .action-btn:active { transform: scale(0.92); }
  .action-btn.liked svg { color: white; }
  .action-spacer { flex: 1; }
  .bookmark-btn { margin-left: auto; }


.post-bg1 {
	position: absolute; inset: 0;
	background: url("../../img/placeholder1.png");
	background-size: cover;
}
.post-bg2 {
	position: absolute; inset: 0;
	background: url("../../img/placeholder2.png");
	background-size: cover;
}

.three-dots {
	background: none;
	color: white;
	display: flex;
	flex-direction: row;
	gap: 2px;
}
.three-dots .dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: white;
}




/* Popups / Modals for Footer Links */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  font-size: 14px;
}

.modal.hidden {
  display: none;
}

/* backdrop stays */
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

/* 🔥 FULL PAGE CONTENT */
.modal-content {
  position: relative;
  height: 80%;
  width: 80%;
  margin: 60px auto;              /* creates space from edges */
  border-radius: 12px;
  background: #fff;
  z-index: 2;

  /* key part */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* inner content spacing */
#modal-body {
  padding: 12px;
  max-width: 800px; /* optional readable width */
  margin: 0 auto;
  text-align: left;
}
#modal-body ul {
	margin-left: 32px;
}
#modal-body p {
	margin-top: 12px;
}

.modal-close-container {
	position: absolute;
	right: 32px;
}
#modal-close {
  position: fixed;
  width: 32px;
  height: 32px;

  border-radius: 50%;          /* 👈 circle */
  border: 1px solid #111;
  background: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
  font-weight: bold;
  line-height: 1;

  cursor: pointer;
  z-index: 20;

  transition: 
    background 0.2s ease,
    transform 0.1s ease,
    border-color 0.2s ease;
}
@media (max-width: 640px) {
	.modal h1 {
		font-size: 1.25rem;
		margin-top: 12px;
	}
	.modal-content {
		width: 100%;
		height: 100vh;
	}
}
@media (min-width: 768px) {
	.modal-body {
		width: 70%;
		margin: auto;
		padding: 40px;
	}
	.modal-body ul {
		margin-left: 54px;
	}
}

/* Confirmation Overlay */
	.confirm-overlay {
  position: fixed;
  inset: 0;              /* top:0 right:0 bottom:0 left:0 */
  display: none;         /* REQUIRED for centering */
  align-items: center;   /* vertical center */
  justify-content: center; /* horizontal center */
  background: rgba(0, 0, 0, 0.45);
  z-index: 9999;
}

.confirm-box {
  width: min(360px, 90%);
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.18);
  text-align: center;
}

.confirm-message {
  font-size: 15px;
  margin-bottom: 18px;
  color: #222;
  line-height: 1.4;
}

.confirm-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

/* Link-style buttons */
.confirm-link {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  transition: background 0.2s ease;
}

.confirm-cancel {
  color: #666;
}
.confirm-cancel:hover {
  background: rgba(0,0,0,0.05);
}

.confirm-ok {
  color: #1a73e8;
  font-weight: 500;
}

.confirm-ok:hover {
  background: rgba(26,115,232,0.08);
}

/* Phone input styles Overrides. */
@keyframes pulsatin {
	0%,100% { box-shadow: 0 0 28px var(--accent-glow), 0 0 60px rgba(33,150,243,0.15); }
	50%      { box-shadow: 0 0 40px var(--accent-glow), 0 0 80px rgba(33,150,243,0.25); }
}
.badge-18 {
	margin-top: 16px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 3px solid var(--accent);
	box-shadow: 0 0 28px rgba(33,150,243,0.15), 0 0 60px rgba(33,150,243,0.15);
	display: flex; align-items: center; justify-content: center;
	font-family: 'Montserrat', sans-serif;
	font-size: 22px; font-weight: 800;
	color: #aaa;
	background: radial-gradient(circle at 50% 40%, rgba(33,150,243,0.12), transparent 70%);
	/* 			  animation: pulsatin 3s ease-in-out infinite; */
	/* 			  filter: blur(0.2px); */
	opacity: 0.7;
}
.main-content-block {
	background-color: rgb(44, 44, 44, 0.5);
	padding: 12px 24px;
	border-radius: 4px;
}
.phone-label {
	animation: pulse 1.5s ease-in-out infinite;
}
.phone-input-wrapper {
	animation: pulse 1.5s ease-in-out infinite !important;
}

