/* CSS Reset */
body, header, nav, main, footer, h1, h2, div, img, ul {
    margin: 0;
    padding: 0;
    border: 0;
}

/* Global Styles */
body {
    background-color: #111111;
    color: #f5f5f5;
    font-family: Arial, Helvetica, sans-serif;
}

main  {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header and Navigation */
header {
    padding: 20px;
    background-color: #181818;
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 15px;
    gap: 15px;
}

nav a {
    color: #f5f5f5;
    text-decoration: none;
    padding: 8px 12px;
    transition: color 0.3s ease;
}


nav a[aria-current="page"] {
    color: #ff4fa3;
    font-weight: bold;
    border-bottom: 2px solid #ff4fa3;
}


nav a:hover, nav a:focus-visible {
    color: #ff4fa3;
}

nav a:focus-visible {
    outline: 2px solid #35d0e8;
    outline-offset: 4px;
}

/* Hero Section */
.hero-title {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-tagline {
    font-size: 1.2rem;
    color: #bdbdbd;
    margin-bottom: 20px;
}

.hero-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #ff4fa3;
    color: #111111;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: color 0.3s ease;
}

.hero-button:hover {
    background-color: #35d0e8;
}


.hero-button:focus-visible {
    outline: 2px solid #35d0e8;
    outline-offset: 4px;
}

.hero {
    padding: 40px 0;
}

.featured-image {
    width: 400px;
    max-width: 100%;
    height: auto;
    display: block;
}

/* Featured Find Reveal Button */
#featured-reveal-button {
    display: inline-block;
    padding: 14px 28px;
    margin-bottom: 25px;
    background-color: #ff4fa3;
    color: #111111;
    border: 2px solid #ff4fa3;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease,
                border-color 0.3s ease;
}

#featured-reveal-button:hover {
    background-color: #35d0e8;
    border-color: #35d0e8;
}

#featured-reveal-button:focus-visible {
    outline: 2px solid #35d0e8;
    outline-offset: 4px;
}

/* Featured Find Energy Pulse */
@keyframes featured-energy-pulse {
    0% {
        box-shadow: 0 0 0 rgba(53, 208, 232, 0);
    }

    40% {
        box-shadow: 0 0 30px rgba(53, 208, 232, 0.8);
    }

    70% {
        box-shadow: 0 0 45px rgba(255, 79, 163, 0.6);
    }

    100% {
        box-shadow: 0 0 0 rgba(53, 208, 232, 0);
    }
}

.featured-product.is-revealing .featured-image-wrapper{
    animation: featured-energy-pulse 0.8s ease-out;
}

/* Featured Find Lightning Bolt */

/* Keep lightning inside the Featured Find image */
.featured-image-wrapper {
    position: relative;
    width: 400px;
    max-width: 100%;
    flex-shrink: 0;
    overflow: hidden;
}

