/*
Theme Name: Dreamy Memorial
Theme URI: https://memorial.local/
Author: Your Name
Author URI: https://memorial.local/
Description: یک قالب وردپرس بسیار شیک، خلاقانه و رویایی برای سایت یادبود با منوی حرفه‌ای و رنگ‌بندی مدرن.
Version: 1.1 - Updated: 2024
Text Domain: dreamy-memorial
Tags: modern, creative, dreamy, rtl, persian
*/

@font-face {
  font-family: 'Vazir';
  src: url('fonts/Vazirmatn-Regular.woff2') format('woff2'),
       url('fonts/Vazirmatn-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Vazir';
  src: url('fonts/Vazirmatn-Bold.woff2') format('woff2'),
       url('fonts/Vazirmatn-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden;
}

body {
  font-family: Arial, Roboto, sans-serif;
  background: linear-gradient(120deg, #a18cd1 0%, #fbc2eb 100%);
  margin: 0;
  padding: 0;
  direction: ltr;
  padding-top: 0;
}

header.site-header {
  background: rgba(255,255,255,0.15);
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding: 1.5rem 2rem 1.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo img {
  height: 48px;
  width: auto;
  max-width: 60px;
  display: block;
}

.main-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.main-menu li a {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.3rem 1.2rem;
  border-radius: 1rem;
}

.main-menu li a:hover, .main-menu li.current-menu-item a {
  color: #fbc2eb;
  background: rgba(255,255,255,0.18);
}

.dreamy-hero {
  margin: 8rem auto 2rem auto;
  max-width: 700px;
  background: rgba(255,255,255,0.25);
  border-radius: 2rem;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.20);
  padding: 2.5rem 2rem 2rem 2rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
}

.dreamy-hero h1 {
  color: #fff;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 24px #a18cd1;
}

.dreamy-hero p {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 8px #fbc2eb;
}

.buy-coins-hero {
  text-align: center;
  margin: 3rem auto 2rem auto;
  background: linear-gradient(120deg, #a18cd1 0%, #fbc2eb 100%);
  border-radius: 2.5rem;
  box-shadow: 0 12px 48px 0 rgba(161,140,209,0.18), 0 1.5px 8px 0 rgba(251,194,235,0.10);
  padding: 3.5rem 2.5rem 2.5rem 2.5rem;
  border: 1.5px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(18px);
  max-width: 800px;
  position: relative;
  overflow: hidden;
}
.buy-coins-hero::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, #fbc2eb 0%, #a18cd1 100%);
  opacity: 0.18;
  filter: blur(12px);
  border-radius: 50%;
  z-index: 0;
}
.buy-coins-hero h1 {
  color: #fff;
  font-size: 2.7rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  text-shadow: 0 6px 32px #a18cd1;
  letter-spacing: 1.5px;
  position: relative;
  z-index: 1;
  animation: fadeInDown 1s cubic-bezier(.77,0,.18,1) both;
}
.buy-coins-hero p {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0;
  text-shadow: 0 2px 12px #fbc2eb;
  position: relative;
  z-index: 1;
  animation: fadeInUp 1.2s cubic-bezier(.77,0,.18,1) both;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px);}
  to { opacity: 1; transform: translateY(0);}
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px);}
  to { opacity: 1; transform: translateY(0);}
}

.buy-coins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2.7rem;
  width: 95vw;
  max-width: 1300px;
  margin: 0 auto 3.5rem auto;
  padding-top: 1.5rem;
}

