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

body {
    width: 100vw;
    height: calc(var(--vh, 1vh) * 100);
    color: white;
    z-index: 99;
    margin: 0px auto;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}


/* 3D Canvas Container */
#threejs-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

#threejs-bg canvas {
    width: 100vw !important;
    height: 100vh !important;
    display: block;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(9, 174, 184, 0.1) 0%, 
        rgba(5, 6, 15, 0.8) 50%, 
        rgba(9, 174, 184, 0.05) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(9, 174, 184, 0.2);
    opacity: 0;
    transition: all 0.5s ease;
}


.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 4rem;
    position: relative;
    z-index: 2;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #09AEB8, #ffffff, #09AEB8);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoShimmer 3s ease-in-out infinite;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #09AEB8, #ffffff);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(9, 174, 184, 0.5));
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    background: rgba(9, 174, 184, 0.1);
    border-radius: 50px;
    padding: 0.5rem !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(9, 174, 184, 0.2);
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(9, 174, 184, 0.3), 
        transparent);
    transition: left 0.5s ease;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(9, 174, 184, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(9, 174, 184, 0.3);
}

/* Navigation Click Effects */
.nav-links a.clicked {
    animation: navClickEffect 0.6s ease-out;
}

@keyframes navClickEffect {
    0% {
        transform: translateY(-2px) scale(1);
        box-shadow: 0 5px 15px rgba(9, 174, 184, 0.3);
    }
    25% {
        transform: translateY(-2px) scale(1.1);
        box-shadow: 0 10px 30px rgba(9, 174, 184, 0.6);
    }
    50% {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 15px 40px rgba(9, 174, 184, 0.8);
    }
    100% {
        transform: translateY(-2px) scale(1);
        box-shadow: 0 5px 15px rgba(9, 174, 184, 0.3);
    }
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(9, 174, 184, 0.2);
    transform: scale(1.1);
}

.nav-toggle:focus {
    background: rgba(9, 174, 184, 0.2);
    color: white;
    outline: 2px solid #09AEB8;
    outline-offset: 2px;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 50;
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
}

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

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(45deg, #09AEB8, #ffffff, #40E0D0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

.page-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 1s ease 0.2s backwards;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

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

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(9, 174, 184, 0.1);
        flex-direction: column;
        width: 100%;
        padding: 0.5rem 2rem;
        border-radius: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index:999;
    }

    .hero-content{
        z-index:1;
    }

    .nav-links li {
        width: 100%;
        margin: 0.5rem 0;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 1rem;
        border-radius: 0;
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.85);
        transition: all 0.3s ease;
    }

    .nav-links a:hover {
        background: rgba(9, 174, 184, 0.2);
        color: #fff;
        box-shadow: inset 0 0 10px rgba(9, 174, 184, 0.5);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-toggle {
        display: block;
    }
}


.single-article {
  width: 100%;
  margin: 0 auto;
}

.article-hero img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 40px;
}

.article-content {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  line-height: 1.8;
}

.article-content h2,
.article-content h3 {
  color: #09AEB8;
  margin-top: 40px;
}

.article-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0.5rem !important;
}

.article-meta .article-category {
    margin-left: 0.5rem;
}

.article-meta .article-category a {
    color: white !important;
    text-decoration: none !important;
    margin-right: 0.5rem;
    transition: color 0.3s ease;
}

.article-meta .article-category a:hover {
    color: #09AEB8 !important;
    text-decoration: underline;
}

#ast-mobile-header {
    display: none !important;
}

#ast-scroll-top {
    display: none !important;
}

.category-header {
    text-align: center !important;
    padding: 80px 20px 60px;
    max-width: 900px;
    margin: 0 auto;
}

.category-header .page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.category-description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Grid */
.category-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* Card */
.category-article {
    background: rgba(9, 174, 184, 0.08);
    border: 1px solid rgba(9, 174, 184, 0.25);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
    animation: fadeInUp 0.8s ease backwards;
}

.category-article:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(9, 174, 184, 0.25);
    border-color: #09AEB8;
    background: rgba(9, 174, 184, 0.12);
}

/* Link reset */
.category-article a {
    display: block;
    color: inherit;
    text-decoration: none !important;
    height: 100%;
}

/* Thumbnail */
.article-thumb {
    background: linear-gradient(135deg, rgba(9, 174, 184, 0.2), rgba(64, 224, 208, 0.1));
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.article-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.article-icon {
    font-size: 4rem;
    color: #09AEB8;
    transition: all 0.5s ease;
}

.category-article:hover .article-icon {
    transform: scale(1.2) rotate(10deg);
}

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

.article-body {
    padding: 2rem;
}

.article-category {
    display: inline-block;
    background: rgba(9, 174, 184, 0.2);
    color: #09AEB8;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(9, 174, 184, 0.3);
}

.article-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-excerpt {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(9, 174, 184, 0.2);
}

.article-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.article-read-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-link {
    color: #09AEB8 !important;
    text-decoration: none !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.article-link:hover {
    gap: 10px;
    color: white !important;
}

.article-link:visited {
    color: #09AEB8;
}

.article-link i {
    transition: transform 0.3s ease;
}

.article-link:hover i {
    transform: translateX(3px);
}


/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {

    .category-header {
        padding: 60px 15px 40px;
    }

    .category-header .page-title {
        font-size: 2.4rem;
    }
}

.navigation.pagination {
    margin-top: 80px;
    text-align: center;
}

.nav-links {
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-numbers {
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(9, 174, 184, 0.12);
    color: white !important;
    text-decoration: none !important;
    font-weight: 500;
    border: 1px solid rgba(9, 174, 184, 0.25);
    transition: all 0.3s ease;
}

.page-numbers:hover {
    background: rgba(9, 174, 184, 0.35);
    transform: translateY(-3px);
}

.page-numbers.current {
    background: linear-gradient(45deg, #09AEB8, #40E0D0);
    color: #000 !important;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(9, 174, 184, 0.6);
}