/* 
  Disclaimer Page Styles
  ----------------------
  This stylesheet contains all styles for the disclaimer page.
  Organized by section with clear comments for maintainability.
*/

/* Hero Section - Top banner with title */
.disclaimer-hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
  color: white;
  padding: 7rem 0;
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

/* Subtle texture overlay for hero */
.disclaimer-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.03)" d="M0,0 L100,0 L100,100 L0,100 Z"></path></svg>');
  background-size: cover;
  animation: grain 8s steps(10) infinite;
}

/* Main heading styles */
.disclaimer-hero h1 {
  font-size: 3.2rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  position: relative;
  animation: fadeInDown 0.8s ease;
  color: white;
}

/* Last updated text styling */
.last-updated {
  font-size: 1.3rem;
  opacity: 0.85;
  letter-spacing: 0.5px;
  animation: fadeIn 1s ease 0.3s both;
  position: relative;
}

/* Main content container */
.disclaimer-content {
  padding: 0 0 6rem;
  line-height: 1.8;
  color: #333;
  font-size: 1.15rem;
}

/* Introduction section styles */
.disclaimer-intro h2 {
  color: #0d1b2a;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #1b263b;
  position: relative;
}

/* Decorative underline for h2 */
.disclaimer-intro h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 150px;
  height: 4px;
  background: #415a77;
}

/* Legal references grid layout */
.legal-references {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

/* Card style for legal references */
.law-card {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #1b263b;
}

/* Highlighted notice box */
.notice-box {
  background: #fff3e0;
  border-left: 5px solid #e65100;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

/* Main section styling */
.disclaimer-section {
  margin-bottom: 5rem;
  padding: 3rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border-top: 3px solid transparent;
  transition: all 0.4s ease;
}

/* Hover effect for sections */
.disclaimer-section:hover {
  border-top-color: #415a77;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Section heading styles */
.disclaimer-section h3 {
  color: #0d1b2a;
  font-size: 1.9rem;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}

/* Decorative underline for h3 */
.disclaimer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: #778da9;
}

/* Content warnings grid */
.content-warnings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

/* Warning card styles */
.warning-card {
  background: #f5f5f5;
  padding: 1.8rem;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

/* Legal note highlight box */
.legal-note {
  background: #e3f2fd;
  padding: 1.5rem;
  margin: 2rem 0;
  border-left: 4px solid #1976d2;
  border-radius: 0 8px 8px 0;
}

/* Liability grid layout */
.liability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* Liability item styling */
.liability-item {
  background: #fff8e1;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #ffe0b2;
}

/* Jurisdiction note styling */
.jurisdiction-note {
  background: #f1f8e9;
  padding: 1.5rem;
  margin: 2rem 0;
  border-left: 4px solid #7cb342;
  border-radius: 0 8px 8px 0;
}

/* Intellectual property grid */
.ip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* IP card styling */
.ip-card {
  background: white;
  padding: 1.8rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-top: 3px solid #5c6bc0;
}

/* DMCA notice styling */
.dmca-notice {
  background: #e8eaf6;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 8px;
}

/* Third-party content grid */
.third-party-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

/* User responsibility warning */
.user-responsibility {
  background: #ffebee;
  padding: 1.5rem;
  margin: 2rem 0;
  border-left: 4px solid #d32f2f;
  border-radius: 0 8px 8px 0;
}

/* Technology disclaimers grid */
.tech-disclaimers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* Tech card styling */
.tech-card {
  background: #e0f7fa;
  padding: 1.8rem;
  border-radius: 8px;
  border: 1px solid #b2ebf2;
}

/* Legal provisions grid */
.legal-provisions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

/* Provision card styling */
.provision-card {
  background: #f3e5f5;
  padding: 1.8rem;
  border-radius: 8px;
  border: 1px solid #ce93d8;
}

/* Arbitration note styling */
.arbitration-note {
  background: #e0f2f1;
  padding: 1.5rem;
  margin: 2rem 0;
  border-left: 4px solid #26a69a;
  border-radius: 0 8px 8px 0;
}

/* Contact information grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

/* Contact card styling */
.contact-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

/* 
  Animation Definitions
  ---------------------
  Reusable animations for various elements
*/

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes grain {
  0%,
  100% {
    transform: translate(0, 0);
  }
  10% {
    transform: translate(-5%, -10%);
  }
  20% {
    transform: translate(-15%, 5%);
  }
  30% {
    transform: translate(7%, -25%);
  }
  40% {
    transform: translate(-5%, 25%);
  }
  50% {
    transform: translate(-15%, 10%);
  }
  60% {
    transform: translate(15%, 0%);
  }
  70% {
    transform: translate(0%, 15%);
  }
  80% {
    transform: translate(3%, -35%);
  }
  90% {
    transform: translate(-10%, 10%);
  }
}

/* 
  Responsive Design
  -----------------
  Media queries for different screen sizes
*/

@media (max-width: 1200px) {
  .disclaimer-hero h1 {
    font-size: 2.8rem;
    color: white;
  }

  .legal-references,
  .content-warnings,
  .third-party-content,
  .legal-provisions,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .disclaimer-hero {
    padding: 5rem 0;
  }

  .disclaimer-section {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .disclaimer-hero h1 {
    font-size: 2.4rem;
    color: white;
  }

  .disclaimer-intro h2 {
    font-size: 1.8rem;
  }

  .disclaimer-section h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .disclaimer-hero h1 {
    font-size: 2rem;
    color: white;
  }

  .last-updated {
    font-size: 1.1rem;
  }

  .disclaimer-content {
    font-size: 1rem;
  }

  .disclaimer-section {
    padding: 1.5rem;
  }
}
