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

/* =========================
   GLOBAL
========================= */
html, body {
    width: 100%;
}

body {
    font-family: 'Poppins', 'Inter', sans-serif;
    color: #1f2933;
    line-height: 1.6;
    overflow-x: visible;
    background:
        linear-gradient(rgba(255,255,255,0.82), rgba(255,255,255,0.82)),
        url("../images/trading-card-pokemon-one-piece-lorcana.jpg") center / cover fixed;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================
   STICKY WRAPPER
========================= */
.sticky-wrapper {
    position: sticky;
    top: 0;
    z-index: 10000;
    overflow: visible;
}

/* =========================
   HEADER
========================= */
.site-header {
    position: relative;
    overflow: visible;
    background:
        linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.4)),
        url("../images/Pokeballs-trading-card-shop-cardiff-southwales.png") center / cover;
    border-bottom: 1px solid #9ca3af;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90px;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* =========================
   CONTACT (DESKTOP)
========================= */
.header-contact {
    display: flex;
    gap: 175px;
    margin-top: 26px;
    font-size: 16px;
    font-weight: 600;
}

.header-contact a {
    color: #fffff;
    white-space: nowrap;
}

.header-contact a:hover {
    text-decoration: underline;
}

/* =========================
   LOGO STYLING + GREEN GLOW
========================= */
.logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-main,
.logo-sub {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    animation: logoGlowPulse 3s ease-in-out infinite;
}

.logo-sub {
    font-size: 26px;
    letter-spacing: 2px;
}

.logo:hover .logo-main,
.logo:hover .logo-sub {
    animation-duration: 1.5s;
}

@keyframes logoGlowPulse {
    0%, 100% {
        text-shadow:
            0 0 4px rgba(34,197,94,0.4),
            0 0 10px rgba(34,197,94,0.3),
            0 0 18px rgba(34,197,94,0.2);
    }
    50% {
        text-shadow:
            0 0 12px rgba(34,197,94,1),
            0 0 28px rgba(34,197,94,0.8),
            0 0 50px rgba(34,197,94,0.6);
    }
}

.logo img {
    width: 90px;
    animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(255, 0, 0, 0));
    }
    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 12px rgba(255, 0, 0, 0.8));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(255, 0, 0, 0));
    }
}

/* =========================
   DESKTOP NAV
========================= */
.nav {
    display: flex;
    gap: 100px;
}

.nav a {
    position: relative;
    font-size: 20px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow:
        0 0 4px rgba(34,197,94,0.4),
        0 0 10px rgba(34,197,94,0.25);
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #22c55e;
    border-radius: 2px;
    transition: width 0.3s ease, box-shadow 0.3s ease;
}

.nav a:hover,
.nav a.active {
    animation: navGlow 1.8s ease-in-out infinite;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
    box-shadow: 0 0 8px rgba(34,197,94,0.6);
}

@keyframes navGlow {
    0% { text-shadow: 0 0 3px rgba(34,197,94,0.15); }
    50% {
        text-shadow:
            0 0 6px rgba(34,197,94,0.5),
            0 0 12px rgba(34,197,94,0.25);
    }
    100% { text-shadow: 0 0 3px rgba(34,197,94,0.15); }
}

/* =========================
   HEADER CONTACT LINKS GLOW
========================= */
.header-actions {
    display: flex;
    align-items: center;
}

.header-phone {
    font-size: 14px;
}

.header-contact a {
    position: relative;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow:
        0 0 3px rgba(34,197,94,0.25),
        0 0 6px rgba(34,197,94,0.15);
}

.header-contact a:hover {
    animation: contactGlow 1.6s ease-in-out infinite;
}

@keyframes contactGlow {
    0% {
        text-shadow:
            0 0 3px rgba(34,197,94,0.25),
            0 0 6px rgba(34,197,94,0.15);
    }
    50% {
        text-shadow:
            0 0 6px rgba(34,197,94,0.6),
            0 0 12px rgba(34,197,94,0.35);
    }
    100% {
        text-shadow:
            0 0 3px rgba(34,197,94,0.25),
            0 0 6px rgba(34,197,94,0.15);
    }
}

/* =========================
   HAMBURGER
========================= */
.hamburger {
    display: none;
    background: none;
    border: none;
    width: 32px;
    height: 24px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    background: #374151;
    margin: 5px 0;
}

