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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(45deg, #FFF3E0, #FFE0B2);  /* Light orange gradient */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;  /* Add this to center vertically */
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.particles-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.university-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
    border-bottom: 1px solid rgba(179, 157, 219, 0.3);
}

.uofc-logo {
    height: 40px;
    filter: brightness(0) invert(1);  /* Makes the logo white */
    transition: filter 0.3s ease;
}

.uofc-logo:hover {
    filter: brightness(0) invert(0.8);
}

.animated-text {
    text-align: center;
}

.glow-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: glowPulse 2s infinite;
    letter-spacing: 2px;
}

@keyframes glowPulse {
    0% {
        text-shadow: 0 0 10px rgba(255, 183, 77, 0.8);
    }
    50% {
        text-shadow: 0 0 20px #FFB74D, 0 0 30px #FF8F00;
    }
    100% {
        text-shadow: 0 0 10px rgba(255, 183, 77, 0.8);
    }
}

.content {
    margin-top: 2rem; /* Add some space between cards */
    text-align: center;
    z-index: 2;
    padding: 2rem;
    background: rgba(255, 167, 38, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 167, 38, 0.2);
    box-shadow: 0 0 20px rgba(255, 167, 38, 0.1);
    position: relative;
    margin: 60px auto 0;  /* Center horizontally and keep space for Why button */
    max-width: 90%;  /* Prevent too wide on large screens */
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    color: #000000;
}

p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #000000;
}

.initiative-text {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    text-align: center;
}

.transform-button {
    background: transparent;
    border: 2px solid #FFFFFF;
    border-radius: 25px;
    padding: 8px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-width: 80px;
    margin-bottom: 15px;
}

.transform-button:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: #FF8F00;
    border-color: #FF8F00;
    padding: 8px 40px;
    transform: scale(1.2);
    min-width: 200px;
    z-index: 10;
}

.button-text {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    min-width: 100%;
}

.button-text::before {
    content: "Why even bother doing this?";
    color: #000000;
    font-weight: 900;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.button-text::after {
    content: "For its own sake";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    white-space: nowrap;
    color: #fff;
}

.transform-button:hover .button-text::before {
    opacity: 0;
}

.transform-button:hover .button-text::after {
    opacity: 1;
}

/* Remove old flip styles */
.flip-button, .flip-button-inner, .flip-button-front, .flip-button-back {
    display: none;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;  /* Increased padding */
    background: linear-gradient(45deg, #FF8F00, #FFB74D);
    color: #00008B;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 900;  /* Extra bold */
    font-size: 1.3rem;  /* Bigger font size */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #00008B;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.top-card {
    background: rgba(255, 167, 38, 0.1); /* Light orange background with transparency */
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    margin: 0 auto 4rem auto;
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 10;
    transform: translateY(-20px);
    border: 1px solid rgba(255, 167, 38, 0.3);
    backdrop-filter: blur(10px); /* Add blur effect for better readability */
    margin-top: 80px; /* Add space for sticky header */
}

.top-card h2 {
    margin: 0;
    color: #000000; /* Changed to black */
    font-size: 1.8rem;
    line-height: 1.4;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Add subtle text shadow for better contrast */
}

.sticky-top-card {
    background: rgba(255, 167, 38, 0.15);
    padding: 1rem;
    width: 100%;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 167, 38, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sticky-top-card h2 {
    margin: 0;
    color: #000000; /* Changed back to black from dark orange */
    font-size: 1.4rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .top-card {
        margin: 0 1rem 3rem 1rem; /* Changed from 1rem to 0 for top margin */
        padding: 1rem;
        transform: translateY(0); /* Reset transform on mobile for better spacing */
        margin-top: 60px; /* Slightly less space on mobile */
    }
    
    .top-card h2 {
        font-size: 1.4rem;
    }
    
    .sticky-top-card {
        padding: 0.8rem;
    }
    
    .sticky-top-card h2 {
        font-size: 1.2rem;
        color: #000000; /* Ensure black on mobile too */
    }
} 
