/* State Championship Page Specific Styles - Premium Redesign */

:root {
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

.section-padding {
    padding: 50px 0;
}

/* Inner Banner */
.inner-banner {
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    position: relative;
    overflow: hidden;

    background-size: cover;
    background-position: center 12%;
    background-repeat: no-repeat;}

.inner-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(59, 22, 91, 0.35), rgba(59, 22, 91, 0.8)), url('../images/about_banner.png');
    background-size: cover;
    z-index: 1;
}

.banner-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

/* State Events Grid */
.state-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.state-event-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

.state-event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow);
    border-color: var(--orange);
}

.event-card-img {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #ddd;
    position: relative;
}

.event-card-img .state-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.35));
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
}

.event-card-content {
    padding: 25px;
}

.event-card-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.event-meta span {
    font-size: 14px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-meta i {
    color: var(--orange);
}

/* How to Participate */
.participation-section {
    background: var(--primary);
    color: var(--white);
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.step-card {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 20px;
    font-size: 20px;
}

/* Medal Tally */
.tally-container {
    max-width: 800px;
    margin: 0 auto;
}

.tally-table {
    width: 100%;
    border-collapse: collapse;
}

.tally-table th {
    text-align: left;
    padding: 15px;
    border-bottom: 2px solid var(--primary);
    color: var(--primary);
}

.tally-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.medal {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.gold { background: #ffd700; }
.silver { background: #c0c0c0; }
.bronze { background: #cd7f32; }

/* Responsive */
@media (max-width: 992px) {
    .state-events-grid { grid-template-columns: repeat(2, 1fr); }
    .step-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .state-events-grid { grid-template-columns: 1fr; }
    .step-grid { grid-template-columns: 1fr; }
    .banner-title { font-size: 38px; }
}
