/* -----------------------
   REVOCHESS GLOBAL STYLES
-------------------------- */

/* Root Theme Variables */
:root {
  --red-primary: #DC2127;
  --red-secondary: #F16253;
  --black: #000000;
  --dark: #222222;
  --gray: #444444;
  --light-gray: #DDDDDD;
  --lighter-gray: #EEEEEE;
  --white: #FFFFFF;
  --accent-gradient: linear-gradient(90deg, var(--red-primary), var(--red-secondary));
}

/* Reset and Base Layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--white);
  color: #333;
  line-height: 1.6;
}

/* Orbitron areas */

.orbit{
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
}

nav a,
.donate-button,
.footer-subscribe button,
button,
input[type="submit"] {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 2px;
}

/* Optional: headline styling */
header h1,
main h1,
main h2 {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 2px;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* -----------------------
   HEADER
-------------------------- */

/* Base styles (desktop-first) */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
  height: 55px;
}

nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-left: 120px;
}

nav a {
  font-weight: 600;
  color: var(--dark);
  transition: color 0.2s ease-in-out;
}

nav a:hover {
  color: var(--red-primary);
}

.social-donate {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-donate a img {
  margin-top: 8px;
}

.social-donate a img:hover {
  filter: invert(18%) sepia(100%) saturate(7481%) hue-rotate(-1deg) brightness(80%) contrast(81%);
}

.donate-button {
  background: var(--accent-gradient);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  transition: opacity 0.2s ease-in-out;
}

.donate-button:hover {
  opacity: 0.85;
}




/* -----------------------
   MAIN
-------------------------- */

main.container {
  padding-top: 3rem;
  padding-bottom: 3rem;
  min-height: 590px;
}

/* -----------------------
   FOOTER TOP
-------------------------- */

footer {
  background-color: #101010;
  color: var(--white);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 4rem 2rem;
}

.footer-quote {
  flex: 1;
  max-width: 50%;
  text-align: right;
  font-style: italic;
  font-size: 1.1rem;
  margin-right: 20px;
  margin-top: 10px;
}

.footer-subscribe {
  flex: 1;
  max-width: 50%;
  text-align: left;
  margin-left: 20px;
}

.footer-subscribe h4 {
  margin-bottom: 1rem;
}

.footer-subscribe input {
  width: 100%;
  max-width: 320px;
  padding: 0.6rem;
  border: none;
  margin-bottom: 0.5rem;
  border-radius: 4px;
}

.footer-subscribe button {
  background: var(--accent-gradient);
  color: var(--white);
  border: none;
  padding: 0.6rem 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}

.footer-subscribe button:hover {
  opacity: 0.85;
}

.footer-support{
    margin-top: 1rem;
  }

.footer-logo-wrap {
  display: block;
  margin-bottom: 1rem;
  text-align: right;
}

.footer-logo {
  display: inline-block;
}



/* -----------------------
   FOOTER BOTTOM
-------------------------- */

.footer-bottom {
  background-color: var(--black);
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 1rem;
}

.footer-bottom .social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 0.3rem;
}

.footer-bottom .social-icons a {
  margin: 8px;
  text-decoration: none;
}

.footer-bottom a {
  color: var(--white);
  text-decoration: underline;
  margin-left: 0.5rem;
}




/* -----------------------
   UTILITIES
-------------------------- */

.main-gradient {
  background: var(--accent-gradient);
  color: var(--white);
  padding: 1rem;
  border-radius: 6px;
}


/* Manifesto Page Styles */

.manifesto, .rules, .contact {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: #222;
}

.manifesto section, .rules section, .contact section {
  margin-bottom: 3.5rem;
}

.manifesto h1, .rules h1 {
  line-height: 48px;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  margin-top: 50px;
  color: var(--red-primary);
  text-align: center;
}

.manifesto .tagline, .rules .tagline {
  font-size: 1.2rem;
  font-style: italic;
  text-align: center;
  margin-bottom: 2rem;
  color: #555;
}

.highlight, .rules .highlight, .contact .highlight {
  color: var(--red-secondary);
  font-weight: 700;
}

.manifesto h2, .rules h2, .contact h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--red-primary);
  border-bottom: 2px solid #eee;
  padding-bottom: 0.3rem;
}

.manifesto p, .rules p, .contact p {
  margin-bottom: 1rem;
  font-size: 17px;
}

.manifesto ul, .rules ul, .contact ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.manifesto ul li, .rules ul li, .contact ul li {
  margin-bottom: 0.5rem;
  font-size: 17px;
}

.manifesto .signature, .rules .signature {
    font-style: italic;
    text-align: right;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    padding: 1rem;
    margin-top: 2rem;
    color: #555;
}

