.description-section {
    padding: 6rem 0;
    background-color: #f8f9fa;
    position: relative;
}

.description-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.description-image-container {
    position: relative;
}

.description-image {
    position: relative;
    z-index: 2;
}

.description-image .main-image {
    width: 100%;
    height: auto;
    border-radius: 0 3rem 0 3rem;
    box-shadow: 2rem 2rem 4rem rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.image-accent {
    position: absolute;
    top: -2rem;
    left: -2rem;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: 0 3rem 0 3rem;
    z-index: 1;
    transition: all 0.5s ease;
}

.description-image:hover .main-image {
    transform: translate(-0.5rem, -0.5rem);
}

.description-image:hover .image-accent {
    transform: translate(0.5rem, 0.5rem);
}

.description-content {
    padding-right: 2rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: white;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.description-content h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.content-wrapper {
    position: relative;
    padding-left: 2rem;
    border-left: 4px solid var(--accent-color);
}

.description-content .lead {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.description-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .description-section {
padding: 4rem 0;
    }

    .description-wrapper {
grid-template-columns: 1fr;
gap: 3rem;
padding: 0 1.5rem;
    }

    .description-content {
padding-right: 0;
text-align: center;
    }

    .content-wrapper {
padding-left: 0;
border-left: none;
border-top: 4px solid var(--accent-color);
padding-top: 2rem;
    }

    .description-content h2 {
font-size: 2.5rem;
    }

    .description-image .main-image {
border-radius: 0 2rem 0 2rem;
    }

    .image-accent {
border-radius: 0 2rem 0 2rem;
    }

    /* Mobile Menu Styles */
    .navbar-nav {
width: 100%;
text-align: center;
margin: 1rem 0;
    }

    .navbar-nav .nav-item {
width: 100%;
margin: 0.5rem 0;
    }

    .navbar-nav .nav-link {
display: block;
padding: 0.75rem;
width: 100%;
    }

    .btn-primary.ms-2 {
display: block;
width: 100%;
margin: 0.5rem 0 !important;
padding: 0.75rem;
    }
}

:root {
    --primary-color: #041b47;
    --secondary-color: #051c48;
    --accent-color: #8ea2d5;
    --text-light: #ffffff;
    --text-dark: #333333;
    --font-primary: 'Montserrat', sans-serif;
    --bs-btn-border-radius: 50px;
}

.btn {
    border-radius: var(--bs-btn-border-radius);
}

.btn-cta {
    background: linear-gradient(135deg, var(--accent-color) 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-cta:hover {
    background: linear-gradient(135deg, #2980b9 0%, var(--accent-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
    color: white;
}

/* Navigation */
.navbar {
    background-color: var(--primary-color) !important;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--accent-color);
    font-family: var(--font-primary);
    font-weight: 500;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--text-light);
}

/* Tabs */
.nav-tabs .nav-link {
    color: var(--primary-color);
    border: 1px solid transparent;
    font-family: var(--font-primary);
    font-weight: 500;
}

.nav-tabs .nav-link:hover {
    border-color: var(--accent-color);
}

.nav-tabs .nav-link.active {
    color: var(--text-light);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Accordion */
.accordion-button:not(.collapsed) {
    color: var(--text-light);
    background-color: var(--primary-color);
}

.accordion-button:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(142, 162, 213, 0.25);
}

.accordion-button::after {
    background-color: var(--text-light);
    border-radius: 50%;
}

/* Cards */
.card {
    transition: none;
    border: none;
    background: rgba(255,255,255,0.1);
    box-shadow: 
5px 5px 10px rgba(4, 27, 71, 0.1),
-5px -5px 10px rgba(255, 255, 255, 0.1);
}

.card:hover {
    transform: none;
    box-shadow: 
5px 5px 10px rgba(4, 27, 71, 0.1),
-5px -5px 10px rgba(255, 255, 255, 0.1);
}

.card {
    --bs-card-bg: rgba(255,255,255,0.1) !important;
    --bs-card-border-color: rgba(255,255,255,0.1) !important;
    background-color: var(--bs-card-bg) !important;
}

.list-group-item {
    --bs-list-group-bg: transparent !important;
    --bs-list-group-border-color: rgba(255,255,255,0.1) !important;
    --bs-list-group-color: white !important;
    background-color: var(--bs-list-group-bg) !important;
}

/* Override Bootstrap card backgrounds */
.card {
    --bs-card-bg: transparent !important;
    --bs-card-border-color: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#description .card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#description .card-body {
    padding: 2rem 1rem;
}

/* Tables */
.table-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.table-bordered {
    border-color: var(--accent-color);
}

/* Buttons */
.btn-primary {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.btn-primary:hover {
    background-color: #218838 !important;
    border-color: #1e7e34 !important;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* List Groups */
.list-group-item i {
    color: var(--primary-color);
}

/* Alerts */
.alert-info {
    background-color: rgba(142, 162, 213, 0.1);
    border-color: var(--accent-color);
    color: var(--primary-color);
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Who's Playing Section */
.divisions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.division-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease-in-out;
}

.division-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.division-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
    font-family: var(--font-primary);
    font-weight: 600;
}

.spots-info {
    font-weight: 500;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.3s;
}

.division-full {
    background-color: #ffebee;
    color: #c62828;
}

.spots-available {
    background-color: rgba(46, 125, 50, 0.2);
    color: #4caf50;
}

.team-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.team-list li {
    padding: 0.75rem;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.team-list li:hover {
    background-color: #f5f5f5;
}

.team-list li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .divisions-grid {
grid-template-columns: 1fr;
gap: 1rem;
padding: 1rem 0;
    }
    
    .division-card {
padding: 1rem;
    }
}

/* Navigation Bar */
.navbar {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.nav-brand {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    font-family: var(--font-primary);
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--accent-color);
    font-weight: 500;
    font-family: var(--font-primary);
}

.nav-links a:hover {
    color: white;
}

.register-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-family: var(--font-primary);
}

.register-btn:hover {
    background-color: #051c48; 
}

/* Hero Section */
.hero {
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:60px;
}

.no-webp .hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), url('../images/hero-bg.jpg');
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    padding: 7rem 2rem 2rem;
    backdrop-filter: blur(5px);
}

.hero-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -110px;
    max-width: 250px;
    height: auto;
    display: block;
    z-index: 1002;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

@media (max-width: 768px) {
    .hero {
padding: 100px 20px 40px;
    }
    
    .hero-logo {
max-width: 180px;
top: -80px;
    }
    
    .hero-content {
padding: 5rem 1.5rem 1.5rem;
    }
}

.hero h1 {
    text-shadow:
3px 3px 6px rgba(0, 0, 0, 0.9),
-1px -1px 3px rgba(0, 0, 0, 0.8),
0 0 20px rgba(0, 0, 0, 0.6);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-family: var(--font-primary);
}

.hero p {
    text-shadow:
2px 2px 5px rgba(0, 0, 0, 0.9),
-1px -1px 2px rgba(0, 0, 0, 0.8),
0 0 15px rgba(0, 0, 0, 0.6);
    margin-bottom: 2rem;
    font-size: 1.3rem;
    font-family: var(--font-primary);
    font-weight: 400;
}

.hero .btn {
    font-size: 1.1rem;
    padding: 0.75rem 2rem;
    font-family: var(--font-primary);
    font-weight: 500;
}

/* Registration Section */
.registration-section {
    background-color: white;
    padding: 2rem 0;
}

.registration-container {
    padding: 2rem;
}


#payment-element {
    margin-bottom: 1.5rem;
}

