/* ======================================================
   ANTI-RAGGING CELL — PREMIUM UPGRADED CSS
   Colors: Deep Blue · Red · White
   Font: Times New Roman
   Style: Modern · Animated · Authoritative
====================================================== */

/* ========================= */
/* VARIABLES & RESET         */
/* ========================= */
:root {
  --blue:        #003366;
  --blue-mid:    #0052a3;
  --blue-light:  #dceeff;
  --blue-pale:   #f0f7ff;
  --red:         #cc0000;
  --red-dark:    #990000;
  --red-light:   #fff5f5;
  --white:       #ffffff;
  --off-white:   #f8faff;
  --text-dark:   #0a0a1a;
  --text-mid:    #1a2a4a;
  --shadow-blue: rgba(0, 51, 102, 0.18);
  --shadow-red:  rgba(204, 0, 0, 0.16);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Times New Roman", Times, serif;
}

::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--blue), var(--red));
  border-radius: 10px;
}

::selection {
  background: rgba(0, 51, 102, 0.15);
  color: var(--blue);
}

/* ========================= */
/* BODY                      */
/* ========================= */
body {
  background:
    radial-gradient(ellipse at 15% 10%,  rgba(0,51,102,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 90%,  rgba(204,0,0,0.06)  0%, transparent 50%),
    linear-gradient(150deg, #e6f0ff 0%, #f4f8ff 45%, #ffffff 100%);
  background-attachment: fixed;
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
  animation: pageFade 0.9s cubic-bezier(0.22,1,0.36,1) both;
  position: relative;
}

/* Animated dot grid background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(0,51,102,0.055) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  pointer-events: none;
  z-index: 0;
  animation: gridDrift 35s linear infinite alternate;
}

/* Ambient corner orbs */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%,    rgba(0,51,102,0.09) 0%, transparent 40%),
    radial-gradient(ellipse at 100% 100%, rgba(204,0,0,0.07)  0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
  animation: orbPulse 14s ease-in-out infinite alternate;
}

@keyframes pageFade {
  from { opacity: 0; filter: blur(5px); transform: scale(0.99); }
  to   { opacity: 1; filter: blur(0);   transform: scale(1); }
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to   { background-position: 26px 26px; }
}

@keyframes orbPulse {
  from { opacity: 0.6; }
  to   { opacity: 1; }
}

/* ========================= */
/* MAIN CONTAINER            */
/* ========================= */
.container {
  max-width: 1100px;
  margin: 50px auto;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 52px 56px;
  border-radius: 28px;
  border: 1.5px solid rgba(0,51,102,0.1);
  box-shadow:
    0 24px 70px var(--shadow-blue),
    0 6px 20px rgba(0,0,0,0.05),
    inset 0 1px 0 rgba(255,255,255,0.9);
  position: relative;
  overflow: hidden;
  z-index: 1;
  animation: containerRise 1s cubic-bezier(0.22,1,0.36,1) 0.1s both;
  transition: box-shadow 0.45s, transform 0.45s;
}

.container:hover {
  transform: translateY(-4px);
  box-shadow:
    0 36px 90px var(--shadow-blue),
    0 10px 30px var(--shadow-red);
}

/* Animated top stripe */
.container::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--red), var(--blue-mid), var(--red), var(--blue));
  background-size: 300% auto;
  border-radius: 28px 28px 0 0;
  animation: stripeFlow 5s linear infinite;
}

/* Red bottom stripe */
.container::after {
  content: "© Anti-Ragging Cell | UGC Regulations 2009";
  display: block;
  margin-top: 52px;
  padding-top: 22px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: #7a8aaa;
  border-top: 1.5px solid rgba(0,51,102,0.1);
  text-transform: uppercase;
}

@keyframes containerRise {
  from { opacity: 0; transform: translateY(45px); filter: blur(5px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

@keyframes stripeFlow {
  from { background-position: 0% center; }
  to   { background-position: 300% center; }
}

/* ========================= */
/* H1 — MAIN HEADING         */
/* ========================= */
h1 {
  text-align: center;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 36px;
  padding-bottom: 18px;
  position: relative;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 50%, var(--blue) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: h1Entrance 1s cubic-bezier(0.22,1,0.36,1) 0.3s both,
             h1Shimmer   7s linear 1.4s infinite;
}

@keyframes h1Entrance {
  from { opacity: 0; transform: translateY(-24px); filter: blur(7px); }
  to   { opacity: 1; transform: translateY(0);     filter: blur(0); }
}

@keyframes h1Shimmer {
  from { background-position: 0% center; }
  to   { background-position: 250% center; }
}

/* Red underline bar */
h1::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue), var(--red));
  background-size: 200% auto;
  border-radius: 10px;
  box-shadow: 0 0 12px var(--shadow-red);
  animation: h1Line 0.9s cubic-bezier(0.22,1,0.36,1) 0.8s forwards,
             h1LineFlow 4s linear 1.8s infinite;
}

