* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    padding-bottom: 3rem;
}

.ca {
    color: white;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 1rem;
    opacity: 0.8;
    word-break: break-all;
}


body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(138, 43, 226, 0.15), transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(255, 20, 147, 0.1), transparent 50%);
    animation: pulse 8s ease-in-out infinite;
    z-index: 0;
}

/* === Link Buttons to match the theme === */
.link-button {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #5d2111, #002aff);
    background-size: 200% 200%;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3),
        0 0 30px rgba(117, 15, 4, 0.2);
    margin-left: 0.5rem;
}

/* Row layout for both pairs */
.link-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    /* makes it wrap nicely on mobile */
    gap: 2rem;
    /* space between the two pairs */
    text-align: center;
}

/* Keep label and button close together */
.link-group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    /* small gap between text and its button */
}

/* optional responsive tweak */
@media (max-width: 600px) {
    .link-row {
        flex-direction: column;
        gap: 1rem;
        /* less space on smaller screens */
    }
}




.link-button:hover {
    background-position: 100% 0;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.6),
        0 0 50px rgba(48, 13, 6, 0.4);
}

/* Optional subtle animation */
@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(255, 0, 255, 0.3),
            0 0 30px rgba(0, 255, 255, 0);
    }

    50% {
        box-shadow: 0 0 25px rgba(255, 0, 255, 0.6),
            0 0 50px rgba(0, 255, 255, 0.4);
    }
}

.link-button {
    animation: glowPulse 4s infinite ease-in-out;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.content {
    text-align: center;
    padding: 3rem 2rem 2rem;
    z-index: 1;
}

.announcement {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.name {
    background: linear-gradient(135deg, #ff00ff, #00ffff, #ff00ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    filter: drop-shadow(0 0 30px rgba(255, 0, 255, 0.8)) drop-shadow(0 0 60px rgba(0, 255, 255, 0.223));
    display: inline-block;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.subtext {
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(255, 255, 255, 0.2);
    display: inline-block;
}

.dog-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 400px;
    z-index: 1;
    margin-bottom: 2rem;
}

.dog-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 -20px 60px rgba(99, 33, 9, 0.6)) drop-shadow(0 -10px 30px rgba(255, 20, 147, 0.4));
    animation: float-dog 4s ease-in-out infinite;
}

@keyframes float-dog {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

.dex-button {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #5d2111, #002aff);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    z-index: 1;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(82, 16, 16, 0.5),
        0 0 60px rgba(100, 42, 21, 0.3);
    margin-bottom: 0rem;
}

/* === Footer Section === */
.footer {
    width: 100%;
    text-align: center;
    padding: 1.5rem 1rem;
    background: transparent;
    position: relative;
    z-index: 2;
}

.footer-text {
    color: #fff;
    font-size: 1rem;
    opacity: 0.7;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #ffecff, #00ffee);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease infinite;
    filter: drop-shadow(0 0 10px rgba(255, 0, 255, 0.4)) drop-shadow(0 0 20px rgba(0, 255, 255, 0.2));
}

.dex-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.dex-button:hover::before {
    left: 100%;
}

.dex-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.7),
        0 0 80px rgba(0, 204, 255, 0.5);
}

/* Video Gallery Section */
.video-gallery-section {
    width: 100%;
    max-width: 1400px;
    padding: 4rem 2rem;
    margin: 0 auto;
    z-index: 1;
}

.gallery-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ff00ff, #00ffff, #ff00ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    margin-bottom: 3rem;
    filter: drop-shadow(0 0 20px rgba(255, 0, 255, 0.4));
}

/* --- Video Grid: 5 small videos, never cropped --- */
/* --- Video Grid: 5 small videos per row, never cropped --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-content: center;
    /* <-- this centers them horizontally */
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* video box — flexible height so video fits fully */
.video-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    height: auto;
    /* allow height to expand */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    /* small internal padding so video never touches edges */
}

.video-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 0, 255, 0.4),
        0 0 40px rgba(0, 255, 255, 0.2);
}

/* fully visible videos */
.video-element {
    width: 100%;
    height: auto;
    /* keeps full video in view */
    max-height: 100%;
    /* prevents overflow */
    object-fit: contain;
    /* show entire video, never crop */
    background-color: #000;
    border-radius: 8px;
    display: block;
}

/* optional overlay for title */
.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    padding: 0.4rem 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-overlay {
    opacity: 1;
}

.video-title {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
}

/* --- Responsive layout --- */
@media (max-width: 1200px) {
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 400px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}


/* Responsive layout */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}


@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}



@media (max-width: 768px) {
    .announcement {
        font-size: clamp(2rem, 10vw, 4rem);
    }

    .dog-container {
        height: 300px;
        max-width: 400px;
    }

    .carousel-item {
        min-width: calc(100% - 1rem);
    }

    .dex-button {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }

    .ca {
        font-size: 0.8rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-gallery-section {
        padding: 2rem 1rem;
    }

    .mute-toggle {
        opacity: 1;
    }
}

/* === Floating Icon Carousel (clean + static floating version) === */
.icon-carousel {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    z-index: 5;
    margin-top: 1rem;
    /* space above */
    margin-bottom: 2.5rem;
    /* space below before heading */
    background: none;
    /* make sure no background shows */
    height: auto;
    /* remove fixed height that looked like a rectangle */
}

.icon-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    /* space between icons */
    width: auto;
}

.icon-track img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    opacity: 0.9;
    filter: drop-shadow(0 0 10px rgba(255, 0, 255, 0.6)) drop-shadow(0 0 15px rgba(0, 255, 255, 0.3));
    animation: floatUpDown 3s ease-in-out infinite;
}

/* Gentle floating motion only */
@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.icon-track img:nth-child(odd) {
    animation-delay: 1.2s;
}

/* space between icons and heading */
.announcement {
    margin-top: 2rem;
}