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

body {
    background: #000000;
    color: #dddddd;
    font-family: 'Courier New', monospace;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
}

a {
    color: #aaaaaa;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #ffffff;
}

/* ===== LOGO ===== */
.logo {
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: 12px;
    color: #ffffff;
    text-shadow: 0 0 20px #333333, 0 0 60px #111111;
    margin-bottom: 0.5rem;
    text-align: center;
}

.logo span {
    color: #666666;
    text-shadow: 0 0 20px #444444;
}

.logo-sub {
    text-align: center;
    color: #555555;
    font-size: 0.9rem;
    letter-spacing: 4px;
    margin-bottom: 2rem;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 1rem;
}

/* ===== NAVIGATION ===== */
nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
}

nav a {
    color: #888888;
    font-size: 1.1rem;
    letter-spacing: 2px;
    padding: 0.3rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

nav a:hover {
    color: #ffffff;
    border-bottom-color: #666666;
}

/* ===== HERO ===== */
.hero {
    text-align: center;
    padding: 3rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 2rem auto;
}

.hero-btn {
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    padding: 2rem 1rem;
    border-radius: 4px;
    transition: all 0.4s;
    cursor: pointer;
    display: block;
    text-align: center;
}

.hero-btn:hover {
    background: #1a1a1a;
    border-color: #666666;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.03);
}

.hero-btn .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.hero-btn .label {
    color: #aaaaaa;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.hero-btn .desc {
    color: #555555;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.hero-btn:hover .label {
    color: #ffffff;
}

.hero-btn:hover .desc {
    color: #888888;
}

/* ===== CARDS ===== */
.card {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.card h2 {
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background: #333333;
    margin-top: 0.5rem;
}

/* ===== TEAM ===== */
.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.member-card {
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
    padding: 1.2rem;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.member-card:hover {
    border-color: #444444;
    transform: translateY(-2px);
}

.member-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #333333;
    background: #111111;
}

.member-card h3 {
    color: #dddddd;
    margin-top: 0.5rem;
    font-size: 1rem;
}

.member-card p {
    color: #666666;
    font-size: 0.8rem;
}

.member-card .join-badge {
    display: inline-block;
    background: #1a1a1a;
    color: #555555;
    font-size: 0.7rem;
    padding: 0.2rem 0.8rem;
    border-radius: 10px;
    margin-top: 0.3rem;
}

/* ===== PROFILE ===== */
.profile-header {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.profile-header img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #333333;
}

.profile-info h1 {
    color: #ffffff;
    font-size: 2rem;
}

.profile-info .joined {
    color: #555555;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.2rem;
}

.profile-info .desc {
    color: #aaaaaa;
    margin-top: 0.8rem;
    line-height: 1.6;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-link {
    background: #111111;
    border: 1px solid #2a2a2a;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    color: #aaaaaa;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.social-link:hover {
    background: #1a1a1a;
    border-color: #666666;
    color: #ffffff;
}

.social-link .s-icon {
    margin-right: 0.5rem;
}

/* ===== SERVICES ===== */
.service-item {
    border-left: 2px solid #444444;
    padding-left: 1.2rem;
    margin: 1.2rem 0;
}

.service-item strong {
    color: #dddddd;
    font-size: 1.1rem;
}

.service-item span {
    color: #666666;
    font-size: 0.9rem;
}

/* ===== CONTACTS ===== */
.contact-link {
    display: block;
    color: #aaaaaa;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #111111;
}

.contact-link:hover {
    color: #ffffff;
    border-bottom-color: #333333;
}

/* ===== BLOG ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    border-color: #444444;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover img {
    transform: scale(1.02);
}

.blog-card .blog-body {
    padding: 1.5rem;
}

.blog-card .blog-meta {
    color: #666666;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.blog-card .blog-title {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.blog-card .blog-title a {
    color: #ffffff;
    text-decoration: none;
}

.blog-card .blog-excerpt {
    color: #777777;
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card .blog-readmore {
    display: inline-block;
    margin-top: 0.5rem;
    color: #888888;
    border: 1px solid #2a2a2a;
    padding: 0.3rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.blog-card .blog-readmore:hover {
    background: #1a1a1a;
    border-color: #666666;
    color: #ffffff;
}

/* ===== BLOG POST ===== */
.post-container {
    max-width: 900px;
    margin: 0 auto;
}

.post-hero {
    margin-bottom: 2rem;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #1a1a1a;
}

.post-hero img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.post-title {
    color: #ffffff;
    font-size: 2.5rem;
    line-height: 1.2;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.post-meta {
    color: #555555;
    font-size: 0.9rem;
    margin: 0.5rem 0 1.5rem 0;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.post-meta span {
    color: #888888;
}

.post-content {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    padding: 2.5rem;
    color: #dddddd;
    line-height: 1.9;
    font-size: 1.05rem;
}

.post-content p {
    margin-bottom: 1.2rem;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: #ffffff;
    margin: 1.5rem 0 0.5rem 0;
}

.post-content h1 {
    font-size: 2rem;
}

.post-content h2 {
    font-size: 1.6rem;
}

.post-content h3 {
    font-size: 1.3rem;
}

.post-content h4 {
    font-size: 1.1rem;
}

.post-content a {
    color: #888888;
    border-bottom: 1px solid #333333;
    text-decoration: none;
}

.post-content a:hover {
    color: #ffffff;
    border-bottom-color: #666666;
}

.post-content code {
    background: #111111;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.9rem;
    color: #aaaaaa;
    border: 1px solid #1a1a1a;
}

.post-content pre {
    background: #0a0a0a;
    padding: 1.5rem;
    border-radius: 4px;
    overflow-x: auto;
    border: 1px solid #1a1a1a;
    margin: 1.5rem 0;
}

.post-content pre code {
    background: none;
    border: none;
    padding: 0;
    color: #dddddd;
}

.post-content blockquote {
    border-left: 3px solid #444444;
    padding-left: 1.2rem;
    margin: 1.5rem 0;
    color: #888888;
    font-style: italic;
}

.post-content img {
    max-width: 100%;
    border-radius: 4px;
    border: 1px solid #1a1a1a;
    margin: 1rem 0;
}

.post-content ul,
.post-content ol {
    padding-left: 2rem;
    margin: 1rem 0;
}

.post-content li {
    margin: 0.3rem 0;
}

.post-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.post-content table th,
.post-content table td {
    border: 1px solid #2a2a2a;
    padding: 0.5rem 1rem;
    text-align: left;
}

.post-content table th {
    background: #0a0a0a;
    color: #888888;
}

.post-content table tr:nth-child(even) {
    background: #050505;
}

.post-content strong,
.post-content b {
    color: #ffffff;
}

.post-content em,
.post-content i {
    color: #aaaaaa;
}

.post-content u {
    text-decoration: underline;
    text-decoration-color: #444444;
}

.post-content s,
.post-content strike {
    color: #555555;
}

.post-footer {
    margin-top: 2.5rem;
    border-top: 1px solid #1a1a1a;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.post-footer a {
    color: #666666;
    text-decoration: none;
    border: 1px solid #2a2a2a;
    padding: 0.4rem 1.2rem;
    border-radius: 4px;
}

.post-footer a:hover {
    color: #ffffff;
    border-color: #555555;
}

/* ===== ADMIN ===== */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table th {
    color: #888888;
    text-align: left;
    padding: 0.5rem;
    border-bottom: 1px solid #2a2a2a;
}

.admin-table td {
    padding: 0.5rem;
    border-bottom: 1px solid #1a1a1a;
    vertical-align: middle;
}

.admin-table input,
.admin-table textarea {
    background: #111111;
    border: 1px solid #2a2a2a;
    color: #dddddd;
    padding: 0.3rem;
    width: 100%;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
}

.admin-table textarea {
    height: 40px;
    resize: vertical;
}

.admin-table button {
    background: #1a1a1a;
    border: 1px solid #333333;
    color: #dddddd;
    padding: 0.3rem 0.8rem;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.admin-table button:hover {
    background: #2a2a2a;
}

.admin-table .btn-del:hover {
    background: #3a1a1a;
    border-color: #663333;
}

.admin-form {
    background: #0a0a0a;
    padding: 1.5rem;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    background: #111111;
    border: 1px solid #2a2a2a;
    color: #dddddd;
    padding: 0.5rem;
    width: 100%;
    margin: 0.3rem 0;
    font-family: 'Courier New', monospace;
}

.admin-form select option {
    background: #111111;
}

.admin-form button {
    background: #1a1a1a;
    border: 1px solid #333333;
    color: #dddddd;
    padding: 0.5rem 2rem;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: all 0.3s;
}

.admin-form button:hover {
    background: #2a2a2a;
}

/* ===== LOGIN ===== */
.login-form {
    max-width: 400px;
    margin: 2rem auto;
}

.login-form input[type="password"] {
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    color: #dddddd;
    padding: 0.8rem;
    width: 100%;
    font-size: 1.1rem;
}

.login-form button {
    background: #1a1a1a;
    border: 1px solid #333333;
    color: #dddddd;
    padding: 0.8rem;
    width: 100%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.login-form button:hover {
    background: #2a2a2a;
}

.error {
    color: #ff4444;
    border: 1px solid #ff4444;
    padding: 0.8rem;
    background: #1a0a0a;
    margin-bottom: 1rem;
    text-align: center;
}

/* ===== EDITOR ===== */
.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-bottom: none;
    padding: 0.5rem;
    border-radius: 4px 4px 0 0;
}

.editor-toolbar button {
    background: #111111;
    border: 1px solid #2a2a2a;
    color: #aaaaaa;
    padding: 0.3rem 0.7rem;
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: 3px;
    transition: all 0.2s;
    font-family: 'Courier New', monospace;
}

.editor-toolbar button:hover {
    background: #1a1a1a;
    border-color: #555555;
    color: #ffffff;
}

.editor-toolbar .separator {
    width: 1px;
    background: #2a2a2a;
    margin: 0 0.2rem;
}

.editor-content {
    background: #0d0d0d;
    border: 1px solid #2a2a2a;
    border-radius: 0 0 4px 4px;
    padding: 1rem;
    min-height: 300px;
    color: #dddddd;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.8;
    outline: none;
    overflow-y: auto;
}

.editor-content:focus {
    border-color: #444444;
}

.editor-content h1,
.editor-content h2,
.editor-content h3 {
    color: #ffffff;
    margin: 1rem 0 0.5rem 0;
}

.editor-content h1 {
    font-size: 1.8rem;
}

.editor-content h2 {
    font-size: 1.4rem;
}

.editor-content h3 {
    font-size: 1.1rem;
}

.editor-content p {
    margin: 0.5rem 0;
}

.editor-content blockquote {
    border-left: 3px solid #444444;
    padding-left: 1rem;
    margin: 0.8rem 0;
    color: #888888;
    font-style: italic;
}

.editor-content pre {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 0.8rem 0;
}

.editor-content code {
    background: #111111;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9rem;
    color: #aaaaaa;
    border: 1px solid #1a1a1a;
}

.editor-content pre code {
    background: none;
    border: none;
    padding: 0;
}

.editor-content ul,
.editor-content ol {
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}

.editor-content li {
    margin: 0.3rem 0;
}

.editor-content a {
    color: #888888;
    border-bottom: 1px solid #333333;
}

.editor-content a:hover {
    color: #ffffff;
}

.editor-content img {
    max-width: 100%;
    border-radius: 4px;
    border: 1px solid #1a1a1a;
    margin: 0.5rem 0;
}

.editor-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 0.8rem 0;
}

.editor-content table th,
.editor-content table td {
    border: 1px solid #2a2a2a;
    padding: 0.4rem 0.8rem;
    text-align: left;
}

.editor-content table th {
    background: #0a0a0a;
    color: #888888;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    padding: 4rem 2rem;
    text-align: center;
}

.empty-state .icon {
    font-size: 4rem;
    color: #2a2a2a;
    margin-bottom: 1rem;
}

.empty-state p {
    color: #666666;
    font-size: 1.2rem;
}

.empty-state .sub {
    color: #444444;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
        letter-spacing: 6px;
    }

    nav {
        gap: 1rem;
    }

    nav a {
        font-size: 0.9rem;
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

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

    .post-title {
        font-size: 1.8rem;
    }

    .post-content {
        padding: 1.5rem;
        font-size: 0.95rem;
    }

    .post-hero img {
        max-height: 250px;
    }

    .editor-toolbar button {
        padding: 0.2rem 0.5rem;
        font-size: 0.8rem;
    }

    .admin-table {
        font-size: 0.7rem;
    }

    .admin-table input,
    .admin-table textarea {
        font-size: 0.7rem;
        padding: 0.2rem;
    }
}

@media (max-width: 480px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 2rem;
        letter-spacing: 4px;
    }

    .post-title {
        font-size: 1.4rem;
    }

    .post-meta {
        font-size: 0.75rem;
        gap: 0.8rem;
    }

    .editor-toolbar {
        gap: 0.2rem;
        padding: 0.3rem;
    }

    .editor-toolbar button {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }

    .editor-content {
        min-height: 200px;
        padding: 0.8rem;
        font-size: 0.85rem;
    }
}
