/* project,one.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
  font-weight: bold;
}

:root {
  --bg-color: #ffffff;
  --text-color: #1e293b;
  --second-bg-color: #f1f5f9;
  --main-color: #ea580c;
  --transition: 0.3s ease;
}

html {
  font-size: 0.65em;
  direction: rtl;
  text-align: right;
  font-weight: 1000;
}

body {
  font-family: 'Vazirmatn', sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  transition: var(--transition);
  line-height: 1.8;
}

body.dark {
  --bg-color: #0a0a0a;
  --text-color: #f5f5f5;
  --second-bg-color: #141414;
  --main-color: #ff5722;
}

/* User Info */
#info-section {
  background: var(--second-bg-color);
  padding: 1rem 5%;
  font-size: 1.4rem;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  font-weight: 600;
}

body.dark .user-info-section {
  border-bottom-color: rgba(255,255,255,0.1);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 5%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.dark .header {
  background: var(--second-bg-color) !important;
}

.logo {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-color);
}

span {
  background: linear-gradient(270deg, #DF8908 10%, #ff1d15 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.navbar {
  display: flex;
  gap: 3rem;
}

.navbar a {
  font-size: 1.8rem;
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

.navbar a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 0;
  height: 3px;
  background: var(--main-color);
  transition: var(--transition);
}

.navbar a:hover::after,
.navbar a.active::after {
  width: 100%;
}

.header-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.gradient-btn {
  font-size: 1.6rem;
  padding: 1rem 12rem;
  border-radius: 3rem;
  background: linear-gradient(270deg, #DF8908 10%, #ff1d15 100%);
  color: white;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.gradient-btn:hover {
  transform: scale(1.05);
}

.menu-icon {
  display: none;
  font-size: 3.5rem;
  color: var(--main-color);
  cursor: pointer;
}

/* Home */
.home {
  min-height: 100vh;
  padding: 12rem 5% 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.home-content {
  max-width: 600px;
  text-align: right;
}

.home-content h1 {
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center !important;
  width: 100%;
}


.home-content h3 {
  font-size: 3.2rem;
  color: var(--main-color);
}

.home-content p {
  font-size: 1.6rem;
  margin-bottom: 3rem;
  color: #64748b;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  justify-content: flex-end;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border: 2px solid var(--main-color);
  border-radius: 50%;
  font-size: 2.2rem;
  color: var(--main-color);
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--main-color);
  color: white;
  transform: scale(1.1);
}

.btn-group {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
}

.btn {
  padding: 1rem 3rem;
  background-color: var(--main-color);
  box-shadow: 0 0 25px var(--main-color);
  border-radius: 3rem;
  font-size: 1.8rem;
  color: black;
  border: 2px solid transparent;
  font-weight: 600;
  transition: 0.3s ease-in-out;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--main-color), 0 0 50px var(--main-color);
}

.btn-group a:nth-of-type(2) {
  background-color: black;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  box-shadow: none;
}

.btn-group a:nth-of-type(2):hover {
  background-color: var(--main-color);
  color: black;
  box-shadow: 0 0 25px var(--main-color);
}

.home-img img {
  width: clamp(250px, 32vw, 400px);
  border-radius: 50%;
  box-shadow: 0 0 25px var(--main-color);
  transition: var(--transition);
}

.home-img img:hover {
  box-shadow: 0 0 25px var(--main-color), 0 0 50px var(--main-color), 0 0 100px var(--main-color);
}

/* Countdown */
.countdown-section {
  padding: 6rem 5%;
  text-align: center;
  background: var(--second-bg-color);
}

.countdown-title {
  font-size: 3.2rem;
  margin-bottom: 3rem;
  color: var(--main-color);
}

.countdown-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.countdown-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(var(--main-color) 0%, #e2e8f0 0%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  box-shadow: 0 0 20px rgba(234, 88, 12, 0.3);
}

.countdown-circle::before {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  background: var(--bg-color);
  border-radius: 50%;
  z-index: 1;
}

.countdown-circle span:first-child {
  font-size: 2.4rem;
  font-weight: 700;
  z-index: 2;
  color: var(--text-color);
}

.countdown-circle span:last-child {
  font-size: 1.4rem;
  color: var(--main-color);
  margin-top: 0.5rem;
  z-index: 2;
}

/* Book Slider */
.book-slider-section {
  padding: 5rem 5%;
  background: var(--bg-color);
}

.slider-container {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.slide {
  display: none;
  text-align: center;
}

.slide.active {
  display: block;
}

.book-card {
  background: #1a1a2e;
  padding: 2rem;
  border-radius: 1.5rem;
  color: white;
}

.book-img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

.book-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 1.6rem;
  color: #ffd700;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.slider-dots {
  text-align: center;
  margin-top: 1.5rem;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

.dot.active {
  background: var(--main-color);
}

/* About */
.about {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  background: var(--second-bg-color);
  padding: 8rem 5%;
  min-height: 100vh;
}

.about-img img {
  width: 70vw;
  max-width: 350px;
  border-radius: 50%;
  box-shadow: 0 0 25px var(--main-color);
  transition: var(--transition);
}

.about-img img:hover {
  box-shadow: 0 0 25px var(--main-color), 0 0 50px var(--main-color), 0 0 100px var(--main-color);
}

.about-content h2 {
  font-size: 4.5rem;
  margin-bottom: 2rem;
}

.about-content p {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  color: #64748b;
}

/* Footer */
#content://com.android.externalstorage.documents/tree/primary%3Aindex.Html%F0%9F%A4%96::primary:index.Html🤖/project,one.cssfooter {
  text-align: center;
  padding: 2rem;
  background: var(--second-bg-color);
  font-size: 1.4rem;
  color: #64748b;
}

/* footer */
footer {
  background: var(--second-bg-color);
  padding: 2rem 5%;
  font-size: 1.4rem;
  text-align: center;
  color: black;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  transition: 0.3s box-shadow ease-in-out;
}
footer:hover {
  box-shadow: 
  0 0 25px var(--main-color),
  0 0 50px var(--main-color),
  0 0 100px var(--main-color);
}

body.dark footer {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

/* footer */
footer a,
footer strong {
  color: var(--main-color);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    padding: 1rem 5%;
    background: var(--bg-color);
    flex-direction: column;
    display: none;
    text-align: center;
  }

  .navbar.active { display: flex; }
  .header-right { 
    display: flex !important; 
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
  }
  .menu-icon { display: block; }

  .home { flex-direction: column; text-align: center; padding-top: 14rem; }
  .home-content, .social-icons, .btn-group { justify-content: center; }

  .countdown-circle { width: 100px; height: 100px; }
  .countdown-circle::before { width: 85px; height: 85px; }
  .countdown-circle span:first-child { font-size: 2rem; }

  .about { flex-direction: column; text-align: center; padding: 5rem 1rem; }
  .about-img img { width: 70vw; max-width: 280px; }
}
.h3-1 {
  text-align: center;
  display: flex;
  justify-content: center;
  left: 50%;
}
/* code cope */
.copy-ripple {
  position: fixed;
  width: 0; height: 0;
  background: var(--main-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  opacity: .4;
  animation: rippleEffect .8s ease-out forwards;
}
@keyframes rippleEffect {
  to { width: 300px; height: 300px; opacity: 0; }
}
/* دکمه بازگشت به بالا */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--main-color);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* بازدید */
.pbaz {
    text-align: center;
  display: flex;
  justify-content: center;
  left: 50%;
}