@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Roboto+Mono:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #0ff;
    --secondary-color: #f0f;
    --accent-color: #0f0;
    --danger-color: #f00;
    --warning-color: #ff0;
    --text-color: #ccc;
    --light-bg: #0a0a12;
    --dark-bg: #000;
    --card-bg: #1a1a2e;
    --terminal-bg: #0a0a0a;
    --gradient-1: linear-gradient(135deg, rgba(0, 255, 255, .1), rgba(255, 0, 255, .1));
    --gradient-2: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    --gradient-3: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    --gradient-4: linear-gradient(135deg, var(--secondary-color), var(--danger-color));
    --neon-glow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
    --neon-glow-green: 0 0 5px var(--accent-color), 0 0 10px var(--accent-color);
    --neon-glow-purple: 0 0 5px var(--secondary-color), 0 0 10px var(--secondary-color)
}

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

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    font-family: 'Roboto Mono', monospace;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
    letter-spacing: .1px;
    word-spacing: .5px;
    will-change: transform;
    -webkit-overflow-scrolling: touch;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.code-block,
.terminal-simulator,
.command-reference,
.comment-form input,
.comment-form textarea,
.blog-content p,
.blog-content li,
.blog-content h2,
.blog-content h3,
.info-block p,
.info-block li,
.info-block h3,
.masking-tool-container input {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-2);
    z-index: 1001;
    transition: width .3s;
    box-shadow: 0 0 10px var(--primary-color);
    will-change: width
}

.hacking-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 20% 30%, rgba(0, 255, 255, .05) 0, transparent 50%), radial-gradient(circle at 80% 70%, rgba(255, 0, 255, .05) 0, transparent 50%), radial-gradient(circle at 40% 80%, rgba(0, 255, 0, .05) 0, transparent 50%);
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0)
}

.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: .05;
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0)
}

.circuit-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: .03;
    background-image: linear-gradient(90deg, transparent 98%, var(--primary-color) 100%), linear-gradient(0deg, transparent 98%, var(--primary-color) 100%);
    background-size: 50px 50px;
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0)
}

.glow {
    text-shadow: var(--neon-glow)
}

.glow-green {
    text-shadow: var(--neon-glow-green)
}

.glow-purple {
    text-shadow: var(--neon-glow-purple)
}

header {
    background-color: rgba(0, 0, 0, .8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 255, 255, .3);
    will-change: transform;
    transform: translateZ(0)
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    animation: pulse 2s infinite;
    cursor: pointer;
    text-decoration: none
}

@keyframes pulse {
    0% {
        opacity: .8
    }

    50% {
        opacity: 1
    }

    100% {
        opacity: .8
    }
}

.logo i {
    margin-right: 10px;
    font-size: 2rem
}

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

nav ul li {
    margin-left: 20px;
    position: relative
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: all .3s;
    padding: 5px 0;
    display: block;
    position: relative
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width .3s
}

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

nav ul li a:hover::after {
    width: 100%
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color)
}

.blog-post {
    padding: 100px 0 60px;
    background-color: var(--light-bg);
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    will-change: transform;
    transform: translateZ(0)
}

.blog-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-2);
    box-shadow: 0 0 10px var(--primary-color)
}

.blog-post::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-4);
    box-shadow: 0 0 10px var(--secondary-color)
}

.blog-header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 40px;
    text-align: center;
    position: relative
}

.blog-header::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: var(--gradient-2);
    box-shadow: 0 0 10px var(--primary-color)
}

.blog-title {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    text-transform: uppercase
}

.blog-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-2);
    box-shadow: 0 0 10px var(--primary-color)
}

.blog-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    color: #888;
    font-size: 1.1rem
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 8px
}

.blog-meta span i {
    color: var(--primary-color)
}

.blog-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    letter-spacing: .1px;
    word-spacing: .5px
}

