:root {
    --primary-green: #2d5a27;
    --dark-green: #1e3d1b;
    --light-green: #e8f5e9;
    --background-light: #ffffff;
    --card-bg: #f8f9fa;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.magical-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    animation: float 3s ease-in-out infinite;
    mix-blend-mode: screen;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0;
    }
    25% {
        opacity: 0.5;
    }
    50% {
        transform: translateY(-50px) scale(0.8) rotate(180deg);
    }
    75% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) scale(0) rotate(360deg);
        opacity: 0;
    }
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    width: 70px;
    height: 70px;
    vertical-align: middle;
    margin-right: 1rem;
    position: relative;
    top: -3px;
    filter: brightness(0) invert(1);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: brightness(0) invert(1) drop-shadow(0 0 2px rgba(255, 255, 255, 0.7));
    }
    to {
        filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
    }
}

h1 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    }
    50% {
        text-shadow: 2px 2px 6px rgba(255, 255, 255, 0.2),
                     0 0 8px rgba(255, 255, 255, 0.1);
    }
    100% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    }
}

.subtitle {
    font-size: 1.2rem;
    color: white;
    opacity: 0.9;
    margin-bottom: 1rem;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.venues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.venue-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(45, 90, 39, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.venue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(45, 90, 39, 0.1);
}

.venue-card h2 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.venue-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.venue-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.link-button {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.link-button.website {
    background-color: var(--primary-green);
}

.link-button.website:hover {
    background-color: var(--dark-green);
}

.link-button.calendar {
    background-color: #007bff;
}

.link-button.calendar:hover {
    background-color: #0056b3;
}

.link-button.maps {
    background-color: #6c757d;
}

.link-button.maps:hover {
    background-color: #545b62;
}

.link-button i {
    margin-right: 0.5rem;
}

.link-button.submit {
    background-color: #ff8c42;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.link-button.submit:hover {
    background-color: #ff7b2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.link-button.submit::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

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

footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-green);
    margin-top: 3rem;
}

footer p {
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .venues-grid {
        grid-template-columns: 1fr;
    }
    
    .venue-links {
        flex-direction: column;
    }
    
    .link-button {
        width: 100%;
        justify-content: center;
    }
}

/* Group card specific styles */
.venue-card.type-group {
    background-color: #f0f7ff;
    border: 1px solid rgba(0, 123, 255, 0.1);
    border-left: 4px solid #007bff;
}

.venue-card.type-group h2 {
    color: #007bff;
}

.venue-card.type-group .venue-info p {
    color: #495057;
}

.venue-card.type-group .link-button.website {
    background-color: #007bff;
}

.venue-card.type-group .link-button.website:hover {
    background-color: #0056b3;
}

.venue-card.type-group .link-button.discord {
    background-color: #7289da;
}

.venue-card.type-group .link-button.discord:hover {
    background-color: #5b6eae;
}

/* Venue card specific styles */
.venue-card.type-venue {
    position: relative;
    padding-left: 2rem;
    border-left: 4px solid var(--primary-green);
}

.venue-card.type-venue h2 {
    color: var(--primary-green);
}

.link-button.discord {
    background-color: #7289da;
}

.link-button.discord:hover {
    background-color: #5b6eae;
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-button {
    padding: 0.75rem 1.5rem;
    border: 2px solid #4a90e2;
    border-radius: 25px;
    background: transparent;
    color: #4a90e2;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.filter-button:hover {
    background: #4a90e2;
    color: white;
}

.filter-button.active {
    background: #4a90e2;
    color: white;
}

/* Hide filtered items */
.venue-card.hidden {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .filter-bar {
        gap: 0.5rem;
    }
    
    .filter-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

.typing-text {
    display: inline-block;
    min-width: 60px;
    border-right: 2px solid white;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: white; }
}

.venue-card.type-event {
    border-color: #9C27B0;
    background-color: #fef8ff;
    border: 1px solid rgba(0, 123, 255, 0.1);
    border-left: 4px solid #9C27B0;
}


.venue-card.type-event h2 {
    color: #9C27B0;
}

.venue-card.type-event .event-date {
    font-weight: bold;
    color: #9C27B0;
    margin-bottom: 10px;
} 