/* ==================== REUSABLE UI COMPONENTS ==================== */
/* Components used across multiple pages */

/* ==================== BUTTONS ==================== */

/* Primary Block Button */
.block-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 32px;
    font-family: var(--font-game);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    cursor: pointer;
    letter-spacing: 1px;
    border: none;
    overflow: hidden;
    transition: all 0.3s;
}

.block-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
    pointer-events: none;
}

.block-btn:hover::before {
    left: 100%;
}

.block-btn.primary {
    background: linear-gradient(135deg, var(--laser-orange) 0%, #ff5722 100%);
    color: white;
    box-shadow:
        inset 0 -4px 0 rgba(0,0,0,0.3),
        0 4px 0 #cc4422;
}

.block-btn.secondary {
    background: linear-gradient(135deg, var(--block-purple) 0%, #8e44ad 100%);
    color: white;
    box-shadow:
        inset 0 -4px 0 rgba(0,0,0,0.3),
        0 4px 0 #663399;
}

.block-btn.primary:hover {
    background: linear-gradient(135deg, #cc4422 0%, #aa3311 100%);
    box-shadow:
        inset 0 -4px 0 rgba(0,0,0,0.3),
        0 6px 0 #aa3311;
    transform: translateY(-2px);
}

.block-btn.secondary:hover {
    background: linear-gradient(135deg, #663399 0%, #552288 100%);
    box-shadow:
        inset 0 -4px 0 rgba(0,0,0,0.3),
        0 6px 0 #552288;
    transform: translateY(-2px);
}

.block-btn.primary:active {
    transform: translateY(2px);
    box-shadow:
        inset 0 -4px 0 rgba(0,0,0,0.3),
        0 2px 0 #aa3311;
}

.block-btn.secondary:active {
    transform: translateY(2px);
    box-shadow:
        inset 0 -4px 0 rgba(0,0,0,0.3),
        0 2px 0 #552288;
}

/* Tactical Button */
.tactical-btn {
    display: inline-block;
    padding: 18px 48px;
    background: transparent;
    border: 2px solid var(--block-green);
    color: var(--block-green);
    font-family: var(--font-game);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 3px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tactical-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--block-green);
    transition: left 0.4s ease;
    z-index: -1;
}

.tactical-btn:hover::before {
    left: 0;
}

.tactical-btn:hover {
    color: #000;
    box-shadow: 0 0 20px var(--block-green);
}

.btn-brackets {
    color: var(--laser-orange);
    font-size: 1.3rem;
    margin: 0 0.5rem;
}

/* ==================== SECTION LAYOUTS ==================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    pointer-events: none;
}

.container > * {
    pointer-events: auto;
}

.section-title {
    font-family: var(--font-game);
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    color: white;
    text-shadow:
        3px 3px 0 rgba(0,0,0,0.3),
        6px 6px 10px rgba(0,0,0,0.2);
}

/* ==================== ARSENAL/WEAPON COMPONENTS ==================== */

/* Arsenal Preview Section */
.arsenal-preview {
    padding: 100px 20px 120px;
    position: relative;
    z-index: 10;
    pointer-events: none;
    overflow: hidden;
    min-height: 100vh;
}

.arsenal-preview > * {
    pointer-events: auto;
}



/* Arsenal Header */
.arsenal-header-new {
    text-align: center;
    margin: 0 auto 6rem;
    max-width: 700px;
    position: relative;
    padding: 4rem 2rem;
    background: rgba(255,255,255,0.02);
    border: 3px solid rgba(127, 194, 66, 0.3);
    box-shadow:
        0 0 40px rgba(127, 194, 66, 0.15),
        inset 0 0 30px rgba(127, 194, 66, 0.05);
    backdrop-filter: blur(10px);
}

.arsenal-corner-frame {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 3px solid var(--laser-orange);
    pointer-events: none;
}

.arsenal-corner-frame.tl {
    top: -3px;
    left: -3px;
    border-right: none;
    border-bottom: none;
    animation: cornerGlow 3s ease-in-out infinite;
}

.arsenal-corner-frame.tr {
    top: -3px;
    right: -3px;
    border-left: none;
    border-bottom: none;
    animation: cornerGlow 3s ease-in-out 0.75s infinite;
}

.arsenal-corner-frame.bl {
    bottom: -3px;
    left: -3px;
    border-right: none;
    border-top: none;
    animation: cornerGlow 3s ease-in-out 1.5s infinite;
}

.arsenal-corner-frame.br {
    bottom: -3px;
    right: -3px;
    border-left: none;
    border-top: none;
    animation: cornerGlow 3s ease-in-out 2.25s infinite;
}

@keyframes cornerGlow {
    0%, 100% {
        opacity: 0.5;
        box-shadow: 0 0 0px var(--laser-orange);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px var(--laser-orange);
    }
}

.arsenal-label {
    font-family: var(--font-game);
    font-size: 0.75rem;
    color: var(--laser-orange);
    letter-spacing: 5px;
    text-transform: uppercase;
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255, 107, 0, 0.1);
    border: 2px solid rgba(255, 107, 0, 0.3);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.2);
}

.arsenal-main-title {
    font-family: var(--font-game);
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 12px;
    text-shadow:
        0 0 40px rgba(127, 194, 66, 0.4),
        4px 4px 0 rgba(0,0,0,0.3);
    margin: 0;
    line-height: 1;
}

.arsenal-divider {
    width: 180px;
    height: 4px;
    background: linear-gradient(90deg,
        transparent,
        var(--laser-orange) 20%,
        var(--laser-orange) 80%,
        transparent);
    margin: 2rem auto 0;
    box-shadow: 0 0 15px var(--laser-orange);
}

/* Weapons Loadout */
.weapons-loadout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.loadout-row {
    margin-bottom: 3rem;
    display: flex;
}

.loadout-row.left {
    justify-content: flex-start;
}

.loadout-row.right {
    justify-content: flex-end;
}

/* Weapon Panel */
.weapon-panel {
    width: 100%;
    max-width: 650px;
    background: rgba(255,255,255,0.03);
    border: 4px solid rgba(127, 194, 66, 0.4);
    position: relative;
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2.5rem;
    align-items: center;
    transition: all 0.4s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow:
        0 0 30px rgba(127, 194, 66, 0.15),
        0 8px 0 rgba(0,0,0,0.3);
}

.weapon-panel:hover {
    border-color: var(--laser-orange);
    background: rgba(255,255,255,0.05);
    transform: translateY(-5px);
    box-shadow:
        0 0 50px rgba(255, 107, 0, 0.4),
        0 12px 0 rgba(0,0,0,0.4),
        inset 0 0 30px rgba(255, 107, 0, 0.08);
}

.weapon-panel.exotic {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow:
        0 0 40px rgba(255, 215, 0, 0.2),
        0 8px 0 rgba(0,0,0,0.3);
}

.weapon-panel.exotic:hover {
    border-color: var(--block-yellow);
    transform: translateY(-5px);
    box-shadow:
        0 0 60px rgba(255, 215, 0, 0.5),
        0 12px 0 rgba(0,0,0,0.4),
        inset 0 0 30px rgba(255, 215, 0, 0.1);
}

.panel-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.panel-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 0;
    height: 2px;
    background: var(--block-green);
    box-shadow: 0 0 10px var(--block-green);
    transition: width 0.6s ease;
}