.blog-content h2 {
    color: var(--secondary-color);
    margin: 40px 0 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    position: relative;
    padding-left: 20px;
    text-transform: uppercase
}

.blog-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 30px;
    background: var(--gradient-2);
    box-shadow: 0 0 10px var(--primary-color)
}

.blog-content h3 {
    color: var(--accent-color);
    margin: 30px 0 15px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase
}

.blog-content p {
    margin-bottom: 25px;
    text-align: justify;
    font-size: 1.1rem;
    line-height: 1.8;
    word-break: break-word;
    overflow-wrap: break-word
}

.blog-content ul,
.blog-content ol {
    margin-left: 30px;
    margin-bottom: 25px
}

.blog-content li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 10px;
    word-break: break-word;
    overflow-wrap: break-word
}

.blog-content li::before {
    content: '▸';
    position: absolute;
    left: -15px;
    color: var(--primary-color)
}

.code-block {
    background-color: rgba(0, 0, 0, .7);
    border-radius: 10px;
    padding: 25px 20px 20px;
    margin: 30px 0;
    font-family: 'Roboto Mono', monospace;
    color: var(--accent-color);
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow-x: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 15px rgba(0, 255, 255, .2);
    font-size: .95rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
    border: 1px solid rgba(0, 255, 255, .2);
    will-change: transform;
    transform: translateZ(0)
}

.code-block::before {
    content: 'TERMINAL';
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--gradient-2);
    color: var(--dark-bg);
    padding: 3px 15px;
    border-radius: 15px;
    font-weight: 700;
    font-size: .8rem;
    font-family: 'Orbitron', sans-serif;
    z-index: 1;
    box-shadow: 0 0 10px var(--primary-color)
}

.copy-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: .9rem;
    transition: all .3s;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2
}

.copy-button:hover {
    background: rgba(255, 255, 255, .2);
    color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, .3)
}

.copy-button.copied {
    background: rgba(0, 255, 0, .2);
    color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 255, 0, .3)
}

.info-block {
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    border: 1px solid rgba(255, 255, 255, .1);
    will-change: transform;
    transform: translateZ(0)
}

.info-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .1;
    z-index: 0
}

.info-block h3 {
    position: relative;
    z-index: 1;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase
}

.info-block p,
.info-block ul,
.info-block ol {
    position: relative;
    z-index: 1
}

.note {
    background-color: rgba(255, 204, 0, .1);
    border-left: 4px solid var(--warning-color)
}

.note::before {
    background: linear-gradient(135deg, rgba(255, 204, 0, .2), rgba(255, 204, 0, .05))
}

.note h3 {
    color: var(--warning-color);
    text-shadow: 0 0 5px var(--warning-color)
}

.tip {
    background-color: rgba(0, 255, 0, .1);
    border-left: 4px solid var(--accent-color)
}

.tip::before {
    background: linear-gradient(135deg, rgba(0, 255, 0, .2), rgba(0, 255, 0, .05))
}

.tip h3 {
    color: var(--accent-color);
    text-shadow: 0 0 5px var(--accent-color)
}

.warning {
    background-color: rgba(255, 0, 0, .1);
    border-left: 4px solid var(--danger-color)
}

.warning::before {
    background: linear-gradient(135deg, rgba(255, 0, 0, .2), rgba(255, 0, 0, .05))
}

.warning h3 {
    color: var(--danger-color);
    text-shadow: 0 0 5px var(--danger-color)
}

.table-of-contents {
    background: var(--gradient-1);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid rgba(0, 255, 255, .3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3), 0 0 15px rgba(0, 255, 255, .2);
    will-change: transform;
    transform: translateZ(0)
}

.table-of-contents h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    position: relative;
    text-transform: uppercase
}

.table-of-contents h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-2);
    box-shadow: 0 0 10px var(--primary-color)
}

.table-of-contents ul {
    list-style-type: none;
    margin-left: 0;
    column-count: 2;
    column-gap: 30px
}

