/* ============================================
   FiveM Texture Loss Guide - Miami Vice Theme
   ============================================ */

/* Reset for guide page */
.gtl-page {
    background: #0a0a1a;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.8;
    font-size: 17px;
    overflow-x: hidden;
}
.gtl-page *,
.gtl-page *::before,
.gtl-page *::after {
    box-sizing: border-box;
}
.gtl-page a {
    color: #00ffff;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}
.gtl-page a:hover {
    color: #ff00ff;
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.5);
}

/* Container */
.gtl-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---- HERO ---- */
.gtl-hero {
    position: relative;
    padding: 6rem 0 4rem;
    text-align: center;
    overflow: hidden;
}
.gtl-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.gtl-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.gtl-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}
.gtl-glow--cyan {
    background: #00ffff;
    top: -150px;
    right: -100px;
}
.gtl-glow--pink {
    background: #ff00ff;
    bottom: -200px;
    left: -100px;
}
.gtl-hero .gtl-container {
    position: relative;
    z-index: 1;
}
.gtl-hero-breadcrumb {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1.5rem;
}
.gtl-hero-breadcrumb a {
    color: #888;
}
.gtl-hero-breadcrumb a:hover {
    color: #00ffff;
}
.gtl-hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 1.5rem;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}
.gtl-gradient-text {
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gtl-hero-sub {
    font-size: 1.15rem;
    color: #b0b0b0;
    max-width: 680px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}
.gtl-hero-meta {
    font-size: 0.9rem;
    color: #888;
}
.gtl-meta-sep {
    margin: 0 0.5rem;
    color: #444;
}

/* ---- TABLE OF CONTENTS ---- */
.gtl-toc {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.3);
}
.gtl-toc-title {
    font-size: 1rem;
    font-weight: 700;
    color: #00ffff;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.gtl-toc-list {
    margin: 1rem 0 0;
    padding-left: 1.5rem;
    columns: 2;
    column-gap: 2rem;
}
.gtl-toc-list li {
    margin-bottom: 0.5rem;
    break-inside: avoid;
}
.gtl-toc-list a {
    color: #b0b0b0;
    font-size: 0.95rem;
}
.gtl-toc-list a:hover {
    color: #00ffff;
}

/* ---- SECTIONS ---- */
.gtl-section {
    padding: 4rem 0;
}
.gtl-section--alt {
    background: rgba(255, 255, 255, 0.02);
}
.gtl-section-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ff00ff;
    text-align: center;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 12px rgba(255, 0, 255, 0.4);
}
.gtl-section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin: 0 0 1.5rem;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    line-height: 1.3;
}
.gtl-h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin: 2.5rem 0 1rem;
    padding-left: 0.75rem;
    border-left: 3px solid #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.15);
}
.gtl-section p {
    margin-bottom: 1.2rem;
}

/* ---- LISTS ---- */
.gtl-list {
    margin: 0 0 1.5rem 1.2rem;
    padding: 0;
}
.gtl-list li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}
.gtl-list li strong {
    color: #fff;
}

/* ---- CALLOUTS ---- */
.gtl-callout {
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid;
}
.gtl-callout h4 {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
}
.gtl-callout p {
    margin: 0;
}
.gtl-callout--info {
    background: rgba(0, 255, 255, 0.05);
    border-color: rgba(0, 255, 255, 0.2);
}
.gtl-callout--info h4 {
    color: #00ffff;
}
.gtl-callout--warning {
    background: rgba(255, 165, 0, 0.05);
    border-color: rgba(255, 165, 0, 0.25);
}
.gtl-callout--warning h4 {
    color: #ffa500;
}

