* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #c8102e;
    --secondary-color: #1a1a2e;
    --accent-color: #ff4757;
    --light-bg: #f8f9fa;
    --dark-bg: #0f0f0f;
    --text-primary: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    color: var(--primary-color);
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn-download {
    padding: 10px 20px;
    background: var(--primary-color);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200, 16, 46, 0.3);
}

.btn-join {
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-join:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200, 16, 46, 0.3);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><circle cx="200" cy="200" r="100" fill="rgba(200,16,46,0.1)"/><circle cx="800" cy="400" r="150" fill="rgba(200,16,46,0.05)"/><circle cx="1000" cy="600" r="120" fill="rgba(200,16,46,0.08)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cart Icon and Badge */
.cart-icon {
    position: relative;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
}

.cart-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Add to Cart Button */
.btn-add-to-cart {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-add-to-cart:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Product Modal Styles */
.product-modal-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    align-items: start;
}

.product-modal-image {
    width: 100%;
}

.product-modal-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

.product-modal-details {
    display: flex;
    flex-direction: column;
}

.product-modal-details h2 {
    margin: 0 0 0.5rem 0;
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.product-modal-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

.product-modal-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--light-bg);
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.product-modal-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-option {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-option label {
    font-weight: 600;
    color: var(--secondary-color);
}

.product-option select {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.product-option select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-selector button:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.quantity-selector input {
    width: 60px;
    text-align: center;
    padding: 0.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
}

.btn-add-to-cart-modal {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-add-to-cart-modal:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .product-modal-container {
        grid-template-columns: 1fr;
    }
    
    .product-modal-image img {
        height: 250px;
    }
}

/* Cart Modal Styles */
.cart-modal-content {
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-actions button {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cart-item-actions button:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.cart-item-actions span {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.btn-remove {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove:hover {
    background: #c82333;
}

.cart-total-section {
    text-align: right;
    margin-bottom: 1rem;
}

.cart-total-section h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.cart-total-section span {
    color: var(--primary-color);
}

.cart-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Checkout Modal Styles */
.checkout-modal-content {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

.checkout-form-section h3 {
    margin: 0 0 1rem 0;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-full-width {
    width: 100%;
    margin-top: 1rem;
}

.checkoutsummary-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    height: fit-content;
}

.checkout-summary-section h3 {
    margin: 0 0 1rem 0;
    color: var(--text-dark);
}

.order-summary {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
}

.order-item span:last-child {
    font-weight: 600;
    color: var(--primary-color);
}

.order-total-section {
    padding-top: 1rem;
    border-top: 2px solid var(--primary-color);
}

.order-total-section h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.order-total-section span {
    color: var(--primary-color);
}

/* Receipt Modal Styles */
.receipt-modal-content {
    max-width: 600px;
}

.receipt-header {
    text-align: center;
    padding: 2rem;
    border-bottom: 1px solid #eee;
}

.receipt-header h2 {
    margin: 0.5rem 0;
    color: var(--text-dark);
}

.receipt-header p {
    margin: 0.5rem 0 0 0;
    color: var(--text-light);
}

.receipt-container {
    padding: 1.5rem;
}

.receipt-header-info {
    text-align: center;
    margin-bottom: 2rem;
}

.receipt-header-info h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
}

.receipt-header-info p {
    margin: 0;
    color: var(--text-light);
}

.receipt-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.receipt-section:last-child {
    border-bottom: none;
}

.receipt-section h4 {
    margin: 0 0 1rem 0;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.receipt-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.receipt-item span:last-child {
    font-weight: 600;
    color: var(--primary-color);
}

.receipt-customer-info p {
    margin: 0.5rem 0;
    color: var(--text-dark);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .checkout-summary-section {
        order: -1;
    }
    
    .cart-modal-content,
    .checkout-modal-content {
        width: 95%;
        margin: 1rem auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cart-actions {
        flex-direction: column;
    }
    
    .cart-actions button {
        width: 100%;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem); /* Fluid font size */
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.hero-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 5vw, 1.5rem); /* Fluid font size */
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(200, 16, 46, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary-color);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.stat h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--white);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 25px;
    background: var(--light-bg);
    border: 2px solid transparent;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Athletes Section */
.athletes-section {
    background: var(--light-bg);
}

.athletes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.athlete-card {
    background: linear-gradient(to bottom right, #ffffff, #f9fafb);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
}

.athlete-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(200, 16, 46, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.athlete-card-image {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
}

.athlete-image-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.athlete-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--white);
}

.athlete-image-placeholder i {
    font-size: 5rem;
}

.athlete-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.athlete-header h3 {
    font-size: 1.3rem;
    margin: 0 0 8px 0;
    color: var(--secondary-color);
    font-weight: bold;
    letter-spacing: 0.5px;
}

.athlete-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 12px;
    font-style: italic;
}

.athlete-location i {
    font-size: 0.875rem;
    color: #6b7280;
}

.view-profile-btn {
    width: 100%;
    padding: 12px 20px;
    background: #ff8c00;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(255, 140, 0, 0.3);
    margin-top: auto;
}

.view-profile-btn:hover {
    background: #ff7700;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.4);
}

.athlete-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.athlete-badge {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: bold;
    border: 1px solid;
    white-space: nowrap;
}

.badge-role {
    background: rgba(251, 146, 60, 0.1);
    color: #ea580c;
    border-color: rgba(251, 146, 60, 0.3);
}

.badge-role.trainer {
    background: rgba(251, 146, 60, 0.1);
    color: #ea580c;
    border-color: rgba(251, 146, 60, 0.3);
}

.badge-role.athlete {
    background: rgba(6, 182, 212, 0.1);
    color: #0891b2;
    border-color: rgba(6, 182, 212, 0.3);
}

.badge-discipline {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border-color: rgba(59, 130, 246, 0.3);
}

.badge-weight {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border-color: rgba(34, 197, 94, 0.3);
}

.badge-level {
    background: rgba(168, 85, 247, 0.1);
    color: #9333ea;
    border-color: rgba(168, 85, 247, 0.3);
}

.athlete-stats {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-item i {
    font-size: 0.875rem;
}

.stat-item span {
    font-size: 0.75rem;
    font-weight: 600;
}

.stat-connections i {
    color: #2563eb;
}

.stat-connections span {
    color: #2563eb;
}

.stat-likes i {
    color: #f59e0b;
}

.stat-likes span {
    color: #f59e0b;
}

.stat-favorites i {
    color: #ef4444;
}

.stat-favorites span {
    color: #ef4444;
}

.athlete-level {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Merchandise Section */
.merchandise-section {
    background: var(--light-bg);
}

.merchandise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.merch-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.merch-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.merch-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: var(--light-bg);
}

.merch-info {
    padding: 1.5rem;
}

.merch-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.merch-category {
    display: inline-block;
    padding: 3px 10px;
    background: var(--light-bg);
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.merch-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Sponsors Section */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.sponsor-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.sponsor-logo {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.sponsor-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.sponsor-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Community Section */
.community-section {
    background: var(--light-bg);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.community-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.community-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.community-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Donate Section */
.donate-section {
    background: var(--light-bg);
}

.donate-content {
    max-width: 1000px;
    margin: 0 auto;
}

.donate-header {
    text-align: center;
    margin-bottom: 3rem;
}

.donate-header i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.donate-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.donate-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.donation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.donation-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.donation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.donation-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.donation-card.selected {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.donation-card .badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.donation-card .amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.donation-card.selected .amount {
    color: var(--white);
}

.donation-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.donation-card.selected p {
    color: rgba(255, 255, 255, 0.9);
}

.donation-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.btn-donate {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.secure-note {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.secure-note i {
    color: var(--success-color);
}

/* Stripe Card Element Styles */
.stripe-card-element {
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    transition: border-color 0.3s ease;
}

.stripe-card-element:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

.card-errors {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 20px;
}

.StripeElement {
    padding: 10px 0;
}

.StripeElement--focus {
    outline: none;
}

.StripeElement--invalid {
    border-color: #dc3545;
}

.StripeElement--complete {
    border-color: #28a745;
}

.donation-impact {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.donation-impact h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.impact-item {
    text-align: center;
}

.impact-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.impact-item h4 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.impact-item p {
    color: var(--text-light);
}

.recent-donors {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.recent-donors h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.donors-list {
    display: grid;
    gap: 1rem;
}

.donor-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
}

.donor-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.donor-info {
    flex: 1;
}

.donor-info h4 {
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.donor-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.donor-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Download Section */
.download-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    color: var(--accent-color);
}

/* Beta Signup Form */
.beta-signup-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.beta-signup-form h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.beta-instructions {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.beta-instructions strong {
    color: var(--accent-color);
}

.beta-form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.beta-form-group input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.beta-form-group input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.beta-form-group input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
}

.btn-beta-signup {
    padding: 15px 30px;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-beta-signup:hover {
    background: #ff6b7a;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 71, 87, 0.4);
}

.beta-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
}

.beta-note i {
    color: var(--accent-color);
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.store-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.store-button i {
    font-size: 2rem;
}

.store-button span {
    font-size: 0.85rem;
    display: block;
}

.store-button strong {
    font-size: 1.1rem;
    display: block;
}

.download-phone {
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 8px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    backdrop-filter: blur(10px);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.phone-mockup i {
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.15);
}

.download-image {
    text-align: center;
}

.download-image i {
    font-size: 20rem;
    opacity: 0.2;
}

/* Footer */

.footer .social-links a {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer .social-links a i {
    color: #ffffff !important;
    font-size: 36px !important; /* increased from 28px to 36px */
    transition: 0.3s ease;
}

.footer .social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer .social-links a:hover i {
    color: white;
    transform: scale(1.1);
}


.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 8px 0;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    z-index: 10;
}

.modal-close:hover {
    color: var(--primary-color);
}

/* Athlete Profile Modal Styles */
.athlete-profile-modal {
    padding-top: 10px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.profile-image-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}

.profile-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.profile-header-info h2 {
    margin: 0 0 8px 0;
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.profile-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

.profile-location i {
    color: var(--primary-color);
}

.profile-details {
    margin-bottom: 30px;
}

.detail-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 2px;
}

.detail-item > div {
    flex: 1;
}

.detail-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    display: block;
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.profile-bio {
    margin-top: 25px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.profile-bio h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.profile-bio h3 i {
    color: var(--primary-color);
}

.profile-bio p {
    color: var(--text-primary);
    line-height: 1.8;
    margin: 0;
}

.profile-social-media {
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
}

.profile-social-media h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.social-links-grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.twitter {
    background: #1DA1F2;
}

.social-link.youtube {
    background: #FF0000;
}

.social-link.tiktok {
    background: #000000;
}






/* Loading State */
.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.loading i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Events Section */
.events-section {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(30, 30, 30, 0.05) 100%);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(220, 38, 38, 0.2);
}

.event-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-red);
    position: relative;
}

.event-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.event-content {
    padding: 1.5rem;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.event-type {
    background: var(--primary-red);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.event-status {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
}

.event-status.upcoming {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.event-status.ongoing {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.event-status.completed {
    background: rgba(107, 114, 128, 0.1);
    color: #4b5563;
}

.event-status.cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.event-content h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.event-details {
    background: rgba(220, 38, 38, 0.05);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.event-details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.event-details p:last-child {
    margin-bottom: 0;
}

.event-details i {
    color: var(--primary-red);
    width: 16px;
}

.event-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.event-participants {
    color: var(--text-dark);
    font-size: 0.9rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(220, 38, 38, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        transform: translateX(-100%);
        width: 100%;
        flex-direction: column;
        background: var(--secondary-color);
        padding: 2rem;
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .hero {
        padding: 150px 0 100px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .download-content {
        grid-template-columns: 1fr;
    }

    .download-image {
        display: none;
    }

    .athletes-grid,
    .news-grid,
    .merchandise-grid,
    .community-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .beta-form-group {
        flex-direction: column;
    }
}