.table-of-contents ul li {
    margin-bottom: 12px;
    padding-left: 0
}

.table-of-contents ul li::before {
    display: none
}

.table-of-contents ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: all .3s;
    display: flex;
    align-items: center;
    gap: 8px
}

.table-of-contents ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
    text-shadow: 0 0 5px var(--primary-color)
}

.table-of-contents ul li a::before {
    content: '▶';
    font-size: .8rem
}

.mobile-frame-section {
    margin: 40px 0;
    text-align: center
}

.mobile-frame-container {
    display: inline-block;
    position: relative;
    max-width: 100%;
    border-radius: 30px;
    padding: 12px;
    background: linear-gradient(135deg, #0ff, #f0f, #0f0);
    box-shadow: 0 0 25px rgba(0, 255, 255, .5), 0 0 50px rgba(255, 0, 255, .3);
    animation: glow-pulse 3s infinite alternate;
    will-change: transform;
    transform: translateZ(0)
}

@keyframes glow-pulse {
    0% {
        box-shadow: 0 0 25px rgba(0, 255, 255, .5), 0 0 50px rgba(255, 0, 255, .3)
    }

    100% {
        box-shadow: 0 0 35px rgba(0, 255, 255, .7), 0 0 70px rgba(255, 0, 255, .5)
    }
}

.mobile-frame {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    background-color: #000;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, .8);
    max-width: 280px;
    width: 100%;
    aspect-ratio: 9/19.5
}

.mobile-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.mobile-frame-title {
    margin-top: 20px;
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase
}

.mobile-frame-description {
    margin-top: 15px;
    color: var(--text-color);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto
}

.back-to-blogs {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--gradient-1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all .3s;
    margin-top: 40px;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 255, 255, .2)
}

.back-to-blogs:hover {
    background: var(--gradient-2);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, .4)
}

.share-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 255, 255, .2);
    text-align: center
}

.share-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase
}

.share-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap
}

.share-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all .3s;
    font-size: 1.2rem
}

.share-links a:hover {
    background: var(--gradient-2);
    color: var(--dark-bg);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, .3)
}

.related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 255, 255, .2)
}

.related-posts h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    text-align: center;
    position: relative;
    text-transform: uppercase
}

.related-posts h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-2);
    box-shadow: 0 0 10px var(--primary-color)
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px
}

.related-post-card {
    background: var(--gradient-1);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(0, 255, 255, .2);
    transition: all .3s;
    position: relative;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0)
}

.related-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, .1), transparent);
    transform: translateX(-100%);
    transition: transform .6s
}

.related-post-card:hover::before {
    transform: translateX(100%)
}

.related-post-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .4), 0 0 15px rgba(0, 255, 255, .3)
}

.related-post-card h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    text-transform: uppercase
}

.related-post-card p {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1rem
}

.related-post-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .3s;
    font-family: 'Orbitron', sans-serif
}

.related-post-card a:hover {
    gap: 15px;
    color: var(--secondary-color)
}

.comment-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 255, 255, .2)
}

.comment-section h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    text-align: center;
    position: relative;
    text-transform: uppercase
}

.comment-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-2);
    box-shadow: 0 0 10px var(--primary-color)
}

.comment-form {
    background: var(--gradient-1);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid rgba(0, 255, 255, .2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3), 0 0 15px rgba(0, 255, 255, .2);
    will-change: transform;
    transform: translateZ(0)
}

.comment-form-group {
    margin-bottom: 20px
}

.comment-form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase
}

.comment-form-group input,
.comment-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(0, 0, 0, .5);
    border: 1px solid rgba(0, 255, 255, .3);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Roboto Mono', monospace;
    outline: 0;
    transition: all .3s;
    font-size: 1rem
}

.comment-form-group input:focus,
.comment-form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, .2)
}

.comment-form-group textarea {
    min-height: 120px;
    resize: vertical
}

