.published-decks-container {

}

.deck-item {
display: flex;
    align-items: center;
    border: 1px solid #a2e7ee;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 2px 3px 7px -1px #3498db;
    width: 100%;
    max-width: 325px;
    min-width: 300px;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
    position: relative;
    min-height: 225px;
    margin: auto;
        margin-bottom: 10px;
}

/* Ensure that the other elements inside .deck-item are above the background image */
.deck-info, .deck-mana-bar {
    position: relative;
    z-index: 1;
}

.deck-item:hover {
    transform: translateY(-5px); /* slightly lift the deck */
    box-shadow: 0 4px 8px #3498db; /* subtle shadow */
}

.deck-image {
    width: 120px; /* Adjust as needed */
    height: auto;
    border-right: 1px solid #ddd;
}

.deck-info {
    padding: 10px;
    flex-grow: 1;
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.deck-name {
    font-size: 1.2em;
    margin: 0;
    font-weight: bold;
    background-image: linear-gradient(135deg, #a2e7ee 0%, #a2e7ee 33.33%, #3498db 66.67%, #4196e0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.deck-format, .deck-created {
    font-size: 0.9em;
    color: #fff;
    margin: 0px;
}

/* Container for the mana bar */
.deck-mana-bar {
    display: flex; /* Aligns child divs horizontally */
    height: 30px; /* Set the height of the mana bar */
    border-radius: 10px; /* Optional: Rounds the corners of the bar */
    overflow: hidden; /* Ensures that children divs do not overflow the rounded corners */
    margin-top: 20px;
}

/* Individual segments within the mana bar */
.mana-bar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; /* Color of the text inside each segment */
    font-weight: bold; /* Make the text inside each segment bold */
    font-size: 0.75rem; /* Adjust the font size as needed */
    transition: width 0.3s ease; /* Smooth transition for the width change */
        background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    position: relative; /* To position the icon inside the bar */
    min-width: 25px;
}

.view-deck-button {
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}


.mana-bar-W {
    background-image: url('/images/W.png');
    background-position: center;
}

.mana-bar-U {
    background-image: url('/images/U.png');
    background-position: center;

}

.mana-bar-B {
    background-image: url('/images/B.png');
    background-position: center;
}

.mana-bar-R {
    background-image: url('/images/R.png');
    background-position: center;
}

.mana-bar-G {
    background-image: url('/images/G.png');
    background-position: center;

}

.decks-list, .decks-list-duskmourn {
    display: grid;
    grid-gap: 25px; /* This is shorthand for row-gap and column-gap */
    gap: 25px;
    grid-template-columns: repeat(4,1fr);
    justify-content: center; /* This will center the grid items in the grid container if they don't take up full width */
}

.clickable {
    cursor: pointer;
}

.clickable:hover {
    /* Add any hover effects you like, such as a background color change */
}




.deck-background-image {
    background-size: cover;
    background-position: top;
opacity: 0.6;
    width: 130%;
    height: 185%;
    position: absolute;
    top: 0;
    left: -45px;
    z-index: -1;
    
}



.deck-background-image::after {
content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #05051e6b, #012a4a);
}


.deck-interaction {
    display: flex;
    position: absolute; /* Position the interaction container absolutely */
    top: 10px; /* Adjust as needed for spacing from the top */
    right: 10px; /* Adjust as needed for spacing from the right */
    align-items: center;
}

.deck-views, .deck-heart {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px; /* Add spacing between the view and heart elements */
    cursor: pointer;
    font-size: 0.9em;
    color: #fff; /* Adjust the color to fit your theme */
}

.view-icon, .heart-icon {
    margin-right: 5px;
}

.heart-icon {
    color: #fff; /* Adjust the color for your heart icon */
}

/* Optional: Add hover effect for icons */
.deck-views:hover, .deck-heart:hover {
    opacity: 0.8;
}
.deck-display-name {
    position: absolute; /* Position the display name absolutely */
    top: 10px; /* Adjust as needed for spacing from the top */
    left: 10px; /* Adjust as needed for spacing from the left */
    font-size: .9em; /* Adjust the font size as needed */
    color: #fff; /* Adjust the color to fit your theme */
    z-index: 1; /* Ensure the display name is above other elements */
}


/* Container for glow effect */
.glow-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 500px;
    margin: auto;
}