@keyframes h1Line { to { width: 280px; } }
@keyframes h1LineFlow {
  from { background-position: 0% center; }
  to   { background-position: 200% center; }
}

/* ========================= */
/* H2 — SUB HEADINGS         */
/* ========================= */
h2 {
  color: var(--red);
  margin-top: 46px;
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 18px 14px 22px;
  background: linear-gradient(100deg, #fff2f2 0%, #fff8f8 60%, var(--white) 100%);
  border-left: 5px solid var(--blue);
  border-radius: 0 12px 12px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(204,0,0,0.07);
  animation: h2Slide 0.7s cubic-bezier(0.22,1,0.36,1) 0.2s both;
  transition: all 0.38s cubic-bezier(0.22,1,0.36,1);
}

h2::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(204,0,0,0.06), transparent);
  transition: left 0.6s ease;
}

h2:hover::before { left: 150%; }

h2:hover {
  border-left-color: var(--red);
  background: linear-gradient(100deg, #ffe6e6 0%, #fff0f0 60%, var(--white) 100%);
  transform: translateX(5px);
  box-shadow: 0 6px 24px var(--shadow-red);
}

/* Red right tag */
h2::after {
  content: "";
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--red), var(--blue));
  border-radius: 0 12px 12px 0;
  opacity: 0.5;
}

@keyframes h2Slide {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ========================= */
/* INTRO / TEXT SECTIONS     */
/* ========================= */
.intro {
  line-height: 2;
  font-size: 17px;
  color: var(--text-mid);
  background: rgba(240, 247, 255, 0.85);
  padding: 22px 24px;
  border-left: 5px solid var(--blue);
  border-radius: 0 14px 14px 0;
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
  box-shadow:
    0 6px 22px var(--shadow-blue),
    inset 0 1px 0 rgba(255,255,255,0.8);
  transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
  position: relative;
  overflow: hidden;
}

.intro::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(0,51,102,0.04), transparent);
  transition: left 0.6s ease;
}

.intro:hover::before { left: 150%; }

.intro:hover {
  border-left-color: var(--red);
  background: rgba(255,242,242,0.85);
  box-shadow: 0 10px 32px var(--shadow-red);
  transform: translateX(4px);
}

/* ========================= */
/* SECTION CARD EFFECTS      */
/* ========================= */
h2 + p,
h2 + ul,
h2 + table {
  background: var(--white);
  padding: 22px 24px;
  border-radius: 0 14px 14px 14px;
  margin-bottom: 28px;
  box-shadow:
    0 8px 28px var(--shadow-blue),
    0 2px 8px rgba(0,0,0,0.04);
  border: 1.5px solid rgba(0,51,102,0.07);
  color: var(--text-dark);
  transition: box-shadow 0.4s, transform 0.4s;
}

h2 + p:hover,
h2 + ul:hover {
  box-shadow: 0 14px 40px var(--shadow-blue);
  transform: translateY(-2px);
}

/* ========================= */
/* LISTS                     */
/* ========================= */
ul {
  list-style: none;
  margin-left: 0;
  margin-top: 10px;
  line-height: 2;
  color: var(--text-dark);
}

ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 16px;
  transition: color 0.3s, transform 0.3s;
}

/* Animated bullet */
ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--red));
  box-shadow: 0 0 6px var(--shadow-blue);
  transition: transform 0.3s, box-shadow 0.3s;
}

ul li:hover {
  color: var(--blue);
  transform: translateX(5px);
}

ul li:hover::before {
  transform: translateY(-50%) scale(1.4);
  box-shadow: 0 0 10px var(--shadow-red);
  background: linear-gradient(135deg, var(--red), var(--blue));
}

.punishment li {
  font-weight: bold;
  color: var(--text-dark);
}

.punishment li::before {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  box-shadow: 0 0 8px var(--shadow-red);
}

/* ========================= */
/* WARNING / NOTICE          */
/* ========================= */
.warning {
  margin-top: 38px;
  padding: 22px 26px;
  background: linear-gradient(135deg, #ffe0e0, #fff5f5, #fff0f0);
  border-left: 8px solid var(--red);
  border-radius: 0 16px 16px 0;
  color: var(--red-dark);
  font-size: 18px;
  font-weight: bold;
  line-height: 1.8;
  box-shadow:
    0 8px 28px var(--shadow-red),
    inset 0 1px 0 rgba(255,255,255,0.7);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
  animation: warningPulse 4s ease-in-out infinite;
}

/* Pulsing red glow */
@keyframes warningPulse {
  0%,100% { box-shadow: 0 8px 28px var(--shadow-red); }
  50%      { box-shadow: 0 12px 40px rgba(204,0,0,0.28), 0 0 0 4px rgba(204,0,0,0.07); }
}

.warning::before {
  content: "⚠";
  position: absolute;
  top: 14px; right: 22px;
  font-size: 32px;
  opacity: 0.15;
  color: var(--red);
  animation: warnIcon 3s ease-in-out infinite alternate;
}

@keyframes warnIcon {
  from { opacity: 0.1; transform: scale(1); }
  to   { opacity: 0.25; transform: scale(1.1); }
}

/* Shine sweep */
.warning::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.warning:hover::after { left: 150%; }

.warning:hover {
  transform: scale(1.015);
  box-shadow: 0 16px 50px rgba(204,0,0,0.28);
}

/* ========================= */
/* TABLE                     */
/* ========================= */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 22px;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 10px 38px var(--shadow-blue),
    0 2px 8px rgba(0,0,0,0.05);
  border: 1.5px solid rgba(0,51,102,0.1);
  color: var(--text-dark);
  animation: tableRise 0.8s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes tableRise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

table thead {
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-mid) 55%, #6b003a 100%);
  background-size: 200% auto;
  animation: thFlow 8s linear infinite;
}