.comment-form button {
    padding: 12px 30px;
    background: var(--gradient-2);
    color: var(--dark-bg);
    border: none;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 255, 255, .3)
}

.comment-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, .5)
}

.comments-list {
    margin-top: 40px
}

.comment {
    background: var(--gradient-1);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    transition: all .3s;
    will-change: transform;
    transform: translateZ(0)
}

.comment::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 255, 255, .1), transparent 70%);
    transform: translate(30px, -30px);
    z-index: 0
}

.comment:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3), 0 0 15px rgba(0, 255, 255, .2)
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    align-items: center;
    flex-wrap: wrap
}

.comment-author {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px
}

.comment-author::before {
    content: '@';
    color: var(--primary-color)
}

.comment-date {
    color: #888;
    font-size: .9rem
}

.comment-body {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.7;
    word-break: break-word
}

.terminal-simulator {
    background-color: rgba(0, 0, 0, .8);
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
    font-family: 'Roboto Mono', monospace;
    color: var(--accent-color);
    border: 1px solid rgba(0, 255, 255, .3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 15px rgba(0, 255, 255, .2);
    position: relative;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0)
}

.terminal-simulator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg, rgba(0, 255, 0, .03), rgba(0, 255, 0, .03) 1px, transparent 1px, transparent 2px);
    pointer-events: none
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 255, 255, .3)
}

.terminal-buttons {
    display: flex;
    gap: 5px
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%
}

.close {
    background-color: #ff5f56
}

.minimize {
    background-color: #ffbd2e
}

.maximize {
    background-color: #27c93f
}

.terminal-title {
    color: var(--primary-color);
    font-size: .9rem;
    font-family: 'Orbitron', sans-serif
}

.terminal-body {
    position: relative;
    z-index: 1;
    max-height: 400px;
    overflow-y: auto
}

.terminal-line {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap
}

.terminal-prompt {
    color: var(--primary-color);
    margin-right: 10px;
    white-space: nowrap
}

.terminal-command {
    color: var(--accent-color);
    flex: 1;
    word-break: break-all
}

.terminal-output {
    color: var(--text-color);
    margin-left: 20px;
    margin-top: 5px;
    width: 100%;
    overflow-x: auto
}

.terminal-cursor {
    display: inline-block;
    background-color: var(--accent-color);
    width: 8px;
    height: 16px;
    animation: blink 1s infinite;
    vertical-align: text-bottom
}

@keyframes blink {

    0%,
    49% {
        opacity: 1
    }

    50%,
    100% {
        opacity: 0
    }
}

.demo-section {
    background: var(--gradient-1);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    border: 1px solid rgba(0, 255, 255, .3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3), 0 0 15px rgba(0, 255, 255, .2);
    will-change: transform;
    transform: translateZ(0)
}

.demo-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    position: relative
}

.demo-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-2);
    box-shadow: 0 0 10px var(--primary-color)
}

.demo-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap
}

.demo-button {
    padding: 10px 20px;
    background: var(--gradient-2);
    color: var(--dark-bg);
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .9rem
}

.demo-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, .5)
}

.hacking-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0
}

.stat-card {
    background: var(--gradient-1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(0, 255, 255, .2);
    transition: all .3s;
    will-change: transform;
    transform: translateZ(0)
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .3), 0 0 15px rgba(0, 255, 255, .2)
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif
}

.stat-label {
    color: var(--text-color);
    font-size: .9rem;
    text-transform: uppercase
}

.tool-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0
}

.tool-card {
    background: var(--gradient-1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(0, 255, 255, .2);
    transition: all .3s;
    will-change: transform;
    transform: translateZ(0)
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .3), 0 0 15px rgba(0, 255, 255, .2)
}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color)
}

.tool-card h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase
}

.tool-card p {
    color: var(--text-color);
    font-size: .9rem;
    margin-bottom: 15px
}

.tool-rating {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px
}

