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

html,
body {
  min-height: 100vh;
  width: 100%;
}

.blog-index-page {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%, #0a0a0a 100%);
  background-image: radial-gradient(circle at 25% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%), radial-gradient(circle at 75% 25%, rgba(139, 92, 246, 0.05) 0%, transparent 40%), url('/static/Shinobi%20domain%202.jpg?v=2');
  background-attachment: fixed;
  background-blend-mode: overlay, overlay, normal;
  background-color: #000;
  background-position: center, center, 75% center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: 100% 100%, 100% 100%, cover;
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.blog-index-page header {
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid rgba(255, 107, 53, 0.2);
  padding: 2rem;
  text-align: center;
}

.blog-logo-img {
  filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
  margin-bottom: 1rem;
  max-height: 80px;
  transition: filter 0.3s ease, transform 0.3s ease;
  width: auto;
}

.blog-logo-img:hover {
  filter: drop-shadow(0 0 25px rgba(255, 107, 53, 0.7));
  transform: scale(1.05);
}

.blog-index-page nav ul,
.blog-article-page nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.blog-index-page nav ul {
  flex-wrap: wrap;
  justify-content: center;
}

.blog-index-page nav a,
.blog-article-page nav a {
  text-decoration: none;
  transition: color 0.3s;
}

.blog-index-page nav a {
  color: #ccc;
  font-size: 1.1rem;
}

.blog-index-page nav a:hover,
.blog-index-page nav a.active {
  color: #FF6B35;
}

.blog-language-wrap {
  margin-top: 1rem;
}

.blog-language-select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

.blog-index-page main {
  margin: 0 auto;
  max-width: 1200px;
  padding: 3rem 2rem;
}

.hero {
  padding: 3rem 0 4rem;
  text-align: center;
}

.hero h1 {
  background: linear-gradient(45deg, #FFD700, #FF6B35);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  color: #ccc;
  font-size: 1.3rem;
  margin: 0 auto;
  max-width: 700px;
}

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

.blog-post {
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.blog-post:hover {
  border-color: #FF6B35;
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.3);
  transform: translateY(-5px);
}

.blog-post h2 {
  color: #FFD700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.blog-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-title-link:hover,
.blog-title-link:focus-visible {
  color: #FF6B35;
}

.meta {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.blog-post p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.read-more {
  color: #FF6B35;
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.read-more:hover {
  color: #FFD700;
}

.blog-index-page .cta {
  background: rgba(255, 107, 53, 0.1);
  border: 2px solid rgba(255, 107, 53, 0.3);
  border-radius: 12px;
  margin-bottom: 3rem;
  padding: 3rem;
  text-align: center;
}

.blog-index-page .cta h2 {
  color: #FFD700;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.blog-index-page .cta p {
  color: #ccc;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.blog-index-page .cta-button {
  background: linear-gradient(135deg, #FF6B35, #FFA500);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  color: white;
  display: inline-block;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 1rem 2.5rem;
  text-decoration: none;
}

.blog-index-page .cta-button:hover {
  box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
  transform: scale(1.05);
}

.blog-index-page footer {
  background: rgba(0, 0, 0, 0.9);
  border-top: 1px solid rgba(255, 107, 53, 0.2);
  color: #999;
  padding: 2rem;
  text-align: center;
}

.blog-footer-logo {
  filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.3));
  margin-bottom: 1rem;
  max-height: 60px;
}

.footer-links,
.blog-footer-links,
.article-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.blog-footer-link {
  color: #FF6B35;
  text-decoration: none;
}

.blog-footer-link:hover {
  color: #FFD700;
}

.blog-article-page {
  background: #f5f5f5;
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
}

.blog-article-page header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: white;
  padding: 1rem 0;
}

.blog-article-page nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 2rem;
}

.logo {
  color: #FF6B35;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
}

.blog-article-page nav a {
  color: white;
}

.blog-article-page nav a:hover {
  color: #FF6B35;
}

.article-header {
  background: linear-gradient(135deg, #FF6B35 0%, #ff8c5a 100%);
  color: white;
  padding: 4rem 2rem 3rem;
  text-align: center;
}

.article-header h1 {
  font-size: 2.5rem;
  margin: 0 auto 1rem;
  max-width: 900px;
}

.article-meta,
.article-header p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.blog-article-page article {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin: -2rem auto 4rem;
  max-width: 800px;
  padding: 3rem;
}

.blog-article-page article h2 {
  color: #1a1a1a;
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
}

.blog-article-page article h3 {
  color: #2d2d2d;
  font-size: 1.3rem;
  margin: 1.5rem 0 0.5rem;
}

.blog-article-page article p {
  color: #444;
  margin-bottom: 1rem;
}

.blog-article-page article ul,
.blog-article-page article ol {
  margin: 1rem 0 1rem 2rem;
}

.blog-article-page article li {
  margin-bottom: 0.5rem;
}

.highlight-box {
  background: #fff8f0;
  border-left: 4px solid #FF6B35;
  border-radius: 4px;
  margin: 2rem 0;
  padding: 1.5rem;
}

.warning-box {
  background: #fee;
  border-left: 4px solid #e53;
  border-radius: 4px;
  margin: 2rem 0;
  padding: 1.5rem;
}

.example-box {
  background: #f0f9ff;
  border: 1px solid #3b82f6;
  border-radius: 4px;
  margin: 2rem 0;
  padding: 1.5rem;
}

.code-box {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  margin: 1rem 0;
  overflow-x: auto;
  padding: 1rem;
}

.cta-box {
  background: linear-gradient(135deg, #FF6B35 0%, #ff8c5a 100%);
  border-radius: 8px;
  color: white;
  margin: 3rem 0;
  padding: 2rem;
  text-align: center;
}

.cta-box h3,
.cta-box p {
  color: white;
}

.cta-box h3 {
  margin-bottom: 1rem;
}

.cta-button {
  border-radius: 50px;
  display: inline-block;
  font-weight: bold;
  margin-top: 1rem;
  padding: 1rem 2rem;
  text-decoration: none;
  transition: transform 0.3s;
}

.blog-article-page .cta-button {
  background: white;
  color: #FF6B35;
}

.cta-button:hover {
  transform: scale(1.05);
}

.internal-link {
  border-bottom: 1px solid transparent;
  color: #FF6B35;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.3s;
}

.internal-link:hover {
  border-bottom-color: #FF6B35;
}

.comparison-table {
  border-collapse: collapse;
  display: block;
  margin: 2rem 0;
  overflow-x: auto;
  width: 100%;
}

.comparison-table table {
  min-width: 600px;
  width: 100%;
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem;
  text-align: left;
}

.comparison-table th {
  background: #f8f8f8;
  color: #1a1a1a;
  font-weight: 600;
}

.comparison-table tr:hover {
  background: #fafafa;
}

.tld-badge {
  background: #FF6B35;
  border-radius: 4px;
  color: white;
  display: inline-block;
  font-weight: 600;
  margin: 0.25rem;
  padding: 0.25rem 0.75rem;
}

.tld-badge-net { background: #3b82f6; }
.tld-badge-ai { background: #8b5cf6; }
.tld-badge-io { background: #14b8a6; }
.tld-badge-dev { background: #10b981; }
.tld-badge-app { background: #f59e0b; }
.tld-badge-tech { background: #6366f1; }
.tld-badge-co { background: #ec4899; }

.pro {
  color: #10b981;
  font-weight: 600;
}

.con {
  color: #ef4444;
  font-weight: 600;
}

.blog-ad {
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #666;
  margin: 2rem 0;
  padding: 1.5rem;
  text-align: center;
}

.blog-article-page footer {
  background: #1a1a1a;
  color: white;
  margin-top: 4rem;
  padding: 2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-index-page nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .article-header h1 {
    font-size: 1.8rem;
  }

  .blog-article-page article {
    margin: -1rem 1rem 2rem;
    padding: 2rem 1.5rem;
  }

  .blog-article-page nav {
    flex-direction: column;
    gap: 1rem;
  }

  .blog-article-page nav ul {
    gap: 1rem;
  }
}
