/* EMAGE GALAXY - Page Specific Styles */

/* ========== HERO ========== */
/* ===========================
   HERO SECTION CENTER
=========================== */

/* ================= HERO SECTION ================= */

.hero-section {
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 60px 0;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(99,102,241,.15);
  border: 1px solid rgba(99,102,241,.3);
  border-radius: 50px;
  font-size: .85rem;
  color: var(--primary-light);
  margin: 0 auto 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem,6vw,4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-align: center;
}

.hero-typing {
  font-size: clamp(1.2rem,3vw,1.75rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  min-height: 2.5rem;
  text-align: center;
}

.hero-typing .cursor {
  display: inline-block;
  width: 3px;
  height: 1.2em;
  background: var(--primary);
  margin-left: 4px;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-search {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: 650px;
  width: 100%;
  margin: 0 auto 2rem;
}

.hero-search input {
  flex: 1;
  padding: 16px 24px;
  background: var(--bg-glass);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 1rem;
}

.hero-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.hero-stats{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:40px;
}
.hero-stat{
    position:relative;
    text-align:center;
    min-width:130px;
    padding:0 25px;
}

.hero-stat:not(:last-child)::after{
    content:"";
    position:absolute;
    top:50%;
    right:0;
    transform:translateY(-50%);
    width:1px;
    height:70px;
    background:rgba(255,255,255,.15);
}

.hero-stat strong{
    display:block;
    font-size:52px;
    font-weight:800;
    color:#fff;
    margin-bottom:8px;
}

.hero-stat span{
    display:block;
    font-size:18px;
    color:#9ca3af;
}
.hero-stat:not(:last-child)::after{
    background:linear-gradient(to bottom,
    transparent,
    #7c3aed,
    transparent);
    width:2px;
}
.hero-stat {
  min-width: 120px;
}

.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-stat span {
  display: block;
  font-size: .85rem;
  color: var(--text-muted);
}

.hero-floating-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-floating-icons i {
  position: absolute;
  font-size: 2rem;
  color: rgba(99,102,241,.2);
}

@media (max-width:768px){

.hero-search{
    flex-direction:column;
}

.hero-search input,
.hero-search button{
    width:100%;
}

.hero-stats{
    gap:1rem;
}

}/* ========== SWIPER SECTIONS ========== */
.swiper-section { overflow: hidden; }
.swiper-galaxy .swiper-slide { height: auto; }
.swiper-galaxy .swiper-button-next,
.swiper-galaxy .swiper-button-prev {
  color: var(--primary);
  background: var(--bg-glass);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
}
.swiper-galaxy .swiper-button-next::after,
.swiper-galaxy .swiper-button-prev::after { font-size: 1rem; }

/* ========== PRIME BANNER ========== */
.prime-banner {
  padding: 3rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(99,102,241,0.2) 0%, rgba(168,85,247,0.2) 50%, rgba(236,72,153,0.2) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  position: relative;
  overflow: hidden;
}
.prime-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168,85,247,0.3) 0%, transparent 70%);
  border-radius: 50%;
}

/* ========== AUTH PAGES ========== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 40px;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  padding: 2.5rem;
  background: var(--bg-glass);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.auth-card h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}
.auth-card .auth-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.9rem;
}
.auth-form .form-group { margin-bottom: 1.25rem; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-glass);
}
.social-login {
  display: flex;
  gap: 10px;
}
.social-btn {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
}
.social-btn:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
}

/* ========== FORGOT PASSWORD STEPS ========== */
.auth-steps { display: none; }
.auth-steps.active { display: block; }
.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 1.5rem 0;
}
.otp-inputs input {
  width: 50px;
  height: 55px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
}
.otp-inputs input:focus {
  outline: none;
  border-color: var(--primary);
}

/* ========== DASHBOARD ========== */
.dashboard-layout {
  display: flex;
  min-height: calc(100vh - var(--navbar-height));
}
.dashboard-sidebar {
  width: 260px;
  background: var(--bg-glass);
  backdrop-filter: var(--blur);
  border-right: 1px solid var(--border-glass);
  padding: 1.5rem 0;
  flex-shrink: 0;
}
.dashboard-sidebar .sidebar-brand {
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 1rem;
  font-weight: 700;
}
.dashboard-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dashboard-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 1.5rem;
  color: var(--text-secondary) !important;
  font-size: 0.9rem;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.dashboard-nav a:hover,