.tool-rating i {
    color: var(--warning-color)
}

.install-button {
    padding: 8px 15px;
    background: var(--gradient-3);
    color: var(--dark-bg);
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .8rem
}

.install-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 0, .5)
}

.command-reference {
    background: var(--gradient-1);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    border: 1px solid rgba(0, 255, 255, .3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3), 0 0 15px rgba(0, 255, 255, .2);
    will-change: transform;
    transform: translateZ(0)
}

.command-reference h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    position: relative
}

.command-reference h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-2);
    box-shadow: 0 0 10px var(--primary-color)
}

.command-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px
}

.command-table th,
.command-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 255, 255, .2)
}

.command-table th {
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    font-size: .9rem
}

.command-table tr:hover {
    background-color: rgba(0, 255, 255, .05)
}

.command-table td:first-child {
    font-family: 'Roboto Mono', monospace;
    color: var(--accent-color)
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .8);
    backdrop-filter: blur(5px);
    animation: fadeIn .3s
}

@keyframes fadeIn {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

.modal-content {
    background-color: var(--card-bg);
    margin: 5% auto;
    padding: 0;
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 0 30px rgba(0, 255, 255, .3);
    animation: slideIn .3s;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0)
}

@keyframes slideIn {
    0% {
        transform: translateY(-50px);
        opacity: 0
    }

    100% {
        transform: translateY(0);
        opacity: 1
    }
}

.modal-header {
    background: var(--gradient-2);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 255, 255, .3)
}

.modal-header h2 {
    color: var(--dark-bg);
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    font-size: 1.5rem
}

.close-modal {
    color: var(--dark-bg);
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s;
    line-height: 1
}

.close-modal:hover {
    color: var(--light-bg);
    transform: scale(1.1)
}

.modal-body {
    padding: 20px;
    background-color: var(--dark-bg)
}

.modal-body .terminal-simulator {
    margin: 0;
    max-height: 70vh;
    overflow-y: auto
}

footer {
    background-color: var(--dark-bg);
    color: #fff;
    padding: 60px 0 20px;
    border-top: 1px solid var(--primary-color);
    position: relative
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-2);
    box-shadow: 0 0 10px var(--primary-color)
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color)
}

.footer-col ul {
    list-style: none
}

.footer-col ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px
}

.footer-col ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: .8rem
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    transition: all .3s
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
    display: inline-block;
    text-shadow: 0 0 5px var(--primary-color)
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--gradient-1);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all .3s;
    font-size: 1.2rem
}

.social-links a:hover {
    background: var(--gradient-2);
    color: var(--dark-bg);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, .3)
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 255, 255, .2);
    color: #aaa;
    font-size: .9rem
}

@media (max-width:1200px) {
    .blog-title {
        font-size: 3rem
    }

    .blog-content h2 {
        font-size: 2rem
    }
}

@media (max-width:992px) {
    .blog-title {
        font-size: 2.5rem
    }

    .blog-content h2 {
        font-size: 1.8rem
    }

    .blog-content h3 {
        font-size: 1.4rem
    }

    .table-of-contents ul {
        column-count: 1
    }
}

