/*
Theme Name: Discord Time Zone Converter
Theme URI: https://discordtimezoneconverter.com
Description: A fast, modern Discord timestamp and time zone converter tool. Generate Discord timestamp codes instantly and share timezone-aware messages.
Version: 2.0.0
Author: Discord Time Zone Converter Online
Author URI: https://discordtimezoneconverter.com
Text Domain: discordtimezoneconverter
*/

/* ========== RESET & BASE ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --blurple: #5865F2;
    --blurple-dark: #4752C4;
    --blurple-light: #7983F5;
    --green: #57F287;
    --green-dim: #3ba55c;
    --yellow: #FEE75C;
    --red: #ED4245;
    --dark-1: #1a1b1e;
    --dark-2: #2b2d31;
    --dark-3: #313338;
    --dark-4: #383a40;
    --dark-5: #4f545c;
    --text-light: #dcddde;
    --text-muted: #96989d;
    --text-link: #00aff4;
    --white: #ffffff;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    --max-width: 960px;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --transition: 0.2s ease;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    background: var(--dark-1);
}

a {
    color: var(--text-link);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Prevent layout shifts by preserving aspect ratio */
img[width][height] {
    aspect-ratio: attr(width) / attr(height);
}

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

/* ========== HEADER ========== */
.site-header {
    background: var(--dark-2);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    color: var(--white);
}

.site-logo svg {
    width: 30px;
    height: 30px;
    color: var(--blurple);
}

.site-logo:hover {
    color: var(--white);
    text-decoration: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-nav a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition);
}

.site-nav a:hover {
    color: var(--white);
    text-decoration: none;
}

/* ========== HERO + TOOL ========== */
.hero-tool {
    padding: 48px 0 56px;
    background: linear-gradient(180deg, var(--dark-1) 0%, var(--dark-2) 100%);
    position: relative;
    overflow: hidden;
}

.hero-tool::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(88,101,242,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-tool .hero-text {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
}

.hero-tool h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
}

.hero-tool h1 span {
    background: linear-gradient(135deg, var(--blurple), var(--blurple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tool .hero-text p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========== TOOL CARD ========== */
.tool-card {
    background: var(--dark-3);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    position: relative;
}

.tool-input-area {
    padding: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group.full-width {
    grid-column: 1 / -1;
}

.input-group label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.input-group input,
.input-group select {
    padding: 10px 14px;
    border: 1px solid var(--dark-5);
    border-radius: var(--radius-xs);
    font-size: 14px;
    font-family: var(--font-main);
    color: var(--white);
    background: var(--dark-2);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.input-group input:focus,
.input-group select:focus {
    border-color: var(--blurple);
    box-shadow: 0 0 0 2px rgba(88, 101, 242, 0.25);
}

.input-group select option {
    background: var(--dark-2);
    color: var(--white);
}

.quick-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.quick-btn {
    padding: 6px 14px;
    border: 1px solid var(--dark-5);
    border-radius: 100px;
    background: var(--dark-2);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-main);
}

.quick-btn:hover {
    border-color: var(--blurple);
    color: var(--blurple-light);
    background: rgba(88, 101, 242, 0.1);
}

/* ========== RESULTS ========== */
.results-area {
    padding: 28px;
}

.results-heading {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.timestamp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.timestamp-card {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--radius-xs);
    padding: 14px;
    transition: border-color var(--transition);
}

.timestamp-card:hover {
    border-color: rgba(88,101,242,0.3);
}

.timestamp-card .ts-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.timestamp-card .ts-preview {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 8px;
    min-height: 20px;
}

.timestamp-card .ts-code-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.timestamp-card .ts-code {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--blurple-light);
    background: var(--dark-1);
    padding: 7px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.04);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--dark-5);
    border-radius: 4px;
    background: var(--dark-2);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
}

.copy-btn:hover {
    border-color: var(--blurple);
    color: var(--blurple-light);
    background: rgba(88, 101, 242, 0.1);
}

.copy-btn.copied {
    border-color: var(--green);
    color: var(--green);
    background: rgba(87, 242, 135, 0.08);
}

.copy-btn svg {
    width: 14px;
    height: 14px;
}

/* ========== UNIX DISPLAY ========== */
.unix-display {
    margin-top: 16px;
    padding: 16px;
    background: var(--dark-1);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.unix-display .unix-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.unix-display .unix-value {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 700;
    color: var(--green);
}

.unix-display .copy-btn {
    border-color: var(--dark-5);
    color: var(--text-muted);
    background: var(--dark-2);
}

.unix-display .copy-btn:hover {
    border-color: var(--green);
    color: var(--green);
}

/* ========== CONTENT SECTIONS ========== */
.content-section {
    padding: 56px 0;
}

.content-section h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.content-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
    margin: 24px 0 10px;
}

.content-section p {
    color: var(--text-muted);
    margin-bottom: 14px;
    max-width: 720px;
}

.content-section ul,
.content-section ol {
    padding-left: 22px;
    margin-bottom: 14px;
    color: var(--text-muted);
}

.content-section li {
    margin-bottom: 6px;
}

.content-section code {
    font-family: var(--font-mono);
    font-size: 13px;
    background: rgba(88, 101, 242, 0.15);
    color: var(--blurple-light);
    padding: 2px 7px;
    border-radius: 4px;
}

/* ========== ALT BG ========== */
.alt-bg {
    background: var(--dark-2);
}

/* ========== FORMAT TABLE ========== */
.format-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 13px;
}

