@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Poppins:wght@300;600&display=swap");

* {
  padding: 0;
  margin: 0;
  border: 0;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

nav,
footer,
header,
aside {
  display: block;
}

html,
body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", sans-serif;
}

.gradient-bg {
  background: linear-gradient(135deg, #000000 0%, #1a1a2e 100%);
}

.juve-gradient {
  background: -webkit-gradient(linear, left top, right top, from(#000000), to(#f0f0f0));
  background: linear-gradient(to right, #000000, #f0f0f0);
}

.inter-gradient {
  background: -webkit-gradient(linear, left top, right top, from(#0068a8), to(#000000));
  background: linear-gradient(to right, #0068a8, #000000);
}

.hero-bg {
  background-image: url("..//img/1.jpeg");
  background-size: cover;
  background-position: center;
}

.player-card {
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.player-card:hover {
  -webkit-transform: translateY(-10px);
  transform: translateY(-10px);
}

.trophy-icon {
  color: #ffd700;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.countdown-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px;
  min-width: 80px;
  text-align: center;
}

.match-card {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.match-card:hover {
  -webkit-transform: scale(1.02);
  transform: scale(1.02);
  -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.group-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

.group {
  background-color: white;
  border-radius: 8px;
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 20px;
  width: 100%;
}

.group-title {
  background-color: #3498db;
  color: white;
  padding: 10px 15px;
  font-size: 1.2rem;
  font-weight: bold;
}

table {
  width: 100%;
  border-collapse: collapse;
  color: #000;
}

th,
td {
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: middle;
}

th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #000;
}

tr:nth-child(even) {
  background-color: #f8f9fa;
}

tr:hover {
  background-color: #e8f4fc;
}

.team-name {
  text-align: left;
  font-weight: 500;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
}

.team-logo {
  width: 25px;
  height: 25px;
  -o-object-fit: contain;
  object-fit: contain;
}

.date {
  font-size: 0.8rem;
  color: #7f8c8d;
}

@media (max-width: 768px) {

  th,
  td {
    padding: 8px 5px;
    font-size: 0.85rem;
  }

  .date {
    display: none;
  }

  .group-title {
    font-size: 1rem;
  }

  .team-logo {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {

  th,
  td {
    padding: 6px 3px;
    font-size: 0.75rem;
  }

  .hide-mobile {
    display: none;
  }

  .team-name {
    gap: 5px;
  }

  .team-logo {
    width: 16px;
    height: 16px;
  }
}

.withd80 {
  width: 82%;
}

.withd78 {
  width: 78%;
}

.withd61 {
  width: 61%;
}

.withd55 {
  width: 55%;
}

.withd85 {
  width: 85%;
}

.withd82 {
  width: 82%;
}

.popup-overlay {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10001;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border: 2px solid #d91e18;
  color: #000;
  font-size: 18px;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
  color: #333;
}

.cta-button {
  background: #d91e18;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 20px;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #b01815;
}