@media (max-width:768px) {
    .menu-toggle {
        display: block
    }

    nav ul {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, .95);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transform: translateY(-150%);
        transition: transform .3s;
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0, 0, 0, .5)
    }

    nav ul.active {
        transform: translateY(0)
    }

    nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center
    }

    nav ul li a {
        padding: 10px 0;
        font-size: 1.1rem
    }

    .blog-post {
        padding: 80px 0 40px
    }

    .blog-title {
        font-size: 2.2rem
    }

    .blog-meta {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        font-size: 1rem
    }

    .blog-content {
        padding: 0 15px
    }

    .blog-content h2 {
        font-size: 1.6rem;
        padding-left: 15px;
        margin: 30px 0 15px
    }

    .blog-content h2::before {
        height: 25px
    }

    .blog-content h3 {
        font-size: 1.3rem
    }

    .blog-content p {
        font-size: 1rem;
        line-height: 1.7
    }

    .blog-content ul,
    .blog-content ol {
        margin-left: 20px
    }

    .table-of-contents {
        padding: 20px
    }

    .table-of-contents h3 {
        font-size: 1.3rem
    }

    .related-posts-grid {
        grid-template-columns: 1fr
    }

    .share-links {
        justify-content: center
    }

    .hacking-stats {
        grid-template-columns: repeat(2, 1fr)
    }

    .tool-showcase {
        grid-template-columns: 1fr
    }

    .command-table {
        font-size: .85rem;
        display: block;
        overflow-x: auto
    }

    .command-table th,
    .command-table td {
        padding: 8px 10px;
        white-space: nowrap
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left
    }

    .footer-col h4::after {
        left: 0;
        transform: none
    }

    .social-links {
        justify-content: flex-start
    }

    .terminal-simulator {
        padding: 15px
    }

    .terminal-line {
        flex-direction: column;
        align-items: flex-start
    }

    .terminal-output {
        margin-left: 0;
        margin-top: 10px
    }

    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px
    }

    .comment-date {
        margin-top: 5px
    }

    .demo-controls {
        flex-direction: column;
        align-items: center
    }

    .demo-button {
        width: 100%;
        max-width: 250px
    }
}

@media (max-width:576px) {
    .header-container {
        padding: 0 15px
    }

    .logo {
        font-size: 1.2rem
    }

    .logo i {
        font-size: 1.5rem
    }

    .blog-title {
        font-size: 1.8rem
    }

    .blog-header {
        padding: 0 15px
    }

    .blog-content {
        padding: 0 10px
    }

    .blog-content h2 {
        font-size: 1.4rem;
        padding-left: 10px
    }

    .blog-content h2::before {
        width: 4px;
        height: 20px
    }

    .blog-content h3 {
        font-size: 1.2rem
    }

    .blog-content p {
        font-size: .95rem
    }

    .hacking-stats {
        grid-template-columns: 1fr
    }

    .stat-card {
        padding: 15px
    }

    .stat-number {
        font-size: 1.8rem
    }

    .code-block {
        padding: 25px 15px 15px;
        font-size: .85rem
    }

    .code-block::before {
        left: 15px;
        font-size: .75rem;
        padding: 3px 10px
    }

    .copy-button {
        padding: 6px 10px;
        font-size: .8rem
    }

    .info-block {
        padding: 20px
    }

    .comment-form {
        padding: 20px
    }

    .comment {
        padding: 20px
    }

    .terminal-simulator {
        padding: 12px
    }

    .terminal-title {
        font-size: .8rem
    }

    .demo-section {
        padding: 20px
    }

    .command-reference {
        padding: 20px
    }

    .footer-container {
        padding: 0 15px
    }

    .footer-col h4 {
        font-size: 1.1rem
    }

    .footer-col ul li {
        margin-bottom: 10px
    }
}

@media (max-width:400px) {
    .blog-title {
        font-size: 1.6rem
    }

    .blog-meta span {
        font-size: .9rem
    }

    .code-block {
        font-size: .8rem;
        padding: 25px 10px 10px
    }

    .code-block::before {
        font-size: .7rem;
        padding: 2px 8px
    }

    .terminal-prompt,
    .terminal-command {
        font-size: .85rem
    }
}

@media (max-width:768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto
    }

    .modal-header h2 {
        font-size: 1.2rem
    }

    .close-modal {
        font-size: 24px
    }
}

@media (max-width:576px) {
    .modal-content {
        width: 100%;
        border-radius: 0;
        margin: 0;
        height: 100%;
        max-height: 100%
    }

    .modal-body {
        padding: 15px;
        height: calc(100% - 60px);
        overflow: hidden
    }

    .modal-body .terminal-simulator {
        height: 100%
    }
}