.buy-coins-card {
  background: rgba(255,255,255,0.22);
  border-radius: 2.2rem;
  box-shadow: 0 12px 48px 0 rgba(161,140,209,0.18), 0 1.5px 8px 0 rgba(251,194,235,0.10);
  border: 1.5px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.2rem 1.2rem 1.7rem 1.2rem;
  transition: transform 0.25s cubic-bezier(.77,0,.18,1), box-shadow 0.25s;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1.1s cubic-bezier(.77,0,.18,1) both;
}
.buy-coins-card::before {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, #a18cd1 0%, #fbc2eb 100%);
  opacity: 0.13;
  filter: blur(10px);
  border-radius: 50%;
  z-index: 0;
}
.buy-coins-card:hover {
  transform: translateY(-14px) scale(1.045) rotate(-1.5deg);
  box-shadow: 0 24px 64px 0 rgba(161,140,209,0.22), 0 2px 12px 0 rgba(251,194,235,0.13);
}
.buy-coins-img img {
  width: 100%;
  max-width: 170px;
  border-radius: 1.5rem;
  margin-bottom: 1.3rem;
  box-shadow: 0 6px 32px 0 rgba(161,140,209,0.13);
  border: 2.5px solid #fff;
  background: #fff;
  z-index: 1;
  position: relative;
  transition: transform 0.2s;
}
.buy-coins-card:hover .buy-coins-img img {
  transform: scale(1.07) rotate(-2deg);
}
.buy-coins-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  z-index: 1;
  position: relative;
}
.buy-coins-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #4a148c;
  background: rgba(255,255,255,0.8);
  border-radius: 1.2rem;
  padding: 0.4rem 1.3rem;
  margin-bottom: 0.2rem;
  box-shadow: 0 2px 8px 0 rgba(161,140,209,0.08);
  letter-spacing: 0.5px;
}
.buy-coins-price {
  font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(90deg, #a18cd1 0%, #fbc2eb 100%);
  border-radius: 1.2rem;
  padding: 0.3rem 1.1rem;
  font-weight: bold;
  margin-bottom: 0.2rem;
  box-shadow: 0 2px 8px 0 rgba(251,194,235,0.10);
}
.buy-coins-desc {
  color: #555;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  text-align: center;
  background: rgba(255,255,255,0.5);
  border-radius: 1rem;
  padding: 0.2rem 0.8rem;
}
.buy-coins-btn {
  margin-top: 0.7rem;
  background: linear-gradient(90deg, #a18cd1 0%, #fbc2eb 100%);
  color: #fff;
  border: none;
  border-radius: 1.2rem;
  padding: 0.8rem 2.5rem;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(161,140,209,0.10);
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}
.buy-coins-btn:hover {
  background: linear-gradient(90deg, #fbc2eb 0%, #a18cd1 100%);
  transform: scale(1.09);
  box-shadow: 0 4px 24px 0 rgba(251,194,235,0.18);
}
.buy-coins-badge {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  background: linear-gradient(90deg, #fbc2eb 0%, #a18cd1 100%);
  color: #fff;
  font-weight: bold;
  border-radius: 1rem;
  padding: 0.3rem 1.1rem;
  font-size: 1rem;
  box-shadow: 0 2px 8px 0 rgba(161,140,209,0.10);
  z-index: 2;
}

.dreamy-single-product {
  max-width: 900px;
  margin: 3rem auto;
  background: rgba(255,255,255,0.25);
  border-radius: 2rem;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.20);
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  direction: ltr;
}
.single-product .product .woocommerce-product-gallery {
  float: right;
  width: 45%;
  margin-left: 3%;
}
.single-product .product .summary {
  float: left;
  width: 50%;
}
@media (max-width: 700px) {
  .single-product .product .woocommerce-product-gallery,
  .single-product .product .summary {
    float: none;
    width: 100%;
    margin: 0;
  }
}

.dreamy-product-content {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.dreamy-product-gallery {
  flex: 1 1 320px;
  max-width: 400px;
}
.dreamy-product-image {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 6px 32px 0 rgba(161,140,209,0.13);
  border: 2.5px solid #fff;
  background: #fff;
}
.dreamy-product-summary {
  flex: 2 1 350px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.dreamy-product-title {
  font-size: 2rem;
  font-weight: 800;
  color: #4a148c;
  margin-bottom: 0.5rem;
}
.dreamy-product-price {
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(90deg, #a18cd1 0%, #fbc2eb 100%);
  border-radius: 1.2rem;
  padding: 0.3rem 1.1rem;
  font-weight: bold;
  margin-bottom: 0.2rem;
  box-shadow: 0 2px 8px 0 rgba(251,194,235,0.10);
  display: inline-block;
}
.dreamy-product-excerpt {
  color: #555;
  font-size: 1.1rem;
  background: rgba(255,255,255,0.5);
  border-radius: 1rem;
  padding: 0.2rem 0.8rem;
}
.dreamy-product-add-to-cart {
  margin-top: 1rem;
}
.dreamy-product-meta {
  margin-top: 1.2rem;
  font-size: 0.95rem;
  color: #888;
}
.dreamy-product-tabs, .dreamy-product-related {
  margin-top: 2.5rem;
}
@media (max-width: 900px) {
  .dreamy-product-content { flex-direction: column; gap: 1.5rem; }
  .dreamy-product-gallery, .dreamy-product-summary { max-width: 100%; }
}

@media (max-width: 900px) {
  header.site-header { flex-direction: column; padding: 1rem; }
  .main-menu { gap: 1rem; }
}
@media (max-width: 600px) {
  .dreamy-hero h1 { font-size: 2rem; }
  .dreamy-hero { padding: 1.2rem 0.5rem; }
  .main-menu { gap: 0.5rem; }
  header.site-header { padding: 0.5rem 0.2rem; }
  .buy-coins-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .buy-coins-hero {
    padding: 1.5rem 0.5rem;
    max-width: 98vw;
  }
} 

/* --- Dreamy Cart Page Styles --- */
.dreamy-cart-container {
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  padding: 0 1rem;
}

.empty-cart-message {
  text-align: center;
  background: rgba(255,255,255,0.25);
  border-radius: 2rem;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.20);
  padding: 3rem 2rem;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  margin-top: 2rem;
}

.empty-cart-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.empty-cart-message h2 {
  color: #4a148c;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.empty-cart-message p {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.dreamy-cart-content {
  background: rgba(255,255,255,0.25);
  border-radius: 2rem;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.20);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  margin-top: 2rem;
}

.dreamy-cart-table {
  margin-bottom: 2rem;
}

.dreamy-cart-header {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 0.5fr;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,0.3);
  border-radius: 1rem;
  font-weight: bold;
  color: #4a148c;
  margin-bottom: 1rem;
}

.dreamy-cart-item {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 0.5fr;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.2);
  border-radius: 1rem;
  margin-bottom: 1rem;
  align-items: center;
  transition: transform 0.2s;
}

.dreamy-cart-item:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.3);
}

.cart-item-product {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: 1rem;
  overflow: hidden;
  border: 2px solid #fff;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #4a148c;
  margin: 0;
}

.cart-item-title a {
  color: #4a148c;
  text-decoration: none;
}

.cart-item-title a:hover {
  color: #a18cd1;
}

.cart-item-price,
.cart-item-total {
  font-weight: bold;
  color: #4a148c;
  text-align: center;
}

.cart-item-quantity {
  text-align: center;
}

.cart-item-quantity input {
  width: 60px;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  text-align: center;
}

.cart-item-remove a {
  display: block;
  width: 30px;
  height: 30px;
  background: #ff6b6b;
  color: white;
  text-align: center;
  line-height: 30px;
  border-radius: 50%;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
}