.format-table thead {
    background: var(--dark-1);
}

.format-table th {
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.format-table td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--text-light);
}

.format-table tr:last-child td {
    border-bottom: none;
}

.format-table code {
    font-family: var(--font-mono);
    background: rgba(88, 101, 242, 0.15);
    color: var(--blurple-light);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 12px;
}

/* ========== METHOD GRID ========== */
.method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 20px 0 28px;
}

.method-card {
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    padding: 22px;
    transition: border-color var(--transition), transform var(--transition);
}

.method-card:hover {
    border-color: rgba(88,101,242,0.3);
    transform: translateY(-2px);
}

.method-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-xs);
    background: rgba(88, 101, 242, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--blurple-light);
}

.method-icon svg {
    width: 18px;
    height: 18px;
}

.method-card h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
}

.method-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.comparison-wrap {
    max-width: 560px;
}

.comparison-wrap h3 {
    margin-bottom: 10px;
}

/* ========== FORMAT GRID ========== */
.format-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.format-card {
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    padding: 18px 14px;
    text-align: center;
    transition: border-color var(--transition);
}

.format-card:hover {
    border-color: rgba(88,101,242,0.3);
}

.format-letter {
    font-family: var(--font-mono);
    font-size: 26px;
    font-weight: 700;
    color: var(--blurple-light);
    margin-bottom: 4px;
}

.format-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
}

.format-example {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
}

.format-card-highlight {
    border-color: var(--blurple);
    background: rgba(88, 101, 242, 0.08);
}

.format-card-highlight .format-letter {
    color: var(--green);
}

/* ========== PRO TIP ========== */
.pro-tip {
    margin-top: 24px;
    padding: 24px;
    background: rgba(88, 101, 242, 0.06);
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: var(--radius);
    max-width: 720px;
}

.pro-tip h3 {
    margin: 0 0 8px;
    color: var(--blurple-light);
}

.pro-tip p {
    margin-bottom: 10px;
}

.pro-tip p:last-child {
    margin-bottom: 0;
}

.pro-tip blockquote {
    border-left: 3px solid var(--blurple);
    background: var(--dark-3);
    margin: 10px 0;
    padding: 12px 18px;
    border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}

.pro-tip blockquote p {
    margin: 0;
    font-style: italic;
    color: var(--text-light);
}

/* ========== TROUBLE GRID ========== */
.trouble-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 16px 0;
}

.trouble-card {
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    padding: 22px;
}

.trouble-card h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
}

.trouble-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ========== FAQ ========== */
.faq-section {
    padding: 56px 0 72px;
}

