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

body {
    background: #0c162d;
    color: white;
    text-align: center;
}

html {
    scroll-behavior: smooth;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #c5cbd6, #d7dce5);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 80%;
    margin: 20px auto;
}

.logoContainer {
    background: #1c2b44;
    padding: 10px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logoContainer img {
    height: 40px;
    border-radius: 15px;
}

.logoContainer::after {
    content: attr(data-tooltip);
    position: fixed;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    pointer-events: none;
}

.logoContainer:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
}

.navLinks {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navLinks li {
    display: inline;
}

.navLinks a {
    text-decoration: none;
    color: #1c2b44;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
}

.navLinks a:hover {
    color: #007bff;
}

.navButtons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.login {
    background: linear-gradient(90deg, #17c3fc, #00b4fc);
}

.register {
    background: linear-gradient(90deg, #0080ff, #0044ff);
}

.btn:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        width: 95%;
        padding: 15px;
    }

    .navLinks {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 10px;
    }

    .navButtons {
        margin-top: 10px;
    }
}

.searchBar {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 5px 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.searchBar input {
    border: none;
    outline: none;
    padding: 8px;
    font-size: 14px;
    width: 180px;
    border-radius: 15px;
}

.searchBar button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-left: 5px;
}

@media (max-width: 768px) {
    .searchBar {
        width: 100%;
        margin-top: 10px;
        justify-content: center;
    }

    .searchBar input {
        width: 100%;
    }
}

.dropdown {
    position: relative;
}

.dropdownMenu {
    display: none;
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, DCC 0, #d7dce5);
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 220px;
    padding: 15px 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.dropdownMenu i {
    margin-right: 8px;
    color: #007bff;
    font-size: 16px;
    vertical-align: middle;
}

.dropdown:hover .dropdownMenu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdownMenu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
}

.dropdownMenu li {
    text-align: left;
    padding: 8px 15px;
}

.dropdownMenu a {
    text-decoration: none;
    color: #1c2b44;
    font-weight: bold;
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    transition: 0.3s ease-in-out;
}

.dropdownMenu a:hover {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

#registerModal {
    display: block;
    display: flex;
    justify-content: center;
    align-items: center;
}
#loginModal {
    display: block;
    display: flex;
    justify-content: center;
    align-items: center;    
}

.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}


.modalContent {
    background: linear-gradient(90deg, #1c2b44, #2a3b5e);
    padding: 20px;
    border-radius: 15px;
    width: 400px;
    max-width: 90%;
    text-align: center;
    color: white;
    position: relative;
}

.modalContent h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #00c8ff;
}

.modalContent input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    color: #333;
}

.modalBtn {
    width: 100%;
    padding: 12px;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    background: #007bff;
    transition: 0.3s;
}

.modalBtn:hover {
    background: #0056b3;
}

.modalContent p {
    margin-top: 15px;
    font-size: 14px;
}

.modalContent a {
    color: #ffcc00;
    text-decoration: none;
}

.modalContent a:hover {
    text-decoration: underline;
}

.banner {
    padding: 30px 20px;
    background: url('https://source.unsplash.com/1600x900/?ocean,wave') no-repeat center;
    background-size: cover;
}

.banner h1 {
    font-size: 40px;
    font-weight: bold;
}

.banner p {
    font-size: 25px;
    margin-top: 20px;
}

.banner video {
    border-radius: 30px;
    width: 1000px;
    height: 600px;
    max-width: 100%;
    height: auto;
}

.stats {
    display: flex;
    justify-content: center;
    margin: 60px 0;
    flex-wrap: wrap;
}

.statsContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #fcfcfc;
    border-radius: 15px;
}

.statBox {
    padding: 30px;
    width: 280px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.statBox h2 {
    font-size: 36px;
    color: #00c8ff;
    font-weight: bold;
}

.statBox p {
    font-size: 29px;
    font-weight: bold;
    color: rgb(70, 157, 182);
    margin-top: 10px;
}

.statBox span {
    font-size: 16px;
    color: #a4dfef;
}

@media (max-width: 768px) {
    .stats {
        flex-direction: column;
        align-items: center;
    }

    .statBox {
        width: 90%;
        padding: 20px;
    }
}

.productSection {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    width: 90%;
    margin: 30px auto;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.productSection:hover {
    border-color: #00bfff;
}

.sectionTitle {
    font-size: 22px;
    color: white;
    margin-bottom: 20px;
    font-weight: bold;
}

.productContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
    max-width: 2000px;
    margin: 0 auto;
    padding: 30px;
    background: #1b1e2b;
    border-radius: 20px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.4);
    position: relative;
}