/* ---- CODE BLOCKS ---- */
.gtl-code-block {
    border-radius: 8px;
    overflow: hidden;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.gtl-code-header {
    background: rgba(255, 255, 255, 0.06);
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ff00ff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.gtl-code-block pre {
    background: rgba(0, 0, 0, 0.5);
    margin: 0;
    padding: 1.25rem;
    overflow-x: auto;
}
.gtl-code-block code {
    font-family: 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.9rem;
    color: #00ffff;
    line-height: 1.6;
}
.gtl-page code {
    font-family: 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
    background: rgba(0, 255, 255, 0.08);
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
    color: #00ffff;
}
.gtl-code-block code {
    background: none;
    padding: 0;
    border-radius: 0;
}

/* ---- CARD GRIDS ---- */
.gtl-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.gtl-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.75rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.gtl-card:hover {
    border-color: rgba(0, 255, 255, 0.25);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.05);
}
.gtl-card h3 {
    font-size: 1.15rem;
    color: #fff;
    margin: 0 0 0.75rem;
}
.gtl-card p {
    color: #b0b0b0;
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    line-height: 1.7;
}
.gtl-card p:last-child {
    margin-bottom: 0;
}

/* ---- COMPARISON TABLE ---- */
.gtl-comparison-table {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.gtl-comparison-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}
.gtl-comparison-table th {
    background: rgba(0, 255, 255, 0.08);
    color: #00ffff;
    text-align: left;
    padding: 0.9rem 1rem;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 2px solid rgba(0, 255, 255, 0.15);
}
.gtl-comparison-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ccc;
}
.gtl-comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* ---- FEATURE GRID ---- */
.gtl-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}
.gtl-feature {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.75rem;
}
.gtl-feature h4 {
    color: #00ffff;
    font-size: 1.05rem;
    margin: 0 0 0.75rem;
}
.gtl-feature p {
    color: #b0b0b0;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---- CTA SECTION ---- */
.gtl-section--cta {
    background: linear-gradient(180deg, rgba(0,255,255,0.03) 0%, rgba(255,0,255,0.03) 100%);
}
.gtl-cta-box {
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-top: 2.5rem;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.05);
}
.gtl-cta-box h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 0 0.75rem;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}
.gtl-cta-box p {
    color: #b0b0b0;
    margin: 0 0 1.5rem;
}

/* ---- BUTTONS ---- */
.gtl-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}
.gtl-btn--lg {
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
}
.gtl-btn--primary {
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    color: #0a0a1a;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}
.gtl-btn--primary:hover {
    box-shadow: 0 0 35px rgba(0, 255, 255, 0.5), 0 0 35px rgba(255, 0, 255, 0.3);
    transform: translateY(-2px);
    color: #0a0a1a;
    text-shadow: none;
}
.gtl-btn--ghost {
    background: transparent;
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.gtl-btn--ghost:hover {
    border-color: #00ffff;
    color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.15);
}

/* ---- RESULTS GRID ---- */
.gtl-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}
.gtl-result-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.75rem;
}
.gtl-result-card h4 {
    color: #fff;
    font-size: 1.05rem;
    margin: 0 0 1.25rem;
}
.gtl-result-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.gtl-result-before,
.gtl-result-after {
    flex: 1;
}
.gtl-result-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 0.25rem;
}
.gtl-result-before .gtl-result-value {
    color: #ff6b6b;
    font-size: 1.25rem;
    font-weight: 700;
}
.gtl-result-after .gtl-result-value {
    color: #00ffaa;
    font-size: 1.25rem;
    font-weight: 700;
}
.gtl-result-arrow {
    font-size: 1.5rem;
    color: #555;
}
.gtl-result-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}
.gtl-result-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ffff, #00ffaa);
    border-radius: 3px;
    transition: width 1s ease;
}
.gtl-result-detail {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

/* ---- FAQ ---- */
.gtl-faq-list {
    max-width: 860px;
    margin: 2rem auto 0;
}
.gtl-faq {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: border-color 0.3s;
}
.gtl-faq:hover {
    border-color: rgba(0, 255, 255, 0.2);
}
.gtl-faq h3 {
    font-size: 1.05rem;
    color: #fff;
    margin: 0;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: default;
}
.gtl-faq [itemprop="text"] {
    padding: 1.25rem 1.5rem;
}
.gtl-faq [itemprop="text"] p {
    margin: 0;
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ---- FINAL CTA ---- */
.gtl-section--final-cta {
    text-align: center;
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(255,0,255,0.04) 50%, rgba(0,0,0,0.3) 100%);
}
.gtl-final-sub {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #b0b0b0;
    font-size: 1.1rem;
}
.gtl-final-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.gtl-final-trust {
    font-size: 0.85rem;
    color: #666;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .gtl-hero {
        padding: 4rem 0 3rem;
    }
    .gtl-section {
        padding: 3rem 0;
    }
    .gtl-toc-list {
        columns: 1;
    }
    .gtl-card-grid {
        grid-template-columns: 1fr;
    }
    .gtl-results-grid {
        grid-template-columns: 1fr;
    }
    .gtl-feature-grid {
        grid-template-columns: 1fr;
    }
    .gtl-comparison-table {
        font-size: 0.85rem;
    }
    .gtl-result-stats {
        flex-direction: column;
        text-align: center;
    }
    .gtl-result-arrow {
        transform: rotate(90deg);
    }
    .gtl-cta-box {
        padding: 2rem 1.25rem;
    }
    .gtl-final-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .gtl-hero-title {
        font-size: 1.6rem;
    }
    .gtl-section-title {
        font-size: 1.4rem;
    }
    .gtl-card {
        padding: 1.25rem;
    }
}
