.ccp-home-page {
    font-family: Arial, sans-serif;
}

.ccp-hero {
    background: url('<?php echo CCP_URL . "assets/images/cricket-banner.jpg"; ?>') no-repeat center center;
    background-size: cover;
    padding: 100px 20px;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.ccp-hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.ccp-hero-content p {
    font-size: 24px;
    margin-bottom: 30px;
}

.ccp-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.ccp-cta-button {
    background: #0073aa;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 18px;
}

.ccp-cta-button:hover {
    background: #005177;
}

.ccp-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.ccp-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.ccp-match-grid,
.ccp-player-grid,
.ccp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.ccp-match-card,
.ccp-player-card {
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ccp-match-card h3,
.ccp-player-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.ccp-match-card p,
.ccp-player-card p {
    margin: 5px 0;
    color: #666;
}

.ccp-view-all,
.ccp-view-profile {
    display: inline-block;
    margin-top: 10px;
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}

.ccp-view-all:hover,
.ccp-view-profile:hover {
    text-decoration: underline;
}

.ccp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.ccp-gallery-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.ccp-registration-form,
.ccp-player-list,
.ccp-player-profile,
.ccp-match-schedule {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ccp-registration-form label,
.ccp-player-profile label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.ccp-registration-form input,
.ccp-registration-form textarea,
.ccp-registration-form select,
.ccp-player-profile input,
.ccp-player-profile select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.ccp-registration-form input[type="submit"],
.ccp-player-profile input[type="submit"] {
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
}

.ccp-registration-form input[type="submit"]:hover,
.ccp-player-profile input[type="submit"]:hover {
    background: #005177;
}

#ccp-form-response,
#ccp-stats-response,
#ccp-match-response,
#ccp-tournament-response {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
}

#ccp-form-response.success,
#ccp-stats-response.success,
#ccp-match-response.success,
#ccp-tournament-response.success {
    background: #d4edda;
    color: #155724;
}

#ccp-form-response.error,
#ccp-stats-response.error,
#ccp-match-response.error,
#ccp-tournament-response.error {
    background: #f8d7da;
    color: #721c24;
}

.ccp-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.ccp-table th,
.ccp-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.ccp-table th {
    background: #0073aa;
    color: white;
    font-weight: bold;
}

.ccp-table tr:nth-child(even) {
    background: #f2f2f2;
}

.ccp-table a {
    color: #0073aa;
    text-decoration: none;
}

.ccp-table a:hover {
    text-decoration: underline;
}

.ccp-match-schedule p {
    font-style: italic;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ccp-hero-content h1 {
        font-size: 32px;
    }

    .ccp-hero-content p {
        font-size: 18px;
    }

    .ccp-cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .ccp-match-grid,
    .ccp-player-grid,
    .ccp-gallery-grid {
        grid-template-columns: 1fr;
    }
}