    body {
      margin: 0;
      font-family: Arial, sans-serif;
      background-color: #f4f4f4;
    }
	
		

    header {
      background-color: #1e88e5;
      color: white;
      padding: 20px;
      text-align: center;
    }

    .container {
      display: flex;
      max-width: 600px;
      margin: 2px auto;
      background: white;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
	  padding: 20px;
    }
	
	
    .container1 {
		display: flex;
		max-width: 600px;
		margin: 2px auto;
		background: white;
		border-radius: 10px;
		overflow: hidden;
		box-shadow: 0 0 10px rgba(0,0,0,0.1);
		padding: 20px;
		#height: 10px;
  
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

      .container2 {
		display: flex;
		max-width: 600px;
		height: 10px;
		margin: 2px auto;
		background: white;
		border-radius: 10px;
		overflow: hidden;
		box-shadow: 0 0 10px rgba(0,0,0,0.1);
		padding: 20px;
  
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: inherit;
}


    .sidebar {
      width: 30%;
      background: #fafafa;
      border-right: 1px solid #ddd;
      padding: 20px;
    }

    .sidebar h2 {
      font-size: 18px;
      margin-bottom: 10px;
    }

    .video-list {
      list-style: none;
      padding: 0;
    }

    .video-list li {
      padding: 10px;
      margin-bottom: 8px;
      background: #eee;
      cursor: pointer;
      border-radius: 5px;
      transition: background 0.3s;
    }

    .video-list li:hover {
      background: #ddd;
    }

    .video-player {
      width: 100%;
      padding: 2px;
      position: relative;
    }

    .video-player iframe {
      width: 100%;
      height: 450px;
      border: none;
      border-radius: 8px;
    }

    @media (max-width: 768px) {
      .container {
        flex-direction: column;
      }

      .sidebar, .video-player {
        width: 100%;
      }

      .video-player iframe {
        height: 300px;
      }
    }
	
	.ad-card {
  margin-top: 30px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  background: #fafafa;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.ad-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.ad-content p {
  margin: 4px 0;
  color: #555;
}

.ad-category {
  font-size: 13px;
  color: #888;
}

.ad-meta {
  text-align: right;
}

.ad-earn {
  color: green;
  font-weight: bold;
  display: block;
  font-size: 16px;
}

.ad-duration {
  font-size: 13px;
  color: #666;
}

.watch-ad-btn {
  display: block;
  width: 100%;
  height:30%;
  padding: 12px;
  background-color: #1e88e5;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.watch-ad-btn:hover {
  background-color: #1565c0;
}


.stop-ad-btn {
  display: block;
  width: fit-content;
  height:9%;
  padding: 12px;
  background-color: #cf1e1e;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  text-align: right;
}

.stop-ad-btn:hover {
  background-color: #e78686;
}



.home-ad-btn {
  display: inline-block;
  min-width: 80px;
  padding: 10px 16px;
  background-color: #1e88e5;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  appearance: none;
  -webkit-appearance: none;
}

.home-ad-btn:hover {
  background-color: #1565c0;
}
.tel-ad-btn {
  display: block;
  width: auto;
  height:18%;
  padding: 5px;
  background-color: #1e88e5;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.tel-ad-btn:hover {
  background-color: #1565c0;
}



.list-ad-btn {
  display: block;
  width: auto;
  height:18%;
  padding: 5px;
  background-color: #1e88e5;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.list-ad-btn:hover {
  background-color: #1565c0;
}

/* Header stil normal */
.normal-header {
  background-color: #1e88e5;
  color: white;
  padding: 20px;
  text-align: center;
  width: 100%; /* sau altă valoare, de exemplu 1200px */
}
body.phone-emulator {
  background-color: #f0f0f0;
  display: flex;
  flex-direction: column; /* afișează butonul și telefonul pe verticală */
  justify-content: center;
  align-items: center;
  height: 80vh;
  margin: 0;
  gap: 2px; /* spațiu între buton și telefon */
}

  .phone-wrapper {
  position: relative;
  top:auto;
  width: 500px;   /* <-- crești lățimea */
  height: 1000px; /* <-- crești înălțimea */
  background-image: url("tel.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

    .screen {
  position: absolute;
  top: 120px;      /* <-- poate crește proporțional */
  left: 42px;      /* <-- poate crește proporțional */
  width: 415px;    /* <-- mărești și aici */
  height: 765px;   /* <-- mărești și aici */
  border-radius: 20px;
  overflow: hidden;
}

    .screen iframe {
      width: 100%;
      height: 100%;
      border: none;
    }
	
@media (max-width: 600px) {
  .home-ad-btn {
    font-size: 14px;
    padding: 8px 12px;
  }
  
  
  body.phone-emulator {
  background-color: #f0f0f0;
  display: flex;
  flex-direction: column; /* afișează butonul și telefonul pe verticală */
  justify-content: center;
  align-items: center;
  height: 80vh;
  margin: 0;
  gap: 2px; /* spațiu între buton și telefon */
}

  .phone-wrapper {
    width: 300px;   /* scade lățimea pe mobil */
    height: 600px;  /* scade înălțimea pe mobil */
    background-size: contain;  /* ajustează imaginea în funcție de container */
  }

  .screen {
    top: 72px;      /* reajustează poziția ecranului */
    left: 25px;
    width: 250px;
    height: 470px;
  }

  .home-ad-btn {
    width: auto;    /* ca să nu fie prea mic butonul pe mobil */
  }
}
    .screen iframe {
      width: 100%;
      height: 100%;
      border: none;
    }
  
  
}

@media (max-width: 400px) and (max-height: 900px) {
  .phone-wrapper {
    width: 280px;
    height: 560px;
    background-size: contain;
  }

  .screen {
    top: 65px;
    left: 23px;
    width: 235px;
    height: 440px;
  }

  .home-ad-btn {
    font-size: 14px;
    padding: 8px 12px;
    width: auto;
  }
}
@media (max-width: 400px) and (max-height: 900px) {
  .phone-wrapper {
    width: 290px;
    height: 580px;
    background-size: contain;
  }

  .screen {
    top: 70px;
    left: 24px;
    width: 240px;
    height: 455px;
  }

  .home-ad-btn {
    font-size: 14px;
    padding: 9px 14px;
    width: auto;
  }
}
@media (max-width: 420px) and (max-height: 850px) {
  .phone-wrapper {
    width: 310px;
    height: 620px;
    background-size: contain;
  }

  .screen {
    top: 78px;
    left: 26px;
    width: 260px;
    height: 480px;
  }

  .home-ad-btn {
    font-size: 15px;
    padding: 10px 16px;
    width: auto;
  }
}
