/* Montserrat Font Faces */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('../../style/fonts/montserrat/Montserrat-SemiBold.woff2') format('woff2'),
         url('../../style/fonts/montserrat/Montserrat-SemiBold.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('../../style/fonts/montserrat/Montserrat-Bold.woff2') format('woff2'),
         url('../../style/fonts/montserrat/Montserrat-Bold.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    src: url('../../style/fonts/montserrat/Montserrat-ExtraBold.woff2') format('woff2'),
         url('../../style/fonts/montserrat/Montserrat-ExtraBold.woff') format('woff');
    font-display: swap;
}

/* Roboto Font Faces */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('../../style/fonts/roboto/Roboto-Light.woff2') format('woff2'),
         url('../../style/fonts/roboto/Roboto-Light.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../../style/fonts/roboto/Roboto-Regular.woff2') format('woff2'),
         url('../../style/fonts/roboto/Roboto-Regular.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('../../style/fonts/roboto/Roboto-Medium.woff2') format('woff2'),
         url('../../style/fonts/roboto/Roboto-Medium.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../../style/fonts/roboto/Roboto-Bold.woff2') format('woff2'),
         url('../../style/fonts/roboto/Roboto-Bold.woff') format('woff');
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 100%);
    color: #e0e0e0;
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* FIX: Prevent horizontal overflow on mobile */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* HEADER STYLES FROM FIRST CODE */
header {
    background: linear-gradient(135deg, #1a1a2e 0%, #0d0d1a 100%);
    padding: 15px 5%;
    border-bottom: 1px solid #2a2a40;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.4s ease;
}

header.scrolled {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(13, 13, 26, 0.9) 100%);
    backdrop-filter: blur(5px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 8px;
    cursor: pointer;
    background-image: linear-gradient(
        -75deg,
        transparent 0,
        transparent 5%,
        rgba(255, 255, 255, 0.9) 2%,
        rgba(255, 255, 255, 0.1) 10%,
        transparent 2%,
        transparent 15%
    ), linear-gradient(to right, #D4D4D4 0%, #ECECEC 100%);
    background-size: 200% 100%, 100% 100%;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: rgba(255,255,255,0.32) 0px 0px 11px;
    animation: shine 3s ease-in-out infinite;
}

.logo-text:hover {
   text-shadow: rgba(255,255,255,0.42) 0px 0px 11px;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 2px;
    border-radius: 1px;
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite alternate;
}

.logo-text:hover::after {
    width: 100%;
}

@keyframes shine {
    0% {
        background-position: 200% 0, 0 0;
    }
}

@keyframes pulse {
    0% {
        background: linear-gradient(90deg, #4a6cf7, #a855f7);
    }
    100% {
        background: linear-gradient(90deg, #a855f7, #4a6cf7);
    }
}

nav {
    flex-grow: 1;
}

.nav-links {
    display: flex;
    list-style: none;
    background: rgba(30, 30, 50, 0.7);
    border-radius: 8px;
    padding: 0 15px;
    justify-content: space-around;
    height: 60px;
    align-items: center;
}

.nav-links li {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links li a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #d0d0e0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: 100%;
}

.nav-links li a:hover {
    color: #4a6cf7;
    background: rgba(74, 108, 247, 0.1);
}

.nav-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    vertical-align: middle;
    filter: invert(0.8);
    transition: all 0.4s ease;
}

.nav-links li a:hover .nav-icon {
    filter: invert(0.6) sepia(1) saturate(5) hue-rotate(200deg);
}

.nav-links li a .fa-chevron-down {
    margin-left: 6px;
    margin-top: 5px;
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.nav-links li a:hover .fa-chevron-down {
    color: #4a6cf7;
}

.dropdown {
    position: absolute;
    background: #1a1a2e;
    min-width: 390px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10;
    border: 1px solid #2a2a40;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-template-rows: repeat(9, auto);
    padding: 10px 0;
    list-style: none !important;
    top: 100%;
}

/* Dynamic column system - adjusts based on number of items */
.dropdown.three-columns {
    grid-template-columns: repeat(3, 1fr);
    min-width: 585px;
    grid-template-rows: repeat(9, auto);
}

/* Force first 9 items in first column, next 9 in second column, rest in third */
.dropdown li:nth-child(-n+9) {
    grid-column: 1;
}
.dropdown li:nth-child(n+10):nth-child(-n+18) {
    grid-column: 2;
    grid-row: auto;
}
.dropdown.three-columns li:nth-child(n+19) {
    grid-column: 3;
    grid-row: auto;
}

.dropdown li a {
    padding: 12px 20px;
    border-bottom: 1px solid #2a2a40;
    display: flex;
    align-items: center;
}

.nav-links li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* BUNDLE ITEM WITH GRADIENT */
.bundle-item {
    grid-column: 1;
    background: rgba(168, 85, 247, 0.1);
    border-bottom: 1px solid #a855f7;
}
.bundle-item a {
    font-weight: 700 !important;
    color: #a855f7 !important;
    position: relative;
    padding-right: 80px !important;
}

.bundle-item a:after {
    content: "BUNDLE";
    background: linear-gradient(135deg, #4a6cf7, #a855f7);
    color: white;
    font-size: 0.68rem;
    padding: 2px 6px;
    border-radius: 4px;
    position: absolute;
    right: 15px;
}

/* New tag styling */
.new-tag-dropdown {
    background: linear-gradient(135deg,  #84cc16, #22c55e);
    color: white;
    font-size: 0.68rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    display: inline-block;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.more-dropdown {
    min-width: 200px;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
}

/* Mobile Fixes */
@media (max-width: 900px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    .header-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .logo {
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        padding: 5px;
        height: auto;
    }
    
    .nav-links li a {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .nav-icon {
        width: 18px;
        height: 18px;
        margin-right: 8px;
    }
    
    /* Simple mobile dropdown fix */
    .dropdown {
        left: 0;
        right: 0;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        padding: 15px 0;
        overflow-y: auto;
        min-width: 170%;
        max-width:170%;
        width: 170%;
    }

    .dropdown.three-columns {
        grid-template-columns: 1fr;
        min-width:  170%;
        max-width: 170%;
        width: 170%;
    }

    /* Reset grid positioning for mobile */
    .dropdown li:nth-child(-n+9),
    .dropdown li:nth-child(n+10):nth-child(-n+18),
    .dropdown.three-columns li:nth-child(n+19) {
        grid-column: 1;
        grid-row: auto;
    }

    /* Bundle item fix for mobile */
    .bundle-item {
        grid-column: 1;
    }
}

/* Bundle Header Section */
.bundle-header {
    display: flex;
    flex-direction: column;
    background: rgba(30, 30, 50, 0.6);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #2a2a40;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    margin: 30px auto;
    max-width: 1200px;
    gap: 20px;
}

.bundle-main-content {
    display: flex;
    gap: 30px;
}

.bundle-info {
    flex: 1;
}

.bundle-title-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.bundle-logo {
    width: 70px;
    height: 70px;
    margin-right: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
 
}

.bundle-title {
font-size: 2.1rem;
font-weight: 800;
color: white;
font-family: 'Montserrat', sans-serif;

}

.bundle-description {
    font-size: 1.2rem;
    color: #d0d0e0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.bundle-details {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-row {
    display: flex;
    width: 100%;
    gap: 20px;
}

.detail-item {
    display: flex;
    font-size: 1.00rem;
    flex: 1;
    align-items: center;
}

.detail-label {
    font-weight: 600;
    color: #d0d0e0;
    min-width: 100px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-label i {
    color: #4a6cf7;
    font-size: 0.8em;
}

.detail-value {
    color: #b0b0c0;
}

.detail-value.strikethrough {
    color: #b0b0c0;
    margin-left: 8px;
    position: relative;
}

.detail-value.strikethrough::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    width: 40px;
    background-color: #FF3131;
    transform: translateY(-50%) rotate(-10deg);
    opacity: 60%;
}


/* Purchase Box */
.purchase-box {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(74, 108, 247, 0.1);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #4a6cf7;
    height: 250px;
    margin-top: 70px;
}

.btn-buy-large {
    display: block;
    width: 105%;
    padding: 15px;
    text-align: center;
    background: linear-gradient(90deg, #4a6cf7, #a855f7);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    margin-top: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-buy-large:hover {
    transform: translateY(-5px);
     box-shadow: 0 10px 25px rgba(74, 108, 247, 0.4);
    background: linear-gradient(90deg, #a855f7, #4a6cf7);
}

.price-info {
    text-align: center;
}

.discount-text {
    font-size: 1.1rem;
    color: #d0d0e0;
    margin-bottom: 5px;
    text-align: center;
    font-weight: 600;
    border-radius: 8px;
    width: 100%;
}

.current-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

.original-price {
    font-size: 1.5rem;
    color: #FFFFFF;
    position: relative;
    display: inline-block;
}

.original-price::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    width: 60px;
    background-color: #FF3131;
    transform: translateY(-50%) rotate(-10deg);
    opacity: 80%;
}

/* Bottom Section with Full-Width Line */
.bottom-section {
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid #2a2a40;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

/* Compatibility Section */
.compatibility-section {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    margin-top: 15px;
    background-color:rgb(30 30 50);
    padding: 12px;
    border-radius: 8px;
    width: 50%;
}

.compatibility-label-bundle-bundle {
    font-weight: 600;
    color: #d0d0e0;
    margin-bottom: 8px;
}

.compatibility-image {
    height: 46px;
    background: #2A2A40;
    width: 88%;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.compatibility-image img {
    width: 301px;
    height: 46px;
    object-fit: contain;
}

.compatibility-tooltip {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a2e;
    color: #e0e0e0;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    text-align: center;
    width: 280px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border: 1px solid #4a6cf7;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.compatibility-tooltip::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent #4a6cf7 transparent;
}

.compatibility-image:hover .compatibility-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Share Section */
.share-section {
    width: 100%;
    display: flex;
    justify-content: center;
}

.share-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-title {
    font-size: 1.1rem;
    color: #d0d0e0;
    font-weight: 600;
    white-space: nowrap;
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    background: rgba(30, 30, 50, 0.7);
    position: relative;
    border: 1px solid rgba(74, 108, 247, 0.2);
}

.share-btn.facebook:hover { background: #3b5998; }
.share-btn.twitter:hover { background: #1DA1F2; }
.share-btn.pinterest:hover { background: #BD081C; }
.share-btn.whatsapp:hover { background: #25D366; }
.share-btn.reddit:hover { background: #FF4500; }
.share-btn.copy-link:hover { background: #6c757d; }

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Share tooltip styles - EXACTLY AS IN ORIGINAL */
.share-tooltip {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1a1a2e;
    color: #e0e0e0;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 100;
    border: 1px solid #4a6cf7;
    display: none; /* Hide by default */
}

.share-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #4a6cf7;
}

/* Remove hover effect for all tooltips */
.share-btn:hover .share-tooltip {
    display: none;
    opacity: 0;
    visibility: hidden;
}

/* Only show tooltip when "show" class is added (for copy link) */
.share-btn .share-tooltip.show {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Included Libraries Section */
.included-libraries {
    text-align: center;
    margin-bottom: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4a6cf7, #a855f7);
    border-radius: 3px;
}

/* Redesigned Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
    position: relative;
    min-height: auto; /* Changed from 1000px to auto to prevent stretching */
}

.product-card {
    background: rgba(30, 30, 50, 0.6);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #2a2a40;
    width: 300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
     box-shadow: 0 10px 25px rgba(74, 108, 247, 0.3);
    border-color: #4a6cf7;
}

.product-image-container {
    height: 300px;
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0;
    background: transparent;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 15px 15px 8px;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: left;
}

.product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-description {
    font-size: 0.9rem;
    color: #b0b0c0;
    margin-bottom: 15px;
    line-height: 1.5;
    text-align: justify;
    text-align-last: left; /* Don't justify the last line */
    word-spacing: -0.1em; /* Reduce space between words */
    letter-spacing: 0.01em; /* Slightly increase letter spacing to compensate */
    hyphens: auto; /* Allow word breaking */
    -webkit-hyphens: auto;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.btn-view-more {
    display: inline-block;
    padding: 8px 15px;
    background: rgba(74, 108, 247, 0.2);
    color: #4a6cf7;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    margin: 0 auto;
    margin-top: auto;
    width: 80%;
}

.btn-view-more:hover {
    background: rgba(74, 108, 247, 0.4);
    color: white;
}

/* Pagination */
.pagination {
display: flex;
justify-content: center;
gap: 10px;
margin-bottom: 50px;
align-items: center;
}

.page-btn {
width: 50px;
height: 40px;
border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
background: rgba(30, 30, 50, 0.6);
color: #d0d0e0;
border: 1px solid #2a2a40;
cursor: pointer;
transition: all 0.3s ease;
font-size: 0.9rem;
  
}

.page-btn.active {
background: linear-gradient(135deg, #4a6cf7, #a855f7);
color: white;
border-color: transparent;
box-shadow: 0 5px 15px rgba(74, 108, 247, 0.3);
  
}

.page-btn:hover:not(.active) {
background: rgba(74, 108, 247, 0.2);
color: white;
}

.page-nav-btn {
width: 110px;
padding: 0 10px;
}

.page-nav-btn i {
font-size: 0.7em;
margin-right: 5px;
}

.page-nav-btn#next-page i {
margin-right: 0;
margin-left: 5px;
}

/* Animation for page transitions */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-grid-animate {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bundle-header {
        gap: 15px;
    }

    .bundle-main-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .purchase-box {
        width: 100%;
        height: auto;
        min-height: 200px;
        margin-top: 20px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .compatibility-section {
        width: 100%;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .compatibility-image {
        width: 100%;
    }
    
    .compatibility-image img {
        width: 100%;
        height: auto;
    }

    .product-image-container {
        width: 100%;
        height: auto;
        max-height: 300px;
    }

    /* Fix for detail items in mobile view */
    .detail-row {
        flex-direction: column;
        gap: 10px;
    }

    .detail-item {
        width: 100%;
        flex: none;
    }

    /* Adjust title size for mobile */
    .bundle-title {
        font-size: 1.9rem;
    }
}

/* UPDATED: Footer Styles */
footer {
    background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 100%);
    padding: 40px 5% 20px;
    border-top: 1px solid #2a2a40;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

/* Social Icons - Left Side */
.footer-column:first-child {
    justify-self: start;
}

/* Copyright - Center */
.footer-column:nth-child(2) {
    justify-self: center;
}

/* Payment Methods - Right Side */
.footer-column:last-child {
    justify-self: end;
}

.social-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 6px 5px rgba(0,0,0,0.17);
    border-radius: 50%;
    background: rgba(30, 30, 50, 0.7);
    text-decoration: none;
}

.social-icon i {
    font-size: 1.2rem;
    color: #d0d0e0;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(74, 108, 247, 0.3);
    transform: translateY(-3px);
}

.social-icon:hover i {
    color: #4a6cf7;
}

.copyright {
    font-size: 0.95rem;
    color: #b0b0c0;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

.copyright .current-year {
    font-weight: 400;
    color: #e0e0e0;
}

/* Payment Methods Styles */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.payment-row {
    display: flex;
    gap: 6px;
    align-items: center;
}

.payment-icon {
    position: relative;
    background: rgba(30, 30, 50, 0.8);
    border: 1px solid rgba(74, 108, 247, 0.2);
    border-radius: 8px;
    padding: 4px 6px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    width: 48px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-icon:hover {
    background: rgba(74, 108, 247, 0.15);
    border-color: rgba(74, 108, 247, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.payment-icon img {
    width: 36px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1) saturate(0.8);
    transition: all 0.3s ease;
}

.payment-icon:hover img {
    filter: brightness(1) contrast(1.2) saturate(1);
}

.tooltip {
    visibility: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a40 100%);
    color: #e0e0e0;
    text-align: center;
    border-radius: 6px;
    padding: 6px 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(74, 108, 247, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #1a1a2e transparent transparent transparent;
}

.payment-icon:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* Mobile responsiveness */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 25px;
        text-align: center;
    }
    
    .footer-column:first-child,
    .footer-column:nth-child(2),
    .footer-column:last-child {
        justify-self: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .payment-icon {
        width: 45px;
        height: 30px;
    }
    
    .payment-icon img {
        width: 33px;
        height: 22px;
    }
    
    .copyright {
        white-space: normal;
    }
}

/* Mobile Fixes */
@media (max-width: 900px) {
    .copyright {
        left: 0;
        transform: none;
    }
    
    /* Mobile payment icons */
    .payment-methods {
        margin-left: 0;
        align-items: center;
    }
    
    .payment-row {
        justify-content: center;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;  /* Normal scrollbar width */
    height: 12px; /* Normal scrollbar height */
    background-color: #383849; /* Dark blue background */
}

::-webkit-scrollbar-track {
    background-color: #383849; /* Dark blue track */
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background-color: #292939; /* Blue thumb */
    border-radius: 3px;
    border: 2px solid transparent;
    background-clip: content-box;
}

/* Firefox Scrollbar */
html {
    scrollbar-color: #383849 #292939;
    scrollbar-width: thin; /* Normal scrollbar size in Firefox */
}

/* NEW: Floating Buy Button Styles */
.floating-buy-btn {
    position: fixed;

    bottom: 120px;
    right: 30px;
    background: linear-gradient(90deg, #4a6cf7, #a855f7);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(74, 108, 247, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-buy-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-buy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(74, 108, 247, 0.6);
    background: linear-gradient(90deg, #a855f7, #4a6cf7);
}

/* Mobile responsiveness for floating button */
@media (max-width: 768px) {
    .floating-buy-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 14px;
    }
}


/* TABLET STYLES - iPad and similar devices */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Header adjustments */
    .header-container {
        padding: 0 3%;
        transform: translateX(-5%);
    }
    
    .logo-text {
        font-size: 1.5rem;
        letter-spacing: 2px;
        white-space: nowrap;
    }
    
    .nav-links {
        padding: 0 10px;
        height: 55px;
    }
    
    .nav-links li a {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .nav-icon {
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }
    
    /* Dropdown adjustments for tablet */
    .dropdown {
        min-width: 350px;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dropdown.three-columns {
        grid-template-columns: repeat(2, 1fr);
        min-width: 520px;
    }
    
    /* Product page adjustments */
    .product-container {
        padding: 0 3%;
    }
    
    .product-header {
        grid-template-columns: 1.5fr 1fr;
        gap: 30px;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .main-image {
        max-height: 60vh;
    }
    
    .thumbnails {
        gap: 8px;
    }
    
    .thumbnail {
        width: 100px;
        height: 75px;
    }
    
    .product-info {
        padding: 20px;
        margin-top: 60px;
    }
    
    .price-display {
        font-size: 2.5rem;
    }
    
    .btn-buy-large {
        padding: 12px;
        font-size: 1rem;
    }
    
    /* Gallery footer adjustments */
    .gallery-footer-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .tags-section,
    .share-section {
        width: 100%;
    }
    
    /* Video container */
    .video-container {
        padding-bottom: 45%;
        width: 95%;
    }
    
    /* Description section */
    .description-section {
        gap: 30px;
    }
    
    .description-image {
        min-width: 250px;
        margin-top: 40px;
    }
    
    .description-content {
        min-width: 250px;
    }
    
    .description-title {
        font-size: 1.6rem;
    }
    
    /* Tabs */
    .tab-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    /* Requirements section */
    .requirements-content {
        gap: 25px;
    }
    
    .os-requirements {
        min-width: 250px;
    }
    
    .os-title {
        font-size: 1.3rem;
    }
    
    /* Compatibility adjustments */
    .compatibility-image {
        width: 280px;
        height: 43px;
    }
    
    .compatibility-image img {
        width: 280px;
        height: 43px;
    }
    
    .compatibility-tooltip {
        width: 260px;
        font-size: 0.85rem;
    }
    
    /* Carousel adjustments */
    .collection-carousel {
        padding: 0 3%;
    }
    
    .carousel-item {
        min-width: 180px;
    }
    
    .carousel-image {
        height: 185px;
    }
    
    /* Footer adjustments */
    footer {
        padding: 40px 2% 20px;
    }
    
    .footer-content {
        gap: 20px;
        padding: 0;
        max-width: 100%;
        overflow: hidden;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-icon i {
        font-size: 1rem;
    }
    
    .payment-methods {
        gap: 6px;
    }
    
    .payment-row {
        gap: 4px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .payment-icon {
        width: 42px;
        height: 28px;
    }
    
    .payment-icon img {
        width: 30px;
        height: 20px;
    }
    
    .copyright {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    /* Modal adjustments */
    .modal-content {
        max-width: 85%;
        max-height: 65vh;
    }
    
    .modal-thumbnails {
        max-width: 85%;
    }
    
    .modal-thumbnail {
        width: 70px;
        height: 52px;
    }
    
    /* Floating button */
    .floating-buy-btn {
        bottom: 25px;
        right: 25px;
        padding: 13px 22px;
        font-size: 15px;
    }
    
    /* Section titles */
    .section-title {
        font-size: 1.7rem;
    }
    
    .soundcloud-title {
        font-size: 1.7rem;
    }
}