/*************************************************** GLOBAL ***************************************************/
        body { 
	    font-family: Manrope, 'Inter', sans-serif; 
	}

        .glass-nav {
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

/*************************************************** HERO ***************************************************/

        .hero-gradient {
            /*background: linear-gradient(-135deg, #0a235c 0%, #0d40b5 500%); /*#0a235c;*/
			background-image: linear-gradient(
                to right, 
                rgba(10, 35, 92, 0.95) 0%, 
                rgba(10, 35, 92, 0.7) 65%,
                rgba(10, 15, 26, 0.4) 110%
            )
        }
		
/*************************************************** DETAILED-RESULTS PAGE ***************************************************/

        .performance-detail-card {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .performance-detail-card:hover {
            border-color: rgba(52, 211, 153, 0.3);
            background: rgba(255, 255, 255, 0.05);
            transform: translateY(-4px);
        }

        .table-wrapper { overflow-x: auto; scrollbar-width: none; }
        .table-wrapper::-webkit-scrollbar { display: none; }
        
        table { width: 100%; border-spacing: 6px; border-collapse: separate; }
        th { color: #64748b; text-transform: uppercase; font-size: 0.7rem; font-weight: 800; tracking: 0.2em; }
        td { 
            min-width: 44px; height: 44px; text-align: center; 
            font-size: 0.9rem; border-radius: 8px; font-weight: 800;
            background: rgba(255, 255, 255, 0.04);
        }

        .row-label { min-width: 100px; text-align: left; background: transparent !important; color: #94a3b8; }

        .birdie { background: #059669 !important; color: white; box-shadow: 0 0 15px rgba(16, 185, 129, 0.3); }
        .bogey { background: #e11d48 !important; color: white; box-shadow: 0 0 15px rgba(225, 29, 72, 0.2); }
        
        .val-green { color: #34d399 !important; }
        .val-red { color: #fb7185 !important; }
		
		/* Dynamic sizing for the tournament title */
.dynamic-title {
    /* min-size: 2.5rem, fluid-size: 8vw, max-size: 5rem */
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 0.9;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limits to 2 lines max */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Adjusting the card padding for better breathing room with long names */
.performance-detail-card {
    padding: clamp(1.5rem, 4vw, 3rem) !important;
	
	
	
	/*************************************************** BIO SECTION ***************************************************/

    /* Bio Section Specific Styles */
    #bio {
        background-color: #0a235c; /* Your specific color */
        position: relative;
    }

    /* Adjusting glows for the new navy background */
    .bio-glow {
        background: radial-gradient(circle, rgba(52, 211, 153, 0.15) 0%, transparent 70%);
    }

    .bio-card-frame {
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.02);
        backdrop-filter: blur(10px);
    }


	/*************************************************** SPONSORS SECTION ***************************************************/

    .sponsor-tile {
        width: 300px;
        height: 300px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 8px; /* Slightly more rounded for a modern look */
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .sponsor-tile img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Crucial for your custom 300x300 designs */
        filter: grayscale(100%) contrast(1.1);
        opacity: 0.6;
        transition: all 0.6s ease;
    }

    .sponsor-tile:hover {
        transform: translateY(-12px) scale(1.02);
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(16, 185, 129, 0.3);
        box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
    }

    .sponsor-tile:hover img {
        filter: grayscale(0%) contrast(1);
        opacity: 1;
    }

    /* Mobile handling to ensure the grid doesn't break the viewfinder */
    @media (max-width: 768px) {
        .sponsor-tile {
            width: 260px; /* Slightly smaller on mobile to fit the screen */
            height: 260px;
        }
    }
	
	
	
	
	/*************************************************** NAV STYLING ***************************************************/
	
    /* Prevent scrolling when menu is open */
    body:has(#mobile-menu:not(.translate-x-full)) {
        overflow: hidden;
    }

    .mobile-link {
        transition: all 0.3s ease;
    }

    .mobile-link:hover {
        color: #0a235c; /* Emerald-500 */
        letter-spacing: 0.05em;
    }

/*************************************************** TROPHY ROOM STYLING ***************************************************/

    .trophy-card {
        cursor: pointer;
    }

    .trophy-image-wrapper {
        aspect-ratio: 4/5;
        background: #071942;
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        overflow: hidden;
        position: relative;
    }

    .trophy-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: saturate(0.5) brightness(0.8);
        transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
        transform-gpu: true;
        backface-visibility: hidden;
    }

    .trophy-card:hover .trophy-img {
        filter: saturate(1) brightness(1);
        transform: scale(1.1);
    }

    .trophy-overlay {
        position: absolute;
        top: 20px;
        right: 20px;
        background: rgba(10, 35, 92, 0.8);
        backdrop-blur: 8px;
        padding: 8px 16px;
        border-radius: 8px;
        border: 1px solid rgba(16, 185, 129, 0.3);
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.4s ease;
    }

    .trophy-card:hover .trophy-overlay {
        opacity: 1;
        transform: translateY(0);
    }

    /* Custom Text Outline for that premium feel */
    .text-outline {
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
        color: transparent;
    }
	
	
	/*************************************************** SOCIAL MEDIA STYLING ***************************************************/
	
    .media-container {
        background: #071942;
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 1.25rem; 
        overflow: hidden;       
        position: relative;
        transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    }
    
    .media-container iframe {
        object-fit: cover;
        transform: scale(1.15); 
    }
    
    .media-container:hover {
        border-color: rgba(16, 185, 129, 0.4);
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    }

.social-badge {
        display: inline-flex;
        align-items: center;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        font-weight: 700;
        text-transform: uppercase;
        font-size: 10px;
        letter-spacing: 0.2em;
        padding: 12px 24px;
        border-radius: 200px;
        transition: all 0.3s ease;
    }

    .social-badge:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(16, 185, 129, 0.4);
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
    }


/*************************************************** STATS & RANKINGS STYLING ***************************************************/
/* ================= HERO RANKS ================= */

/* HERO BANNER */

.hero-rank-label {
    display: inline;
    font-size: 0.7rem;
    font-weight: 700;
    color: #34d399;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-right: 6px;
    font-family: 'Manrope', sans-serif;
}

.hero-rank-number {
    display: inline;
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
}

/* ACHIEVEMENTS */

.achievement-rank-label {
    display: block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #34d399 !important;
    line-height: 1 !important;
    margin-bottom: 6px !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.achievement-rank-number {
    display: block !important;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

/* ACHIEVEMENT RANK CARDS */

.achievement-rank-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #34d399;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
    line-height: 1;
    font-family: 'Manrope', sans-serif;
}

.achievement-rank-number {
    display: block;
    font-size: 4.5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.1);
    line-height: 1;
    font-family: 'Manrope', sans-serif;
    transition: color 0.5s ease;
}

.group:hover .achievement-rank-number {
    color: #10b981;
}