/* ==========================================================================
   WAR THUNDER ARSENAL HUB — GLOBAL STYLESHEET
   ==========================================================================
   Author:        R. Seaverns (K0NxT3D)
   Site:          http://www.seaverns.com/warthunder/
   Purpose:       Global layout and UI styling for the War Thunder
                  Mods / Skins / Utilities directory.

   Design Theme
   --------------------------------------------------------------------------
   Dark industrial command-console aesthetic
   • Black / gunmetal panels
   • Deep red accent highlights
   • Cinematic shadows and glow

   Usage
   --------------------------------------------------------------------------
   Loaded by all War Thunder directory pages to maintain consistent
   styling across downloads, galleries, and project pages.

   Version:       1.0
   ========================================================================== */


/* ==========================================================================
   ROOT VARIABLES
   ========================================================================== */

:root {

  /* Backgrounds */
  --bg-main: #0b0b0b;
  --bg-panel: #151515;
  --bg-header: #0c0c0c;

  /* Panel gradient */
  --panel-top: #1a1a1a;
  --panel-mid: #111111;
  --panel-mid2: #0c0c0c;
  --panel-bottom: #080808;

  /* Borders */
  --border-main: #1c1c1c;
  --border-soft: #222222;

  /* Text */
  --text-main: #e0e0e0;
  --text-soft: #cfcfcf;
  --text-muted: #888888;
  --text-dim: #777777;

  /* Accent */
  --accent: #990000;

  /* Shadows */
  --shadow-deep: rgba(0,0,0,0.9);
  --shadow-red: rgba(153,0,0,0.5);
  --shadow-red-soft: rgba(153,0,0,0.15);

}


/* ==========================================================================
   GLOBAL BASE
   ========================================================================== */

body {

  background: var(--bg-main);
  color: var(--text-main);
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
}


/* ==========================================================================
   CONTAINER
   ========================================================================== */

.container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}


/* ==========================================================================
   PANEL SHELL
   ========================================================================== */

.panel-shell {
  max-width: 1200px;
  margin: 40px auto;
  background: linear-gradient(
    180deg,
    var(--panel-top) 0%,
    var(--panel-mid) 35%,
    var(--panel-mid2) 70%,
    var(--panel-bottom) 100%
  );

  border: 1px solid var(--border-main);
  border-radius: 8px;

  box-shadow:
    0 0 0 1px #000 inset,
    0 0 40px var(--shadow-deep),
    0 0 10px var(--shadow-red-soft);
    
  padding: 30px;
  position: relative;
}


/* ==========================================================================
   HEADER
   ========================================================================== */

header {
  text-align: center;
  margin-bottom: 30px;
  border: 1px solid var(--border-main);
  border-radius: 8px;
  background-color: var(--bg-header);
  box-shadow:
    0 0 0 1px #000 inset,
    0 0 40px var(--shadow-deep),
    0 0 10px var(--shadow-red-soft);

}


header h1 {
  color: var(--accent);
  font-size: 42px;
  text-shadow: 0 0 12px #000;
  margin-bottom: 10px;
}


header p {
  color: #b0b0b0;
  font-size: 18px;
  max-width: 800px;
  margin: auto;
  line-height: 1.6;
}


/* ==========================================================================
   INTRO / SEO INTRO
   ========================================================================== */

.intro {
  max-width: 900px;
  margin: 30px auto;
  text-align: center;
  line-height: 1.7;
  color: var(--text-soft);
}


/* ==========================================================================
   HERO IMAGE
   ========================================================================== */

.hero {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}


.hero img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border: 1px solid var(--border-soft);
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
}


.caption {
  text-align: center;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 14px;
}


/* ==========================================================================
   SEO CONTENT BLOCK
   ========================================================================== */

.seo {
  max-width: 900px;
  margin: 40px auto;
  line-height: 1.7;
  color: var(--text-soft);
}


.seo h2 {
  color: var(--accent);
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px #000;
}


/* ==========================================================================
   GRID LAYOUT
   ========================================================================== */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 30px;
  margin-top: 40px;
}


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

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 25px;
  transition: 0.2s;
}


.card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--shadow-red);
}


.card h2 {
  color: var(--accent);
  margin-top: 0;
  text-shadow: 0 0 8px #000;
}


.card p {
  color: var(--text-soft);
  line-height: 1.6;
}


.card a {
  display: inline-block;
  margin-top: 12px;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 1px solid var(--accent);
}


.card a:hover {
  color: var(--accent);
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
  text-align: center;
  margin-top: 60px;
  font-size: 14px;
  color: var(--text-dim);
}


footer a {
  color: var(--accent);
  text-decoration: none;
}