@font-face {
    font-family: 'FatThick';
    src: url('/fonts/Poppins-Black.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --white: #ffffff;
    --gray: #333333;
    --light-gray: #cccccc;
    --accent: #ff0000;
    --discord-bg: #1a1a1a;
}

body {
    font-family: 'Courier New', monospace;
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--black);
    color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid var(--white);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: 2px solid transparent;
    padding: 5px 10px;
}

.nav-menu a:hover {
    border: 2px solid var(--white);
    background: var(--white);
    color: var(--black);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 2px, var(--white) 2px, var(--white) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, var(--white) 2px, var(--white) 4px);
    opacity: 0.05;
    animation: scan 20s linear infinite;
}

@keyframes scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.glitch-wrapper {
    margin-bottom: 20px;
}

.glitch {
    font-family: 'FatThick', 'Arial Black', sans-serif;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    text-shadow:
        0.05em 0 0 rgba(255, 0, 0, 0.75),
        -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
        0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    animation: glitch 500ms infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff0000;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00ff00, 2px 2px #0000ff;
    animation: glitch-anim2 1s infinite linear alternate-reverse;
}

@keyframes glitch {
    0% { text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em 0.05em 0 rgba(0, 0, 255, 0.75); }
    14% { text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em 0.05em 0 rgba(0, 0, 255, 0.75); }
    15% { text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75); }
    49% { text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75); }
    50% { text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75); }
    99% { text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75); }
    100% { text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75), -0.025em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em -0.05em 0 rgba(0, 0, 255, 0.75); }
}

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 30px, 0); }
    25% { clip: rect(70px, 9999px, 90px, 0); }
    50% { clip: rect(40px, 9999px, 60px, 0); }
    75% { clip: rect(90px, 9999px, 110px, 0); }
    100% { clip: rect(20px, 9999px, 40px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 85px, 0); }
    25% { clip: rect(30px, 9999px, 50px, 0); }
    50% { clip: rect(80px, 9999px, 100px, 0); }
    75% { clip: rect(45px, 9999px, 65px, 0); }
    100% { clip: rect(15px, 9999px, 35px, 0); }
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 3px solid var(--white);
    transition: all 0.3s;
    font-size: 14px;
    display: inline-block;
}

.btn-primary {
    background: var(--white);
    color: var(--black);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
}

/* Sections */
.about-section,
.specialties-section,
.skills-section,
.discord-section,
.reviews-section {
    padding: 80px 0;
    border-bottom: 4px solid var(--black);
}

.about-section {
    background: var(--white);
}

.specialties-section {
    background: var(--black);
    color: var(--white);
}

.skills-section {
    background: var(--white);
}

.discord-section {
    background: var(--discord-bg);
    color: var(--white);
    border-bottom: 4px solid var(--white);
}

.reviews-section {
    background: var(--white);
}

.section-title {
    font-family: 'FatThick', 'Arial Black', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.profile-image img {
    width: 100%;
    max-width: 300px;
    border: 5px solid var(--black);
    box-shadow: 10px 10px 0 var(--black);
}

.profile-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: 'FatThick', 'Arial Black', sans-serif;
}

.profile-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Specialties */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.specialty-card {
    background: var(--white);
    color: var(--black);
    padding: 30px;
    border: 3px solid var(--white);
    text-align: center;
    transition: all 0.3s;
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0 var(--white);
}

.specialty-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    font-family: 'FatThick', 'Arial Black', sans-serif;
}

.specialty-card h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.skill-card {
    background: var(--black);
    color: var(--white);
    padding: 40px;
    text-align: center;
    border: 3px solid var(--black);
    transition: all 0.3s;
}

.skill-card:hover {
    background: var(--white);
    color: var(--black);
    transform: scale(1.05);
}

.skill-card i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.skill-card h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
}

/* Discord Status Widget - REDESIGNED */
.discord-widget {
    max-width: 700px;
    margin: 0 auto;
}

