@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap");

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

body {
  font-family:
    "DM Sans",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2d2d2d;
  background: #fafafa;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s;
}

a:hover {
  color: #666;
}

.at-container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 30px;
}

.at-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.at-header .at-container {
  display: flex;
  align-items: center;
  padding: 0 30px;
  height: 80px;
  gap: 50px;
}

.at-logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 36px;
  letter-spacing: 3px;
  color: #fff;
}

.at-nav {
  display: flex;
  gap: 8px;
}

.at-nav a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.5px;
  border-radius: 30px;
  transition: all 0.3s;
}

.at-nav a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.at-search {
  margin-left: auto;
}

.at-search form {
  display: flex;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 40px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.at-search input {
  width: 200px;
  padding: 12px 20px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  background: transparent;
  border: none;
  color: #fff;
  outline: none;
}

.at-search input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.at-search button {
  padding: 12px 20px;
  background: #fff;
  border: none;
  color: #764ba2;
  font-size: 16px;
  cursor: pointer;
}

.at-main {
  padding: 60px 0;
  min-height: calc(100vh - 160px);
}

.at-main .at-container {
  display: flex;
  gap: 60px;
}

.at-content {
  flex: 1;
  min-width: 0;
}

.at-breadcrumb {
  font-size: 13px;
  color: #999;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.at-breadcrumb a {
  color: #764ba2;
}

.at-articles {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.at-article {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.4s,
    box-shadow 0.4s;
}

.at-article:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

.at-article-img {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.at-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.at-article:hover .at-article-img img {
  transform: scale(1.08);
}

.at-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.at-article-body {
  padding: 35px;
}

.at-article-meta {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: #999;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.at-cat {
  color: #764ba2;
  font-weight: 600;
}

.at-date {
  color: #aaa;
}

.at-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 32px;
  letter-spacing: 1px;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #1a1a1a;
}

.at-title a {
  color: #1a1a1a;
}

.at-title a:hover {
  color: #764ba2;
}

.at-excerpt {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 22px;
}

.at-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #764ba2;
  letter-spacing: 0.5px;
}

.at-more:hover {
  gap: 14px;
  color: #667eea;
}

.at-pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 60px;
  padding-top: 40px;
}

.at-pagination a,
.at-pagination span {
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 40px;
  transition: all 0.3s;
}

.at-pagination a {
  background: #fff;
  color: #666;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.at-pagination a:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  box-shadow: 0 8px 25px rgba(118, 75, 162, 0.3);
}

.at-current {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.at-sidebar {
  width: 300px;
  flex-shrink: 0;
}

.at-widget {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.at-widget h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  color: #1a1a1a;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.at-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.at-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf3 100%);
  color: #555;
  border-radius: 30px;
  border: 1px solid #e8e8e8;
}

.at-tag:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-color: transparent;
}

.at-tag span {
  font-size: 11px;
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 8px;
  border-radius: 10px;
}

.at-tag:hover span {
  background: rgba(255, 255, 255, 0.2);
}

.at-hot,
.at-links {
  list-style: none;
}

.at-hot li,
.at-links li {
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
}

.at-hot li:last-child,
.at-links li:last-child {
  border-bottom: none;
}

.at-hot li a,
.at-links li a {
  color: #555;
  display: flex;
  align-items: center;
  gap: 10px;
}

.at-hot li a::before {
  content: "◆";
  font-size: 8px;
  color: #764ba2;
}

.at-hot li a:hover,
.at-links li a:hover {
  color: #764ba2;
}

.at-footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  padding: 80px 0;
}

.at-footer-inner {
  text-align: center;
}

.at-footer-logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 48px;
  letter-spacing: 5px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.at-footer p {
  font-size: 13px;
  color: #666;
  letter-spacing: 0.5px;
}

.at-post {
  background: #fff;
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.at-post-header {
  margin-bottom: 35px;
  padding-bottom: 30px;
  border-bottom: 2px solid #f5f5f5;
}

.at-post-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 48px;
  letter-spacing: 2px;
  line-height: 1.1;
  color: #1a1a1a;
  margin-bottom: 18px;
}

.at-post-meta {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.at-post-meta .at-cat {
  color: #764ba2;
}

.at-post-img {
  margin-bottom: 40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.at-post-img img {
  width: 100%;
  height: auto;
  display: block;
}

.at-post-body {
  font-size: 17px;
  line-height: 2;
  color: #444;
}

.at-post-body p {
  margin-bottom: 28px;
}

.at-post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid #f5f5f5;
  font-size: 13px;
}

.at-post-tags strong {
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.at-post-tags a {
  padding: 8px 18px;
  font-size: 13px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf3 100%);
  color: #555;
  border-radius: 30px;
  border: 1px solid #e8e8e8;
}

.at-post-tags a:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-color: transparent;
}

.at-postnav {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid #f5f5f5;
}

.at-prev,
.at-next {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 28px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf3 100%);
  border-radius: 16px;
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex: 1;
}

.at-prev span,
.at-next span {
  font-family: "Bebas Neue", sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  color: #1a1a1a;
}

.at-next {
  text-align: right;
}

.at-prev:hover,
.at-next:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.at-prev:hover span,
.at-next:hover span {
  color: #fff;
}

.at-related {
  margin-top: 50px;
}

.at-related h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  letter-spacing: 2px;
  color: #1a1a1a;
  margin-bottom: 25px;
}

.at-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.at-related-grid a {
  padding: 20px;
  font-size: 14px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf3 100%);
  color: #555;
  border-radius: 14px;
  text-align: center;
  border: 1px solid #e8e8e8;
}

.at-related-grid a:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-color: transparent;
}

.at-error-page {
  display: flex;
  align-items: center;
  justify-content: center;
}

.at-error {
  text-align: center;
  background: #fff;
  padding: 80px;
  border-radius: 30px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
}

.at-error-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 160px;
  line-height: 1;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.at-error h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 36px;
  letter-spacing: 3px;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.at-error p {
  font-size: 16px;
  color: #999;
  margin-bottom: 35px;
}

.at-btn {
  display: inline-block;
  padding: 16px 45px;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 40px;
  letter-spacing: 1px;
}

.at-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(118, 75, 162, 0.35);
  color: #fff;
}

@media (max-width: 950px) {
  .at-header .at-container {
    flex-wrap: wrap;
    height: auto;
    padding: 20px 30px;
    gap: 20px;
  }

  .at-search {
    margin-left: 0;
    width: 100%;
  }

  .at-search input {
    width: 100%;
  }

  .at-main .at-container {
    flex-direction: column;
  }

  .at-sidebar {
    width: 100%;
  }

  .at-post {
    padding: 30px;
  }

  .at-post-title {
    font-size: 32px;
  }

  .at-postnav {
    flex-direction: column;
  }
}