.featured-lightning {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(
        180deg,
        #ffffff,
        #35d0e8,
        #ff4fa3
    );

    clip-path: polygon(
        45% 0%,
        75% 0%,
        55% 40%,
        85% 40%,
        20% 100%,
        40% 55%,
        15% 55%
    );

    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

/* Lightning Strike Animation */
@keyframes featured-lightning-strike {
    0% {
        opacity: 0;
        transform: translateY(-25px);
    }

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

    35% {
        opacity: 0.2;
    }

    45% {
        opacity: 1;
    }

    75% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.featured-product.is-revealing .featured-lightning {
    animation: featured-lightning-strike 0.8s ease-out;
}


@media (prefers-reduced-motion: reduce) {
    .featured-product.is-revealing {
        animation: none;
    }
    .featured-product.is-revealing .featured-lightning {
    animation: none;
}
}

.featured-product {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    position: relative;
}

.featured-info {
    max-width: 420px;
    padding-top: 10px;
}

.featured-info h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.featured-info p {
    font-size: 1.25rem;
    font-weight: bold;
    color: #ff4fa3;
    margin-bottom: 18px;
}

.featured-info a {
    display: inline-block;
    padding: 10px 18px;
    background-color: #ff4fa3;
    color: #111111;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.featured-info a:hover {
    background-color: #35d0e8;
}

.shop-section  {
    padding: 40px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
    justify-content: start;
}

.product-card {
    background-color: #181818;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover, .product-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.product-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: contain;
    background-color: #222222;
    display: block;
    margin-bottom: 15px;
}

.product-card-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-info h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.product-price {
    color: #ff4fa3;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-button {
    display: inline-block;
    margin-top: auto;
    align-self: flex-start;
    padding: 10px 18px;
    background-color: #ff4fa3;
    color: #111111;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.product-button:hover {
    background-color: #35d0e8;
}

.product-title {
    margin-bottom: 30px;
}

.product-detail {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.product-detail-image {
    width: 450px;
    max-width: 100%;
    height: auto;
    display: block;
}

.product-detail-info {
    max-width: 550px;
}

.product-detail-price {
    color: #ff4fa3;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.product-detail-info p {
    margin-bottom: 18px;
    line-height: 1.6;
}

.product-availability {
    font-weight: bold;
}


/* Marketplace Purchase Buttons */
.marketplace-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.marketplace-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #ff4fa3;
    color: #111111;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.marketplace-button:hover {
    background-color: #35d0e8;
}

.marketplace-button:focus-visible {
    outline: 2px solid #35d0e8;
    outline-offset: 4px;
}

.whatnot-button {
    background-color: #35d0e8;
}

.whatnot-button:hover {
    background-color: #ff4fa3;
}

/* About Page */
.about-page h1 {
    margin-bottom: 25px;
}

.about-intro {
    background-color: #181818;
    padding: 24px;
    border-left: 3px solid #ff4fa3;
    border-radius: 8px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.about-section {
    background-color: #181818;
    padding: 24px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.about-section h2 {
    color: #ff4fa3;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.about-section p {
    color: #bdbdbd;
    line-height: 1.7;
}

/* FAQ Page */
.faq-item {
    background-color: #181818;
    padding: 24px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 3px solid #ff4fa3;
}

.faq-item h2 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.faq-item p {
    color: #bdbdbd;
    line-height: 1.6;
    margin-bottom: 0;
}


.faq-item a {
    color: #ff4fa3;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.faq-item a:hover {
    color: #35d0e8;
}

.faq-item a:focus-visible {
    outline: 2px solid #35d0e8;
    outline-offset: 3px;
}

/* Contact Page */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #181818;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    background-color: #252525;
    color: #f5f5f5;
    border: 1px solid #555555;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #ff4fa3;
    outline-offset: 2px;
}

.contact-form label {
    color: #f5f5f5;
    font-weight: bold;
    font-size: 1rem;
}

.contact-form button {
    align-self: flex-start;
    padding: 12px 24px;
    background-color: #ff4fa3;
    color: #111111;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:disabled {
    background-color: #555555;
    color: #cccccc;
    cursor: not-allowed;
}

/* Social Platform Buttons */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    max-width: 100%;
    min-height: 72px;
    padding: 12px 16px;
    box-sizing: border-box;
    background-color: #181818;
    color: #f5f5f5;
    border: 1px solid #555555;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.3s ease;
}

.platform-link img {
    display: block;
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.platform-link:hover {
    border-color: #ff4fa3;
}

.platform-link:focus-visible {
    outline: 2px solid #35d0e8;
    outline-offset: 4px;
}

/* Instagram-specific layout */
.instagram-link {
    justify-content: center;
    gap: 12px;
}

.instagram-link img {
    width: 36px;
    height: 36px;
}

@media screen and (max-width: 768px) {
    .featured-product{
        flex-direction:  column;
        gap: 20px;
    }
    
    .featured-info {
        padding-top: 0;
    }
    
    .product-detail {
        flex-direction: column;
        gap: 24px;
    }
    
    .product-detail-info {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-card {
        transition: none;
    }

    .product-card:hover,
    .product-card:focus-within {
        transform: none;
    }
    .featured-product.is-revealing .featured-image-wrapper {
    animation: none;
}
}