.dashboard-nav a.active {
  color: var(--text-primary) !important;
  background: rgba(99, 102, 241, 0.1);
  border-left-color: var(--primary);
}

.dashboard-main {
  flex: 1;
  padding: 2rem;
  overflow-x: hidden;
}

.dashboard-header {
  margin-bottom: 2rem;
}
.dashboard-header h1 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}
.dashboard-header p { color: var(--text-secondary); }

.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.stat-card {
  padding: 1.5rem;
  background: var(--bg-glass);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.stat-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}
.stat-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.stat-card__value {
  font-size: 1.75rem;
  font-weight: 700;
}
.stat-card__label {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.dashboard-panel {
  background: var(--bg-glass);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.dashboard-panel__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-glass);
}

.dashboard-tab-content { display: none; }
.dashboard-tab-content.active { display: block; }

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-glass);
}
.activity-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 0.85rem;
}

/* ========== ADMIN ========== */
.admin-sidebar {
  width: 280px;
  background: rgba(5, 5, 15, 0.95);
  border-right: 1px solid var(--border-glass);
  min-height: calc(100vh - var(--navbar-height));
  padding: 1.5rem 0;
  flex-shrink: 0;
}
[data-theme="light"] .admin-sidebar {
  background: rgba(255, 255, 255, 0.95);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th,
.admin-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.9rem;
}
.admin-table th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.admin-table tr:hover td {
  background: rgba(99, 102, 241, 0.05);
}

.status-badge {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.status-badge.approved { background: rgba(34, 197, 94, 0.2); color: #22c55e; }
.status-badge.pending { background: rgba(251, 191, 36, 0.2); color: #fbbf24; }
.status-badge.rejected { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

.chart-container {
  position: relative;
  height: 300px;
}

.notification-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid var(--border-glass);
  transition: var(--transition);
}
.notification-item:hover {
  background: rgba(99, 102, 241, 0.1);
}
.notification-item.unread {
  border-left: 3px solid var(--primary);
}

/* ========== UPLOAD PAGE ========== */
.upload-zone {
  border: 2px dashed var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  background: var(--bg-glass);
}
.upload-zone.dragover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
}
.upload-zone i {
  font-size: 3rem;
  color: var(--primary-light);
  margin-bottom: 1rem;
}
.upload-preview {
  max-width: 100%;
  max-height: 300px;
  border-radius: var(--radius-md);
  margin: 1rem auto;
  display: none;
}
.upload-preview.visible { display: block; }

/* ========== CONTACT PAGE ========== */
.contact-info-card {
  padding: 1.5rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  text-align: center;
  height: 100%;
  transition: var(--transition);
}
.contact-info-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}
.contact-info-card i {
  font-size: 2rem;
  color: var(--primary-light);
  margin-bottom: 1rem;
}

/* ========== ABOUT PAGE ========== */
.about-hero {
  text-align: center;
  padding: 80px 0 40px;
}
.access-level-card {
  text-align: center;
  padding: 2rem 1.5rem;
  height: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.access-level-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
}
.access-level-card.guest { border-top: 3px solid var(--text-muted); }
.access-level-card.user { border-top: 3px solid var(--primary-light); }
.access-level-card.prime { border-top: 3px solid var(--gold); }
.access-level-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}
.access-level-card.guest .access-level-icon { background: rgba(100,116,139,0.15); color: var(--text-muted); }
.access-level-card.user .access-level-icon { background: rgba(99,102,241,0.15); color: var(--primary-light); }
.access-level-card.prime .access-level-icon { background: rgba(251,191,36,0.15); color: var(--gold); }
.access-level-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.access-level-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
}
.access-level-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.access-level-features li i {
  color: #22c55e;
  font-size: 0.75rem;
}

.team-card {
  text-align: center;
  padding: 2rem;
}
.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  margin: 0 auto 1rem;
}