@keyframes thFlow {
  0%,100% { background-position: 0% center; }
  50%      { background-position: 100% center; }
}

table th {
  color: var(--white);
  padding: 16px 18px;
  font-size: 15px;
  font-family: "Times New Roman", Times, serif;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-align: left;
  font-weight: bold;
  border: none;
  position: relative;
}

table th:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.2);
}

table th:first-child { border-top-left-radius: 14px; }
table th:last-child  { border-top-right-radius: 14px; }

table tbody tr {
  transition: all 0.32s cubic-bezier(0.22,1,0.36,1);
  position: relative;
}

table tbody tr:nth-child(even) { background: var(--blue-pale); }
table tbody tr:nth-child(odd)  { background: var(--white); }

table tbody tr:hover {
  background: linear-gradient(90deg, rgba(0,51,102,0.07), rgba(204,0,0,0.04), transparent) !important;
  transform: scale(1.01);
  box-shadow: 0 6px 24px var(--shadow-blue);
  z-index: 1;
}

/* Left bar reveal on hover */
table tbody tr::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(180deg, var(--blue), var(--red));
  transition: width 0.3s cubic-bezier(0.22,1,0.36,1);
}

table tbody tr:hover::before { width: 4px; }

table td {
  border: none;
  border-bottom: 1px solid rgba(0,51,102,0.07);
  border-right: 1px solid rgba(0,51,102,0.05);
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.7;
  vertical-align: middle;
}

table td:last-child { border-right: none; }

/* ========================= */
/* TOLL FREE SECTION         */
/* ========================= */
.tollfree {
  margin-top: 38px;
  padding: 22px 28px;
  text-align: center;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 50%, #00204d 100%);
  background-size: 200% auto;
  color: var(--red);
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 2px;
  border-radius: 16px;
  box-shadow:
    0 12px 40px var(--shadow-blue),
    inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.42s cubic-bezier(0.22,1,0.36,1);
  animation: tollfreeGrad 6s linear infinite;
}

@keyframes tollfreeGrad {
  0%,100% { background-position: 0% center; }
  50%      { background-position: 100% center; }
}

/* Shine sweep */
.tollfree::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.7s ease;
}

.tollfree:hover::before { left: 150%; }

/* Pulsing red ring */
.tollfree::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue), var(--red));
  opacity: 0;
  z-index: -1;
  filter: blur(12px);
  transition: opacity 0.4s;
}

.tollfree:hover::after { opacity: 0.5; }

.tollfree:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 55px var(--shadow-blue), 0 6px 20px var(--shadow-red);
  letter-spacing: 2.5px;
}

/* ========================= */
/* STRONG TEXT               */
/* ========================= */
strong {
  color: var(--white);
  font-weight: bold;
  position: relative;
  text-shadow: 0 0 0 rgba(204,0,0,0.3);
  animation: glowStrong 3s ease-in-out infinite;
}

@keyframes glowStrong {
  0%,100% { text-shadow: 0 0 0   rgba(255,80,80,0.3); }
  50%      { text-shadow: 0 0 10px rgba(255,80,80,0.7); }
}

/* ========================= */
/* RESPONSIVE                */
/* ========================= */
@media (max-width: 992px) {
  .container { padding: 42px 36px; }
  h1 { font-size: 32px; }
}

@media (max-width: 768px) {
  body { padding: 14px; }

  .container {
    padding: 28px 20px;
    margin: 20px auto;
    border-radius: 18px;
  }

  h1 { font-size: 24px; letter-spacing: 1.5px; }
  h2 { font-size: 17px; padding: 11px 14px 11px 16px; }

  .intro { font-size: 15px; padding: 16px 18px; }

  ul li { font-size: 14px; }

  table th, table td {
    font-size: 13px;
    padding: 11px 12px;
  }

  .tollfree { font-size: 17px; padding: 18px 16px; }

  .warning { font-size: 15px; padding: 16px 18px; }
}

@media (max-width: 480px) {
  h1 { font-size: 20px; }
  .container { padding: 20px 14px; }
  table { font-size: 12px; }
}