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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* Header Styles */
.main-header {
    background-image: url('images/rivalry.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 80px 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.main-header .header-content {
    position: relative;
    z-index: 1;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.tournament-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.tournament-subtitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
    opacity: 0.95;
}

.tournament-prize {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

/* Intro Section */
.intro-section {
    background-color: white;
    padding: 50px 0;
    margin: 0 20px 20px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.intro-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.intro-text {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
    line-height: 1.8;
}

/* Competitors Section */
.competitors-section {
    background-color: white;
    padding: 50px 0;
    margin: 0 20px 20px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.competitors-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #667eea 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.competitors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.competitor-card {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.competitor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.competitor-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background-size: cover;
    background-position: center;
    border: 4px solid #667eea;
}

.competitor-photo-isaac {
    background-color: #4a90e2;
}

.competitor-photo-shane {
    background-color: #e74c3c;
}

.competitor-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #333;
}

.competitor-card p {
    color: #666;
    font-style: italic;
}

/* Events Section */
.events-section {
    background-color: white;
    padding: 50px 0;
    margin: 0 20px 20px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.events-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #666;
    font-size: 1.1rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.event-card {
    background-color: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.event-photo {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.event-photo-driving {
    background-color: #3498db;
    background-image: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.event-photo-archery {
    background-color: #e67e22;
    background-image: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.event-photo-mariokart {
    background-color: #e74c3c;
    background-image: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.event-photo-bbq {
    background-color: #f39c12;
    background-image: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.event-photo-poolsharks {
    background-color: #9b59b6;
}

.event-photo-dominos {
    background-color: #1abc9c;
}

.event-content {
    padding: 25px;
}

.event-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #333;
}

.event-content p {
    color: #555;
    line-height: 1.7;
}

/* Prize Section */
.prize-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 0;
    margin-bottom: 20px;
}

.prize-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.prize-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.trophy-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 30px;
    display: block;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.prize-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.prize-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.prize-option {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.prize-option h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.due-date {
    font-size: 1rem;
    opacity: 0.9;
    font-style: italic;
}

.prize-note {
    font-size: 1rem;
    opacity: 0.95;
    font-style: italic;
}

/* Footer */
.main-footer {
    background-color: #2c3e50;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.main-footer p {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tournament-title {
        font-size: 2.5rem;
    }

    .tournament-subtitle {
        font-size: 1.2rem;
    }

    .intro-section h2,
    .competitors-section h2,
    .events-section h2,
    .prize-section h2 {
        font-size: 2rem;
    }

    .intro-section,
    .competitors-section,
    .events-section {
        margin-left: 10px;
        margin-right: 10px;
    }

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

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

    .prize-options {
        grid-template-columns: 1fr;
    }
}