.cart-item-remove a:hover {
  background: #ff5252;
}

.dreamy-cart-actions {
  text-align: center;
  margin-bottom: 2rem;
}

.dreamy-cart-collaterals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.dreamy-cart-totals,
.dreamy-cart-payment {
  background: rgba(255,255,255,0.2);
  border-radius: 1rem;
  padding: 1.5rem;
}

.dreamy-cart-totals h3,
.dreamy-cart-payment h3 {
  color: #4a148c;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-align: center;
}

.checkout-btn {
  background: linear-gradient(90deg, #4CAF50 0%, #45a049 100%);
  margin-top: 1rem;
}

.checkout-btn:hover {
  background: linear-gradient(90deg, #45a049 0%, #4CAF50 100%);
}

@media (max-width: 768px) {
  .dreamy-cart-header,
  .dreamy-cart-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .dreamy-cart-header {
    display: none;
  }
  
  .cart-item-product {
    flex-direction: column;
    text-align: center;
  }
  
  .dreamy-cart-collaterals {
    grid-template-columns: 1fr;
  }
} 

/* --- Dreamy Checkout Page Styles --- */
.dreamy-checkout-container {
  max-width: 1400px;
  margin: 0 auto 3rem auto;
  padding: 0 1rem;
}

.dreamy-checkout-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.checkout-form-container {
  background: rgba(255,255,255,0.25);
  border-radius: 2rem;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.20);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
}

.checkout-form-container h2 {
  color: #4a148c;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.checkout-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.checkout-order-summary,
.checkout-payment-methods {
  background: rgba(255,255,255,0.25);
  border-radius: 2rem;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.20);
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
}

.checkout-order-summary h3,
.checkout-payment-methods h3 {
  color: #4a148c;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-align: center;
}

.order-items {
  margin-bottom: 1.5rem;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,0.2);
  border-radius: 1rem;
  margin-bottom: 1rem;
  transition: transform 0.2s;
}

.order-item:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.3);
}

.order-item-image {
  width: 60px;
  height: 60px;
  border-radius: 0.8rem;
  overflow: hidden;
  border: 2px solid #fff;
  flex-shrink: 0;
}

.order-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-item-details h4 {
  font-size: 1rem;
  color: #4a148c;
  margin: 0 0 0.5rem 0;
  font-weight: bold;
}

.order-item-quantity {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 0.3rem 0;
}

.order-item-price {
  font-size: 1rem;
  color: #4a148c;
  font-weight: bold;
  margin: 0;
}

.order-totals {
  border-top: 2px solid rgba(255,255,255,0.3);
  padding-top: 1rem;
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 1rem;
}

.order-total-row.total {
  font-size: 1.2rem;
  font-weight: bold;
  color: #4a148c;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.payment-methods .buy-coins-btn {
  width: 100%;
  text-align: center;
  margin: 0;
}

/* استایل فرم checkout ووکامرس */
.woocommerce-checkout .form-row {
  margin-bottom: 1rem;
}

.woocommerce-checkout label {
  color: #4a148c;
  font-weight: bold;
  margin-bottom: 0.5rem;
  display: block;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout textarea,
.woocommerce-checkout select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 0.8rem;
  background: rgba(255,255,255,0.2);
  color: #4a148c;
  font-size: 1rem;
  transition: all 0.3s;
}

.woocommerce-checkout input[type="text"]:focus,
.woocommerce-checkout input[type="email"]:focus,
.woocommerce-checkout input[type="tel"]:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
  outline: none;
  border-color: #a18cd1;
  background: rgba(255,255,255,0.4);
  box-shadow: 0 0 0 3px rgba(161,140,209,0.1);
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
  margin-bottom: 2rem;
}

.woocommerce-checkout h3 {
  color: #4a148c;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  padding-bottom: 0.5rem;
}

.woocommerce-checkout .place-order {
  text-align: center;
  margin-top: 2rem;
}