.discord-loading {
    text-align: center;
    padding: 60px 40px;
    background: var(--black);
    border: 3px solid var(--white);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.discord-loading p {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.discord-status-card {
    background: var(--black);
    border: 3px solid var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 10px 10px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.discord-status-card:hover {
    transform: translateY(-5px);
    box-shadow: 15px 15px 0 rgba(255, 255, 255, 0.3);
}

.nameplate-video {
    position: absolute;
    top: 0;
    left: -20px;
    width: calc(100% + 20px);
    height: 150px;
    object-fit: cover;
    opacity: 0.4;
    z-index: 1;
    filter: brightness(1.2);
}

.nameplate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: rgba(90, 106, 176, 0.5);
    pointer-events: none;
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
}

.avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.avatar-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--white);
    display: block;
    background: var(--black);
}

.status-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 3px solid;
    border-radius: 50%;
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); }
}

.status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 4px solid var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
}

.status-icon {
    color: var(--white);
}

.user-info {
    flex: 1;
    min-width: 0;
}

.username {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: 'FatThick', 'Arial Black', sans-serif;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: var(--white);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
    word-wrap: break-word;
}

.user-tag {
    font-size: 0.95rem;
    color: var(--light-gray);
    margin-bottom: 10px;
    opacity: 0.8;
}

.status-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.status-indicator {
    font-size: 1.2rem;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    font-weight: bold;
}

.discord-badges-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.discord-badge-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    cursor: help;
    transition: all 0.3s;
    filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.5));
}

.discord-badge-icon:hover {
    transform: scale(1.4) rotate(5deg);
}

.discord-activity-section {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    margin-top: 20px;
}

.activity-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.activity-type {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--light-gray);
}

.activity-content {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.activity-image-wrapper {
    flex-shrink: 0;
}

.activity-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid var(--white);
    background: var(--black);
    display: block;
}

.activity-details {
    flex: 1;
    min-width: 0;
}

.activity-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--white);
    font-family: 'FatThick', 'Arial Black', sans-serif;
    word-wrap: break-word;
}

.activity-detail-text,
.activity-state-text {
    font-size: 0.95rem;
    color: var(--light-gray);
    margin-bottom: 5px;
    line-height: 1.4;
    word-wrap: break-word;
}

.discord-error {
    text-align: center;
    padding: 60px 40px;
    background: var(--black);
    border: 3px solid var(--accent);
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.discord-error p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.retry-btn {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--white);
    padding: 12px 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Courier New', monospace;
}

.retry-btn:hover {
    background: transparent;
    color: var(--white);
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--white);
    border: 3px solid var(--black);
    padding: 30px;
    transition: all 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0 var(--black);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reviewer-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--black);
    object-fit: cover;
}

.reviewer-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.reviewer-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

.review-stars {
    margin-bottom: 15px;
    color: #ffd700;
}

.review-stars i {
    font-size: 1.2rem;
    margin-right: 5px;
}

.review-text {
    line-height: 1.6;
}

/* Blog */
.blog-hero,
.post-hero,
.projects-hero,
.contact-hero {
    background: var(--black);
    color: var(--white);
    padding: 80px 0 40px;
    text-align: center;
    border-bottom: 4px solid var(--white);
}