.faq-section h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.faq-item {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
    background: var(--dark-3);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-main);
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--blurple-light);
}

.faq-question svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 14px;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 20px 16px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

/* ========== FOOTER ========== */
.site-footer {
    background: var(--dark-1);
    border-top: 1px solid rgba(255,255,255,0.06);
    color: var(--text-muted);
    padding: 36px 0;
    font-size: 13px;
}

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

.footer-byline {
    font-size: 13px;
    color: var(--text-muted);
    margin: 4px 0 0;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: none;
}

/* ========== TOAST ========== */
.toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--blurple);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(88,101,242,0.4);
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ========== ARTICLE CONTENT ========== */
.article-content figure {
    margin: 16px 0 20px;
    max-width: 720px;
}

.article-content .article-img {
    width: 100%;
    max-width: 720px;
    border-radius: var(--radius);
    margin: 0;
    border: 1px solid rgba(255,255,255,0.06);
}

.article-content figcaption {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
    line-height: 1.5;
}

.context-footer {
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.context-footer p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 720px;
}

.context-footer a {
    color: var(--blurple-light);
    text-decoration: none;
}

.context-footer a:hover {
    text-decoration: underline;
}

.article-content blockquote {
    border-left: 3px solid var(--blurple);
    background: var(--dark-3);
    margin: 16px 0;
    padding: 14px 20px;
    border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
    max-width: 720px;
}

.article-content blockquote p {
    margin: 0;
    font-style: italic;
    color: var(--text-light);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-tool {
        padding: 32px 0 40px;
    }

    .hero-tool h1 {
        font-size: 26px;
    }

    .hero-tool .hero-text p {
        font-size: 14px;
    }

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

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

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

    .format-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .tool-input-area,
    .results-area {
        padding: 18px;
    }

    .unix-display {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .unix-display .copy-btn {
        align-self: flex-end;
    }

    .footer-content {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }

    .site-nav {
        gap: 14px;
    }

    .content-section h2 {
        font-size: 20px;
    }

    .content-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .hero-tool h1 {
        font-size: 22px;
    }

    .site-logo {
        font-size: 14px;
    }

    .quick-buttons {
        gap: 6px;
    }

    .quick-btn {
        padding: 5px 10px;
        font-size: 11px;
    }

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

/* ========== SCHEMA/SEO HIDDEN ========== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ========== ANIMATED HERO ORBS ========== */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.5;
    animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(88, 101, 242, 0.2);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(87, 242, 135, 0.12);
    top: 50%;
    right: -80px;
    animation-delay: -4s;
}

.hero-orb-3 {
    width: 250px;
    height: 250px;
    background: rgba(88, 101, 242, 0.15);
    bottom: -60px;
    left: 40%;
    animation-delay: -8s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ========== HERO BADGE ========== */
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(88, 101, 242, 0.12);
    border: 1px solid rgba(88, 101, 242, 0.25);
    font-size: 12px;
    font-weight: 600;
    color: var(--blurple-light);
    letter-spacing: 0.03em;
    margin-bottom: 16px;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(88, 101, 242, 0); }
    50% { box-shadow: 0 0 0 6px rgba(88, 101, 242, 0.1); }
}

/* ========== GLASSMORPHISM TOOL CARD ========== */
.tool-card {
    background: rgba(49, 51, 56, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blurple), var(--blurple-light), var(--blurple), transparent);
    background-size: 200% 100%;
    animation: gradientSlide 4s linear infinite;
}

@keyframes gradientSlide {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========== GLOW DIVIDERS ========== */
.glow-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(88,101,242,0.3) 50%, transparent 100%);
    position: relative;
}