/* ========== LEGAL PAGES ========== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}
.legal-content h2 {
  font-size: 1.25rem;
  margin: 2rem 0 1rem;
}
.legal-content p,
.legal-content li {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.8;
}
.legal-content ul { padding-left: 1.5rem; }

/* ========== 404 PAGE ========== */
.error-page {
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.error-code {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* ========== PAGE HEADER ========== */
.page-header {
  padding: 60px 0 40px;
  text-align: center;
  position: relative;
}
.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}
.page-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}
.stat-card{
    cursor:pointer;
    transition:0.3s;
}

.stat-card:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 35px rgba(0,0,0,.25);
}
.modal-dialog {
    max-width: 900px;
}

.modal-content {
    overflow: hidden;
    border-radius: 20px;
}

.modal-body {
    overflow-x: hidden;
    overflow-y: auto;
}

.wallpaper-detail-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.related-wallpapers img {
    max-width: 100%;
}
.modal-dialog-scrollable .modal-body {
    overflow-x: hidden !important;
}

@media (max-width: 991px) {
  .dashboard-layout {
    flex-direction: column;
  }
  .dashboard-sidebar,
  .admin-sidebar {
    position: fixed;
    left: -280px;
    top: var(--navbar-height);
    height: calc(100vh - var(--navbar-height));
    z-index: 999;
    transition: var(--transition);
  }
  .dashboard-sidebar.open,
  .admin-sidebar.open { left: 0; }
  .dashboard-main { padding: 1.25rem; width: 100%; }
  .pricing-card.featured { transform: none; }
}

@media (max-width: 768px) {
  .hero-search { flex-direction: column; }
  .related-wallpapers { grid-template-columns: repeat(2, 1fr); }
  .admin-table { display: block; overflow-x: auto; }
}
/* ===== Navbar Social Icons ===== */

.social-icons{
    display:flex;
    align-items:center;
    gap:12px;
    margin-right:20px;
}

.social-icon{
    width:42px;
    height:42px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color:#fff;
    font-size:18px;
    transition:.3s;
}

.social-icon:hover{
    transform:translateY(-4px) scale(1.1);
}

.pinterest{
    background:#E60023;
}

.instagram{
    background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
}

.facebook{
    background:#1877F2;
}

.youtube{
    background:#FF0000;
}

.social-icon:hover{
    box-shadow:0 0 20px rgba(255,255,255,.25);
}

@media(max-width:992px){

.social-icons{
    display:none;
}

}
/* ===========================
   FOOTER SOCIAL ICONS
=========================== */

.footer-socials{
    display:flex;
    align-items:center;
    gap:18px;
    margin-top:15px;
}

.footer-socials a{
    width:48px;
    height:48px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none !important;
    transition:.35s;
}

/* Facebook */
.footer-socials a:nth-child(1){
    background:#1877F2;
}
.footer-socials a:nth-child(1) i{
    color:#fff !important;
}

/* YouTube */
.footer-socials a:nth-child(2){
    background:#FF0000;
}
.footer-socials a:nth-child(2) i{
    color:#fff !important;
}

/* Pinterest */
.footer-socials a:nth-child(3){
    background:#E60023;
}
.footer-socials a:nth-child(3) i{
    color:#fff !important;
}

/* Instagram */
.footer-socials a:nth-child(4){
    background:linear-gradient(
        45deg,
        #f09433,
        #e6683c,
        #dc2743,
        #cc2366,
        #bc1888
    );
}
.footer-socials a:nth-child(4) i{
    color:#fff !important;
}

/* Hover */
.footer-socials a:hover{
    transform:translateY(-5px) scale(1.12);
    box-shadow:0 0 20px rgba(255,255,255,.25);
}
.contact-card{
    padding:60px 40px;
    border-radius:25px;
    min-height:320px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    transition:.3s;
}

.contact-card:hover{
    transform:translateY(-8px);
    box-shadow:0 0 30px rgba(140,90,255,.35);
}

.contact-card h2{
    font-size:2.3rem;
    font-weight:700;
    margin-bottom:15px;
}

.contact-card p{
    font-size:1.35rem;
    color:var(--text-secondary);
    word-break:break-word;
}

.contact-card i{
    font-size:65px;
}