.page-title {
    font-family: 'FatThick', 'Arial Black', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.page-subtitle {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.blog-list,
.projects-list,
.contact-section {
    padding: 80px 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.post-card {
    background: var(--white);
    border: 3px solid var(--black);
    overflow: hidden;
    transition: all 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0 var(--black);
}

.post-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 3px solid var(--black);
}

.post-content {
    padding: 30px;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.post-date {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: var(--black);
    color: var(--white);
    padding: 5px 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.post-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-family: 'FatThick', 'Arial Black', sans-serif;
    line-height: 1.2;
}

.read-more {
    color: var(--black);
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: inline-block;
    border-bottom: 2px solid transparent;
}

.read-more:hover {
    border-bottom: 2px solid var(--black);
}

/* Post Page */
.back-link {
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 30px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: 2px solid var(--white);
    padding: 10px 20px;
    transition: all 0.3s;
}

.back-link:hover {
    background: var(--white);
    color: var(--black);
}

.post-banner {
    margin: 30px 0;
}

.post-banner img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border: 3px solid var(--white);
}

.post-title-large {
    font-family: 'FatThick', 'Arial Black', sans-serif;
    font-size: clamp(2rem, 6vw, 4rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.post-meta-large {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 1rem;
    flex-wrap: wrap;
}

.post-tags-large {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.post-content-section {
    padding: 80px 0;
    background: var(--white);
}

.post-article {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-article h1,
.post-article h2,
.post-article h3,
.post-article h4 {
    font-family: 'FatThick', 'Arial Black', sans-serif;
    margin: 40px 0 20px;
    line-height: 1.2;
    border-left: 5px solid var(--black);
    padding-left: 20px;
}

.post-article h1 { font-size: 2.5rem; }
.post-article h2 { font-size: 2rem; }
.post-article h3 { font-size: 1.5rem; }
.post-article h4 { font-size: 1.2rem; }

.post-article p {
    margin-bottom: 20px;
}

.post-article img {
    max-width: 100%;
    height: auto;
    border: 3px solid var(--black);
    margin: 30px 0;
    display: block;
}

.post-article ul,
.post-article ol {
    margin: 20px 0 20px 40px;
}

.post-article li {
    margin-bottom: 10px;
    padding-left: 10px;
}

.post-article ul li::marker {
    content: '▸ ';
    color: var(--black);
    font-weight: bold;
}

.post-article a {
    color: var(--black);
    font-weight: bold;
    text-decoration: underline;
    transition: all 0.3s;
}

.post-article a:hover {
    background: var(--black);
    color: var(--white);
    padding: 2px 5px;
}

.post-article blockquote {
    border-left: 5px solid var(--black);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    background: var(--light-gray);
    padding: 20px;
    position: relative;
}

.post-article blockquote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: 0;
    left: 10px;
    opacity: 0.2;
    font-family: 'FatThick', 'Arial Black', sans-serif;
}

.post-article code {
    background: var(--black);
    color: var(--white);
    padding: 3px 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

.post-article pre {
    background: var(--black);
    color: var(--white);
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
    border: 3px solid var(--black);
    line-height: 1.5;
}

.post-article pre code {
    background: none;
    padding: 0;
}

.post-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    border: 3px solid var(--black);
}

.post-article th,
.post-article td {
    border: 2px solid var(--black);
    padding: 12px;
    text-align: left;
}

.post-article th {
    background: var(--black);
    color: var(--white);
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'FatThick', 'Arial Black', sans-serif;
    font-size: 0.9rem;
}

.post-article tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.05);
}

.post-article tr:hover {
    background: var(--light-gray);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.project-card {
    background: var(--white);
    border: 3px solid var(--black);
    overflow: hidden;
    transition: all 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0 var(--black);
}

.project-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 3px solid var(--black);
}

.project-content {
    padding: 30px;
}

.project-title {
    font-family: 'FatThick', 'Arial Black', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.project-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.project-link {
    background: var(--black);
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: bold;
    border: 2px solid var(--black);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.project-link:hover {
    background: var(--white);
    color: var(--black);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-box {
    background: var(--black);
    color: var(--white);
    padding: 40px;
    text-align: center;
    border: 3px solid var(--black);
    transition: all 0.3s;
}

.contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0 var(--black);
}

.contact-box-wide {
    grid-column: span 2;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-box h3 {
    font-family: 'FatThick', 'Arial Black', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-list a {
    color: var(--white);
    text-decoration: none;
    border: 2px solid var(--white);
    padding: 10px;
    transition: all 0.3s;
}

.contact-list a:hover {
    background: var(--white);
    color: var(--black);
}

.contact-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.contact-link-btn {
    background: var(--white);
    color: var(--black);
    padding: 15px;
    text-decoration: none;
    border: 2px solid var(--white);
    transition: all 0.3s;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.contact-link-btn:hover {
    background: transparent;
    color: var(--white);
}

.contact-cta {
    text-align: center;
    padding: 60px 40px;
    background: var(--light-gray);
    border: 3px solid var(--black);
}

.contact-cta h2 {
    font-family: 'FatThick', 'Arial Black', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 40px 0;
    border-top: 4px solid var(--white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s;
    border: 2px solid transparent;
    padding: 10px;
}

.social-links a:hover {
    border: 2px solid var(--white);
    transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--black);
        flex-direction: column;
        padding: 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-top: 3px solid var(--white);
    }

    .nav-menu.active {
        max-height: 500px;
        padding: 20px;
        gap: 15px;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 12px 20px;
    }

    .nav-toggle {
        display: flex;
    }

    /* Fix hero section on mobile */
    .hero {
        min-height: 80vh;
        padding: 60px 0;
    }

    .glitch {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 4vw, 1.2rem);
        padding: 0 20px;
    }

    /* Fix about section */
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-image img {
        max-width: 200px;
        margin: 0 auto;
    }

    /* Fix section padding on mobile */
    .about-section,
    .specialties-section,
    .skills-section,
    .discord-section,
    .reviews-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: clamp(1.8rem, 8vw, 3rem);
        margin-bottom: 40px;
    }

    /* Fix specialty and skill grids */
    .specialties-grid,
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Fix blog and project grids */
    .posts-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* === CRITICAL: Fix blog post content tables === */
    .post-article {
        padding: 0 10px;
    }

    /* Make tables scroll horizontally on mobile */
    .post-article table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 30px 0;
        border: 3px solid var(--black);
    }

    .post-article table thead,
    .post-article table tbody,
    .post-article table tr {
        display: table;
        width: 100%;
    }

    .post-article th,
    .post-article td {
        padding: 10px 8px;
        font-size: 0.9rem;
        white-space: nowrap;
        min-width: 100px;
    }

    /* Alternative: Stack table on very small screens */
    @media (max-width: 480px) {
        .post-article table,
        .post-article thead,
        .post-article tbody,
        .post-article th,
        .post-article td,
        .post-article tr {
            display: block;
        }

        .post-article thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

        .post-article tr {
            border: 2px solid var(--black);
            margin-bottom: 15px;
        }

        .post-article td {
            border: none;
            position: relative;
            padding-left: 50%;
            white-space: normal;
            min-width: auto;
        }

        .post-article td:before {
            position: absolute;
            top: 10px;
            left: 10px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
            font-weight: bold;
            content: attr(data-label);
        }
    }

    /* Fix code blocks on mobile */
    .post-article pre {
        padding: 15px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 0.85rem;
    }

    .post-article code {
        font-size: 0.85rem;
        word-break: break-word;
    }

    /* Fix images in posts */
    .post-article img {
        width: 100%;
        height: auto;
        max-width: 100%;
        margin: 20px 0;
    }

    /* Fix headings in posts */
    .post-article h1 { font-size: 1.8rem; }
    .post-article h2 { font-size: 1.5rem; }
    .post-article h3 { font-size: 1.3rem; }
    .post-article h4 { font-size: 1.1rem; }

    .post-article h1,
    .post-article h2,
    .post-article h3,
    .post-article h4 {
        margin: 30px 0 15px;
        padding-left: 15px;
        border-left: 4px solid var(--black);
    }

    /* Fix blockquotes on mobile */
    .post-article blockquote {
        padding: 15px;
        margin: 20px 0;
        font-size: 1rem;
    }

    .post-article blockquote::before {
        font-size: 3rem;
    }

    /* Fix lists in posts */
    .post-article ul,
    .post-article ol {
        margin: 15px 0 15px 20px;
        padding-left: 10px;
    }

    /* Fix post hero section */
    .post-hero {
        padding: 60px 0 30px;
    }

    .post-title-large {
        font-size: clamp(1.8rem, 8vw, 3rem);
        line-height: 1.2;
        word-wrap: break-word;
    }

    .post-meta-large {
        flex-direction: column;
        gap: 10px;
        font-size: 0.9rem;
    }

    .post-banner {
        margin: 20px 0;
    }

    .post-banner img {
        max-height: 250px;
    }

    .back-link {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    /* Fix Discord widget on mobile */
    .discord-status-card {
        box-shadow: 5px 5px 0 rgba(255, 255, 255, 0.2);
    }

    .discord-status-card:hover {
        transform: translateY(-3px);
        box-shadow: 8px 8px 0 rgba(255, 255, 255, 0.3);
    }

    .profile-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .username {
        font-size: 1.4rem;
        word-break: break-word;
    }

    .user-tag {
        font-size: 0.85rem;
    }

    .avatar-image {
        width: 80px;
        height: 80px;
    }

    .status-dot {
        width: 26px;
        height: 26px;
        font-size: 14px;
    }

    .activity-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .activity-image {
        width: 100px;
        height: 100px;
    }

    .activity-name {
        font-size: 1.1rem;
        word-break: break-word;
    }

    .activity-detail-text,
    .activity-state-text {
        font-size: 0.9rem;
    }

    .discord-badges-container {
        justify-content: center;
    }

    .card-content {
        padding: 20px;
    }

    .nameplate-video {
        height: 120px;
    }

    .nameplate-overlay {
        height: 120px;
    }

    /* Fix reviews on mobile */
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        padding: 20px;
    }

    /* Fix contact page on mobile */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-box {
        padding: 30px;
    }

    .contact-box-wide {
        grid-column: span 1;
    }

    .contact-links-grid {
        grid-template-columns: 1fr;
    }

    .contact-cta {
        padding: 40px 20px;
    }

    .contact-cta h2 {
        font-size: 2rem;
    }

    .contact-cta p {
        font-size: 1rem;
    }

    /* Fix footer on mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer p {
        font-size: 0.9rem;
    }

    /* Fix CTA buttons on mobile */
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn {
        width: 100%;
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    /* Fix project cards on mobile */
    .project-image img {
        height: 200px;
    }

    .project-content {
        padding: 25px;
    }

    .project-title {
        font-size: 1.5rem;
    }

    .project-links {
        flex-direction: column;
        gap: 10px;
    }

    .project-link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* Fix page titles on mobile */
    .page-title {
        font-size: clamp(2rem, 10vw, 4rem);
        padding: 0 20px;
    }

    .page-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }

    /* Fix post cards on mobile */
    .post-image img {
        height: 200px;
    }

    .post-content {
        padding: 20px;
    }

    .post-title {
        font-size: 1.5rem;
    }

    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* Fix container padding on mobile */
    .container {
        padding: 0 15px;
    }

    /* Ensure no horizontal overflow */
    body {
        overflow-x: hidden;
    }

    .hero,
    .about-section,
    .specialties-section,
    .skills-section,
    .discord-section,
    .reviews-section,
    .blog-hero,
    .blog-list,
    .post-hero,
    .post-content-section,
    .projects-hero,
    .projects-list,
    .contact-hero,
    .contact-section {
        overflow-x: hidden;
    }

    /* Fix any wide content */
    * {
        max-width: 100%;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}


@media (max-width: 480px) {
    .glitch {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .profile-text h3 {
        font-size: 1.5rem;
    }

    .profile-text p {
        font-size: 1rem;
    }

    .specialty-card,
    .skill-card {
        padding: 20px;
    }

    .post-article {
        font-size: 1rem;
        line-height: 1.6;
    }
}