#error-message {
    color: var(--error-color);
    background-color: #ffebee;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    display: none;
}

#success-message {
    display: none;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

#submit-payment {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: var(--font-primary);
    font-weight: 500;
}

#submit-payment:hover {
    background-color: #051c48;
}

#submit-payment:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Champions Card */
.champions-card {
    overflow: hidden;
    border-radius: 8px;
}

.champions-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.champions-card:hover img {
    transform: scale(1.02);
}

.champions-overlay {
    background: linear-gradient(0deg, rgba(4, 27, 71, 0.9) 0%, rgba(4, 27, 71, 0.7) 100%);
    backdrop-filter: blur(2px);
}

.champions-overlay p {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Section Styling */
section {
    position: relative;
    padding: 6rem 0;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
rgba(4, 27, 71, 0) 0%, 
rgba(4, 27, 71, 0.1) 25%, 
rgba(4, 27, 71, 0.1) 75%, 
rgba(4, 27, 71, 0) 100%
    );
}

section::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 0;
    right: 0;
    height: 150px;
    pointer-events: none;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.section-corner {
    position: absolute;
    width: 50px;
    height: 50px;
    opacity: 0.1;
}

.section-corner-tl {
    top: 20px;
    left: 20px;
    border-top: 2px solid var(--primary-color);
    border-left: 2px solid var(--primary-color);
}

