*{text-decoration: none;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #111;
    color: white;
}
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #000;
    padding: 10px 20px;
}
.header .logo {
    font-size: 24px;
    font-weight: bold;
    color: red;
}
.header input {
    width: 300px;
    padding: 5px;
    border-radius: 5px;
    border: none;
}
.header .buttons button {
    margin-left: 10px;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
}
.landing-page {
    display: grid;
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    gap: 10px;
    padding: 20px;
}
.landing-page img {
    width: 100%;
    height: auto;
    object-fit: fill;
    border-radius: 5px;
}
.ad-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}
.ad-content {
    background: rgb(23, 10, 10);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    color: black;
    border: 5px solid;
    white-space: pre-line;
    animation: borderAnimation 3s infinite linear;
}
.ad-content p {
    white-space: normal;  /* Ensures text wraps naturally */
    word-wrap: break-word; /* Breaks long words if needed */
    max-width: 300px;  /* Adjust width to make text break into lines */
}
@keyframes borderAnimation {
    0% { border-color: red; }
    33% { border-color: green; }
    66% { border-color: blue; }
    100% { border-color: red; }
}
.ad-button {
    margin-top: 10px;
    padding: 10px 20px;
    background: #28a745;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    animation: borderAnimation 3s infinite linear;
}
#adTitle {
    font-size: 28px;
    font-weight: bold;
    color: #ff5733; /* Vibrant reddish-orange */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    font-family: 'Poppins', sans-serif;
    animation: pulse 1.5s infinite alternate;
}

#adText {
    font-size: 18px;
    font-weight: 500;
    color: #ffffff; /* Bright white */
    background: linear-gradient(45deg, #ff5733, #ffcc33);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

#adText:hover {
    transform: scale(1.05);
}

@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

#adImage{
    height: 180px;
    width: 200px;
}
@media (max-width: 768px) {
    .landing-page {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}