@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  min-height:100vh;
  font-family: system-ui, sans-serif;
  background: #0b0b0f;   /* dark base */
  color:white;
}

/* PAGE TEXT */
.profile-wrapper{
  padding:60px 8% 120px;
}

.page-title{
  font-family:"Abril Fatface";
  font-size:64px;
  margin-bottom:10px;
}

.page-subtitle{
  opacity:0.7;
  margin-bottom:60px;
  font-size:20px;
}

/* GLASS CARD */
.glass-account-card{
  width:100%;
  max-width:1100px;
  border-radius:30px;
  padding:60px;

  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);

  border:1px solid rgba(255,255,255,0.15);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

/* ROWS */
.account-row{
  margin-bottom:40px;
}

.label{
  font-size:14px;
  letter-spacing:2px;
  opacity:0.5;
  margin-bottom:10px;
}

.value{
  font-size:36px;
  font-weight:600;
}

/* DIVIDER */
.divider{
  height:1px;
  background:rgba(255,255,255,0.1);
  margin:40px 0;
}

/* BADGE */
.badge{
  display:inline-block;
  margin-top:15px;
  padding:8px 18px;
  border-radius:50px;
  font-size:14px;
  font-weight:600;
}

.expired{
  background:rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.2);
}

/* BUTTONS */
.actions{
  display:flex;
  gap:20px;
  margin-top:20px;
}

.primary-btn{
  padding:14px 36px;
  border-radius:50px;
  border:none;
  font-weight:600;
  cursor:pointer;
  color:white;

  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border:1px solid rgba(255,255,255,0.3);

  transition:0.3s;
}

.primary-btn:hover{
  transform:translateY(-3px);
  background: rgba(255,255,255,0.25);
}

.ghost-btn{
  padding:14px 36px;
  border-radius:50px;
  border:1px solid rgba(255,255,255,0.2);
  background:transparent;
  color:white;
  cursor:pointer;
}

/* ===== PARALLAX BACKGROUND ===== */

.parallax-bg{
  position: fixed;
  inset: 0;
  z-index: -5;
  overflow: hidden;
  background: #05060a;
}

/* deep gradient base */
.gradient-layer{
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(60% 60% at 20% 30%, #1a1f3a 0%, transparent 60%),
    radial-gradient(50% 50% at 80% 70%, #1a1230 0%, transparent 60%),
    radial-gradient(70% 70% at 50% 50%, #0d0f1c 0%, #05060a 80%);
  filter: blur(40px);
  transform: translateZ(0);
}

/* moving glow blobs */
.glow-layer{
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(400px at 30% 40%, rgba(120,80,255,0.25), transparent 70%),
    radial-gradient(500px at 70% 60%, rgba(255,60,160,0.18), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
  filter: blur(60px);
}

@keyframes drift{
  from{ transform: translate(-3%, -2%) scale(1); }
  to{ transform: translate(3%, 2%) scale(1.08); }
}

/* particles canvas */
#particles{
  position:absolute;
  inset:0;
}

.profile-badge{
  width:80px;
  margin:15px 0;
  filter: drop-shadow(0 0 12px gold);
}

.badge-text{
  font-size:18px;
  font-weight:600;
  letter-spacing:1px;
}

.badge-expiry{
  font-size:13px;
  opacity:0.7;
}

body {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

body {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

/* --- MOBILE RESPONSIVENESS --- */

@media (max-width: 768px) {
  .profile-wrapper {
    padding: 100px 5% 60px; /* More top padding for the fixed header */
    text-align: center;
  }

  .page-title {
    font-size: 40px; /* Scale down large title */
  }

  .page-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .glass-account-card {
    padding: 30px 20px; /* Shrink padding inside card */
    border-radius: 20px;
  }

  .value {
    font-size: 24px; /* Prevent email address from clipping */
    word-break: break-all; /* Force long emails to wrap */
  }

  .actions {
    flex-direction: column; /* Stack buttons vertically */
    width: 100%;
  }

  .primary-btn, .ghost-btn {
    width: 100%;
    text-align: center;
  }
}

/* Ensure the logout link only shows on mobile sidebar */
.mobile-only {
  display: none !important;
}

@media (max-width: 980px) {
  .mobile-only {
    display: block !important;
  }
}