.section-corner-br {
    bottom: 20px;
    right: 20px;
    border-bottom: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
}

/* Add depth to cards */
.card {
    transition: none;
    border: none;
    background: rgba(255,255,255,0.1);
    box-shadow: 
5px 5px 10px rgba(4, 27, 71, 0.1),
-5px -5px 10px rgba(255, 255, 255, 0.1);
}

.card:hover {
    transform: none;
    box-shadow: 
5px 5px 10px rgba(4, 27, 71, 0.1),
-5px -5px 10px rgba(255, 255, 255, 0.1);
}

/* Override Bootstrap card backgrounds */
.card {
    --bs-card-bg: rgba(255,255,255,0.1) !important;
    --bs-card-border-color: rgba(255,255,255,0.1) !important;
    background-color: var(--bs-card-bg) !important;
}

.list-group-item {
    --bs-list-group-bg: transparent !important;
    --bs-list-group-border-color: rgba(255,255,255,0.1) !important;
    --bs-list-group-color: white !important;
    background-color: var(--bs-list-group-bg) !important;
}

/* Value proposition items enhancement */
.value-prop-item {
    position: relative;
    padding: 1.5rem;
    border-radius: 10px;
    background: linear-gradient(145deg, #ffffff, #f5f6f8);
    box-shadow: 
5px 5px 10px rgba(4, 27, 71, 0.03),
-5px -5px 10px rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}

.value-prop-item:hover {
    transform: translateX(5px);
}

.value-prop-item i {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Enhance section transitions */
section {
    position: relative;
    z-index: 1;
}

section > .container {
    position: relative;
    z-index: 2;
}

/* Add subtle animated gradient to registration section */
.registration-section {
    background: linear-gradient(
135deg,
rgba(4, 27, 71, 0.02) 0%,
rgba(255, 255, 255, 0) 50%,
rgba(142, 162, 213, 0.02) 100%
    );
    animation: gradientMove 15s ease infinite;
    background-size: 400% 400%;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Payment Modal Styles */
.payment-modal {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    color: var(--text-light);
}

.payment-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
}

.payment-modal .modal-title {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.5rem;
}

.payment-modal .modal-body {
    padding: 2rem;
}

.payment-container {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: none;
    width: 100%;
    box-sizing: border-box;
}

.payment-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.payment-header i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    color: var(--accent-color);
}

.payment-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    text-align: center;
    margin: 1.5rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#card-element {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.payment-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.security-badge {
    display: flex;
    align-items: center;
    color: var(--accent-color);
    font-size: 0.9rem;
}

.security-badge i {
    margin-right: 0.5rem;
}