/* =========================
   MOBILE NAV
========================= */
@media (max-width: 900px) {

    .hamburger {
        display: block;
        z-index: 10001;
    }

    .header-actions {
        display: none;
    }

    .header-contact {
        display: none;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(-15px) scale(0.96);
        width: 94%;
        max-width: 520px;

        /* SCROLLABLE FIX */
        max-height: 80vh;
        overflow-y: auto;

        background:
            linear-gradient(rgba(15,23,42,0.92), rgba(15,23,42,0.92)),
            url("../images/Pokeballs-trading-card-shop-cardiff-southwales.png");

        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);

        border-radius: 18px;
        border: 2px solid #22c55e;

        box-shadow:
            0 0 15px #22c55e,
            0 0 35px rgba(34,197,94,0.8),
            0 30px 80px rgba(0,0,0,0.8);

        display: flex;
        flex-direction: column;
        align-items: center;

        padding: 0;

        opacity: 0;
        pointer-events: none;

        transition:
            opacity 0.35s ease,
            transform 0.35s ease;

        z-index: 10000;
    }

    .nav.open {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
        pointer-events: auto;
        display: flex;
    }

    .nav a {
        position: relative;
        width: 100%;
        text-align: center;
        line-height: 1;
        font-size: 17px;
        font-weight: 800;
        letter-spacing: 1.5px;
        padding: 14px 0;
        color: #e5e7eb;
        text-shadow:
            0 0 4px rgba(34,197,94,0.35),
            0 0 10px rgba(34,197,94,0.2);
        transition:
            color 0.25s ease,
            text-shadow 0.25s ease,
            transform 0.25s ease;
    }

    .nav a:not(:last-child) {
        border-bottom: 1px solid rgba(34,197,94,0.25);
    }

    .nav a:hover {
        color: #22c55e;
        text-shadow:
            0 0 8px #22c55e,
            0 0 18px #22c55e,
            0 0 30px rgba(34,197,94,0.9);
        transform: scale(1.05);
    }

    /* Show contact ONLY when menu is open */
    .nav.open .header-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-top: 15px;
    }
}

/* Scrollbar styling for nav on mobile */
.nav::-webkit-scrollbar {
    width: 4px;
}

.nav::-webkit-scrollbar-thumb {
    background: #22c55e;
    border-radius: 4px;
}

/* =========================
   NAV CONTACT INFO
========================= */
.nav-contact {
    margin-top: 15px;
    display: flex;
    gap: 20px;
    font-weight: 600;
}

.nav-contact a {
    color: #22c55e;
    transition: 0.3s ease;
}

.nav-contact a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .nav-contact {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    .nav-phone,
    .nav-email {
        color: #00ff88;
        font-size: 16px;
    }
}

