/* Base styles for the background */
#vanta-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.section {
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/* Mobile-specific styles for members page */
@media screen and (max-width: 768px) {
    .text {
        padding: 10px;
        margin-top: 70px;
        text-align: center;
    }

    .text h1 {
        font-size: 28px;
        font-family: 'Press Start 2P', cursive;
        text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.2);
        margin-bottom: 15px;
        color: #ffffff;
    }

    .text p {
        font-size: 16px;
        padding: 0 15px;
        color: #ffffff;
        opacity: 0.8;
    }

    .team {
        margin: 20px 0;
        text-align: center;
        color: #ffffff;
    }

    .team p {
        font-size: 20px;
        letter-spacing: 1px;
        margin: 0;
    }

    .grid-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .card {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 15px;
        padding: 15px;
        text-align: center;
        transition: transform 0.3s ease;
    }

    .card:hover {
        transform: translateY(-5px);
    }

    .card-title {
        color: #ffffff;
        font-size: 16px;
        margin: 10px 0;
        font-family: 'Press Start 2P', cursive;
        letter-spacing: 1px;
    }

    .card-photo {
        width: 100%;
        padding-top: 100%;
        position: relative;
        border-radius: 10px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.05);
    }

    .card-photo img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 10px 15px;
        background: rgba(24, 24, 24, 0.95);
        backdrop-filter: blur(10px);
        z-index: 1000;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header img {
        height: 30px;
    }

    .header nav a {
        color: #ffffff;
        text-decoration: none;
        font-size: 16px;
        padding: 8px 12px;
        border-radius: 5px;
        transition: background-color 0.3s ease;
    }

    .header nav a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }

    .text h1 {
        font-size: 24px;
    }

    .text p {
        font-size: 14px;
    }

    .team p {
        font-size: 18px;
    }

    .card {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Landscape mode */
@media screen and (max-width: 900px) and (orientation: landscape) {
    .text {
        margin-top: 50px;
    }

    .grid-container {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
    }

    .card-title {
        font-size: 14px;
    }
}

/* Ensure VANTA background works properly on mobile */
#vanta-bg-events {
    position: fixed !important;
    z-index: -1 !important;
    opacity: 0.8 !important;
} 