/* --- RESET & BASE STYLES --- */
:root {
    --primary-color: #cc0000;
    --primary-hover: #a30000;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --text-main: #333;
    --text-muted: #666;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- NAVBAR --- */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--white);
    padding: 15px 5%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    letter-spacing: 1px;
    text-align: center;
}

.logo span {
    color: var(--primary-color);
}

.nav-back-btn {
    position: absolute;
    left: 5%;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-back-btn:hover {
    color: var(--primary-hover);
    transform: translateX(-3px);
}

/* --- HEADER SECTION --- */
.page-header {
    background: linear-gradient(rgba(217, 4, 41, 0.66), rgba(43, 45, 66, 0.72)), url('https://images.unsplash.com/photo-1599391398131-cd12dfc6c24e?w=1400&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTF8fGJhZG1pbnRvbnxlbnwwfHwwfHx8MA%3D%3D') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 50px 20px;
    margin-bottom: 40px;
    border-bottom: 4px solid var(--primary-color);
}

.page-header h1 {
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 15px;
    font-weight: 300;
    opacity: 0.9;
}

/* --- CONTENT WRAPPER --- */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    flex: 1;
}

.section-title2 {
  cursor: pointer;
  padding: 12px 20px;
  background-color: rgb(255, 68, 68);
  border: 2px solid rgb(0, 0, 0);
  color: White;
  font-size: 15px;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  margin-top: -10px;
  margin-bottom: 10px;
  text-align: center;
  text-transform: uppercase;
  transition: all ease 0.3s;
  border-radius: 7px;
  /* box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset; */
  box-shadow:
    rgba(0, 0, 0, 0.4) 0px 2px 4px,
    rgba(0, 0, 0, 0.3) 0px 7px 13px -3px,
    rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.section-title2:hover {
  border-radius: 3px;
  background-color: rgb(255, 99, 99);
}

.section-title2:active {
  content: "Deleted";
  background-color: rgb(255, 38, 38);
  box-shadow:
    rgba(9, 30, 66, 0.25) 0px 1px 1px,
    rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* --- RULES CARD & GROUPING --- */
.rules-card {
    background: var(--white);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 50px;
    border-top: 4px solid var(--primary-color);
}

.rule-group {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
}

.rule-group:hover {
    border-color: red;
}

.rule-group:last-child {
    border-bottom: none;
}

.rule-group h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rules-list {
    list-style: none;
}

.rules-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 15px;
}

.rules-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.rules-list li strong {
    color: #000;
    font-weight: 600;
}

.disclaimer-box {
    margin-top: 30px;
    padding: 20px;
    border-radius: 10px;
    background: rgba(204,0,0,0.05);
    border-left: 4px solid var(--primary-color);
    text-align: center;
    font-style: italic;
    font-weight: 500;
}

/* --- LEVEL CARDS --- */
.level-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.level-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.level-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.level-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.level-desc {
    font-size: 14px;
    color: var(--text-muted);
}

/* --- BUTTONS --- */
.btn-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn {
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
}

.btn-back {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-back:hover {
    background-color: rgba(204, 0, 0, 0.05);
}

.btn-action {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-action:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 4px 10px rgba(204, 0, 0, 0.2);
}

/* --- FOOTER --- */
footer {
    background-color: #111;
    color: #fff;
    text-align: center;
    padding: 25px 20px;
    font-size: 13px;
    margin-top: auto;
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
    .nav-back-btn { font-size: 0; }
    .nav-back-btn::before { content: "\2190"; font-size: 22px; }
    .btn-container { flex-direction: column; }
    .btn { width: 100%; }
}