.weapon-panel:hover .panel-border::before {
    width: calc(100% + 4px);
}

.weapon-panel.exotic .panel-border::before {
    background: var(--block-yellow);
    box-shadow: 0 0 10px var(--block-yellow);
}

.panel-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg,
        transparent 0%,
        rgba(127, 194, 66, 0.05) 50%,
        transparent 100%);
    animation: scanlineMove 3s linear infinite;
    pointer-events: none;
}

@keyframes scanlineMove {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.weapon-display {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
}

.weapon-display::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(127, 194, 66, 0.1) 0%, transparent 70%);
    animation: weaponGlowPulse 2s ease-in-out infinite;
}

.weapon-panel.exotic .weapon-display::before {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
}

@keyframes weaponGlowPulse {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

.weapon-display img {
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
    transition: transform 0.4s ease;
    position: relative;
    z-index: 2;
}

.weapon-panel:hover .weapon-display img {
    transform: scale(1.1) translateX(10px);
}

.weapon-data {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.weapon-id {
    font-family: var(--font-game);
    font-size: 0.7rem;
    color: var(--block-green);
    letter-spacing: 2px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.weapon-panel:hover .weapon-id {
    color: var(--laser-orange);
    opacity: 1;
}

.weapon-panel.exotic .weapon-id {
    color: var(--block-yellow);
}

.weapon-name {
    font-family: var(--font-game);
    font-size: 1.8rem;
    color: white;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 2px;
    text-shadow:
        0 0 20px rgba(127, 194, 66, 0.4),
        2px 2px 0 rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.weapon-panel:hover .weapon-name {
    color: var(--laser-orange);
    text-shadow:
        0 0 25px rgba(255, 107, 0, 0.6),
        2px 2px 0 rgba(0,0,0,0.3);
}

.weapon-panel.exotic .weapon-name {
    color: var(--block-yellow);
    text-shadow:
        0 0 20px rgba(255, 215, 0, 0.6),
        2px 2px 0 rgba(0,0,0,0.3);
}

.weapon-panel.exotic:hover .weapon-name {
    text-shadow:
        0 0 30px rgba(255, 215, 0, 0.8),
        2px 2px 0 rgba(0,0,0,0.3);
}

.weapon-class {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.weapon-stats {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.stat-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-bar span {
    font-family: var(--font-game);
    font-size: 0.75rem;
    color: var(--block-green);
    width: 40px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.weapon-panel:hover .stat-bar span {
    color: var(--laser-orange);
}

.weapon-panel.exotic .stat-bar span {
    color: var(--block-yellow);
}

.stat-bar .bar {
    flex: 1;
    height: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(127, 194, 66, 0.4);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.weapon-panel.exotic .stat-bar .bar {
    border-color: rgba(255, 215, 0, 0.4);
}

.stat-bar .fill {
    height: 100%;
    background: linear-gradient(90deg,
        var(--block-green) 0%,
        rgba(127, 194, 66, 0.7) 100%);
    box-shadow: 0 0 15px var(--block-green);
    transition: all 0.3s ease;
    position: relative;
}

.weapon-panel:hover .stat-bar .fill {
    background: linear-gradient(90deg,
        var(--laser-orange) 0%,
        rgba(255, 107, 0, 0.7) 100%);
    box-shadow: 0 0 20px var(--laser-orange);
}

.stat-bar .fill.exotic-fill {
    background: linear-gradient(90deg,
        var(--block-yellow) 0%,
        rgba(255, 215, 0, 0.7) 100%);
    box-shadow: 0 0 15px var(--block-yellow);
}

.weapon-panel.exotic:hover .stat-bar .fill.exotic-fill {
    box-shadow: 0 0 25px var(--block-yellow);
}

.stat-bar .fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    animation: statShine 2s ease-in-out infinite;
}

@keyframes statShine {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.arsenal-footer-cta {
    text-align: center;
    margin-top: 5rem;
}

/* ==================== FEATURE CARDS ==================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    text-align: center;
    box-shadow:
        inset 0 -6px 0 rgba(0,0,0,0.1),
        0 6px 0 rgba(0,0,0,0.3),
        0 12px 24px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: var(--font-game);
    font-size: 1.5rem;
    color: var(--laser-orange);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.feature-card p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}