.glow-container::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 20px; /* Match the rounded corners of search box */
    background: linear-gradient(135deg, #a2e7ee, #7bc0e8, #4196e0, #a2e7ee, #7bc0e8, #4196e0);
    background-size: 200% 200%; /* Larger size for more flowing animation */
    animation: glow 8s linear infinite; /* Smooth, continuous animation */
    filter: blur(5px); /* Adjusted blur for a closer glow */
    z-index: 0;
}

/* Search box styles */
.search-box {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    width: 100%;
    padding: 0;
    position: relative;
    z-index: 1;
}

.search-input {
    width: 100%;
    padding: 10px 20px;
    font-size: 18px;
    color: #012a4a;
    background: transparent;
    border: none;
    outline: none;
}

.search-button {
    padding: 10px;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    margin-right: 10px;
}

.search-icon {
    width: 24px;
    height: 24px;
    fill: #3498db;
}

@keyframes glow {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}


/* Adjust focus styles for the input */
.search-input:focus {
}

/* Optional: Add some hover effects for the button */
.search-button:hover .search-icon {
  fill: #2684FF; /* Change icon color on hover */
}






#white-icon {
     background-image: url(https://c2.scryfall.com/file/scryfall-symbols/card-symbols/W.svg);
    background-repeat: no-repeat;
    display: inline-block;
    height: 2.5em;
    width: 2.5em;
    transition: all 0.2s ease-in-out 0s;
    opacity: 1;
    border-radius: 50%;
    border: none; 
    cursor: pointer;
    margin: 5px;
}

#blue-icon {
     background-image: url(https://c2.scryfall.com/file/scryfall-symbols/card-symbols/U.svg);
    background-repeat: no-repeat;
    display: inline-block;
    height: 2.5em;
    width: 2.5em;
    transition: all 0.2s ease-in-out 0s;
    opacity: 1;
    border-radius: 50%;
    border: none;
        cursor: pointer;
            margin: 5px;
}

#black-icon {
         background-image: url(https://c2.scryfall.com/file/scryfall-symbols/card-symbols/B.svg);
    background-repeat: no-repeat;
    display: inline-block;
    height: 2.5em;
    width: 2.5em;
    transition: all 0.2s ease-in-out 0s;
    opacity: 1;
    border-radius: 50%;
    border: none;  
        cursor: pointer;
            margin: 5px;
}

#red-icon {
      background-image: url(https://c2.scryfall.com/file/scryfall-symbols/card-symbols/R.svg);
    background-repeat: no-repeat;
    display: inline-block;
    height: 2.5em;
    width: 2.5em;
    transition: all 0.2s ease-in-out 0s;
    opacity: 1;
    border-radius: 50%;
    border: none;     
        cursor: pointer;
            margin: 5px;
}

#green-icon {
      background-image: url(https://c2.scryfall.com/file/scryfall-symbols/card-symbols/G.svg);
    background-repeat: no-repeat;
    display: inline-block;
    height: 2.5em;
    width: 2.5em;
    transition: all 0.2s ease-in-out 0s;
    opacity: 1;
    border-radius: 50%;
    border: none;
        cursor: pointer;
            margin: 5px;
}


.filter-options {
    text-align: center;
    max-width: 500px;
    margin: auto;
    margin-top: 15px;
}


.filter-option.selected, .filter-option:hover {
    box-shadow: 0px 0px 10px 3px #3498db;    
}


.deck-skeleton {
    display: grid;
    grid-gap: 25px; /* This is shorthand for row-gap and column-gap */
    gap: 25px;
    grid-template-columns: repeat(3,1fr);
    justify-content: center; /* This will center the grid items in the grid container if they don't take up full width */
}

.deck-skeleton-header {
    height: 20px;
    width: 80%;
    background-color: #f0f0f0;
    margin: 10px auto;
}

.deck-skeleton-content {
display: flex;
    align-items: center;
    border: 1px solid #a2e7ee;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 2px 3px 7px -1px #3498db;
    width: 100%;
    max-width: 325px;
    min-width: 300px;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
    position: relative;
    min-height: 225px;
        background-color: #f0f0f0;

}

.published-decks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.view-all-decks-link {
    text-decoration: none;
    color: #ffffff;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: normal;
    transition: background-color 0.3s ease;
    font-style: italic;
}