.productCard {
    width: calc(50% - 20px);
    max-width: 350px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    position: relative;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.buttonGroup {
    margin-top: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.discountTag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: red;
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.productCard img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.5s ease-in-out;
}


.productCard h3 {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 15px;
    text-align: center;
    color: #000;
    white-space: normal;
    word-break: break-word;
}

.productCard a {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
    width: 100%;
    text-align: center;
}

.productCard:hover {
    transform: scale(1.1);
    box-shadow: 0px 10px 20px rgba(0, 255, 255, 0.5);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.productCard .price {
    font-size: 18px;
    font-weight: bold;
    color: #ff9800;
    margin: 5px 0;
    text-align: center;
}

.buyNow {
    text-decoration: none;
    color: white;
    background: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
    max-width: 100%;
}

.buyNow,
.addToCart {
    transition: all 0.2s ease-in-out;
}

.buyNow:active,
.addToCart:active {
    transform: scale(0.9);
    box-shadow: none;
}

.buyNow:hover {
    background: #0056b3;
}

.productContainer::before {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 22px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    filter: blur(10px);
    z-index: -1;
}

.productButtons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.buyNow {
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    background-color: #007bff;
    color: white;
}

.addToCart {
    background: #007bff;
    color: white;
    text-decoration: none;
    padding: 10px;
    border-radius: 10%;
    cursor: pointer;
    font-size: 18px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.addToCart:hover {
    background: #0056b3;
    transform: scale(1.1);
}

.addToCart i {
    font-size: 20px;
}

.buyNow:hover {
    transform: scale(1.1);
}

footer {
    width: 100%;
    background-color: #f8f9fa;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    flex-wrap: wrap;
    border-radius: 20px;
}

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

.footerColumn {
    flex: 1;
    min-width: 200px;
    padding: 10px;
    text-align: left;
    color: #333;
}

.footerColumn h3 {
    color: #007bff;
    font-size: 16px;
    margin-bottom: 10px;
}

.footerColumn ul {
    list-style: none;
    padding: 0;
}

.footerColumn ul li {
    margin-bottom: 8px;
}

.footerColumn a i {
    font-size: 25px;
    color: #333;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.footerColumn a:hover i {
    color: #007bff;
    transform: scale(1.2);
}

.footerColumn a {
    display: inline-block;
    padding: 3px;
}

.footerColumn ul li a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
}

.footerColumn ul li a i {
    font-size: 20px;
    color: white;
}

.footerColumn ul li a:hover {
    color: #007bff;
}

.footerBottom {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    color: gray;
}

.cartNotification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInOut 3s forwards;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    20% {
        opacity: 1;
        transform: translateY(0);
    }

    80% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

.addToCart:focus+.cartNotification {
    animation: fadeInOut 3s forwards;
}

.fadeIn {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fadeIn.active {
    opacity: 1;
    transform: translateY(0);
}

.fbLike,
.fbShareButton {
    display: inline-block;
    margin: 5px;
    vertical-align: middle;
}

.productCard .fbLike,
.productCard .fbShareButton {
    margin-top: 10px;
}

.footerColumn .fbLike,
.footerColumn .fbShareButton {
    margin-left: 10px;
}

.hoverInfo {
    display: none;
    padding: 10px;
    background-color: #1c2b44;
    border: 1px solid #085eff;
    border-radius: 10px;
    margin-top: 5px;
}

.hoverTrigger:hover+.hoverInfo {
    display: block;
}

.iconContainer {
    opacity: 0;
}

.iconBtn.heart.active {
    color: #ff0015;
}

.iconBtn.like.active {
    color: #0080ff;
}

.iconBtn.open.active {
    color: #2ed573;
}

.iconBtn.cart.active {
    color: #ffa600;
}

.productPopup {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    pointer-events: none;
    z-index: 20;
}

.productPopup .iconBtn {
    background: none;
    border: none;
    color: white;
    font-size: 15px;
    cursor: pointer;
}


.video-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.video-controls button {
    padding: 8px 15px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.video-controls button:hover {
    background: #0056b3;
}

.iconContainer {
    opacity: 0;
    background-color: #9c9797;
    padding: 5px;
    border-radius: 5px;
}

.btn.heart.active {
    color: #ff0015;
}

.btn.like.active {
    color: #0080ff;
}

.btn.open.active {
    color: #2ed573;
}

.btn.cart.active {
    color: #ffa600;
}


#musicModal {
    display: none; 
}

.modalButtons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

#acceptMusic {
    background: #4CAF50;
}

#declineMusic {
    background: #f44336;
}