/**
 * USE BORDER BOX
 */
*,
*:before,
*:after {
    box-sizing: border-box;
}
/**
 * CSS VARIABLES FOR THEMES
 */
:root {
  /* Light Mode Colors */
  --bg-color: #F8F8F8;
  --bg-grid: rgba(0,0,0,0.05);
  --text-color: #333;
  --text-shadow: 0 1px hsla(0, 0%, 100%, .5);
  --link-color: #0078B4;
  --link-hover: #005580;
  --section-bg: rgba(255, 255, 255, 0.8);
  --section-border: #B7D1A0;
  --section-hover-shadow: rgba(70, 136, 71, 0.2);
  --section-shimmer: rgba(183, 209, 160, 0.1);
  --heading-color: #468847;
  --footer-color: #167196;
  --toggle-bg: #468847;
  --toggle-hover: #5ba55b;
  --toggle-icon: #fff;
  --toggle-shadow: rgba(0, 0, 0, 0.2);
}
[data-theme="dark"] {
  /* Dark Mode Colors */
  --bg-color: #1a1a1a;
  --bg-grid: rgba(255,255,255,0.03);
  --text-color: #e0e0e0;
  --text-shadow: 0 1px hsla(0, 0%, 0%, .5);
  --link-color: #5ab5e6;
  --link-hover: #7cc5ed;
  --section-bg: rgba(30, 30, 30, 0.9);
  --section-border: #3a5a2a;
  --section-hover-shadow: rgba(90, 181, 230, 0.15);
  --section-shimmer: rgba(90, 181, 230, 0.1);
  --heading-color: #7bc77b;
  --footer-color: #5ab5e6;
  --toggle-bg: #3a5a2a;
  --toggle-hover: #4a6a3a;
  --toggle-icon: #ffd700;
  --toggle-shadow: rgba(255, 255, 255, 0.1);
}
/**
  * PAGE LAYOUT
  */
html {
  scroll-behavior: smooth;
}
body {
    background-attachment: fixed;
    background-color: var(--bg-color);
    background-image:
      linear-gradient(var(--bg-grid) 1px, transparent 1px),
      linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
    background-size: 10px 10px;
    color: var(--text-color);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    margin: 0;
    padding-top: 15px;
    text-shadow: var(--text-shadow);
    text-rendering: optimizelegibility;
    min-height: 100vh;
    opacity: 1 !important;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}
body.loaded {
  animation: fadeIn 1s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.container {
    margin: 0 auto;
    max-width: 750px;
    padding: 20px;
}
/**
 * THEME TOGGLE BUTTON
 */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--toggle-bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px var(--toggle-shadow);
  transition: all 0.3s ease;
  z-index: 1000;
  animation: bounceIn 0.6s ease-out;
}
.theme-toggle:hover {
  background: var(--toggle-hover);
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 6px 15px var(--toggle-shadow);
}
.theme-toggle:active {
  transform: scale(0.95);
}
.theme-toggle-icon {
  font-size: 28px;
  transition: all 0.3s ease;
  color: var(--toggle-icon);
}
.theme-toggle:hover .theme-toggle-icon {
  transform: rotate(360deg);
}
@keyframes bounceIn {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); }
}
/**
 * ELEMENTS
 */
/* links */
a {
    color: var(--link-color);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}
a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--link-hover);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
a:hover::after {
  width: 100%;
}
a:hover,
a:focus,
a:active {
    color: var(--link-hover);
}
a:focus {
    outline: thin dotted var(--text-color);
}
/**
 * JUMBOTRON
 */
.jumbotron {
    margin: 60px 0;
    text-align: center;
}
.jumbotron h1 {
    color: var(--text-color);
    font-family: inherit;
    font-size: 72px;
    font-weight: bold;
    line-height: 1;
    margin: 10px 0;
    cursor: default;
    text-rendering: optimizelegibility;
    animation: slideInDown 0.8s ease-out;
}
@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}
.jumbotron .lead {
    font-size: 21px;
    font-weight: 200;
    line-height: 30px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    color: var(--text-color);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
/**
 * PRIVACY Styles
 */
.privacy-section {
  background-color: var(--section-bg);
  border: 1px solid var(--section-border);
  border-radius: 4px;
  margin-bottom: 20px;
  padding: 20px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
  position: relative;
  overflow: hidden;
}
.privacy-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--section-shimmer), transparent);
  transition: left 0.5s;
}
.privacy-section:hover::before {
  left: 100%;
}
.privacy-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--section-hover-shadow);
}
.privacy-section:nth-child(2) { animation-delay: 0.1s; }
.privacy-section:nth-child(3) { animation-delay: 0.2s; }
.privacy-section:nth-child(4) { animation-delay: 0.3s; }
.privacy-section:nth-child(5) { animation-delay: 0.4s; }
.privacy-section:nth-child(6) { animation-delay: 0.5s; }
.privacy-section:nth-child(7) { animation-delay: 0.6s; }
.privacy-section h2 {
  color: var(--heading-color);
  font-size: 24px;
  margin-bottom: 10px;
  position: relative;
}
.privacy-section h2::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--heading-color);
  transition: width 0.3s ease;
}
.privacy-section:hover h2::after {
  width: 50px;
}
.privacy-section p {
  color: var(--text-color);
  line-height: 1.5;
}
.privacy-section a {
  color: var(--heading-color);
  font-weight: bold;
}
.privacy-section a:hover {
  color: var(--link-hover);
}
footer {
  text-align: center;
  padding: 15px;
  font-size: 14px;
  color: var(--footer-color);
  font-weight: 600;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
footer:hover {
  transform: translateY(-1px);
}
footer a {
  color: var(--footer-color);
}
/**
 * MEDIA QUERIES
 */
@media only screen and (max-width: 600px) {
    body {
        padding: 10px 0 0 0;
    }
   
    .theme-toggle {
        width: 50px;
        height: 50px;
        top: 15px;
        right: 15px;
    }
   
    .theme-toggle-icon {
        font-size: 24px;
    }
   
    .jumbotron {
        margin: 20px 0 30px;
    }
   
    .jumbotron h1 {
        font-size: 48px;
    }
   
    .jumbotron .lead {
        font-size: 18px;
    }
   
    .container {
        padding: 10px;
        padding-top: 60px;
    }
   
    .privacy-section {
        padding: 15px;
    }
   
    .privacy-section h2 {
        font-size: 20px;
    }
}
@media (max-width: 480px) {
  footer {
    padding: 10px;
  }
 
  .theme-toggle {
    width: 45px;
    height: 45px;
  }
 
  .theme-toggle-icon {
    font-size: 22px;
  }
}