.view-all-decks-link:hover {
    /* Add any hover effects you want */
}

.view-all-decks-link .fa-arrow-right {
    margin-left: 8px; /* Adjust the space between the text and the icon */
    /* You can control the size of the icon by changing the font-size property */
}


.published-decks-header h2, .most-viewed-decks-header h2 {
        margin: 0px;
}

.most-viewed-decks-header {
    margin-top: 20px;
    margin-bottom: 10px;
}

.deck-item {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.deck-item.visible {
    opacity: 1;
}


@media (max-width: 768px) {
.decks-list, .decks-list-duskmourn {
    grid-template-columns: repeat(1,1fr);
}

.search-box {
    width: 100%;
}

.published-decks-container {

}

.published-decks-header h2, .most-viewed-decks-header h2 {
        font-size: 1.28571429rem;
}
.view-all-decks-link {
    transition: color .2s ease;
    font-size: 14px;
}

}




/* Default grid with 4 columns */
.decks-list, .decks-list-duskmourn {
    display: grid;
    grid-gap: 25px;
    gap: 25px;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
}

/* Media query for screens with a max-width of 1200px (3 columns) */
@media (max-width: 1200px) {
    .decks-list, .decks-list-duskmourn {
        grid-template-columns: repeat(3, 1fr);
    }
    .decks-list .deck-item:nth-child(4) {
        display: none;
    }

}

/* Media query for screens with a max-width of 900px (2 columns) */
@media (max-width: 900px) {
    .decks-list, .decks-list-duskmourn {
        grid-template-columns: repeat(2, 1fr);
    }
    .decks-list .deck-item:nth-child(n+3) {
        display: none;
    }
    
}

/* Media query for screens with a max-width of 600px (1 column) */
@media (max-width: 600px) {
    .decks-list, .decks-list-duskmourn {
        grid-template-columns: 1fr;
    }
    .decks-list .deck-item:nth-child(4) {
        display: none;
    }
    
}

.most-recent-images-header {
    text-align: center;
    margin-bottom: 20px;
}
.landing-title-white {
        background-image: linear-gradient(180deg, rgba(240, 238, 249, .8) 0%, #E2E8FF 100%);
    background-image: linear-gradient(180deg, color(display-p3 .9411764706 .9333333333 .9764705882 / .8) 0%, color(display-p3 .8862745098 .9098039216 1 / 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
        font-size: 50px;
    line-height: 75px;
    letter-spacing: -1.1px;
}

.landing-title-accent {
    font-weight: inherit;
    background-image: linear-gradient(135deg, #a2e7ee 0%, #a2e7ee 33.33%, #7bc0e8 66.67%, #4196e0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
        font-size: 50px;
    line-height: 75px;
    letter-spacing: -1.1px;
}

.most-recent-images-container {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.most-recent-images-header h2 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
}

.image-view-list {
    display: grid;
    grid-gap: 25px;
    gap: 25px;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
}

.image-view-item {
    display: flex;
    align-items: center;
    border: 1px solid #a2e7ee;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 2px 3px 7px -1px #3498db;
    width: 100%;
    max-width: 325px;
    min-width: 300px;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
    position: relative;
    min-height: 225px;
    margin: auto;
    margin-bottom: 10px;
    opacity: 0; /* Start with opacity 0 */
    transition: opacity 0.5s ease-in-out; /* Smooth opacity transition */
}

.image-view-item.visible {
    opacity: 1; /* Fade in when visible */
}

.image-view-item:hover {
    transform: translateY(-5px); /* Slightly lift the item */
    box-shadow: 0 4px 8px #3498db; /* Subtle shadow on hover */
}

/* Ensure info is above the background */
.image-view-info {
    position: relative;
    z-index: 1;
}

.image-view-background {
    background-size: cover;
    background-position: top;
    opacity: 0.6;
    width: 130%;
    height: 185%;
    position: absolute;
    top: 0;
    left: -45px;
    z-index: -1;
}

.image-view-background::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #05051e6b, #012a4a);
}

.image-view-info {
    padding: 10px;
    flex-grow: 1;
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.image-view-title {
    font-size: 1.2em;
    margin: 0;
    font-weight: bold;
    background-image: linear-gradient(135deg, #a2e7ee 0%, #a2e7ee 33.33%, #3498db 66.67%, #4196e0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.image-view-date {
    font-size: 0.9em;
    color: #fff;
    margin: 0;
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .image-view-list {
        grid-template-columns: repeat(3, 1fr);
    }
    .image-view-list .image-view-item:nth-child(4) {
        display: none;
    }
}

@media (max-width: 900px) {
    .image-view-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .image-view-list .image-view-item:nth-child(n+3) {
        display: none;
    }
}

@media (max-width: 600px) {
    .image-view-list {
        grid-template-columns: 1fr;
    }
    .image-view-list .image-view-item:nth-child(4) {
        display: none;
    }
}

@media (max-width: 768px) {
    .image-view-list {
        grid-template-columns: repeat(1, 1fr);
    }
    .most-recent-images-header h2 {
        font-size: 1.28571429rem;
    }
    
    .landing-title-white, .landing-title-accent {
        font-size: 30px;
        line-height: 45px;
        letter-spacing: -1.44px;
    }
}


    /* Image view item hover effects */
    .image-view-item {
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
    }
    
    .image-view-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }
    
    .image-view-background {
        transition: transform 0.3s ease;
    }
    
    .image-view-item:hover .image-view-background {
        transform: scale(1.05);
    }
    
    /* Zoom indicator on hover */
    .image-view-item::after {
        content: '🔍';
        position: absolute;
        bottom: 10px;
        right: 10px;
        background-color: rgba(0,0,0,0.6);
        color: white;
        padding: 5px;
        border-radius: 50%;
        font-size: 14px;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 2;
    }
    
    .image-view-item:hover::after {
        opacity: 1;
    }
    
    /* Lightbox styles */
    .lightbox {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.9);
        z-index: 1000;
        cursor: pointer;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .lightbox.active {
        opacity: 1;
    }
    
    .lightbox-content {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .lightbox img {
        max-width: 90%;
        max-height: 90vh;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
        border-radius: 4px;
        object-fit: contain;
        transform: scale(0.95);
        transition: transform 0.3s ease;
    }
    
    .lightbox.active img {
        transform: scale(1);
    }
    
    .lightbox-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.2);
        color: white;
        font-size: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        cursor: pointer;
        z-index: 1001;
        transition: background-color 0.3s ease;
    }
    
    .lightbox-close:hover {
        background-color: rgba(255, 255, 255, 0.4);
    }

/* ================================================
   LANDING PAGE REDESIGN — Bottom Half
   All classes prefixed with .lp-
   ================================================ */

.lp-features,
.lp-gallery,
.lp-trending,
.lp-community,
.lp-cta {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  position: relative;
}

.lp-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.lp-section-title {
  font-weight: 500;
  font-size: 50px;
  line-height: 68px;
  letter-spacing: -1.1px;
  margin: 0 0 12px 0;
}

.lp-title-white {
  background-image: linear-gradient(180deg, rgba(240, 238, 249, .8) 0%, #E2E8FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  display: block;
}

.lp-title-accent {
  font-weight: inherit;
  background-image: linear-gradient(135deg, #a2e7ee 0%, #a2e7ee 33.33%, #7bc0e8 66.67%, #4196e0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  display: block;
}

.lp-section-subtitle {
  color: #94a3b8;
  font-size: 18px;
  line-height: 28px;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Features Grid --- */
.lp-features { padding-top: 40px; }

.lp-features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lp-feature-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(226, 232, 255, 0.04) 0%, rgba(226, 232, 255, 0.01) 100%);
  border: 1px solid rgba(162, 231, 238, 0.12);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.lp-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #a2e7ee, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lp-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 170, 255, 0.12);
  border-color: rgba(162, 231, 238, 0.3);
}

.lp-feature-card:hover::before { opacity: 1; }

.lp-feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(162, 231, 238, 0.15) 0%, rgba(65, 150, 224, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #a2e7ee;
}

.lp-feature-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.lp-feature-desc {
  font-size: 14px;
  line-height: 22px;
  color: #94a3b8;
  margin: 0;
}

.lp-feature-cta {
  margin-top: auto;
  padding-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: #a2e7ee;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.lp-feature-cta i {
  font-size: 11px;
  transition: transform 0.3s ease;
}

.lp-feature-card:hover .lp-feature-cta { color: #ffffff; }
.lp-feature-card:hover .lp-feature-cta i { transform: translateX(4px); }

/* --- Gallery Strip --- */
.lp-gallery { padding-top: 20px; }

.lp-gallery-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.lp-gallery-link {
  color: #a2e7ee;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lp-gallery-link:hover { color: #ffffff; }

.lp-gallery-link i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.lp-gallery-link:hover i { transform: translateX(4px); }

/* --- Trending Sections --- */
.lp-trending {
  padding-top: 30px;
  padding-bottom: 30px;
}

.lp-trending-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Community / Patreon --- */
.lp-community {
  padding-top: 30px;
  padding-bottom: 40px;
}

.lp-community-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

.lp-community .lp-patreon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  justify-content: center;
  gap: 18px;
  padding: 20px 0;
}

.lp-patreon-cta {
  text-align: center;
  margin-top: 24px;
}

/* --- Community supporter marquee: 3 full-width rows, alternating scroll directions --- */
.lp-marquee {
  display: flex; flex-direction: column; gap: 18px; overflow: hidden;
  /* full-bleed: break out of the 1180px content column so the rows run edge-to-edge
     and the fade lands at the true screen edges instead of cutting off mid-page */
  width: 100vw !important; max-width: 100vw; margin: 30px calc(50% - 50vw);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}
.lp-marquee-row { overflow: hidden; width: 100%; }
.lp-marquee-track { display: flex; gap: 16px; width: max-content; animation: lp-marquee-scroll 70s linear infinite; will-change: transform; }
.lp-marquee-track.rev { animation-direction: reverse; }
.lp-marquee-row:nth-child(2) .lp-marquee-track { animation-duration: 90s; }
.lp-marquee-row:nth-child(3) .lp-marquee-track { animation-duration: 60s; }
.lp-marquee:hover .lp-marquee-track { animation-play-state: paused; }
@keyframes lp-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.lp-supp {
  display: inline-flex; align-items: center; gap: 14px; flex: 0 0 auto; min-height: 68px;
  padding: 10px 26px 10px 10px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  background: linear-gradient(135deg, rgba(162,231,238,.10), rgba(65,150,224,.05));
  border: 1px solid rgba(162,231,238,.18);
  transition: border-color .2s, transform .2s, background .2s;
}
.lp-supp:hover { border-color: rgba(162,231,238,.55); background: rgba(162,231,238,.16); transform: translateY(-3px); }
.lp-supp img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(162,231,238,.3); flex: 0 0 auto; }
.lp-supp-name { font-size: 16px; font-weight: 600; color: #eaf4fb; }
@media (max-width: 640px) { .lp-supp { min-height: 58px; padding: 8px 20px 8px 8px; } .lp-supp img { width: 40px; height: 40px; } .lp-supp-name { font-size: 14.5px; } }
@media (prefers-reduced-motion: reduce) { .lp-marquee-track { animation: none; } }

/* --- Final CTA --- */
.lp-cta {
  padding: 80px 20px;
  text-align: center;
}

.lp-cta-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  padding: 56px 40px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(162, 231, 238, 0.06) 0%, rgba(65, 150, 224, 0.03) 100%);
  border: 1px solid rgba(162, 231, 238, 0.15);
  overflow: hidden;
}

.lp-cta-glow {
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(162, 231, 238, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.lp-cta-title {
  font-weight: 500;
  font-size: 36px;
  line-height: 46px;
  letter-spacing: -0.8px;
  margin: 0 0 16px 0;
  background-image: linear-gradient(135deg, #a2e7ee 0%, #a2e7ee 33.33%, #7bc0e8 66.67%, #4196e0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
}

.lp-cta-subtitle {
  color: #94a3b8;
  font-size: 18px;
  line-height: 28px;
  margin: 0 0 32px 0;
  position: relative;
  z-index: 1;
}

.lp-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* --- Buttons --- */
.lp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #a2e7ee 0%, #4196e0 100%);
  color: #05051e;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}

.lp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(162, 231, 238, 0.25);
}

.lp-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: #a2e7ee;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  border-radius: 10px;
  border: 1px solid rgba(162, 231, 238, 0.3);
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.lp-btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(162, 231, 238, 0.08);
  border-color: rgba(162, 231, 238, 0.5);
}

/* --- Responsive: Tablet --- */
@media (max-width: 1024px) {
  .lp-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lp-community .lp-patreon-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Responsive: Mobile --- */
@media (max-width: 768px) {
  .lp-section-title {
    font-size: 30px;
    line-height: 42px;
    letter-spacing: -1.44px;
  }
  .lp-features,
  .lp-gallery,
  .lp-trending,
  .lp-community,
  .lp-cta {
    padding: 40px 16px;
  }
  .lp-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .lp-feature-card { padding: 24px 20px; }
  .lp-community .lp-patreon-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .lp-cta-inner { padding: 40px 24px; }
  .lp-cta-title { font-size: 28px; line-height: 38px; }
  .lp-cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .lp-btn-primary,
  .lp-btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}

/* --- Responsive: Small mobile --- */
@media (max-width: 480px) {
  .lp-section-title { font-size: 26px; line-height: 36px; }
  .lp-section-subtitle { font-size: 15px; line-height: 24px; }
  .lp-feature-icon { width: 48px; height: 48px; font-size: 20px; }
  .lp-community .lp-patreon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================================
   457e67 — Marquee hero-feature + product mock
   ================================================ */
.lp-hero-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
  padding: 40px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(162, 231, 238, 0.07) 0%, rgba(65, 150, 224, 0.03) 50%, rgba(226, 232, 255, 0.01) 100%);
  border: 1px solid rgba(162, 231, 238, 0.16);
  position: relative;
  overflow: hidden;
}

.lp-hero-feature::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(162, 231, 238, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.lp-hero-feature-content { position: relative; z-index: 1; }

.lp-feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #a2e7ee;
  background: rgba(162, 231, 238, 0.10);
  border: 1px solid rgba(162, 231, 238, 0.22);
  margin-bottom: 18px;
}

.lp-hero-feature-title {
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 14px 0;
  letter-spacing: -0.5px;
}

.lp-hero-feature-desc {
  font-size: 17px;
  line-height: 27px;
  color: #94a3b8;
  margin: 0 0 22px 0;
}

.lp-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: grid;
  gap: 12px;
}

.lp-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
  line-height: 22px;
  color: #cbd5e1;
}

.lp-feature-list li i {
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 12px;
  color: #05051e;
  background: linear-gradient(135deg, #a2e7ee 0%, #4196e0 100%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-hero-feature-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Product mock (CSS-only representation of the deck generator) */
.lp-hero-feature-visual { position: relative; z-index: 1; }

.lp-mock {
  background: rgba(5, 5, 30, 0.55);
  border: 1px solid rgba(162, 231, 238, 0.18);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
}

.lp-mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(226, 232, 255, 0.05);
  border: 1px solid rgba(162, 231, 238, 0.15);
  color: #e2e8ff;
  font-size: 14px;
}

.lp-mock-bar i { color: #a2e7ee; }
.lp-mock-prompt { color: #cbd5e1; }

.lp-mock-meta {
  margin: 12px 2px 8px;
  font-size: 12.5px;
  color: #7bc0e8;
  display: flex;
  align-items: center;
  gap: 7px;
}

.lp-mock-list { display: grid; gap: 7px; }

.lp-mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(226, 232, 255, 0.03);
  border: 1px solid rgba(226, 232, 255, 0.06);
  font-size: 13.5px;
  color: #e2e8ff;
}

.lp-mock-card { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lp-mock-pips { display: inline-flex; gap: 4px; flex-shrink: 0; }

.lp-pip {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.lp-pip-w { background: #f8f6d8; }
.lp-pip-u { background: #aae0fa; }
.lp-pip-b { background: #b3aca8; }
.lp-pip-r { background: #f0a98f; }
.lp-pip-g { background: #9bd3ab; }

.lp-mock-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(162, 231, 238, 0.12);
  font-size: 13px;
  font-weight: 600;
  color: #a2e7ee;
}

.lp-mock-summary i { margin-right: 6px; }

/* --- Marquee responsive --- */
@media (max-width: 900px) {
  .lp-hero-feature {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }
  .lp-hero-feature-visual { order: -1; }
  .lp-hero-feature-title { font-size: 27px; line-height: 35px; }
}

@media (max-width: 768px) {
  .lp-hero-feature-actions { flex-direction: column; }
  .lp-hero-feature-actions .lp-btn-primary,
  .lp-hero-feature-actions .lp-btn-secondary { width: 100%; }
}