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

.gif {
    display: none;
    justify-content: space-between;
    position: absolute;
    left: 0px;
    top: 120px;
}

.gifs {
    width: 30%;
}

#imagetwo {
    transform: scaleX(-1);
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.floating-shuttlecocks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shuttlecock {
    position: absolute;
    font-size: 2em;
    opacity: 0.1;
    animation: float-across 15s linear infinite;
}

.shuttlecock:nth-child(1) {
    top: 10%;
    animation-delay: 0s;
}

.shuttlecock:nth-child(2) {
    top: 30%;
    animation-delay: 3s;
}

.shuttlecock:nth-child(3) {
    top: 60%;
    animation-delay: 6s;
}

.shuttlecock:nth-child(4) {
    top: 80%;
    animation-delay: 9s;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.hero {
    text-align: center;
    padding: 40px 20px;
    background: rgb(88, 191, 255);
    border-radius: 30px;
    margin-bottom: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.272), transparent);
    animation: shine 3s infinite;
}

h1 {
    font-size: 4em;
    background: linear-gradient(45deg, #1900ff, #08018b, #0004ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    animation: pulse 2s ease-in-out infinite;
}

.family-showcase {
    background: linear-gradient(135deg, #ff9068, #fd746c);
    padding: 60px 40px;
    border-radius: 700px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.family-showcase::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: orbit 8s linear infinite;
}

.family-members {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}

.family-member {
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.family-member:hover {
    transform: scale(1.1) translateY(-10px);
}

.family-member .emoji {
    font-size: 5em;
    margin-bottom: 15px;
    display: block;
    filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.3));
    animation: bounce 3s ease-in-out infinite;
}

.family-member:nth-child(1) .emoji {
    animation-delay: 0s;
}

.family-member:nth-child(2) .emoji {
    animation-delay: 0.5s;
}

.family-member:nth-child(3) .emoji {
    animation-delay: 1s;
}

.family-member:nth-child(4) .emoji {
    animation-delay: 1.5s;
}

.family-member .label {
    color: white;
    font-weight: bold;
    font-size: 1.4em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.badminton-court {
    background: linear-gradient(135deg, #ff6272, #ff21de);
    border-radius: 30px;
    padding: 50px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.court-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.court-line {
    position: absolute;
    background: white;
}

.court-line.horizontal {
    width: 100%;
    height: 2px;
}

.court-line.vertical {
    width: 2px;
    height: 100%;
}

.court-line:nth-child(1) {
    top: 20%;
}

.court-line:nth-child(2) {
    top: 50%;
}

.court-line:nth-child(3) {
    top: 80%;
}

.court-line:nth-child(4) {
    left: 25%;
}

.court-line:nth-child(5) {
    left: 50%;
}

.court-line:nth-child(6) {
    left: 75%;
}

.badminton-content {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.badminton-text {
    flex: 1;
    color: white;
}

.badminton-text h2 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.badminton-visual {
    flex: 1;
    text-align: center;
    position: relative;
}

.giant-shuttlecock {
    font-size: 8em;
    animation: spin-float 4s ease-in-out infinite;
    filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.3));
}

.racket {
    font-size: 4em;
    position: absolute;
    animation: swing 2s ease-in-out infinite;
}

.racket:nth-child(1) {
    top: -20px;
    left: -60px;
    animation-delay: 0s;
}

.racket:nth-child(2) {
    bottom: -20px;
    right: -60px;
    animation-delay: 1s;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(1, 200px);
    gap: 25px;
    margin: 30px 0;
    height: 660px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(15px);
}

/* Hero Card - Large Square */
.feature-card:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    border-radius: 50px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    transform: rotate(-2deg);
    padding: 30px;
}

/* Circle Card */
.feature-card:nth-child(2) {
    border-radius: 50%;
    background: linear-gradient(135deg, #00d2d3, #54a0ff);
    color: white;
    transform: rotate(3deg);
    padding: 20px;
}

/* Diamond Card */
.feature-card:nth-child(3) {
    transform: rotate(45deg);
    border-radius: 25px;
    background: linear-gradient(135deg, #feca57, #ff9ff3);
    grid-column: 4;
    grid-row: 1;
    padding: 10px;
}

.feature-card:nth-child(4) {
    grid-row: 2 / 4;
    border-radius: 40px;
    background: linear-gradient(135deg, #5f27cd, #00d2d3);
    color: white;
    transform: rotate(-1deg);
    padding: 25px;
}

.feature-card:nth-child(3) .card-content {
    transform: rotate(-45deg);
}

.feature-card:nth-child(3) .feature-icon {
    font-size: 2em;
    margin-bottom: 5px;
}

.feature-card:nth-child(3) h3 {
    font-size: 1em;
    margin-bottom: 3px;
}

.feature-card:nth-child(3) p {
    font-size: 0.8em;
    line-height: 1.2;
}

.feature-card::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;
}

.feature-card:nth-child(1)::before,
.feature-card:nth-child(2)::before,
.feature-card:nth-child(4)::before,
.feature-card:nth-child(6)::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.feature-card:nth-child(1):hover {
    transform: translateY(-10px) scale(1.05) rotate(-2deg);
}

.feature-card:nth-child(2):hover {
    transform: translateY(-10px) scale(1.05) rotate(3deg);
}

.feature-card:nth-child(3):hover {
    transform: translateY(-10px) scale(1.05) rotate(45deg);
}

.feature-card:nth-child(4):hover {
    transform: translateY(-10px) scale(1.05) rotate(-1deg);
}

.feature-card:nth-child(5):hover {
    transform: translateY(-10px) scale(1.05) rotate(1deg);
}

.feature-card:nth-child(6):hover {
    transform: translateY(-10px) scale(1.05) rotate(-2deg);
}

.card-content {
    position: relative;
    z-index: 2;
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 8px;
    animation: rotate-gentle 4s ease-in-out infinite;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.feature-card:nth-child(1) .feature-icon {
    font-size: 4em;
    margin-bottom: 15px;
}

.feature-card:nth-child(4) .feature-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.feature-card:nth-child(5) .feature-icon {
    font-size: 2.8em;
}

.feature-card h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
    font-weight: bold;
    line-height: 1.2;
}

.feature-card:nth-child(1) h3 {
    font-size: 2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
}

.feature-card:nth-child(4) h3 {
    font-size: 1.6em;
    margin-bottom: 8px;
}

.feature-card:nth-child(5) h3 {
    font-size: 1.4em;
}

.feature-card p {
    font-size: 0.9em;
    line-height: 1.3;
    opacity: 0.9;
}

.feature-card:nth-child(1) p {
    font-size: 1.1em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.feature-card:nth-child(4) p {
    font-size: 1em;
}

.feature-card:nth-child(5) p {
    font-size: 1em;
}

.celebration-section {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 30px 0;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #f39c12;
    animation: confetti-fall 3s linear infinite;
}

.confetti:nth-child(odd) {
    background: #e74c3c;
}

.confetti:nth-child(even) {
    background: #3498db;
}

.confetti:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.confetti:nth-child(2) {
    left: 20%;
    animation-delay: 0.2s;
}

.confetti:nth-child(3) {
    left: 30%;
    animation-delay: 0.4s;
}

.confetti:nth-child(4) {
    left: 40%;
    animation-delay: 0.6s;
}

.confetti:nth-child(5) {
    left: 60%;
    animation-delay: 0.8s;
}

.confetti:nth-child(6) {
    left: 70%;
    animation-delay: 1s;
}

.confetti:nth-child(7) {
    left: 80%;
    animation-delay: 1.2s;
}

.confetti:nth-child(8) {
    left: 90%;
    animation-delay: 1.4s;
}

.celebration-text {
    color: white;
    position: relative;
    z-index: 2;
}

.celebration-text h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.heart-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.heart {
    font-size: 3em;
    color: #e74c3c;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.heart:nth-child(1) {
    animation-delay: 0s;
}

.heart:nth-child(2) {
    animation-delay: 0.3s;
}

.heart:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes float-across {
    from {
        transform: translateX(-100px) rotate(0deg);
    }

    to {
        transform: translateX(calc(100vw + 100px)) rotate(360deg);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

@keyframes spin-float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes swing {

    0%,
    100% {
        transform: rotate(-15deg);
    }

    50% {
        transform: rotate(15deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(150px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(150px) rotate(-360deg);
    }
}

@keyframes rotate-gentle {

    0%,
    100% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(5deg);
    }
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }

    .family-members {
        flex-wrap: wrap;
        gap: 20px;
    }

    .family-member .emoji {
        font-size: 3.5em;
    }

    .badminton-content {
        flex-direction: column;
    }

    .giant-shuttlecock {
        font-size: 6em;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(2, 150px);
        height: auto;
        gap: 15px;
    }

    .feature-card:focus::before {
        left: 100%;
    }

    .feature-card:focus {
        transform: translateY(-10px) scale(1.05);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
        z-index: 10;
    }

    .feature-card:nth-child(1) {
        transform: rotate(10deg);
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .feature-card:nth-child(2) {
        transform: rotate(-5deg);
        grid-column: 4;
        grid-row: 1;
    }

    .feature-card:nth-child(3) {
        transform: rotate(20deg);
        grid-row: 2;
        clip-path: none;
    }

    .feature-card:nth-child(4) {
        transform: rotate(-10deg);
        grid-column: 1/3;
        grid-row: 2;
    }

    .feature-card:nth-child(1) .card-content {
        font-size: 9px;
    }

    .feature-card:nth-child(2) .card-content {
        /* font-size: 11px; */
    }

    .feature-card:nth-child(3) .card-content {
        font-size: 17px;
        transform: rotate(0deg);
    }

    .feature-card:nth-child(4) .card-content {
        font-size: 11px;
    }

    .racket:nth-child(1) {
        top: 100px;
        left: -60px;
        animation-delay: 0s;
    }

    .racket:nth-child(2) {
        bottom: 60px;
        right: -70px;
        animation-delay: 1s;
    }

    .racket:nth-child(3) {
        bottom: 40px;
        left: -70px;
        animation-delay: 1s;
    }

    .gif {
        display: flex;
        justify-content: space-between;
        position: absolute;
        left: 0px;
        top: 120px;
    }

    .gifs {
        width: 30%;
    }

    #imagetwo {
        transform: scaleX(-1);
    }
}