.glow-divider::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 30%;
    right: 30%;
    height: 9px;
    background: radial-gradient(ellipse, rgba(88,101,242,0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== SHIMMER ON TIMESTAMP CARDS ========== */
.timestamp-card {
    position: relative;
    overflow: hidden;
}

.timestamp-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.timestamp-card:hover::after {
    left: 150%;
}

/* ========== METHOD CARD GLOW ========== */
.method-card {
    position: relative;
    overflow: hidden;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-sm);
    padding: 1px;
    background: linear-gradient(135deg, rgba(88,101,242,0) 0%, rgba(88,101,242,0.3) 50%, rgba(88,101,242,0) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.method-card:hover::before {
    opacity: 1;
}

/* ========== FORMAT CARD SHIMMER ========== */
.format-card-highlight {
    position: relative;
    overflow: hidden;
}

.format-card-highlight::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(87,242,135,0.08), transparent 30%);
    animation: rotateGlow 6s linear infinite;
    pointer-events: none;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========== NAV UNDERLINE ========== */
.site-nav a {
    position: relative;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blurple);
    border-radius: 1px;
    transition: width 0.25s ease;
}

.site-nav a:hover::after {
    width: 100%;
}

/* ========== COPY BUTTON RIPPLE ========== */
.copy-btn {
    position: relative;
    overflow: hidden;
}

.copy-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(88, 101, 242, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    pointer-events: none;
}

.copy-btn:active::after {
    width: 60px;
    height: 60px;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 40px 0 56px;
}

.cta-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(88,101,242,0.12) 0%, rgba(49,51,56,0.9) 100%);
    border: 1px solid rgba(88,101,242,0.2);
    border-radius: var(--radius);
    padding: 48px 40px;
    text-align: center;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    opacity: 0.4;
}

.cta-orb-1 {
    width: 200px;
    height: 200px;
    background: rgba(88, 101, 242, 0.25);
    top: -60px;
    right: -40px;
    animation: orbFloat 10s ease-in-out infinite;
}

.cta-orb-2 {
    width: 160px;
    height: 160px;
    background: rgba(87, 242, 135, 0.12);
    bottom: -40px;
    left: -30px;
    animation: orbFloat 10s ease-in-out infinite;
    animation-delay: -5s;
}

.cta-card h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
    position: relative;
    letter-spacing: -0.02em;
}

.cta-card p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
    position: relative;
}

.cta-button {
    display: inline-block;
    position: relative;
    padding: 12px 32px;
    background: var(--blurple);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(88,101,242,0.3);
}

.cta-button:hover {
    background: var(--blurple-light);
    box-shadow: 0 6px 24px rgba(88,101,242,0.45);
    transform: translateY(-2px);
    text-decoration: none;
}

.cta-button:active {
    transform: translateY(0);
}

/* ========== QUICK BTN ACTIVE STATE ========== */
.quick-btn.active {
    border-color: var(--blurple);
    color: var(--blurple-light);
    background: rgba(88, 101, 242, 0.15);
    box-shadow: 0 0 0 2px rgba(88,101,242,0.15);
}

/* ========== TROUBLE CARD WARN ICON ========== */
.trouble-card {
    position: relative;
    padding-left: 48px;
}

.trouble-card::before {
    content: '⚠';
    position: absolute;
    left: 18px;
    top: 22px;
    font-size: 18px;
    opacity: 0.6;
}

/* ========== ARTICLE IMAGE HOVER ========== */
.article-content .article-img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.article-content .article-img:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* ========== FAQ GLOW ON OPEN ========== */
.faq-item.open {
    border-color: rgba(88,101,242,0.2);
    box-shadow: 0 0 0 1px rgba(88,101,242,0.05), 0 4px 12px rgba(88,101,242,0.06);
}

/* ========== RESPONSIVE OVERRIDES ========== */
@media (max-width: 768px) {
    .hero-orb-1 { width: 250px; height: 250px; }
    .hero-orb-2 { width: 180px; height: 180px; }
    .hero-orb-3 { width: 150px; height: 150px; }

    .cta-card { padding: 32px 20px; }
    .cta-card h2 { font-size: 22px; }

    .trouble-card { padding-left: 22px; }
    .trouble-card::before { display: none; }
}

@media (max-width: 480px) {
    .hero-badge { font-size: 11px; padding: 5px 12px; }
    .cta-button { padding: 10px 24px; font-size: 14px; }
}
