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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #fff;
}

.portal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.portal-header {
    text-align: center;
    margin-bottom: 60px;
}

.logo {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
}

.portal-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.2rem;
    color: #a0a0a0;
}

.role-selection {
    flex: 1;
}

.role-selection h2 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 40px;
    color: #ccc;
}

.role-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.role-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.role-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.role-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.role-icon svg {
    width: 40px;
    height: 40px;
}

/* Coach - Blue */
.role-card.coach .role-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.role-card.coach:hover {
    border-color: #3b82f6;
}

/* Player - Green */
.role-card.player .role-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.role-card.player:hover {
    border-color: #10b981;
}

/* Parent - Purple */
.role-card.parent .role-icon {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.role-card.parent:hover {
    border-color: #8b5cf6;
}

/* Admin - Red/Orange */
.role-card.admin .role-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.role-card.admin:hover {
    border-color: #f59e0b;
}

/* League Admin - Teal */
.role-card.league-admin .role-icon {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.role-card.league-admin:hover {
    border-color: #14b8a6;
}

.role-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.role-card p {
    font-size: 0.95rem;
    color: #a0a0a0;
    line-height: 1.5;
}

.role-card-spacer {
    /* Invisible spacer to maintain grid layout */
    visibility: hidden;
}

.portal-footer {
    text-align: center;
    padding-top: 40px;
    color: #666;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .portal-header h1 {
        font-size: 2rem;
    }

    .role-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .role-card {
        padding: 24px 20px;
    }
}