:root {
    --black: #000000;
    --dark-gray: #121212;
    --gray: #1E1E1E;
    --light-gray: #2E2E2E;
    --lighter-gray: #3E3E3E;
    --white: #FFFFFF;
    --off-white: #F0F0F0;
    --accent: rgba(255, 255, 255, 0.1);
    --accent-hover: rgba(255, 255, 255, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --glow: 0 0 10px rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

header.hidden {
    transform: translateY(-100%);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.logo:hover img {
    transform: rotate(15deg);
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 400;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
    font-size: 0.95rem;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--white);
}

nav a.active {
    color: var(--white);
    font-weight: 500;
}

nav a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), 
                url('main.png') no-repeat center center/cover;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -1px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
    justify-content: center;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background-color: var(--black);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--gray);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    box-shadow: var(--glow);
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    background-color: var(--light-gray);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--white);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--white);
    font-weight: 500;
}

.feature-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Studio Section */
.studio-section {
    padding: 6rem 0;
    background-color: var(--dark-gray);
}

.studio-category {
    margin-bottom: 4rem;
}

.studio-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--white);
    font-weight: 500;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.team-card {
    background-color: var(--gray);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    text-align: center;
    box-shadow: var(--glow);
}

.team-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    background-color: var(--light-gray);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-avatar.placeholder {
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
}

.team-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--white);
}

.team-role {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.team-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Posts Section */
.posts-section {
    padding: 6rem 0;
    position: relative;
    background-color: var(--black);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.post-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.post-link:hover {
    transform: scale(1.02);
}

.post-link:hover .post-card {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.post-card {
    background-color: var(--gray);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--glow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
    background-color: var(--light-gray);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.post-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.post-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

.post-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--white);
    font-weight: 500;
    line-height: 1.4;
}

.post-text {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

.post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.tag:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background-color: var(--dark-gray);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--gray);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--white);
}

.faq-question i {
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.faq-item.active .faq-question {
    background-color: rgba(255, 255, 255, 0.03);
}

.faq-item.active .faq-question h3 {
    font-weight: 500;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.answer-content {
    padding: 0 20px 20px;
    display: flex;
    align-items: center;
    min-height: 80px;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Update Detail Page Styles */
.update-detail-section {
    position: relative;
    padding: 6rem 0;
    min-height: 100vh;
}

.update-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

.update-panel {
    background-color: rgba(30, 30, 30, 0.9);
    border-radius: 12px;
    padding: 3rem;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.update-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.update-badge {
    display: inline-block;
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.update-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    background: linear-gradient(45deg, #ffffff, #aaaaaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.update-meta {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 1rem;
}

.update-meta i {
    margin-right: 5px;
}

.update-content {
    max-width: 900px;
    margin: 0 auto;
}

.update-featured-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.update-text h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.update-text h2 i {
    color: rgba(255, 255, 255, 0.3);
}

.update-text p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
}

.update-text ul {
    margin-bottom: 2rem;
    padding-left: 20px;
    list-style-type: none;
}

.update-text li {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-left: 25px;
    font-size: 1.05rem;
}

.update-text li:before {
    content: '•';
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -3px;
}

.update-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 3rem 0;
}

.gallery-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-item p {
    padding: 15px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.update-footer {
    margin-top: 3rem;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: transparent;
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
                rgba(255, 255, 255, 0.1) 0%, 
                rgba(255, 255, 255, 0) 100%);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn i {
    margin-right: 8px;
    font-size: 1rem;
}

.btn-solid {
    background-color: var(--white);
    color: var(--black);
    border: 1px solid var(--white);
}

.btn-solid:hover {
    background-color: transparent;
    color: var(--white);
}

/* Section divider */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
                rgba(255, 255, 255, 0) 0%, 
                rgba(255, 255, 255, 0.1) 50%, 
                rgba(255, 255, 255, 0) 100%);
    margin: 4rem 0;
}

/* Footer */
footer {
    background-color: var(--black);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
}

.footer-logo img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: var(--transition);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links a:hover {
    color: var(--white);
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin-top: 2rem;
    text-align: center;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

/* Fade-in elements */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--light-gray);
    transform: translateY(-3px);
}

/* Preloader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
}

/* 404 Page Styles */
.not-found {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7)), 
                url('post404.png') no-repeat center center/cover;
    position: relative;
}

.not-found-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.not-found-image {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 2rem;
}

.not-found-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.not-found-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.not-found h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.not-found p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.7);
}

.not-found-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Particles container */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        height: auto;
        padding: 8rem 0;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        gap: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .posts-grid, .features-grid, .team-grid {
        grid-template-columns: 1fr;
    }

    .update-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2, .update-header h1 {
        font-size: 1.8rem;
    }
    
    .feature-card, .post-card, .team-card {
        padding: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
    }
    
    .category-title {
        font-size: 1.3rem;
    }

    .update-meta {
        flex-direction: column;
        gap: 5px;
    }
     
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}