/* MAIN CONTAINER */
.container {
    max-width: 1200px;
    margin: 7rem auto 2rem;
    padding: 0 2rem;
}

/* HERO CONTAINER */
.hero {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.main-title {
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    position: relative;
}

.subtitle {
    font-size: 1.3rem;
    color: #888;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
}

/* CONTENT GRID AND CARDS */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    perspective: 1000px;
}

.container .events-container {
    margin-top: 0;
    margin-bottom: 2rem;
}

/* SOCIAL MEDIA SECTION */
.social-media {
    text-align: center;
    margin-top: 4rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-media::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center,
            rgba(64, 224, 208, 0.05) 0%,
            transparent 50%);
    animation: rotate 30s linear infinite;
}

.social-media a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.social-media a:hover {
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(64, 224, 208, 0.3);
}

/* Media queries for layout */
@media screen and (max-width: 768px) {
    .container {
        margin-top: 5rem;
    }

    .team-container,
    .events-container,
    .news-container {
        margin-top: 5rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .container {
        margin: 11rem auto 2rem;
    }

    .team-container,
    .events-container,
    .news-container {
        margin-top: 13rem;
        padding-top: 2rem;
    }

    .main-title {
        font-size: 3rem;
    }

    .hero {
        margin-top: 1rem;
        margin-bottom: 3rem;
    }
}

@media screen and (max-width: 375px) {

    .container,
    .team-container,
    .events-container,
    .news-container {
        margin-top: 14rem;
    }

    .main-title {
        font-size: 2.5rem;
    }
}
