/* Reset CSS */
:root {
  --brand-color: #ff7d00;
  --header-btn-bg: #ffce21;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #1a2433;
  color: white;
}

/* Header Styles */
.header {
  background-color: #1a2433;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  max-width: 1200px;
  margin: 0 auto;
}

.header-btn {
  background-color: var(--header-btn-bg);
  color: #000;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

/* Navigation */
.nav-wrapper {
  background-color: #fff;
  width: 100%;
}

.nav {
  display: flex;
  justify-content: space-around;
  padding: 15px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333;
  text-decoration: none;
  font-size: 12px;
}

.nav-icon {
  width: 100%;
  margin-bottom: 5px;
}

/* Hero Banner */
.hero {
  position: relative;
  overflow: hidden;
}

.hero > div > img {
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  width: 1200px;
  margin: 0 auto;
}

.btn-red {
  background: linear-gradient(to right, #f44336, #ff5722);
}

.btn-blue {
  background: linear-gradient(to right, #2196f3, #03a9f4);
}

.btn-orange {
  background: linear-gradient(to right, #ff9800, #ff5722);
}

/* Main Content */
.main-content {
  padding: 20px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.container {
  display: flex;
  flex-direction: row;
  max-width: 1200px;
  margin: 0 auto;
}

.text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: justify;
  width: 45%;
}

.text-content-title h1 {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  text-wrap-mode: nowrap;
}

.text-content-title h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--brand-color);
}

.text-content p {
  margin-bottom: 0.5rem;
}

.image-content {
  display: flex;
  align-items: end;
  justify-content: end;
  width: 55%;
}

h1 {
  color: #f97316;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.feature-list {
  list-style-type: none;
  margin: 0.5rem 0;
}

.feature-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.feature-list li:before {
  content: "•";
  color: #f97316;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
}

.orange-text {
  color: #f97316;
  font-weight: bold;
}

.large-image {
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}

.large-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.feature-tag {
  background-color: #f97316;
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 0.3rem;
  font-size: 0.75rem;
  margin-left: 0.5rem;
}

/* App Showcase */
.app-showcase {
  display: flex;
  justify-content: space-around;
  margin: 20px 0;
  flex-wrap: wrap;
}

.app-phone {
  width: 30%;
  max-width: 150px;
}

/* Category Navigation */
.category-nav {
  display: flex;
  justify-content: space-around;
  margin: 30px 0 20px;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}

.category-link {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.content-card {
  background-color: #1e2b3d;
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.3s;
  padding: 5px;
  border: 1px solid var(--brand-color);
  text-align: center;
}

.content-card:hover {
  transform: translateY(-5px);
}

.card-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.card-content {
  padding: 10px;
}

.card-title {
  color: #ff9800;
  font-size: 14px;
  margin-bottom: 8px;
}

.card-text {
  font-size: 12px;
  color: #ccc;
  margin-bottom: 10px;
}

/* Footer */
.footer {
  background-color: #1f2937;
  padding: 30px 20px;
  margin-top: 30px;
  color: #ccc;
  font-family: Arial, sans-serif;
}

.footer-logo {
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.footer-sections {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1200px;
}

.footer-section h3 {
  color: white;
  margin-bottom: 15px;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 18px;
  padding-bottom: 8px;
  background-image: linear-gradient(
    to right,
    #ffee30 0.5%,
    #ffd89d 38%,
    #ff9900 75%,
    #5c3a06 100%
  );
  background-position: 0 100%;
  background-size: 100% 1px;
  background-repeat: no-repeat;
}

.footer-links li:last-child {
  background-image: none;
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.footer-links li::before {
  content: "››";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  font-size: 16px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
  display: block;
}

.footer-links a:hover {
  color: #ff9800;
}

.ambassador-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.brand-ambassador {
  text-align: center;
}

.ronaldinho-name {
  color: #fff;
  font-size: 16px;
  margin-top: 10px;
  font-weight: bold;
}

.ronaldinho-year {
  color: #ccc;
  font-size: 14px;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 10px auto;
  max-width: 1200px;
  gap: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon img {
  height: 30px;
  transition: transform 0.3s;
}

.social-icon img:hover {
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: #999;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px;
  margin: 20px auto;
  max-width: 1200px;
}

.footer-nav a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
  padding: 0 10px;
}

.footer-nav a:last-child {
  border-right: none;
}

.footer-nav a:hover {
  color: var(--brand-color);
}

.company-info {
  font-size: 13px;
  max-width: 980px;
  line-height: 1.5;
  margin: 20px auto;
  color: #ccc;
}

.social-icons {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.social-icon {
  width: 30px;
  height: 30px;
  margin: 0 10px;
  background-color: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-flexbox {
  display: flex;
  justify-content: space-between;
}

.main-left {
  width: 50%;
}

.main-right {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-right > img {
  width: 100%;
}

.news-title {
  border-radius: 32px;
  border: 2px solid rgba(255, 157, 0, 0.35);
  background: rgba(24, 29, 37, 0.63);
  width: 50%;
  margin: 76px auto 60px auto;
}

.news-title-content {
  color: #ff7d00;
  text-align: center;
  font-family: Roboto;
  font-size: 25px;
  font-style: normal;
  font-weight: 700;
  line-height: 48px;
}

.button-wrapper {
  position: relative;
  width: 213px;
  height: 40px;
}

.glow-button {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  background-color: #ffc800;
  color: black;
  font-weight: bold;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.rect-orbiter {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.orbit-rect {
  position: absolute;
  width: 110px;
  height: 30px;
  border-radius: 7px;
}

.cyan-rect {
  background: #0ff;
  box-shadow: 0px 0px 17px 3px #0ff, 0px 0px 4px 2px #0ff;
  animation: orbit-rectangle 4s linear infinite;
  animation-delay: 2s; /* start opposite */
}

.green-rect {
  background: #16c60c;
  box-shadow: 0px 0px 17px 3px #16c60c, 0px 0px 4px 2px #16c60c;
  animation: orbit-rectangle 4s linear infinite;
}

@keyframes orbit-rectangle {
  0% {
    top: 0%;
    left: 0%;
    transform: translate(0%, 0%);
  }
  25% {
    top: 0%;
    left: 100%;
    transform: translate(-100%, 0%);
  }
  50% {
    top: 100%;
    left: 100%;
    transform: translate(-100%, -100%);
  }
  75% {
    top: 100%;
    left: 0%;
    transform: translate(0%, -100%);
  }
  100% {
    top: 0%;
    left: 0%;
    transform: translate(0%, 0%);
  }
}

@media screen and (max-width: 1024px) {
  .footer-nav a {
    font-size: 12px;
  }
}

@media screen and (max-width: 992px) {
  .footer-sections {
    justify-content: space-around;
  }

  .footer-section {
    width: 45% !important;
  }
}

/* Responsiveness */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 1rem;
  }

  .text-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .large-image {
    width: 100%;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .app-showcase {
    flex-direction: column;
    align-items: center;
  }

  .app-phone {
    width: 60%;
    margin-bottom: 20px;
  }

  .content-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .category-nav {
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
    padding-bottom: 15px;
  }

  .category-link {
    margin-right: 20px;
  }

  .footer-section {
    width: 100% !important;
    text-align: center;
  }

  .footer-section h3 {
    justify-content: center;
  }

  .social-icons {
    gap: 10px;
    justify-items: center;
  }

  .social-icon img {
    height: 25px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }

  .footer-nav a {
    border-right: none;
    padding: 5px 0;
  }

  .nav-icon {
    width: 80%;
    height: auto;
  }

  .button-wrapper {
    width: 150px;
    height: 30px;
  }

  .glow-button {
    font-size: 12px;
    width: 150px;
    height: 30px;
  }

  .cyan-rect {
    width: 80px;
    height: 25px;
  }

  .green-rect {
    width: 80px;
    height: 25px;
  }
}

@media (max-width: 480px) {
  .nav {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .nav-item {
    margin-right: 20px;
    min-width: 60px;
  }

  .hero h1 {
    font-size: 20px;
  }

  .hero h2 {
    font-size: 22px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}