.payment-button {
    background: linear-gradient(135deg, var(--success-color), #1e7e34);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.payment-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.payment-button:disabled {
    background: #6c757d;
    transform: none;
    box-shadow: none;
}

#error-message {
    background: rgba(220, 53, 69, 0.1);
    border-left: 4px solid var(--error-color);
    color: var(--error-color);
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    font-weight: 500;
}

#success-message {
    background: rgba(40, 167, 69, 0.1);
    border-left: 4px solid var(--success-color);
    color: var(--success-color);
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    font-weight: 500;
}

.processing-payment {
    text-align: center;
    color: var(--text-light);
    margin: 1rem 0;
}

.processing-payment i {
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Override Bootstrap text utilities */
.text-white {
    color: #fff !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Description section styles */
.description-section {
    background-color: #fff;
    position: relative;
    padding: 5rem 0;
}

.description-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.description-image img:hover {
    transform: translateY(-5px);
}

.description-content {
    padding: 2rem;
}

.description-content .section-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.description-content .lead {
    color: #2c3e50;
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.description-content .text-muted {
    color: #6c757d !important;
    line-height: 1.7;
    font-size: 1.1rem;
}

@media (max-width: 991.98px) {
    .description-section {
padding: 3rem 0;
    }

    .description-content {
padding: 1.5rem 0;
text-align: center;
    }

    .description-content .section-title {
font-size: 2rem;
    }

    .description-content .lead {
font-size: 1.2rem;
    }

    .description-content .text-muted {
font-size: 1rem;
    }
}

/* Tournament Information Accordion Styles */
.custom-accordion .accordion-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.custom-accordion .accordion-button {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: none;
}

.custom-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.custom-accordion .accordion-body {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
}

.custom-accordion .accordion-body ul {
    margin-bottom: 0;
    padding-left: 1.2rem;
}

.custom-accordion .accordion-body ul li {
    margin-bottom: 0.5rem;
}

.custom-accordion .accordion-body ul li:last-child {
    margin-bottom: 0;
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Footer Styles */
footer {
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
rgba(255,255,255,0) 0%, 
rgba(255,255,255,0.1) 50%, 
rgba(255,255,255,0) 100%
    );
}

footer h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #28a745, #218838);
    border-radius: 2px;
}

footer .hover-underline {
    position: relative;
    transition: color 0.3s ease;
}

footer .hover-underline:hover {
    color: white !important;
}

footer .hover-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

footer .hover-underline:hover::after {
    width: 100%;
}

footer .bi {
    font-size: 1.1rem;
    opacity: 0.8;
}

@media (max-width: 767.98px) {
    footer .text-md-start,
    footer .text-md-end {
text-align: center !important;
    }
    
    footer h5 {
margin-top: 1.5rem;
text-align: center;
    }
    
    footer h5::after {
left: 50%;
transform: translateX(-50%);
    }

    footer .logo-circle {
margin-bottom: 2rem !important;
    }

    footer p.text-white-50 {
text-align: center;
    }

    footer .list-unstyled {
text-align: center;
    }
}

@media (min-width: 768px) {
    footer .align-items-md-start {
text-align: left;
    }

    footer .logo-circle {
margin-left: 0;
margin-right: auto;
    }
}
.hover-row:hover {
    background-color: rgba(255,255,255,0.15) !important;
}
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.pricing-table th,
.pricing-table td {
    padding: 1.5rem;
    border: none;
}
.pricing-table thead tr {
    background: rgba(255,255,255,0.15);
    border-bottom: 2px solid rgba(255,255,255,0.2);
}
.pricing-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background-color 0.2s;
}
.pricing-table tbody tr:last-child {
    border-bottom: none;
}
/* Moved common styles to CSS classes */
.form-control-custom {
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 0.75rem;
}
.form-label-custom {
    font-weight: 500;
    color: white;
}
.division-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 280px;
    color: white;
}
.division-card .card-body {
    position: relative;
    z-index: 1;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
}
.division-card .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 600;
    text-align: center;
}
.field-info {
    font-size: 0.8rem;
    padding: 4px 8px;
    margin: 0 auto 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    text-align: center;
}
.spots-info {
    font-size: 0.8rem;
    margin: 0 0 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}
