@font-face {
    font-family: 'AA Typewriter';
    src: url('../fonts/AA_typewriter.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-color: #0a0a0a;
    --text-color: #e0e0e0;
    --accent-color: #d32f2f;
    --accent-hover: #b71c1c;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --container-width: 1000px;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'AA Typewriter', 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    padding: 2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-family: 'AA Typewriter', sans-serif;
    font-weight: normal;
    font-size: 1.5rem;
    color: var(--accent-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-family: 'AA Typewriter', sans-serif;
    font-weight: normal;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* Main Content */
main {
    min-height: 80vh;
    padding: 4rem 0;
}

/* Landing Page */
.hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.hero-image {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image-container:hover .hero-image {
    transform: scale(1.05);
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-family: 'AA Typewriter', sans-serif;
    font-size: 3.5rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(45deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.3);
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(211, 47, 47, 0.4);
}

/* Posts List */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.post-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.post-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.post-card h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* Single Post */
.post-header {
    text-align: center;
    margin-bottom: 4rem;
}

.post-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 0;
}

.post-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.nav-arrow {
    font-size: 2.5rem;
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
    line-height: 1;
}

.nav-arrow:hover {
    color: var(--text-color);
    transform: scale(1.2);
}

.nav-arrow.disabled {
    color: #333;
    cursor: default;
    pointer-events: none;
}

.post-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 4rem;
}

/* Carousel */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 3rem auto;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 3/4;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.carousel-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #111;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.carousel-btn {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: var(--accent-color);
}

/* Footer */
footer {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: #666;
    font-size: 0.9rem;
}

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

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    header { padding: 1rem 0; }
    nav ul { gap: 1rem; }
}
