html {
    scroll-behavior: smooth;
}

select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: none !important;
}

select::-ms-expand {
    display: none !important;
}

.glass-card {
    background: rgba(12, 10, 9, 0.95);
    border: 1px solid rgba(255, 77, 0, 0.3);
}

.neon-border {
    box-shadow: 0 0 20px rgba(255, 77, 0, 0.2), inset 0 0 10px rgba(255, 152, 0, 0.1);
}

.futuristic-modal {
    background: #0c0a09;
    border: 4px solid transparent;
    background-clip: padding-box;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.futuristic-modal::before {
    content: '';
    position: absolute;
    top: -4px;
    bottom: -4px;
    left: -4px;
    right: -4px;
    background: linear-gradient(135deg, #4b2c20, #ff4d00, #ff9800, #4b2c20);
    background-size: 300% 300%;
    z-index: -1;
    border-radius: inherit;
    box-shadow:
        0 0 30px rgba(255, 77, 0, 0.4),
        0 0 60px rgba(255, 152, 0, 0.2),
        inset 0 0 15px rgba(255, 255, 255, 0.1);
    animation: borderGradient 8s ease infinite;
}

@keyframes borderGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.modal-overlay {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
}

.speed-line {
    background: linear-gradient(90deg, transparent, #ff4d00, transparent);
    height: 1px;
    width: 100%;
    opacity: 0.3;
}

/* --- WOOD & FIRE FRAME --- */
.tech-frame-container {
    padding: 18px;
    background: #1c1917;
    /* Very Dark Stone */
    position: relative;
    box-shadow:
        0 0 40px rgba(255, 77, 0, 0.2),
        0 0 20px rgba(75, 44, 32, 0.6) inset,
        0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 77, 0, 0.3);

    clip-path: polygon(25px 0, calc(100% - 25px) 0,
            100% 25px, 100% calc(100% - 25px),
            calc(100% - 25px) 100%, 25px 100%,
            0 calc(100% - 25px), 0 25px);
}

.tech-h-line {
    position: absolute;
    left: 60px;
    right: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff4d00, #ff9800, #ff4d00, transparent);
    opacity: 0.6;
}

.h-top {
    top: 8px;
}

.h-bottom {
    bottom: 8px;
}

.tech-v-line {
    position: absolute;
    top: 60px;
    bottom: 60px;
    width: 1px;
    background: linear-gradient(180deg, transparent, #ff4d00, transparent);
    opacity: 0.4;
}

.v-left {
    left: 8px;
}

.v-right {
    right: 8px;
}

.svg-corner {
    position: absolute;
    width: 45px;
    height: 45px;
    z-index: 10;
    color: #ff4d00;
    filter: drop-shadow(0 0 8px #ff4d00);
}

.corner-top-left {
    top: 0;
    left: 0;
}

.corner-top-right {
    top: 0;
    right: 0;
    transform: rotate(90deg);
}

.corner-bottom-right {
    bottom: 0;
    right: 0;
    transform: rotate(180deg);
}

.corner-bottom-left {
    bottom: 0;
    left: 0;
    transform: rotate(270deg);
}

.corner-hex {
    fill: #292524;
    /* Stone 800 */
    stroke: #ff9800;
    stroke-width: 2;
}

.svg-center-deco {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 14px;
    z-index: 10;
}

.deco-top {
    top: -2px;
}

.deco-bottom {
    bottom: -2px;
    transform: translateX(-50%) rotate(180deg);
}

.deco-main-path {
    stroke: #ff4d00;
    fill: #44403c;
}

.deco-accent {
    fill: #ff9800;
    filter: drop-shadow(0 0 6px #ff9800);
}

.cyber-scroll::-webkit-scrollbar {
    width: 6px;
}

.cyber-scroll::-webkit-scrollbar-track {
    background: #0c0a09;
}

.cyber-scroll::-webkit-scrollbar-thumb {
    background-color: #ff4d00;
    border-radius: 10px;
}

.clip-content {
    clip-path: polygon(15px 0, calc(100% - 15px) 0,
            100% 15px, 100% calc(100% - 15px),
            calc(100% - 15px) 100%, 15px 100%,
            0 calc(100% - 15px), 0 15px);
}

.clip-button {
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

@keyframes modalFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.98);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-modal {
    animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}