.team-list {
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 0.5rem;
    --bs-list-group-color: rgba(255, 255, 255, 0.9);
    --bs-list-group-bg: transparent;
    --bs-list-group-border-color: rgba(255, 255, 255, 0.1);
}
.team-list .list-group-item {
    padding: 0.4rem 0.75rem;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}
.team-list .list-group-item small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}
.team-list .bi {
    color: rgba(255, 255, 255, 0.8);
    margin-right: 0.5rem;
}
.baseball-field-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: 1px;
    margin-right: 0.5rem;
}

.baseball-field-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

.baseball-field-icon svg {
    width: 100%;
    height: 100%;
}
.hover-underline:hover {
    text-decoration: underline !important;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1.5rem;
    background: rgba(0, 123, 255, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 123, 255, 0.2);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}

.feature-title {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.description-section {
    background-size: cover;
}

.description-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 8, 22, 0.85);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.2);
}

/* Hero image optimizations */
.hero-section {
    background: #020816; /* Matching dark background color */
    position: relative;
    overflow: hidden;
}

.hero-background {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
    transform: scale(1.02);
    filter: blur(5px);
    transition: opacity 0.5s ease-in, transform 0.5s ease-out, filter 0.5s ease-out;
}

.hero-background.loaded {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Add a loading placeholder */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #020816, #0a1428);
    z-index: -1;
}

.hero-section.with-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 8, 22, 0.4);
    z-index: 1;
}
/* Hero Image Gallery Selection */
.hero-option {
    position: relative;
    cursor: pointer;
    border: 4px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.hero-option:hover {
    border-color: #0d6efd;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.hero-option.selected {
    border-color: #198754;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.3), 0 4px 20px rgba(25, 135, 84, 0.4);
    transform: scale(1.02);
}

.hero-option img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.hero-option.selected img {
    opacity: 0.9;
}

.hero-checkmark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #198754;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    animation: checkmarkPop 0.3s ease;
}

.hero-option.selected .hero-checkmark {
    display: flex;
}

