
*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Arial,sans-serif;
background:#f4f4f4;
color:#222;
line-height:1.6;
}

.container{
width:90%;
max-width:1280px;
margin:auto;
}

header{
background:#111;
padding:15px 0;
position:sticky;
top:0;
z-index:999;
}

.nav-wrapper{
display:flex;
justify-content:space-between;
align-items:center;
}

.logo{
color:#fff;
font-size:28px;
font-weight:bold;
}

nav ul{
display:flex;
gap:20px;
list-style:none;
}

nav a{
color:#fff;
text-decoration:none;
font-weight:bold;
}

nav a:hover{
color:#ddd;
}

.hero{
background:#fff;
padding:100px 0;
text-align:center;
}

.hero h1{
font-size:52px;
margin-bottom:20px;
}

.hero p{
font-size:20px;
margin-bottom:25px;
}

.btn{
display:inline-block;
padding:12px 24px;
background:#111;
color:#fff;
text-decoration:none;
border-radius:6px;
}

.section{
padding:60px 0;
}

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

.year-grid a{
background:#fff;
padding:15px;
text-align:center;
border-radius:8px;
text-decoration:none;
color:#111;
font-weight:bold;
}

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

.issue-card{
background:#fff;
border-radius:16px;
overflow:hidden;
box-shadow:0 4px 14px rgba(0,0,0,.12);
transition:transform .2s ease;
}

.issue-card:hover{
transform:translateY(-4px);
}

.issue-cover{
width:100%;
height:360px;
object-fit:cover;
background:#ddd;
}

.issue-content{
padding:20px;
text-align: center;
}

.issue-content h3{
margin-bottom:15px;
font-size:22px;
}

footer{
background:#111;
color:#fff;
text-align:center;
padding:20px 0;
margin-top:50px;
}

.card{
background:#fff;
padding:25px;
border-radius:12px;
box-shadow:0 2px 10px rgba(0,0,0,.08);
margin-bottom:20px;
}

@media(max-width:768px){

.nav-wrapper{
flex-direction:column;
gap:15px;
}

nav ul{
flex-wrap:wrap;
justify-content:center;
}

.hero{
padding:60px 0;
}

.hero h1{
font-size:36px;
}

.issue-cover{
height:300px;
}

}

/* =========================
   DARK MODE VARIABLES
========================= */

:root{
  --bg-color:#f4f4f4;
  --text-color:#222;
  --card-bg:#ffffff;
  --header-bg:#111;
  --button-bg:#111;
  --button-text:#ffffff;
}

body.dark-mode{
  --bg-color:#121212;
  --text-color:#f1f1f1;
  --card-bg:#1f1f1f;
  --header-bg:#000000;
  --button-bg:#f1f1f1;
  --button-text:#111111;
}

/* =========================
   GLOBAL COLORS
========================= */

body{
  background:var(--bg-color);
  color:var(--text-color);
  transition:background 0.3s ease,color 0.3s ease;
}

header{
  background:var(--header-bg);
}

.card,
.issue-card,
.hero,
.year-grid a{
  background:var(--card-bg);
  color:var(--text-color);
}

.btn{
  background:var(--button-bg);
  color:var(--button-text);
}

/* =========================
   DARK MODE TOGGLE BUTTON
========================= */

.theme-toggle{
  border:none;
  cursor:pointer;
  padding:10px 18px;
  border-radius:30px;
  font-size:14px;
  font-weight:bold;
}