/* Base Styles */
:root {
  --primary-color: #ff6b35;
  --secondary-color: #4a90e2;
  --accent-color: #50c878;
  --dark-color: #2c3e50;
  --light-color: #f8f9fa;
  --gray-color: #888888;
  --border-radius: 12px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: #fafafa;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

p {
  margin-bottom: 1rem;
  color: #555;
}

a {
  text-decoration: none;
  color: var(--dark-color);
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
  background: #e55a2a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-tiktok {
  background: linear-gradient(45deg, #00f2ea, #ff0050);
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(255, 0, 80, 0.3);
}

.btn-tiktok:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 80, 0.4);
}

.btn-tiktok .channel-name {
  font-size: 0.85rem;
  opacity: 0.9;
}

.btn-support {
  background: var(--accent-color);
  color: white;
  box-shadow: 0 4px 15px rgba(80, 200, 120, 0.3);
}

.btn-support:hover {
  background: #3da862;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(80, 200, 120, 0.4);
}

.donate-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.donate-buttons-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

/* Header */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 200px;
  
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-color);
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav a {
  font-weight: 500;
  color: var(--gray-color);
  position: relative;
}

.nav a:hover {
  color: var(--primary-color);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, #fff5f0 0%, #f0f8ff 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #666;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-slider {
  position: relative;
  min-height: 360px;
}

.hero-slider-track {
  position: relative;
  min-height: 310px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.hero-slide-link {
  display: block;
}

.hero-slide-visual {
  padding: 0;
  border-radius: 28px;
  color: white;
  min-height: 290px;
  box-shadow: 0 20px 45px rgba(44, 62, 80, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.hero-slide-visual::before,
.hero-slide-visual::after {
  content: none;
}

.hero-slide-badge {
  position: relative;
  z-index: 1;
}

.hero-slide-image {
  width: 100%;
  height: 290px;
  min-height: 290px;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.hero-slide-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: absolute;
  top: 1rem;
  left: 1rem;
}
.hero-slide-link:hover .hero-slide-visual {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(44, 62, 80, 0.22);
}

.hero-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-slider-button,
.hero-slider-dot {
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.hero-slider-button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: white;
  color: var(--dark-color);
  box-shadow: 0 10px 25px rgba(44, 62, 80, 0.12);
  font-size: 1.6rem;
  line-height: 1;
}

.hero-slider-button:hover {
  transform: translateY(-2px);
  color: var(--primary-color);
}

.hero-slider-dots {
  display: flex;
  gap: 0.6rem;
}

.hero-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(44, 62, 80, 0.18);
}

.hero-slider-dot.is-active {
  width: 32px;
  border-radius: 999px;
  background: var(--primary-color);
}

/* Sections */
.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* Tools Section */
.tools-section {
  padding: 5rem 0;
  background: white;
}

.tools-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 0 0 2.5rem;
  flex-wrap: wrap;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.tool-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid #eee;
}

.tool-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.tool-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
}

.tool-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.tool-card p {
  color: #666;
  font-size: 0.95rem;
}

/* Projects Section */
.projects-section {
  padding: 5rem 0;
  background: #f8f9fa;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.project-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid #eee;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.project-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 144, 226, 0.1);
  border-radius: 50%;
  color: var(--secondary-color);
}

.project-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.project-card p {
  color: #666;
  font-size: 0.95rem;
}

.project-card-link,
.tool-card.project-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.project-thumb {
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 1.25rem;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff5f0 0%, #f0f8ff 100%);
  box-shadow: inset 0 0 0 1px rgba(44, 62, 80, 0.06);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
}

.project-card-link p {
  margin-bottom: 0;
}

/* Blog Section */
.blog-section {
  padding: 5rem 0;
  background: white;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-post {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  border: 1px solid #eee;
  transition: var(--transition);
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.blog-post h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.blog-post p {
  color: #666;
  font-size: 0.95rem;
}

/* Support Section */
.support-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #fff5f0 0%, #f0f8ff 100%);
  text-align: center;
}

.support-content {
  max-width: 600px;
  margin: 0 auto;
}

.support-content h2 {
  margin-bottom: 1rem;
}

.support-content p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Ads Section */
.ads-section {
  padding: 3rem 0;
  background: #f0f0f0;
}

.ad-banner {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
  border: 1px dashed #ddd;
}

.top-banner {
  background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
}

.middle-banner {
  background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
}

.bottom-banner {
  background: linear-gradient(135deg, #d4fc79 0%, #96e6a1 100%);
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: white;
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer p {
  margin-bottom: 1.5rem;
  color: #aaa;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  color: #aaa;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-slider {
    min-height: 340px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav ul {
    gap: 1rem;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-slider-track {
    min-height: 320px;
  }

  .hero-slide-visual {
    min-height: 280px;
  }

  .hero-slide-image {
    height: 280px;
    min-height: 280px;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }

  .tools-cta {
    flex-direction: column;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .container {
    width: 95%;
  }
  
  h1 {
    font-size: 1.6rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .tools-grid,
  .projects-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .project-thumb {
    aspect-ratio: 4 / 3;
    padding: 0.6rem;
  }

  .hero-slider {
    min-height: 330px;
  }

  .hero-slider-track {
    min-height: 290px;
  }

  .hero-slide-image {
    height: 250px;
    min-height: 250px;
  }
}

.hero p{
color:#666;
}

.buttons{
margin-top:20px;
}

.btn{
background:#ffc933;
padding:12px 20px;
border-radius:8px;
text-decoration:none;
color:#222;
margin-right:10px;
font-weight:bold;
}

.secondary{
background:#eee;
}

.ad{
text-align:center;
padding:30px;
background:#f0f0f0;
margin:40px;
border-radius:10px;
}

section{
padding:40px;
}

.card-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
margin-top:20px;
}

.card{
background:white;
padding:20px;
border-radius:12px;
text-decoration:none;
color:#222;
box-shadow:0 4px 10px rgba(0,0,0,0.05);
}

.card:hover{
transform:translateY(-3px);
}

.blog ul{
margin-top:20px;
}

.support{
text-align:center;
background:#fff8e1;
border-radius:12px;
margin:40px;
}

.footer{
background:#111;
color:white;
text-align:center;
padding:30px;
}

.footer-links a{
color:white;
margin:0 10px;
text-decoration:none;
}


/* Shoppee Products */

.affiliate-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
gap:20px;
margin:30px 0;
}

.affiliate-card{
border:1px solid #eee;
border-radius:10px;
padding:10px;
background:white;
text-align:center;
transition:0.2s;
}

.affiliate-card:hover{
transform:translateY(-4px);
box-shadow:0 4px 12px rgba(0,0,0,0.1);
}

.affiliate-card img{
width:100%;
border-radius:8px;
}

.price{
color:#ff5722;
font-weight:bold;
}

.buy-btn{
display:inline-block;
margin-top:8px;
padding:6px 12px;
background:#ff5722;
color:white;
border-radius:6px;
text-decoration:none;
}