@keyframes checkmarkPop {
    0% { transform: translate(-50%, -50%) scale(0); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

.hero-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.hero-option.selected .hero-label {
    background: #198754;
}


/* ========================================
   PUBLIC PAGE STYLES
   Consolidated from inline <style> blocks
   ======================================== */


/* --- Styles from tournament.html --- */

:root {
    --primary-color: #020816;
    --secondary-color: #1a2332;
    --accent-color: #3498db;
    --bs-btn-border-radius: 50px;
}

html {
    scroll-behavior: smooth;
}

.btn {
    border-radius: var(--bs-btn-border-radius);
}

body {
    background-color: var(--primary-color);
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.navbar {
    background-color: var(--secondary-color) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 6rem 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    border-bottom: 3px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.hero-section.with-image {
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.hero-section.with-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 8, 22, 0.4);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tournament-logo {
    max-width: 300px;
    max-height: 300px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Sales-Focused Info Section */
.tournament-info-section {
    background: rgba(0, 0, 0, 0.2);
}

.info-stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.info-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
    border-color: var(--accent-color);
}

.stat-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.stat-content h4 {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.stat-value {
    font-size: 1.25rem;
    color: #fff;
    font-weight: 700;
    margin: 0;
}

.sales-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.sales-headline {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.sales-copy {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 2.5rem;
}

.divisions-showcase {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0 0;
}

.showcase-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 1.5rem;
}

.divisions-simple-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.division-simple-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.division-simple-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(52, 152, 219, 0.3);
}

.division-name {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.division-availability {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.division-availability .bi-check-circle-fill {
    color: #2ecc71;
    font-size: 0.9rem;
}

.division-availability .bi-x-circle-fill {
    color: #e74c3c;
    font-size: 0.9rem;
}

.cta-section {
    text-align: center;
    padding: 3rem 0 1rem;
}

.cta-headline {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-subtext {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.btn-cta-large {
    background: linear-gradient(135deg, #2ecc71 0%, var(--accent-color) 100%);
    color: white;
    border: none;
    padding: 1.25rem 3rem;
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
    display: inline-block;
    text-decoration: none;
}

.btn-cta-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.6);
    color: white;
}

.registration-closed-banner {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(231, 76, 60, 0.1);
    border: 2px solid #e74c3c;
    border-radius: 12px;
    margin-top: 2rem;
}

.registration-closed-banner h3 {
    color: #e74c3c;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.registration-closed-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.tournament-ended-banner {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.25) 0%, rgba(41, 128, 185, 0.15) 100%);
    border: 3px solid #3498db;
    border-radius: 12px;
    padding: 2.5rem;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.tournament-ended-banner .icon {
    font-size: 3.5rem;
    color: #3498db;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tournament-ended-banner h3 {
    color: #3498db;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tournament-ended-banner p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    margin-bottom: 0;
    line-height: 1.6;
    font-weight: 500;
}

.tournament-ended-banner .ended-note {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 2px solid rgba(52, 152, 219, 0.4);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.admin-bar {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    background: #23282d;
    color: #fff;
    padding: 0;
    z-index: 99999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid #000;
}

.admin-bar .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    min-height: 32px;
}

.admin-bar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-bar .icon {
    font-size: 1rem;
    color: #f0b429;
    margin-right: 0.35rem;
}

.admin-bar-message {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
}

.admin-bar-message strong {
    color: #f0b429;
    font-weight: 600;
    margin: 0 0.25rem;
}

.admin-bar-buttons {
    display: flex;
    gap: 0.5rem;
}

.admin-bar-btn {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 0.25rem 0.75rem;
    font-size: 0.813rem;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.admin-bar-btn:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.admin-bar-btn i {
    font-size: 0.875rem;
}

/* When admin bar is present */
body.has-admin-bar {
    padding-top: 0;
}

/* When admin bar is present and navbar is fixed-top, push navbar down */
body.has-admin-bar .navbar.fixed-top {
    top: 32px !important;
}

/* Adjust page content when both admin bar and fixed navbar are present */
body.has-admin-bar .navbar.fixed-top ~ div,
body.has-admin-bar .navbar.fixed-top ~ section {
    margin-top: 0;
}

.division-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.division-badge {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.25) 0%, rgba(52, 152, 219, 0.15) 100%);
    border: 1.5px solid var(--accent-color);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
}

.division-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.35) 0%, rgba(52, 152, 219, 0.25) 100%);
}

.division-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.division-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, #2ecc71 100%);
}

.division-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(52, 152, 219, 0.3);
    border-color: rgba(52, 152, 219, 0.5);
}

.division-card .card-body {
    padding: 2rem;
}

.division-title {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color) 0%, #2ecc71 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.spots-available {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.spots-available.full {
    color: #e74c3c;
}

.spots-available.available {
    color: #2ecc71;
}

.spots-available.limited {
    color: #f39c12;
}

.btn-register {
    background: linear-gradient(135deg, var(--accent-color) 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 6px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-register::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-register:hover::before {
    left: 100%;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
    color: white;
}

.btn-register:disabled {
    background: linear-gradient(135deg, #7f8c8d 0%, #95a5a6 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, #2ecc71 100%);
    border-radius: 2px;
}

.badge-status {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
}

.btn-cta {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-cta:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
    color: white;
}


.registration-closed {
    background-color: rgba(231, 76, 60, 0.2);
    border: 1px solid #e74c3c;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.registration-closed h3 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

.teams-list {
    margin: 0.75rem 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.35rem;
}

.teams-list li {
    padding: 0.5rem 0.75rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.teams-list li:hover {
    background-color: rgba(255, 255, 255, 0.06);
}

.team-name {
    font-weight: 500;
    color: #fff;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.team-city {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.team-city i {
    font-size: 0.7rem;
    opacity: 0.6;
    margin-right: 0.15rem;
}

/* Penciled-in team styles */
.teams-list li.penciled-in {
    background-color: rgba(108, 117, 125, 0.06);
    border-left: 3px solid rgba(108, 117, 125, 0.3);
}

.teams-list li.penciled-in:hover {
    background-color: rgba(108, 117, 125, 0.1);
}

.penciled-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background-color: rgba(13, 110, 253, 0.1);
    border: 1px solid rgba(13, 110, 253, 0.3);
    border-radius: 4px;
    font-size: 0.75rem;
    color: #0d6efd;
    margin-left: 0.5rem;
    cursor: help;
}

.penciled-badge i {
    font-size: 0.7rem;
    margin-right: 0.2rem;
}

.teams-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.teams-section h4 {
    font-size: 1rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.teams-section h4 i {
    font-size: 1rem;
}

.no-teams {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    font-size: 0.9rem;
    padding: 1rem;
    text-align: center;
}



/* --- Styles from tournament_not_live.html --- */

:root {
    --primary-color: #020816;
    --secondary-color: #1a2332;
    --accent-color: #3498db;
    --warning-color: #f39c12;
}

body {
    background-color: var(--primary-color);
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    background-color: var(--secondary-color) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.error-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.error-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid rgba(243, 156, 18, 0.5);
    border-radius: 16px;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.error-icon {
    font-size: 5rem;
    color: var(--warning-color);
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.error-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--warning-color);
}

.error-message {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.tournament-name {
    color: var(--accent-color);
    font-weight: 600;
}

.btn-home {
    background: linear-gradient(135deg, var(--accent-color) 0%, #2980b9 100%);
    border: none;
    color: white;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
    color: white;
}

.info-box {
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.info-box p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}



/* --- Styles from rules.html --- */

.toc-list {
            margin-bottom: 0 !important;
        }
        .toc-list a {
            color: #495057;
            text-decoration: none;
            transition: all 0.2s ease;
            border-radius: 4px;
        }
        .toc-list a:hover {
            background-color: #f8f9fa;
            padding-left: 8px;
            color: #0d6efd;
        }
        .toc-list i {
            color: #0d6efd;
        }



/* --- Styles from checkout.html --- */

:root {
    --primary-color: #020816;
    --secondary-color: #1a2332;
    --accent-color: #3498db;
}

body {
    background-color: var(--primary-color);
    color: #fff;
    min-height: 100vh;
}

.navbar {
    background-color: rgba(2, 8, 22, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.checkout-header {
    text-align: center;
    margin-bottom: 3rem;
}

.checkout-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.checkout-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.division-info {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.15) 0%, rgba(52, 152, 219, 0.05) 100%);
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.division-info h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.info-value {
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
}

.registration-form {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 51, 234, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.form-label-custom {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control-custom, .form-select {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.75rem;
    border-radius: 8px;
}

.form-control-custom:focus, .form-select:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-control-custom::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-select option {
    background-color: var(--secondary-color);
    color: #fff;
}

.fee-breakdown {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.fee-total {
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-primary-custom {
    background: linear-gradient(90deg, #3B82F6, #9333EA);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: transform 0.2s;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.3);
}

.secure-badge {
    text-align: center;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

#success-message {
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.success-icon {
    background: linear-gradient(45deg, #3B82F6, #9333EA);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Navbar Dropdown Styling */
.navbar {
    z-index: 1050 !important;
}

.navbar-dark .dropdown-menu {
    background-color: #343a40;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1051;
}

.navbar-dark .dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.navbar-dark .dropdown-item:hover,
.navbar-dark .dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.navbar-dark .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Dropdown arrow animation */
.navbar-dark .nav-link.dropdown-toggle::after {
    transition: transform 0.2s ease;
}

.navbar-dark .nav-link.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}