/* =========================
   ANNOUNCEMENT BAR
========================= */
.announcement-bar {
    position: relative;
    top: auto;
    z-index: auto;
    background: linear-gradient(90deg, #0f172a, #1e293b);
    height: 38px;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #22c55e;
}

.announcement-track {
    display: flex;
    width: max-content;
    animation: marquee 16s linear infinite;
}

.announcement-content {
    white-space: nowrap;
    padding-right: 40px;
    color: #22c55e;
    font-weight: 900;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =========================
   HERO
========================= */
.hero-banner {
    height: 520px;
    background: url("../images/pokemon-shop-cardiff-south-wales.jpg") center / cover;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.5);
    display: flex;
    align-items: center;
}

.hero-content {
    background: rgba(17,24,39,0.65);
    color: #fff;
    padding: 30px 40px;
    border-radius: 14px;
    max-width: 720px;
    margin-left: 40px;
}

.hero-title {
    color: #00ff88;
}

@media (max-width: 768px) {
    .hero-content {
        margin-left: auto;
        margin-right: auto;
        max-width: calc(100% - 24px);
        padding: 10px 14px;
    }

    .hero-overlay {
        align-items: flex-end;
        padding-bottom: 36px;
    }

    .hero-content {
        padding: 8px 14px;
        max-width: calc(100% - 24px);
        margin: 0 auto;
        background: rgba(17,24,39,0.72);
        backdrop-filter: blur(6px);
        box-shadow:
            0 0 0 1px rgba(34,197,94,0.6),
            0 0 18px rgba(34,197,94,0.35);
        border-radius: 10px;
    }

    .hero-title {
        font-size: 15px;
        line-height: 1.15;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
    }

    .hero-content p {
        font-size: 11px;
        margin-top: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
    }
}

/* =========================
   MAIN LAYOUT
========================= */
.main-section {
    padding: 60px 0;
}

.tcg-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.tcg-content {
    flex: 1;
}

.tcg-content h2 {
    clear: both;
}

.tcg-sidebar {
    width: 300px;
    position: sticky;
    top: 180px;
    align-self: flex-start;
}

@media (max-width: 1100px) {
    .tcg-sidebar {
        display: none !important;
    }
}

.cards-image {
    width: 100%;
}

/* =========================
   IMAGES
========================= */
img {
    max-width: 100%;
    height: auto;
}

/* =========================
   FEATURE IMAGE
========================= */
.feature-image {
    float: left;
    width: 50%;
    max-width: 190px;
    margin: 0 20px 0 0;
}

.feature-image img {
    width: 100%;
    border-radius: 18px;
    border: 3px solid #22c55e;
    box-shadow:
        0 0 0 4px rgba(34,197,94,0.15),
        0 0 25px rgba(34,197,94,0.35),
        0 15px 40px rgba(0,0,0,0.35);
}

section::after {
    content: "";
    display: block;
    clear: both;
}

@media (min-width: 2056px) {
    .feature-image {
        max-width: 190px;
    }
}

@media (min-width: 1024px) and (min-aspect-ratio: 16/10) {
    .feature-image {
        max-width: 380px;
    }
}

@media (max-width: 768px) {
    .feature-image {
        float: none;
        margin: 20px auto;
        max-width: 50%;
    }
}

/* =========================
   PREMIUM GLOW IMAGE STYLE
========================= */
.feature-image img,
.cards-image,
.pokemon-feature-image img {
    border-radius: 18px;
    border: 3px solid #22c55e;
    box-shadow:
        0 0 0 4px rgba(34,197,94,0.15),
        0 0 30px rgba(34,197,94,0.45),
        0 20px 50px rgba(0,0,0,0.45);
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

/* =========================
   POKÉMON IMAGE – DESKTOP
========================= */
.pokemon-feature-image {
    float: left;
    width: 45%;
    max-width: 300px;
    margin: 0 25px 20px 0;
}

/* =========================
   HOVER EFFECT (DESKTOP ONLY)
========================= */
@media (min-width: 769px) {
    .feature-image img:hover,
    .cards-image:hover,
    .pokemon-feature-image img:hover {
        transform: scale(1.04) translateY(-6px);
        box-shadow:
            0 0 0 4px rgba(34,197,94,0.25),
            0 0 50px rgba(34,197,94,0.7),
            0 30px 70px rgba(0,0,0,0.55);
    }
}

/* =========================
   PULSING GLOW
========================= */
@keyframes imageGlowPulse {
    0%, 100% {
        box-shadow:
            0 0 0 4px rgba(34,197,94,0.15),
            0 0 25px rgba(34,197,94,0.4),
            0 20px 50px rgba(0,0,0,0.45);
    }
    50% {
        box-shadow:
            0 0 0 4px rgba(34,197,94,0.25),
            0 0 50px rgba(34,197,94,0.8),
            0 25px 60px rgba(0,0,0,0.55);
    }
}

.feature-image img,
.pokemon-feature-image img {
    animation: imageGlowPulse 4s ease-in-out infinite;
}

/* =========================
   MOBILE IMAGE CONTROL
========================= */
@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
    }

    .feature-image img,
    .cards-image {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 20px auto;
        display: block;
    }

    .pokemon-feature-image {
        float: none;
        width: 35%;
        max-width: 35%;
        margin: 20px auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .pokemon-feature-image {
        float: left;
        width: 120%;
        max-width: none;
    }
}

/* =========================
   TCS PSA STYLE SLAB FRAME
========================= */
.tcs-slab {
    max-width: 230px;
    width: 100%;
    float: left;
    margin: 0 20px 20px 0;
    background: #ffffff;
    border-radius: 14px;
    padding: 10px;
    border: 2px solid #22c55e;
    box-shadow:
        0 0 0 3px #ffffff,
        0 0 0 5px rgba(34,197,94,0.25),
        0 10px 25px rgba(0,0,0,0.25);
    box-sizing: border-box;
}

.tcs-slab img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.tcg-content::after {
    content: "";
    display: block;
    clear: both;
}

@media (max-width: 768px) {
    .tcs-slab {
        float: none;
        margin: 20px auto;
        max-width: 70%;
    }
}

/* =========================
   GRADED SLAB + GLASS FRAME
========================= */
.slab-frame {
    position: relative;
    display: inline-block;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.25),
        rgba(255,255,255,0.05)
    );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(34,197,94,0.6);
    box-shadow:
        0 0 0 4px rgba(34,197,94,0.15),
        0 0 40px rgba(34,197,94,0.35),
        0 30px 70px rgba(0,0,0,0.45);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.slab-frame img {
    display: block;
    width: 100%;
    border-radius: 14px;
    margin: 40px 0;
}

