/**
 * BRUTAL INDUSTRIAL PATTERNS & TEXTURES
 * Diamond plate, rivets, caution stripes, metal effects
 */

/* ==================== */
/* INDUSTRIAL PATTERNS */
/* ==================== */

/* Diamond Plate Pattern */
.diamond-plate {
    background-color: #1A1A1A;
    background-image: 
        linear-gradient(45deg, transparent 25%, rgba(255,107,0,0.05) 25%, rgba(255,107,0,0.05) 50%, transparent 50%, transparent 75%, rgba(255,107,0,0.05) 75%),
        linear-gradient(-45deg, transparent 25%, rgba(255,107,0,0.05) 25%, rgba(255,107,0,0.05) 50%, transparent 50%, transparent 75%, rgba(255,107,0,0.05) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

/* Caution Stripes - Diagonal Yellow/Black */
.caution-stripes {
    background: repeating-linear-gradient(
        45deg,
        #000 0px,
        #000 20px,
        #FDB913 20px,
        #FDB913 40px
    );
}

.caution-stripes-horizontal {
    background: repeating-linear-gradient(
        90deg,
        #FDB913 0px,
        #FDB913 15px,
        #000 15px,
        #000 30px
    );
}

/* Riveted Metal Corners */
.rivets::after,
.rivets::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #4B5563 0%, #2D2D2D 70%);
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.8);
}

.rivets::before {
    top: 12px;
    left: 12px;
}

.rivets::after {
    top: 12px;
    right: 12px;
}

/* Metal Plate Background */
.metal-plate {
    background: linear-gradient(145deg, #2D2D2D 0%, #1A1A1A 50%, #2D2D2D 100%);
    position: relative;
}

.metal-plate::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20px 20px, rgba(75,85,99,0.3) 2px, transparent 2px),
        radial-gradient(circle at 60px 20px, rgba(75,85,99,0.3) 2px, transparent 2px),
        radial-gradient(circle at 20px 60px, rgba(75,85,99,0.3) 2px, transparent 2px),
        radial-gradient(circle at 60px 60px, rgba(75,85,99,0.3) 2px, transparent 2px);
    background-size: 80px 80px;
    opacity: 0.5;
    pointer-events: none;
}

/* Industrial Grid Overlay */
.industrial-grid {
    position: relative;
}

.industrial-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent 0px, rgba(255,107,0,0.03) 1px, transparent 2px, transparent 50px),
        repeating-linear-gradient(90deg, transparent 0px, rgba(255,107,0,0.03) 1px, transparent 2px, transparent 50px);
    pointer-events: none;
    z-index: 1;
}

/* Corner Angle Brackets */
.corner-brackets::before,
.corner-brackets::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid #FF6B00;
    opacity: 0.6;
}

.corner-brackets::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.corner-brackets::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* ==================== */
/* SECTION DIVIDERS */
/* ==================== */

/* Orange hazard stripe divider */
.section-divider {
    height: 6px;
    background: repeating-linear-gradient(
        45deg,
        #000,
        #000 15px,
        #FF6B00 15px,
        #FF6B00 30px
    );
    margin: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* Metal bolt divider */
.bolt-divider {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 3rem 0;
}

.bolt-divider::before,
.bolt-divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2D2D2D 20%, #2D2D2D 80%, transparent);
}

.bolt-divider span {
    width: 16px;
    height: 16px;
    background: radial-gradient(circle, #4B5563 0%, #2D2D2D 70%);
    border-radius: 50%;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.8);
    position: relative;
}

.bolt-divider span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 2px;
    background: #1A1A1A;
    transform: translate(-50%, -50%) rotate(45deg);
}

/* ==================== */
/* STATS BAR - Industrial Gauge Style */
/* ==================== */
.stats-bar {
    background: linear-gradient(180deg, #1A1A1A 0%, #0D0D0D 100%);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    border-top: 4px solid #FF6B00;
    border-bottom: 4px solid #FF6B00;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        #FDB913 0px,
        #FDB913 10px,
        #000 10px,
        #000 20px
    );
}

.stats-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        #FDB913 0px,
        #FDB913 10px,
        #000 10px,
        #000 20px
    );
}

.stat-item {
    position: relative;
    padding: 2rem 1rem;
    background: rgba(45,45,45,0.3);
    border: 2px solid #2D2D2D;
    border-radius: var(--radius-md);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    color: #FDB913;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.8), 0 0 30px rgba(253,185,19,0.4);
    letter-spacing: 2px;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #9CA3AF;
    margin-top: 0.5rem;
}

/* ==================== */
/* UTILITY CLASSES */
/* ==================== */

/* Orange glow effect */
.orange-glow {
    box-shadow: 0 0 30px rgba(255,107,0,0.4), 0 0 60px rgba(255,107,0,0.2);
}

/* Yellow glow effect */
.yellow-glow {
    box-shadow: 0 0 30px rgba(253,185,19,0.4), 0 0 60px rgba(253,185,19,0.2);
}

/* Stencil text effect */
.stencil-text {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 8px;
    font-weight: 700;
    color: #FF6B00;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.8);
}

/* Industrial serial number */
.serial-number {
    font-family: var(--font-technical);
    background: #0D0D0D;
    border: 2px solid #2D2D2D;
    border-left: 4px solid #FDB913;
    padding: 0.75rem 1rem;
    display: inline-block;
    letter-spacing: 2px;
    font-weight: 700;
}

/* Warning banner */
.warning-banner {
    background: repeating-linear-gradient(
        45deg,
        #FDB913,
        #FDB913 20px,
        #000 20px,
        #000 40px
    );
    padding: 1rem;
    text-align: center;
    font-weight: 900;
    letter-spacing: 3px;
    color: #000;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}
