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

body,
html {
    min-height: 100%;
    font-family: "Poppins", sans-serif;
}

.hero {
    position: relative;
    width: 100%;
    height: 28.5rem;
    overflow: hidden;
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.33);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
    max-width: 90vw;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 500;
}

.hero-subtitle {
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 1.75rem;
}

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

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.section-header hr {
    width: 100%;
    height: 3px;
    border: none;
    background-color: #ddd;
    margin: 0 auto;
    border-radius: 2px;
}

.participant-section {
    background-color: #ffffff;
    color: #000000;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

@media (max-width: 1024px) {
    .hero-subtitle {
        font-size: 2rem;
        max-width: 80vw;
    }

    .hero-info {
        font-size: 1.25rem;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-info {
        flex-direction: column;
        font-size: 1.1rem;
        gap: 0.75rem;
    }

    .hero-info .info-item {
        justify-content: center;
    }

    .hero-title img {
        width: 60vw;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-info {
        font-size: 1rem;
        gap: 0.5rem;
    }

    .hero-title img {
        width: 80vw;
        max-width: 200px;
    }
}

/* css for share button */
.share-container {
    width: 100%;
    max-width: 400px;
    display: flex;
    justify-content: center;
    padding: 10px;
    padding-left: 0;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
    justify-items: center;
    align-items: start;
}

.share-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    flex: 1 1 80px;
    max-width: 100px;
}

.share-item:hover {
    transform: translateY(-2px);
}

/* Icon */
.share-icon {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    padding: 5px;
}

.share-icon:hover {
    transform: scale(1.05);
}

.share-icon svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.share-label {
    font-size: 12px;
    font-weight: 800;
    color: black;
    text-align: center;
    opacity: 0.9;
}

/* Icon Colors */
.copy-icon {
    background: #8e8e93;
}

.whatsapp-icon {
    background: #25d366;
}

.telegram-icon {
    background: #0088cc;
}

.email-icon {
    background: #ea4335;
}

.facebook-icon {
    background: #1877f2;
}

.facebook-icon svg {
    fill: white;
}

.x-icon {
    background: #000000;
}

.x-icon svg {
    fill: white;
}

/* Success message */
.success-message {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.success-message.show {
    transform: translateX(-50%) translateY(0);
}

/* Responsive Tablet */
@media (max-width: 768px) {
    .share-container {
        max-width: 100%;
        padding: 10px 15px;
    }

    .share-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        justify-items: left;
        align-items: start;
    }

    .share-item {
        flex: 0 1 70px;
        align-items: start;
    }

    .share-icon {
        width: 1.25rem;
        height: 1.25rem;
    }

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

    .share-label {
        font-size: 11px;
    }
}

/* Responsive Mobile */
@media (max-width: 480px) {
    .share-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        justify-items: left;
        align-items: start;
    }

    .share-item {
        flex: 0 1 60px;
        align-items: start;
    }

    .share-icon {
        width: 1.25rem;
        height: 1.25rem;
    }

    .share-icon svg {
        width: 20px;
        height: 20px;
    }

    .share-label {
        font-size: 10px;
    }
}

/* Ripple effect */
.share-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.share-item:active .share-icon::after {
    transform: scale(1);
}