@media (min-width: 769px) {
    .slab-frame:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow:
            0 0 0 4px rgba(34,197,94,0.25),
            0 0 70px rgba(34,197,94,0.7),
            0 40px 90px rgba(0,0,0,0.6);
    }
}

@keyframes slabSweep {
    0% { left: -60%; }
    50% { left: 120%; }
    100% { left: 120%; }
}

/* =========================
   PSA STYLE LABEL STRIP
========================= */
.slab-label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #ffffff, #f1f5f9);
    padding: 10px 16px 12px 16px;
    border-bottom: 2px solid rgba(34,197,94,0.6);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 2;
}

.slab-title {
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1.5px;
    color: #111827;
}

.slab-sub {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

.slab-serial {
    font-size: 10px;
    margin-top: 4px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #22c55e;
}

/* =========================
   MOBILE SLAB STYLE
========================= */
@media (max-width: 768px) {
    .slab-frame,
    .slab-frame-small {
        width: 100%;
        max-width: 90%;
        margin: 20px auto;
        padding: 12px;
        border: 3px solid #22c55e;
        box-shadow:
            0 0 30px rgba(34,197,94,0.45),
            0 20px 50px rgba(0,0,0,0.45);
    }

    .slab-label,
    .slab-title,
    .slab-sub,
    .slab-serial {
        display: none;
    }

    .slab-frame img {
        margin-top: 0;
        margin-bottom: 0;
        width: 150%;
    }
}

/* =========================
   WHATSAPP FLOATING BUTTON
========================= */
.wa-button {
    display: none;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    box-shadow:
        0 0 0 2px rgba(34,197,94,0.85),
        0 12px 28px rgba(0,0,0,0.35),
        0 0 30px rgba(34,197,94,0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 768px) {
    .wa-button {
        display: inline-flex;
        position: fixed;
        bottom: 18px;
        right: 18px;
        z-index: 9999;
    }
}

.wa-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top left, #4ade80, #16a34a);
    box-shadow:
        inset 0 0 0 2px rgba(255,255,255,0.35),
        0 0 16px rgba(34,197,94,0.7);
}

.wa-icon svg {
    width: 22px;
    height: 22px;
}

.wa-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.wa-text strong {
    font-size: 16px;
    font-weight: 800;
}

.wa-text small {
    font-size: 12px;
    opacity: 0.9;
}

/* =========================
   FOOTER
========================= */
.footer {
    background: #111827;
    color: #9ca3af;
    padding: 25px 0;
    text-align: center;
}

/* =========================
   CONTACT PAGE
========================= */
.contact-page-grid {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-method {
    margin-top: 20px;
    font-size: 16px;
}

.contact-method a {
    color: #22c55e;
    font-weight: 600;
}

.contact-form-container {
    flex: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #22c55e;
}

.btn-primary {
    background: #22c55e;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
}

.btn-primary:hover {
    background: #16a34a;
}

@media (max-width: 900px) {
    .contact-page-grid {
        flex-direction: column;
        gap: 40px;
    }
}

.form-success {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #ffffff;
    padding: 18px;
    margin-bottom: 25px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(34,197,94,0.35);
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-error {
    background: #dc2626;
    color: #fff;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 6px;
}