.cta {
  background: var(--red-primary);
  color: white;
  padding: 1rem;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
}

.inline-icon {
  width: 36px;
  height: 36px;
  vertical-align: middle;
  margin: 0 0px 8px 10px;
}

.download-section {
  text-align: center;
  margin: 2rem 0;
}

.download-button {
  display: inline-block;
  background: var(--accent-gradient);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.download-button:hover {
  background: var(--red-primary);
}

/* -----------------------
   RULES PAGE STYLES
-------------------------- 

.rules {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.rules h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #333;
  padding-bottom: 0.3rem;
}

.rules ul {
  list-style: none;
  padding-left: 0;
}

.rules ul li {
  margin-bottom: 1.2rem;
}*/

.rules ul li ul {
  margin-top: 0.5rem;
  padding-left: 1.2rem;
}

.rules code {
    display: inline-block;
    background: var(--red-primary);
    padding: 0px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #ffffff;
}


.rules table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background-color: #1a1a1a;
}

.rules th,
.rules td {
  padding: 0.8rem;
  border: 1px solid #333;
  text-align: left;
  color: white;
}

.rules th {
  background-color: #222;
  color: var(--red-secondary);
}

.rules td code {
  color: #de8981;;
}

span.version {
    font-size: 35px;
}


.download-section {
  text-align: center;
  margin: 2rem 0;
}

.download-button {
  display: inline-block;
  background: var(--accent-gradient);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.download-button:hover {
  background: var(--red-primary);
}



/* -----------------------
   CONTACT PAGE STYLES
-------------------------- */


/* Subsection headers */
.contact h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #444;
}

/* Social icons */
.contact .social-icons {
  display: flex;
  gap: 1rem;
  margin: 0.5rem 0 1rem;
}

.social-icons a:hover img {
  filter: invert(18%) sepia(100%) saturate(7481%) hue-rotate(-1deg) brightness(80%) contrast(81%);
}

/* Contact form */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
}

.contact-form button {
  padding: 0.75rem 1.5rem;
  background: var(--accent-gradient);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--red-primary);
}

/* Donation section */
.donation-area {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 2px dashed #ccc;
}

.donation-area p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: #333;
}

.donation-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.donation-options button {
  flex: 1 1 180px;
  padding: 0.75rem;
  background: var(--accent-gradient);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

.donation-options button:hover {
  background: var(--red-primary);
}

.contact-columns {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1rem;
}

.revo-contact,
.founder-contact {
  flex: 1;
  min-width: 280px;
}






/* -----------------------
   MOBILE
-------------------------- */

/* header  styles */

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    position: static; /* remove sticky on mobile */
    padding: 1rem;
    text-align: center;
  }

  .logo {
    /*height: 45px;*/
    margin: 1rem 0;
  }

  nav {
    flex-grow: 0;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0.2rem 0 1rem 0;
  }

  nav a {
    font-size: 0.9rem;
    border-bottom: 1px solid #dedede;
    white-space: nowrap;
    border-top: 1px solid #dedede;
    padding: 4px 2px;
  }

  .social-donate {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  footer .donate-button {
    margin-top: 0px;
  }

  footer .donate-button {
    display: block;
    font-size: 0.8rem;
    padding: 6px;
  }
}

/* footer styles */

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1rem 1.5rem 1rem;
  }

  .footer-quote,
  .footer-subscribe {
    max-width: 100%;
    text-align: center;
    margin-bottom: 2rem;
    margin-right: 0px;
    margin-top: 0px;
    margin-left: 0px;
  }

  .footer-subscribe input {
    max-width: 100%;
  }

  .footer-support{
    margin-top: 2rem;
  }

  footer .donate-button {
    margin-top: 0px;
  }

  footer .donate-button {
    display: block;
    font-size: 0.8rem;
    padding: 6px;
  }

  .footer-bottom {
    font-size: 0.95rem;
  }

  .footer-logo-wrap {
    text-align: center;
  }

  .footer-bottom a {
    display: block;
    margin: 0.3rem 0;
  }

}

@media (max-width: 768px) {
  .contact, .rules, .manifesto {
    padding: 2rem 1rem;
  }
  
  .manifesto h2, .rules h2, .contact h2 {
    font-size: 1.2rem;}

  .contact-columns {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .revo-contact,
  .founder-contact {
    width: 100%;
  }

  .revo-contact .social-icons {
    justify-content: center;
  }

    .donation-options {
    flex-direction: column;
  }

  .donation-options button {
    flex: none;}

  .social-icons {
    flex-wrap: wrap;
  }
}