.woocommerce-checkout .place-order .button {
  background: linear-gradient(90deg, #4CAF50 0%, #45a049 100%);
  color: #fff;
  border: none;
  border-radius: 1.5rem;
  padding: 1rem 3rem;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.woocommerce-checkout .place-order .button:hover {
  background: linear-gradient(90deg, #45a049 0%, #4CAF50 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(76,175,80,0.3);
}

/* استایل دکمه پی‌پال */
.payment-methods .paypal-button {
  background: linear-gradient(90deg, #0070ba 0%, #1546a0 100%);
  border: none;
  border-radius: 1.5rem;
  padding: 1rem 2rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  width: 100%;
}

.payment-methods .paypal-button:hover {
  background: linear-gradient(90deg, #1546a0 0%, #0070ba 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,112,186,0.3);
}

.about-hero {
  text-align: center;
  margin: 3rem auto 2rem auto;
  background: linear-gradient(120deg, #fbc2eb 0%, #a18cd1 100%);
  border-radius: 2.5rem;
  box-shadow: 0 12px 48px 0 rgba(251,194,235,0.18), 0 1.5px 8px 0 rgba(161,140,209,0.10);
  padding: 3.5rem 2.5rem 2.5rem 2.5rem;
  border: 1.5px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(18px);
  max-width: 800px;
  position: relative;
  overflow: hidden;
}
.about-hero h1 {
  color: #fff;
  font-size: 2.7rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  text-shadow: 0 6px 32px #a18cd1;
  letter-spacing: 1.5px;
  position: relative;
  z-index: 1;
}
.about-hero p {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0;
  text-shadow: 0 2px 12px #fbc2eb;
  position: relative;
  z-index: 1;
}
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  margin: 0 auto 3rem auto;
  max-width: 1200px;
}
.about-card {
  background: rgba(255,255,255,0.22);
  border-radius: 2.2rem;
  box-shadow: 0 12px 48px 0 rgba(251,194,235,0.18), 0 1.5px 8px 0 rgba(161,140,209,0.10);
  border: 1.5px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(18px);
  padding: 2.2rem 2rem 1.7rem 2rem;
  min-width: 270px;
  max-width: 350px;
  flex: 1 1 270px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-card h2 {
  color: #a18cd1;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.about-card p {
  color: #333;
  font-size: 1.1rem;
}

/* تماس با ما */
.contact-hero {
  text-align: center;
  margin: 3rem auto 2rem auto;
  background: linear-gradient(120deg, #a18cd1 0%, #fbc2eb 100%);
  border-radius: 2.5rem;
  box-shadow: 0 12px 48px 0 rgba(161,140,209,0.18), 0 1.5px 8px 0 rgba(251,194,235,0.10);
  padding: 3.5rem 2.5rem 2.5rem 2.5rem;
  border: 1.5px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(18px);
  max-width: 800px;
  position: relative;
  overflow: hidden;
}
.contact-hero h1 {
  color: #fff;
  font-size: 2.7rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  text-shadow: 0 6px 32px #a18cd1;
  letter-spacing: 1.5px;
  position: relative;
  z-index: 1;
}
.contact-hero p {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0;
  text-shadow: 0 2px 12px #fbc2eb;
  position: relative;
  z-index: 1;
}
.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  align-items: flex-start;
  margin: 0 auto 3rem auto;
  max-width: 1200px;
}
.contact-form {
  background: rgba(255,255,255,0.22);
  border-radius: 2.2rem;
  box-shadow: 0 12px 48px 0 rgba(161,140,209,0.18), 0 1.5px 8px 0 rgba(251,194,235,0.10);
  border: 1.5px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(18px);
  padding: 2.2rem 2rem 1.7rem 2rem;
  min-width: 270px;
  max-width: 400px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-form input,
.contact-form textarea {
  border: none;
  border-radius: 1.2rem;
  padding: 0.9rem 1.2rem;
  font-size: 1.1rem;
  background: rgba(255,255,255,0.7);
  box-shadow: 0 2px 8px 0 rgba(161,140,209,0.08);
  outline: none;
  font-family: inherit;
  resize: none;
}
.contact-form button {
  background: linear-gradient(90deg, #a18cd1 0%, #fbc2eb 100%);
  color: #fff;
  border: none;
  border-radius: 1.2rem;
  padding: 0.9rem 1.2rem;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(161,140,209,0.10);
  transition: background 0.2s;
}
.contact-form button:hover {
  background: linear-gradient(90deg, #fbc2eb 0%, #a18cd1 100%);
}
.contact-info-box {
  background: rgba(255,255,255,0.22);
  border-radius: 2.2rem;
  box-shadow: 0 12px 48px 0 rgba(251,194,235,0.18), 0 1.5px 8px 0 rgba(161,140,209,0.10);
  border: 1.5px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(18px);
  padding: 2.2rem 2rem 1.7rem 2rem;
  min-width: 270px;
  max-width: 400px;
  flex: 1 1 270px;
  text-align: center;
}
.contact-info-box h2 {
  color: #a18cd1;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.contact-info-box p, .contact-info-box a {
  color: #333;
  font-size: 1.1rem;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .dreamy-checkout-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .checkout-sidebar {
    order: -1;
  }
  .about-content, .contact-content { flex-direction: column; align-items: center; }
}

@media (max-width: 768px) {
  .checkout-form-container,
  .checkout-order-summary,
  .checkout-payment-methods {
    padding: 1rem;
  }
  
  .order-item {
    flex-direction: column;
    text-align: center;
  }
  
  .order-item-image {
    width: 80px;
    height: 80px;
  }
  .about-hero, .contact-hero { padding: 1.5rem 0.5rem; max-width: 98vw; }
  .about-card, .contact-form, .contact-info-box { max-width: 98vw; min-width: unset; }
}

/* Header Top Section */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 0 0 10px 10px;
  margin-bottom: 1rem;
}

.header-top .user-coins {
  font-weight: bold;
  font-size: 0.9rem;
}

.auth-buttons {
  display: flex;
  gap: 0.5rem;
}

.login-btn, .logout-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.login-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: white;
  text-decoration: none;
}

.logout-btn {
  background: rgba(220, 53, 69, 0.8);
  color: white;
}

.logout-btn:hover {
  background: rgba(220, 53, 69, 1);
  transform: translateY(-1px);
}

/* Responsive for header top */
@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
  }
  
  .auth-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .login-btn, .logout-btn {
    flex: 1;
    max-width: 120px;
    text-align: center;
  }
}

/* === MODERN LOGIN & REGISTRATION PAGE STYLES === */
.login-hero {
  text-align: center;
  margin: 8rem auto 3rem auto;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2.5rem;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
  padding: 3rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  max-width: 900px;
  position: relative;
  overflow: hidden;
}

.login-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.login-hero h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
  animation: slideInDown 1s ease-out;
}

.login-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
  animation: slideInUp 1s ease-out 0.3s both;
}

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

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

.login-content {
  max-width: 1200px;
  margin: 0 auto 4rem auto;
  padding: 0 2rem;
}

.auth-step {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 2rem;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  margin: 0 auto;
  max-width: 500px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
  animation: fadeInScale 0.8s ease-out;
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.auth-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
  background-size: 300% 100%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.auth-step h2 {
  color: #2d3748;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
}

.auth-step h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

.auth-step h3 {
  color: #4a5568;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.auth-form input {
  padding: 1rem 1.5rem;
  border: 2px solid #e2e8f0;
  border-radius: 1rem;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  position: relative;
}

.auth-form input:focus {
  outline: none;
  border-color: #667eea;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.auth-form input::placeholder {
  color: #a0aec0;
  font-weight: 400;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: #4a5568;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

.btn-success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.form-separator {
  text-align: center;
  margin: 2rem 0;
  position: relative;
}

.form-separator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.form-separator span {
  background: rgba(255, 255, 255, 0.95);
  padding: 0 1.5rem;
  color: #718096;
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.error-message {
  color: #e53e3e;
  background: linear-gradient(135deg, #fed7d7 0%, #feb2b2 100%);
  border: 1px solid #feb2b2;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  margin: 1rem 0;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(229, 62, 62, 0.1);
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.success-message {
  color: #38a169;
  background: linear-gradient(135deg, #c6f6d5 0%, #9ae6b4 100%);
  border: 1px solid #9ae6b4;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  margin: 1rem 0;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(56, 161, 105, 0.1);
  animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 1; transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

#login-message {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  font-weight: 500;
  text-align: center;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#login-message.success {
  color: #38a169;
  background: linear-gradient(135deg, #c6f6d5 0%, #9ae6b4 100%);
  border: 1px solid #9ae6b4;
  box-shadow: 0 2px 10px rgba(56, 161, 105, 0.1);
}

#login-message.error {
  color: #e53e3e;
  background: linear-gradient(135deg, #fed7d7 0%, #feb2b2 100%);
  border: 1px solid #feb2b2;
  box-shadow: 0 2px 10px rgba(229, 62, 62, 0.1);
}

.redirect-notice {
  background: linear-gradient(135deg, #fef5e7 0%, #fbd38d 100%);
  border: 1px solid #fbd38d;
  color: #c05621;
  padding: 1.5rem;
  border-radius: 1rem;
  margin: 2rem 0;
  text-align: center;
  box-shadow: 0 4px 15px rgba(251, 211, 141, 0.2);
  animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

.redirect-notice p {
  margin: 0;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Loading animation for coins display */
#user-coins-display {
  position: relative;
  min-height: 24px;
}

#user-coins-display:contains("در حال بارگذاری")::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid #667eea;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translateY(-50%) rotate(0deg); }
  100% { transform: translateY(-50%) rotate(360deg); }
}

/* Responsive design for login page */
@media (max-width: 768px) {
  .login-hero {
    margin: 8rem auto 2rem auto;
    padding: 2rem 1rem;
    border-radius: 1.5rem;
  }
  
  .login-hero h1 {
    font-size: 2rem;
  }
  
  .login-hero p {
    font-size: 1rem;
  }
  
  .auth-step {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
    border-radius: 1.5rem;
  }
  
  .auth-step h2 {
    font-size: 1.5rem;
  }
  
  .auth-step h3 {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  .login-content {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .login-hero h1 {
    font-size: 1.8rem;
  }
  
  .auth-step {
    padding: 1.5rem 1rem;
  }
  
  .auth-form input {
    padding: 0.8rem 1rem;
  }
  
  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* Floating particles animation */
.auth-step::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 8px;
  height: 8px;
  background: #667eea;
  border-radius: 50%;
  animation: floatParticle 4s ease-in-out infinite;
}

@keyframes floatParticle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.7; }
  50% { transform: translateY(-20px) scale(1.2); opacity: 1; }
}

/* Success checkmark animation */
.auth-step.success::before {
  content: '✓';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 30px;
  height: 30px;
  background: #38a169;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  animation: checkmark 0.5s ease-out;
}

@keyframes checkmark {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* === MODERN HEADER STYLES === */
.modern-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header Top Bar */
.header-top-bar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 0.8rem 0;
  position: relative;
  overflow: hidden;
}

.header-top-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.user-info-section {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.user-welcome, .guest-welcome {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.welcome-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
}

.user-name {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.guest-message {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.user-coins-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.user-coins-display:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.coins-icon {
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
  60% { transform: translateY(-3px); }
}

.coins-text {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.auth-actions {
  display: flex;
  gap: 1rem;
}

.auth-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.auth-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.auth-btn:hover::before {
  left: 100%;
}

.login-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.logout-btn {
  background: rgba(220, 53, 69, 0.8);
  color: #fff;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

.logout-btn:hover {
  background: rgba(220, 53, 69, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-icon {
  font-size: 1rem;
}

.btn-text {
  font-weight: 600;
}

/* Header Main */
.header-main {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.98);
}

.woocommerce img.logo-image, .woocommerce-page img.logo-image {
    height: 45px !important;
    max-width: 100%;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

/* Logo Section */
.logo-section {
  flex-shrink: 0;
}

.logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-image {
  height: 50px;
  width: auto;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.logo-container:hover .logo-image {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.logo-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #2d3748;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-subtitle {
  font-size: 0.8rem;
  color: #718096;
  font-weight: 500;
}

/* Navigation */
.main-navigation {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  color: #4a5568;
  text-decoration: none;
  font-weight: 600;
  border-radius: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  min-width: fit-content;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-link:hover::before {
  opacity: 1;
}

.nav-link:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.nav-icon {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.nav-link:hover .nav-icon {
  transform: scale(1.2);
}

.nav-text {
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
}

.menu-toggle-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.menu-toggle-btn:hover {
  background: rgba(102, 126, 234, 0.1);
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle-btn:hover .hamburger-line {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Mobile Menu Overlay - بهبود شده */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
	max-height: 100%;
	height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  overflow-x: hidden;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px; /* عرض پیش‌فرض برای تبلت */
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

/* بهبود responsive برای موبایل */
@media (max-width: 768px) {
  .mobile-menu-content {
    width: 85vw; /* 85% عرض viewport */
    right: 0;
    padding: 1.5rem;
  }
  
  .mobile-menu-header h3 {
    font-size: 1.2rem;
  }
  
  .mobile-nav-menu li a {
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .mobile-menu-content {
    width: 90vw; /* 90% عرض viewport */
    padding: 1.2rem;
  }
  
  .mobile-menu-header h3 {
    font-size: 1.1rem;
  }
  
  .mobile-nav-menu li a {
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .mobile-menu-content {
    width: 95vw; /* 95% عرض viewport */
    padding: 1rem;
  }
  
  .mobile-menu-header h3 {
    font-size: 1rem;
  }
  
  .mobile-nav-menu li a {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .mobile-menu-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
  }
}

@media (max-width: 360px) {
  .mobile-menu-content {
    width: 100vw; /* 100% عرض viewport */
    right: 0;
    left: 0;
    padding: 0.8rem;
  }
  
  .mobile-nav-menu li a {
    padding: 0.5rem 0.7rem;
    font-size: 0.85rem;
  }
  
  .mobile-menu-header {
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
  }
}

/* بهبود منوی موبایل برای RTL */
@media (max-width: 768px) {
  .mobile-menu-content {
    right: 0; /* برای RTL */
  }
}

/* بهبود انیمیشن منو */
.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateX(0);
}

/* بهبود backdrop برای موبایل */
@media (max-width: 480px) {
  .mobile-menu-overlay {
    background: rgba(0, 0, 0, 0.9); /* تاریک‌تر برای موبایل */
  }
  
  .mobile-menu-content {
    background: rgba(255, 255, 255, 0.98); /* شفاف‌تر */
  }
}

/* بهبود close button برای موبایل */
@media (max-width: 480px) {
  .close-menu-btn {
    font-size: 1.3rem;
    padding: 0.4rem;
  }
  
  .mobile-menu-header {
    gap: 0.5rem;
  }
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}

.mobile-menu-header h3 {
  color: #2d3748;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  margin-left: 24px !important;
}

.close-menu-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #718096;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-menu-btn:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-menu li a {
  display: block;
  padding: 1rem 1.5rem;
  color: #4a5568;
  text-decoration: none;
  font-weight: 600;
  border-radius: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.5);
}

.mobile-nav-menu li a:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  transform: translateX(-10px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Body padding for fixed header */
body {
  padding-top: 140px; /* Adjust based on header height */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .nav-menu {
    gap: 0.3rem;
  }
  
  .nav-link {
    padding: 0.6rem 1rem;
  }
  
  .nav-text {
    font-size: 0.9rem;
  }
  
  .nav-icon {
    font-size: 1rem;
  }
}

@media (max-width: 900px) {
  .nav-menu {
    gap: 0.2rem;
  }
  
  .nav-link {
    padding: 0.5rem 0.8rem;
  }
  
  .nav-text {
    font-size: 0.85rem;
  }
  
  .nav-icon {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .top-bar-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .user-info-section {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .main-navigation {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .logo-container {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .logo-title {
    font-size: 1.3rem;
  }
  
  body {
    padding-top: 180px;
  }
}

@media (max-width: 600px) {
  .nav-menu {
    gap: 0.15rem;
  }
  
  .nav-link {
    padding: 0.4rem 0.6rem;
  }
  
  .nav-text {
    font-size: 0.8rem;
  }
  
  .nav-icon {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .header-top-bar {
    padding: 0.6rem 0;
  }
  
  .header-main {
    padding: 0.8rem 0;
  }
  
  .logo-image {
    height: 40px;
  }
  
  .logo-title {
    font-size: 1.1rem;
  }
  
  .logo-subtitle {
    font-size: 0.7rem;
  }
  
  .mobile-menu-content {
    width: 100%;
  }
  
  body {
    padding-top: 160px;
  }
  
  .nav-menu {
    gap: 0.1rem;
  }
  
  .nav-link {
    padding: 0.3rem 0.5rem;
  }
  
  .nav-text {
    font-size: 0.75rem;
  }
  
  .nav-icon {
    font-size: 0.8rem;
  }
}

/* Scroll effect for header */
.modern-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Loading animation for coins */
.user-coins-display.loading .coins-text::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 8px;
}

/* Floating particles in header */
.modern-header::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 6px;
  height: 6px;
  background: #667eea;
  border-radius: 50%;
  animation: floatParticle 4s ease-in-out infinite;
  z-index: 1;
}

/* Success state for coins display */
.user-coins-display.success {
  background: rgba(56, 161, 105, 0.2);
  border-color: rgba(56, 161, 105, 0.3);
}

.user-coins-display.success .coins-icon {
  animation: successBounce 0.6s ease-out;
}

@keyframes successBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
} 

/* Cart page specific styles */
.dreamy-cart-container .modern-header .nav-menu {
  gap: 0.3rem;
}

.dreamy-cart-container .modern-header .nav-link {
  padding: 0.6rem 1rem;
}

.dreamy-cart-container .modern-header .nav-text {
  font-size: 0.9rem;
}

.dreamy-cart-container .modern-header .nav-icon {
  font-size: 1rem;
}

@media (max-width: 900px) {
  .dreamy-cart-container .modern-header .nav-menu {
    gap: 0.2rem;
  }
  
  .dreamy-cart-container .modern-header .nav-link {
    padding: 0.5rem 0.8rem;
  }
  
  .dreamy-cart-container .modern-header .nav-text {
    font-size: 0.85rem;
  }
  
  .dreamy-cart-container .modern-header .nav-icon {
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .dreamy-cart-container .modern-header .nav-menu {
    gap: 0.15rem;
  }
  
  .dreamy-cart-container .modern-header .nav-link {
    padding: 0.4rem 0.6rem;
  }
  
  .dreamy-cart-container .modern-header .nav-text {
    font-size: 0.8rem;
  }
  
  .dreamy-cart-container .modern-header .nav-icon {
    font-size: 0.85rem;
  }
}

/* Scroll effect for header */

/* General responsive navigation fixes */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 0.4rem;
  }
  
  .nav-link {
    padding: 0.7rem 1.1rem;
  }
  
  .nav-text {
    font-size: 0.92rem;
  }
  
  .nav-icon {
    font-size: 1.05rem;
  }
}

@media (max-width: 1100px) {
  .nav-menu {
    gap: 0.35rem;
  }
  
  .nav-link {
    padding: 0.65rem 1rem;
  }
  
  .nav-text {
    font-size: 0.88rem;
  }
  
  .nav-icon {
    font-size: 1rem;
  }
}

/* Cart page specific styles */
.cart-page .nav-menu {
  gap: 0.3rem !important;
}

.cart-page .nav-link {
  padding: 0.6rem 1rem !important;
}

.cart-page .nav-text {
  font-size: 0.9rem !important;
}

.cart-page .nav-icon {
  font-size: 1rem !important;
}

@media (max-width: 900px) {
  .cart-page .nav-menu {
    gap: 0.2rem !important;
  }
  
  .cart-page .nav-link {
    padding: 0.5rem 0.8rem !important;
  }
  
  .cart-page .nav-text {
    font-size: 0.85rem !important;
  }
  
  .cart-page .nav-icon {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 600px) {
  .cart-page .nav-menu {
    gap: 0.15rem !important;
  }
  
  .cart-page .nav-link {
    padding: 0.4rem 0.6rem !important;
  }
  
  .cart-page .nav-text {
    font-size: 0.8rem !important;
  }
  
  .cart-page .nav-icon {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 480px) {
  .cart-page .nav-menu {
    gap: 0.1rem !important;
  }
  
  .cart-page .nav-link {
    padding: 0.3rem 0.5rem !important;
  }
  
  .cart-page .nav-text {
    font-size: 0.75rem !important;
  }
  
  .cart-page .nav-icon {
    font-size: 0.8rem !important;
  }
}

/* Additional cart page navigation fixes */
.cart-page .modern-header .nav-menu {
  gap: 0.3rem !important;
}

.cart-page .modern-header .nav-link {
  padding: 0.6rem 1rem !important;
}

.cart-page .modern-header .nav-text {
  font-size: 0.9rem !important;
}

.cart-page .modern-header .nav-icon {
  font-size: 1rem !important;
}

/* Scroll effect for header */

/* Force proper navigation sizing on cart page */
body.cart-page .nav-menu,
body.cart-page .modern-header .nav-menu,
body.cart-page #menu-\%d9\%85\%d9\%86\%d9\%88 {
  gap: 0.3rem !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
}

body.cart-page .nav-menu li a {
  font-size: 0.9rem !important;
  padding: 0.6rem 1rem !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  min-width: fit-content !important;
}

body.cart-page .nav-link,
body.cart-page .modern-header .nav-link,
body.cart-page .nav-menu li a {
  padding: 0.6rem 1rem !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  min-width: fit-content !important;
  text-decoration: none !important;
  color: #4a5568 !important;
  border-radius: 1rem !important;
  transition: all 0.3s ease !important;
}

body.cart-page .nav-text,
body.cart-page .modern-header .nav-text {
  font-size: 0.9rem !important;
  flex-shrink: 0 !important;
}

body.cart-page .nav-icon,
body.cart-page .modern-header .nav-icon {
  font-size: 1rem !important;
  flex-shrink: 0 !important;
}

/* Specific targeting for cart page menu items */
body.cart-page .menu-item a,
body.cart-page .menu-item-113 a,
body.cart-page .menu-item-114 a,
body.cart-page .menu-item-142 a {
  padding: 0.6rem 1rem !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #4a5568 !important;
  text-decoration: none !important;
  border-radius: 1rem !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
  white-space: nowrap !important;
}

/* Responsive fixes for cart page */
@media (max-width: 900px) {
  body.cart-page .nav-menu,
  body.cart-page .modern-header .nav-menu,
  body.cart-page #menu-\%d9\%85\%d9\%86\%d9\%88 {
    gap: 0.2rem !important;
  }
  
  body.cart-page .nav-link,
  body.cart-page .modern-header .nav-link,
  body.cart-page .nav-menu li a,
  body.cart-page .menu-item a {
    padding: 0.5rem 0.8rem !important;
    font-size: 0.85rem !important;
  }
  
  body.cart-page .nav-text,
  body.cart-page .modern-header .nav-text {
    font-size: 0.85rem !important;
  }
  
  body.cart-page .nav-icon,
  body.cart-page .modern-header .nav-icon {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 600px) {
  body.cart-page .nav-menu,
  body.cart-page .modern-header .nav-menu,
  body.cart-page #menu-\%d9\%85\%d9\%86\%d9\%88 {
    gap: 0.15rem !important;
  }
  
  body.cart-page .nav-link,
  body.cart-page .modern-header .nav-link,
  body.cart-page .nav-menu li a,
  body.cart-page .menu-item a {
    padding: 0.4rem 0.6rem !important;
    font-size: 0.8rem !important;
  }
  
  body.cart-page .nav-text,
  body.cart-page .modern-header .nav-text {
    font-size: 0.8rem !important;
  }
  
  body.cart-page .nav-icon,
  body.cart-page .modern-header .nav-icon {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 480px) {
  body.cart-page .nav-menu,
  body.cart-page .modern-header .nav-menu,
  body.cart-page #menu-\%d9\%85\%d9\%86\%d9\%88 {
    gap: 0.1rem !important;
  }
  
  body.cart-page .nav-link,
  body.cart-page .modern-header .nav-link,
  body.cart-page .nav-menu li a,
  body.cart-page .menu-item a {
    padding: 0.3rem 0.5rem !important;
    font-size: 0.75rem !important;
  }
  
  body.cart-page .nav-text,
  body.cart-page .modern-header .nav-text {
    font-size: 0.75rem !important;
  }
  
  body.cart-page .nav-icon,
  body.cart-page .modern-header .nav-icon {
    font-size: 0.8rem !important;
  }
}

/* Cart page specific styles */

/* Simple cart page menu fix */
body.cart-page .nav-menu li a {
  font-size: 0.9rem !important;
  padding: 0.6rem 1rem !important;
  font-weight: 600 !important;
  color: #4a5568 !important;
  text-decoration: none !important;
  border-radius: 1rem !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
  white-space: nowrap !important;
}

body.cart-page .nav-menu {
  gap: 0.3rem !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
}

@media (max-width: 900px) {
  body.cart-page .nav-menu li a {
    font-size: 0.85rem !important;
    padding: 0.5rem 0.8rem !important;
  }
  
  body.cart-page .nav-menu {
    gap: 0.2rem !important;
  }
}

@media (max-width: 600px) {
  body.cart-page .nav-menu li a {
    font-size: 0.8rem !important;
    padding: 0.4rem 0.6rem !important;
  }
  
  body.cart-page .nav-menu {
    gap: 0.15rem !important;
  }
}

@media (max-width: 480px) {
  body.cart-page .nav-menu li a {
    font-size: 0.75rem !important;
    padding: 0.3rem 0.5rem !important;
  }
  
  body.cart-page .nav-menu {
    gap: 0.1rem !important;
  }
}

/* Cart page specific styles */

.download-app {
  margin: 30px 0;
  text-align: center;
}
.download-button {
  display: inline-block;
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: #fff;
  padding: 16px 32px;
  border-radius: 40px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(102,126,234,0.15);
  transition: background 0.3s;
}
.download-button:hover {
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
  color: #fff;
}

.auth-form select {
  padding: 1rem 1.5rem;
  border: 2px solid #e2e8f0;
  border-radius: 1rem;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 3rem;
}

.auth-form select:focus {
  outline: none;
  border-color: #667eea;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.auth-form select option {
  background: #fff;
  color: #4a5568;
  padding: 0.5rem;
}

.auth-form input::placeholder {
  color: #a0aec0;
  font-weight: 400;
}

/* === DOWNLOAD APP SECTION STYLES === */
.download-app-section {
  margin: 3rem auto;
  max-width: 1000px;
  padding: 0 2rem;
}

.download-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  padding: 3rem 2.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.download-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.download-title {
  color: #2d3748;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.download-subtitle {
  color: #718096;
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
  line-height: 1.6;
}

.download-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-radius: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 280px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.download-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.download-btn:hover::before {
  left: 100%;
}

.android-btn {
  background: linear-gradient(135deg, #3ddc84 0%, #2bb673 100%);
  color: white;
  border: none;
  cursor: pointer;
}

.android-btn:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(61, 220, 132, 0.3);
}

.ios-btn {
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  color: white;
  cursor: default;
  position: relative;
}

.ios-btn.coming-soon {
  opacity: 0.8;
}

.btn-icon {
  font-size: 2rem;
  flex-shrink: 0;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
  60% { transform: translateY(-3px); }
}

.btn-content {
  flex: 1;
  text-align: right;
}

.btn-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.btn-subtitle {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 500;
}

.btn-arrow {
  font-size: 1.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.btn-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.download-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.8);
  padding: 1rem 1.5rem;
  border-radius: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.95);
}

.feature-icon {
  font-size: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

.feature-text {
  color: #4a5568;
  font-weight: 600;
  font-size: 1rem;
}

/* Responsive Design for Download Section */
@media (max-width: 768px) {
  .download-app-section {
    margin: 2rem auto;
    padding: 0 1rem;
  }
  
  .download-container {
    padding: 2rem 1.5rem;
    border-radius: 2rem;
  }
  
  .download-title {
    font-size: 2rem;
  }
  
  .download-subtitle {
    font-size: 1.1rem;
  }
  
  .download-buttons {
	  margin: 0 1rem 2.5rem 1rem;
	  gap: 1.5rem;
  }
  
  .download-btn {
    min-width: 100%;
    padding: 1.2rem 1.5rem;
  }
  
  .download-features {
    flex-direction: column;
    gap: 1rem;
  }
  
  .feature-item {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .download-container {
    padding: 1.5rem 1rem;
  }
  
  .download-title {
    font-size: 1.8rem;
  }
  
  .download-subtitle {
    font-size: 1rem;
  }
  
  .download-btn {
    padding: 1rem 1.2rem;
  }
  
  .btn-icon {
    font-size: 1.5rem;
  }
  
  .btn-title {
    font-size: 1rem;
  }
  
  .btn-subtitle {
    font-size: 0.8rem;
  }
}

/* Download Message Animation */
.download-message {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
  z-index: 1000;
  font-weight: 600;
  animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}