* {
    box-sizing: border-box;
}

:root {
    --white: #ffffff;
    --Foundation-Blue-White: #ffffff;
    --Foundation-Orange-Darker: #593c00;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Museo Sans Cyrl", Montserrat, Manrope, Arial, Helvetica, sans-serif, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

button {
    border: none;
    background: none;
    cursor: pointer;
}

/* Header Styles */
.header {
  display: flex;
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
  border-radius: 80px;
  box-shadow: 0px 4px 34px 0px #00000014;
  background: #9d5b63e5;
  padding: 20px;
  width: 92%;
  max-width: 1312px;
  height: 80px;
}

.header .logo {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  column-gap: 4px;
}

.header .logo .symbol {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  overflow: hidden;
}

.header .logo .mangoVpn {
  flex-shrink: 0;
  line-height: 40px;
  letter-spacing: -3px;
  color: #ffac00;
  font-family: "Museo Sans Cyrl", Montserrat, Manrope, Arial, Helvetica, sans-serif, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei;
  font-size: 40px;
}

.header .links {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  column-gap: 32px;
  overflow: hidden;
}

.header .links .menuItem {
  flex-shrink: 0;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--Foundation-Blue-White, #ffffff);
  font-family: "Museo Sans Cyrl", Montserrat, Manrope, Arial, Helvetica, sans-serif, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei;
  font-size: 18px;
}

.header .links .menuItem.active {
  color: #ffac00;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header .links .menuItem:hover {
  color: #ffac00;
}

.header .frame61 {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  column-gap: 24px;
}

.header .frame61 .language-dropdown {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.header .frame61 .language-dropdown .selected-language {
  display: inline-flex;
  align-items: center;
  column-gap: 8px;
  padding: 8px;
}

.header .frame61 .language-dropdown .flag-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.header .frame61 .language-dropdown .lang-code {
  font-family: "Museo Sans Cyrl", Montserrat, Manrope, Arial, Helvetica, sans-serif, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei;
  font-size: 16px;
  color: #ffffff;
}

.header .frame61 .language-dropdown .arrow-down {
  font-size: 10px;
  color: #ffffff;
  margin-left: 4px;
}

.header .frame61 .language-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #8b4b53;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 10;
  border-radius: 8px;
  padding: 8px 0;
  list-style: none;
  margin: 0;
  max-height: 300px;
  overflow-y: auto;
}

.header .frame61 .language-dropdown:hover .dropdown-menu {
  display: block;
}

.header .frame61 .language-dropdown .dropdown-menu li a {
  color: #ffffff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-family: "Museo Sans Cyrl", Montserrat, Manrope, Arial, Helvetica, sans-serif, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei;
  font-size: 14px;
}

.header .frame61 .language-dropdown .dropdown-menu li a:hover {
  background-color: #9d5b63;
}

.header .frame61 .language-dropdown .dropdown-menu li a.active {
  color: #ffac00;
  font-weight: bold;
}

.header .frame61 .button {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
  border-radius: 54px;
  background: #ffac00;
  padding: 0px 16px;
  text-decoration: none; /* Ensure no underline for link */
  cursor: pointer;
}

.header .frame61 .button .googleChromeIconFebr {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  overflow: hidden;
}

.header .frame61 .button .download {
  flex-shrink: 0;
  line-height: 16px;
  letter-spacing: 0;
  color: var(--Foundation-Orange-Darker, #593c00);
  font-family: Manrope, Montserrat, Arial, Helvetica, sans-serif, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei;
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .header { width: 90%; left: 50%; transform: translateX(-50%); }
  
  .header .links { display: none; } /* Hide menu on tablet/mobile */
  .header .frame61 { margin-left: auto; } /* Push button to right if needed */
}

@media (max-width: 768px) {
  .header {
    justify-content: space-between;
    width: 100%;
    padding: 10px 20px;
    height: auto;
    min-height: 60px;
    left: 0;
    transform: none;
    border-radius: 0;
    top: 0;
    position: fixed;
  }
  
  .header .logo .mangoVpn {
    font-size: 24px;
    line-height: 24px;
  }
  
  .header .logo .symbol {
    width: 32px;
    height: 32px;
  }
  
  .header .frame61 .language-dropdown { display: none; }
  .header .frame61 .button .download { display: none; }
  .header .frame61 .button { padding: 8px; height: 36px; width: 36px; border-radius: 50%; }
}

/* Content Wrapper */
.content-wrapper {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

/* Footer Styles */
.footer {
  display: block;
  flex-shrink: 0;
  align-self: stretch;
  background: #8b4b53;
  width: 100%;
  padding: 0;
  margin: 0;
}

.footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  row-gap: 32px;
  padding: 24px 64px;
}

.footer .frame4 {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
  align-self: stretch;
  justify-content: space-between;
  gap: 20px;
}

.footer .frame4 .logo {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  column-gap: 4px;
  flex-wrap: nowrap;
}

.footer .frame4 .logo .symbol {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  overflow: hidden;
}

.footer .frame4 .logo .mangoVpn {
  flex-shrink: 0;
  line-height: 40px;
  letter-spacing: -3px;
  color: #ffac00;
  font-family: "Museo Sans Cyrl", Montserrat, Manrope, Arial, Helvetica, sans-serif, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei;
  font-size: 40px;
  white-space: nowrap;
}

.footer .frame4 .links2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}

.footer .frame4 .links2 .menuItem2 {
  line-height: 24px;
  letter-spacing: 0;
  color: #ffffff;
  font-family: "Museo Sans Cyrl", Montserrat, Manrope, Arial, Helvetica, sans-serif, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei;
  font-size: 16px;
}

.footer .frame4 .links2 .menuItem2.active {
  color: #ffac00;
}

.footer .frame4 .button5 {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
  border-radius: 54px;
  background: #ffac00;
  padding: 4px 24px;
  cursor: pointer;
  height: 50px;
  text-decoration: none; /* Ensure no underline */
}

.footer .frame4 .button5 .googleChromeIconFebr2 {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  overflow: hidden;
}

.footer .frame4 .button5 .addToChrome {
  flex-shrink: 0;
  line-height: 24px;
  letter-spacing: 0;
  color: #593c00;
  font-family: Manrope, Montserrat, Arial, Helvetica, sans-serif, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei;
  font-size: 16px;
  font-weight: 700;
}

.footer .credits {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  align-self: stretch;
  column-gap: 16px;
  border-width: 1px 0px 0px;
  border-style: solid;
  border-color: #7f3f47;
  padding-top: 23px;
}

.footer .credits .a2026MangoVpnAllRigh {
  flex-grow: 1;
  text-align: right;
  line-height: 21px;
  letter-spacing: 0;
  color: var(--Foundation-Blue-White, #ffffff);
  font-family: "Museo Sans Cyrl", Montserrat, Manrope, Arial, Helvetica, sans-serif, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .footer .frame4 {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer .frame4 {
    flex-direction: column;
    align-items: center;
  }
  
  .footer .frame4 .links2 {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}
