body {
  background: linear-gradient(135deg, #16a085 0%, #138d75 100%);
  font-family:'Fjalla One', Arial, sans-serif;
  min-height: 100vh;
}

a {
  color: #F1C40F;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

/* Header Styles */
.site-header {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.05) 100%);
  padding: 20px 0;
  position: relative;
  z-index: 100;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  color: #F1C40F;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  text-shadow: 2px 2px 8px rgba(241, 196, 15, 0.3);
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  color: #EDEDED;
  font-size: 18px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #F1C40F;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav a:hover {
  color: #F1C40F;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.nav a:hover::after {
  width: 80%;
}

/* Footer Styles */
.site-footer {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%);
  padding: 40px 0 20px;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(10px);
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15);
  margin-top: 80px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.footer-wheels {
  margin-bottom: 30px;
}

.footer-wheels h3 {
  color: #F1C40F;
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-wheels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 20px;
}

.footer-category h4 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 12px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  border-bottom: 2px solid rgba(241, 196, 15, 0.3);
  padding-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  transition: all 0.3s ease;
  padding: 4px 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.footer-links a:hover {
  color: #F1C40F;
  padding-left: 8px;
  transform: translateX(4px);
}

.footer-credits {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-credits p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.footer-credits a {
  color: #F1C40F;
  font-weight: bold;
}

/* Main Content */
.main-content {
  padding: 30px 20px;
  padding-bottom: 40px;
  min-height: auto;
}

.menu {
  position:fixed;
  display: block-inline;
  top: 15px;
  left: 15px;
  color: #F1C40F;;
  text-decoration: none;
  transition: 0.3s;
  font-size: 17px;

}

.credits {
  position:fixed;
  display: block-inline;
  top: 0px;
  right: 15px;
  color: #3d3d3d;
  text-decoration: none;
  transition: 0.3s;
  font-size: 17px;
}

body,
html {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}
h1 {
  text-align: center;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-size: 42px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

p {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  line-height: 1.6;
  font-size: 18px;
}
textarea {
  resize: none;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.pep {
  position: fixed; 
  bottom: 0; 
  left: 50px;
}
.wheelContainer{
  position:relative;
  width:100%;
  max-width:600px;
  margin-left:auto;
  margin-right:auto;
  margin-top: 30px;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#wheelCanvas {
  max-width: 100%;
  height: auto;
  display: block;
}

/* .wheelText tspan{
  text-anchor: start;
} */

.wheelSVG{
  position:absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  visibility:hidden;
  overflow:visible;
}
.peg{
  visibility:hidden;
}
.pegContainer{
  cursor: pointer;
  pointer-events: auto;
}
.wheelOutline, .valueContainer{
  pointer-events:none;
}
.centerCircle{
  cursor: pointer;
  pointer-events: auto;
}

.wheelText{
  pointer-events:none;
  text-anchor:start;
  font-family:'Fjalla One', Arial, sans-serif;
  -webkit-user-select: none;
  user-select:none;
}

.toast {
  position:absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #E81D62 0%, #c91754 100%);
  border-radius:16px;
  opacity:0;
  display: block;
  visibility: visible;
  text-align:center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  z-index: 1000;
  min-width: 200px;
  max-width: 80%;
  pointer-events: none;
}
.toast p{
  clear: both;
  font-family:'Fjalla One', Arial, sand-serif;
  margin:23px;
  font-size:30px;
  color:#ffffff;
  letter-spacing:1px;
  font-weight: bold;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  line-height:32px;
  -webkit-transition: font-size .2s ease;
  transition: font-size .2s ease;
  -webkit-transition: line-height .2s ease;
  transition: line-height .2s ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (max-width : 480px) {
  .toast p, .toast span{
    font-size:18px;
    line-height:18px;
  }
}
@media only screen and (min-width : 481px) and (max-width : 800px) {
  .toast p, .toast span{
    font-size:38px;
    line-height:38px;
  }
}

@media only screen and (min-width : 801px)  {
  .toast p, .toast span{
    font-size:58px;
    line-height:60px;
  }
}

@media only screen and (max-height : 480px) {
  .toast p, .toast span{
    font-size:33px;
    line-height:35px;
  }
}

@media only screen and (max-width : 768px) {
  .menu {display: none;}
  .credits {display: none;}

  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pep {
    display:block;
    position: relative;
    margin-top: 400px;
  }
}

