/* --- Global Reset and Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif; /* Using a standard font */
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- Navigation Bar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.logo {
    font-weight: 900;
    font-size: 1.2em;
    color: #fff;
}

.navbar nav a {
    margin-left: 25px;
    font-weight: 700;
    font-size: 0.9em;
    padding: 5px 0;
    border-bottom: 3px solid transparent;
    transition: border-bottom 0.3s;
}

.navbar nav a:hover {
    border-bottom: 3px solid #00ff00; /* Green/Neon hover effect */
}

.nav-login {
    cursor: pointer;
   
}

/* --- Hero Section (Image 2) --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    background: url('publicphotos/background.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding-left: 50px;
}

.hero-content-overlay {
    /* Existing styles to position and size the overlay container */
    position: absolute; /* or fixed, depending on your setup */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers the entire container */
    width: 90%; /* Adjust as needed */
    max-width: 500px; /* Adjust as needed */
    
    /* NEW: Use Flexbox to align content within the overlay */
    display: flex;
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center children horizontally */
    text-align: center; /* Ensures h1 and p text is centered */
}

/*
 * 2. Target the paragraph to center it and apply styles.
 * It's already centered horizontally by the parent's align-items: center.
 */
.hero-content-overlay p {
    /* NEW: Center the paragraph block itself and limit its width for readability */
    max-width: 600px; /* Adjust width as needed */
    margin: 10px auto; /* Centers the block horizontally and adds vertical space */
    
    /* Ensure text is aligned center (if not inherited from parent) */
    text-align: center; 
    
    /* Optional: Style adjustments for readability over the background */
    color: white; /* Example */
    font-size: 1.1em;
}

/*
 * 3. Adjust the position of the logo image to move it "little up"
 */
.showdown-logo {
    /* NEW: Move the logo up relative to its current position */
    transform: translateY(-20px); /* Adjust -20px for a subtle shift up */
    /* Optional: Ensure image is centered within its own div, though parent handles it */
    display: block;
    margin: 0 auto;
    
    /* Optional: Ensure the logo image scales appropriately */
    max-width: 100%;
    height: auto;
}

/*
 * 4. Center the main heading text for a cohesive look
 */
.hero-content-overlay h1 {
    /* This ensures the heading is visually centered */
    text-align: center;
    /* You may want to slightly adjust its position as well */
    margin-top: -10px; /* Example: Pull it up slightly closer to the logo */
}

/* --- Winner Section (Image 1) --- */
.winner-section {
    padding-top: 50px;
    background-color: #000;
}

.winner-image-container {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    margin-bottom: 30px;
}

.winner-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.winner-info-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%; /* Matches the visual layout from the image */
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Dark panel overlay */
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.box-logos {
    margin-bottom: 20px;
}

.small-krafton-logo, .small-showdown-logo {
    height: 20px;
    margin-right: 5px;
}

.year-text {
    color: #ffffff;
    font-size: 3em;
    font-weight: 900;
    margin-bottom: 15px;
}

.winner-info-box p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.winner-info-box p strong {
    color: #ffffff; /* Yellow highlight for team name */
}

.action-buttons {
    display: flex;
    gap: 15px;
}

.yellow-btn {
    background-color: #bffb70; /* Yellow background */
    color: #000000; /* Black text */
    padding: 10px 25px;
    border-radius: 5%;
    border: none;
    margin-right: 0px;
    margin-left: 830px;
    font-weight: 700;
    
    cursor: pointer;
    text-transform: capitalize;
}

.watch-btn {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 20px;
    font-weight: 700;
        border-radius: 5%;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.watch-btn .icon {
    font-size: 0.8em;
    color: red; /* Typical video icon color */
}

/* --- Tournament Main Content Section --- */
.tournament-main-content {
    background-color: #000;
    padding-bottom: 50px;
}

/* --- Tabs Menu --- */
.tournament-tabs {
    display: flex;
    max-width: 1200px;
    margin: 0 auto; 
    padding: 20px 0;
    border-bottom: 1px solid #333;
    /* Aligns tabs to the left side of the content area */
    padding-left: 20px; 
}

.tab {
    padding: 10px 0; 
    margin: 0 25px;
    font-weight: 700;
    font-size: 1.1em;
    color: #999;
    position: relative;
    transition: color 0.3s;
    text-transform: uppercase;
}

.tab:hover, .tab.active {
    color: #fff;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -20px; 
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #bffb70; /* Yellow underline */
}

/* --- Dynamic Content Area --- */
.tab-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hide inactive content */
.tab-content {
    display: none;
    padding-top: 50px; 
}

.tab-content.active {
    display: block;
}
/* --- Global Reset/Base Styles (Optional, but good practice) --- */
body {
    margin: 0;
    font-family: sans-serif;
    background-color: black;
}

/* --- BRING YOUR BRAND Section Styles --- */
.brand-section {
    background-color: black;
    color: white;
    padding: 80px 20px;
}

/* Header (BRING YOUR BRAND) and Divider */
.brand-header {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.brand-header h2 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
}

.header-divider {
    display: flex;
    align-items: center;
}

.divider-highlight {
    /* The small green/yellow highlight bar */
    height: 3px;
    width: 80px;
    background-color: #a4e548; /* Approximate green color */
    margin-right: 10px;
}

.divider-line {
    /* The long grey line */
    height: 1px;
    flex-grow: 1;
    background-color: #555;
}

/* --- Base Callout Banner Styles (from previous code) --- */
.brand-callout {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin: 40px 20px;
}

.brand-callout h3 {
    background-color: #a4e548;
    color: black;
    /* Adjust horizontal padding to give more room for the text */
    padding: 15px 30px; 
    border-radius: 50px;
    font-size: 1.5em; /* Original size */
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* NEW: Ensures text doesn't break unless necessary */
    white-space: nowrap; 
}


/* --- Media Query for Mobile (Single Line Text) --- */
@media (max-width: 900px) {
    /* Existing mobile styles (e.g., stats-container) here... */
}

@media (max-width: 768px) {
    /* Existing tablet/mobile styles here... */
}

@media (max-width: 500px) {
    /* This targets typical small mobile devices */

    .brand-callout h3 {
        /* Reduce font size to force text onto a single line */
        font-size: 1.1em; 
        
        /* Optional: Increase padding slightly to match the rounded shape */
        padding: 12px 25px; 
        
        /* Ensures the text stays on one line by preventing automatic wrapping */
        white-space: nowrap; 
    }
    
    /* Other existing mobile styles (e.g., feature-card, stats-card) here... */
}
/* Four-Column Feature Cards Layout */
.brand-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    width: calc(25% - 23px);
    text-align: center;
    flex-grow: 1; 
    min-width: 250px;
}

.feature-card img {
    width: 80%;
    height: auto;
    border-radius: 40px;
    padding: 5px;
    border: 3px solid #a4e548;
    object-fit: cover;
}

.feature-card p {
    font-size: 1.1em;
    font-weight: 600;
    margin-top: 15px;
    color: white;
}

/* --- Stats and Action Points Section Styles --- */
.stats-section {
    background-color: black;
    padding: 100px 20px;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    position: relative;
    gap: 40px;
}

/* Slanted Green Stats Card (Left Side) */
.stats-card-wrapper {
    position: relative;
    width: 50%;
    max-width: 600px;
    min-width: 300px;
    transform: rotate(-3deg);
    padding: 20px;
    background-color: #555;
    border-radius: 5px;
}

.stats-card {
    background-color: #a4e548;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 25px;
    border-radius: 5px;
    position: relative;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background-color: black;
    border-radius: 50%;
    z-index: 10;
}

.stat-item {
    background-color: black;
    color: white;
    padding: 15px 10px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.stat-value {
    font-size: 2.5em;
    font-weight: bold;
    line-height: 1.2;
}

/* Custom colors for the ratio numbers */
.ratio-male {
    color: #4dc2f5; /* Bright blue color for '70' */
}

.ratio-female {
    color: #f5a8e0; /* Bright pink/purple color for '30' */
}

/* Optional: If you want the colon to be white instead of blue,
   you can set the base color on .ratio-value to white/transparent
   or remove the .ratio-value color completely.
   For now, the colon will inherit from .ratio-value which is blue.
*/
.stat-value.ratio-value {
    /* Set a neutral color for the colon if you want the numbers to stand out */
    color: white; /* Make the colon white */
}
.stat-label {
    font-size: 0.75em;
    opacity: 0.8;
    margin-top: 5px;
}

/* Stacked Action Points (Right Side) */
.action-points {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 40%;
    min-width: 250px;
    margin-top: 50px;
}

.action-point {
    background-color: #a4e548;
    color: black;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    position: relative;
    z-index: 2;
}

.action-point::before {
    /* The slanted gray wedge behind the green block */
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: 20px;
    height: 100%;
    background-color: #555;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    z-index: 1;
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 900px) {
    .stats-container {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-card-wrapper,
    .action-points {
        width: 100%;
        max-width: 500px;
    }

    .action-points {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .feature-card {
        width: calc(50% - 15px);
        min-width: unset;
    }
}

@media (max-width: 500px) {
    .feature-card {
        width: 100%;
    }
    .stats-card {
        /* On small phones, switch stats to 2 columns for better fit */
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ------------------------------------- */
/* 1. OVERVIEW CONTENT STYLES */
/* ------------------------------------- */
.about-content-wrapper { display: flex; gap: 40px; }
.about-visual-container { flex: 0 0 55%; max-height: 400px; overflow: hidden; }
.about-visual-img { width: 100%; height: 100%; object-fit: cover; }
.about-text-content { flex: 1; }
.about-text-content h3 { color: #ff0000; font-size: 1.2em; margin-bottom: 15px; }
.about-text-content .description { color: #ccc; margin-bottom: 30px; line-height: 1.8; }
.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px 30px; margin-top: 20px; }
.detail-item .label { font-size: 0.9em; color: #aaa; }
.detail-item .winner-name { color: #ff0000; }

/* Prize Pool */
.total-prize-box { background: linear-gradient(to right, #222, #000); padding: 30px 40px; margin-bottom: 30px; display: flex; justify-content: space-between; border-left: 5px solid #ffcc00; }
.pool-amount { font-size: 2.5em; font-weight: 900; color: #ff0000; }
.prize-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 10px; }
.special-rewards-row { grid-template-columns: repeat(5, 1fr); }
.prize-box { background-color: #1a1a1a; padding: 15px; border-radius: 4px; border-left: 3px solid #333; transition: background-color 0.3s, transform 0.3s; }
.prize-box:hover { background-color: #2a2a2a; transform: translateY(-3px); } /* Hover animation */
.prize-box.position-1 { border-left: 3px solid #2a2a2a; }
.prize-box .rank { font-size: 0.8em; color: #ccc; }
.prize-box .amount { font-size: 1.2em; font-weight: 900; }
.prize-box.special .amount { color: #ffffff; }

/* Videos Section */
.videos-section h2 { font-size: 1.8em; margin-bottom: 20px; border-left: 4px solid #ffffff; padding-left: 15px; }
.video-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto; /* Enable horizontal scrolling on small screens */
    padding-bottom: 15px;
    scroll-snap-type: x mandatory;
}
.video-carousel::-webkit-scrollbar { height: 8px; }
.video-carousel::-webkit-scrollbar-thumb { background-color: #555; border-radius: 10px; }

.video-card {
    flex: 0 0 280px; /* Fixed width for horizontal scrolling */
    display: block;
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    scroll-snap-align: start;
    transform: perspective(1px) translateZ(0); /* Force GPU acceleration */
    transition: transform 0.3s ease-out;
}

.video-card:hover { transform: scale(1.02); } /* Hover animation */
.video-thumbnail { width: 100%; height: 160px; object-fit: cover; display: block; }
.video-title { padding: 10px; font-size: 0.9em; min-height: 50px; }

/* ------------------------------------- */
/* 2. FORMAT CONTENT STYLES */
/* ------------------------------------- */
/*  .format-flowchart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%; /* Center the flow chart visually */
/*  margin: 0 auto;
    padding: 50px 0;
    position: relative;
} 

.flow-title {
    color: #ffcc00;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.flow-step {
    background-color: #333;
    color: #fff;
    padding: 15px 30px;
    width: 250px;
    border-radius: 5px;
    text-align: center;
    margin: 20px 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.flow-step:not(.bottom)::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background-color: #ffcc00; /* Yellow line connector */
/*     z-index: 1;
}

.flow-step .stage-name {
    display: block;
    font-weight: 700;
    font-size: 1.1em;
}

.flow-step .stage-details {
    display: block;
    font-size: 0.9em;
    color: #ccc;
}

.flow-step .stage-date {
    display: block;
    font-size: 0.8em;
    color: #ffcc00;
    margin-top: 5px;
}

/* Side Arrows/Connectors (Simplified using basic text positioning) */
/*  .flow-connector {
    color: #ffcc00;
    font-size: 0.8em;
    font-weight: 700;
    margin: -10px 0;
    position: relative;
    text-align: center;
    text-transform: uppercase;
}
/* Note: Creating the exact diagram structure with CSS-only arrows is complex. This is a functional clone. */


/* ------------------------------------- */
/* 3. LEADERBOARD CONTENT STYLES */
/* ------------------------------------- */
/*  .leaderboard-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.control-dropdown {
    background-color: #333;
    color: #fff;
    border: 1px solid #555;
    padding: 8px 15px;
    border-radius: 4px;
    appearance: none; /* Hide default arrow */
/*    cursor: pointer;
    font-size: 1em;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #1a1a1a;
    font-size: 0.95em;
}

.leaderboard-table th {
    background-color: #333;
    color: #ffcc00;
    text-align: left;
    padding: 12px 15px;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid #555;
}

.leaderboard-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #333;
    color: #ccc;
    text-align: left;
}

.leaderboard-table tbody tr:hover {
    background-color: #2a2a2a;
}

.leaderboard-table tbody tr.highlight-row {
    background-color: #282828;
    color: #fff;
}

.leaderboard-table tbody tr.highlight-row td {
    color: #fff;
}

.leaderboard-table .team-name {
    font-weight: 700;
}

/* Pagination */
/*  .pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 20px;
    color: #fff;
}

.page-link {
    padding: 5px 10px;
    margin-left: 5px;
    cursor: pointer;
    border: 1px solid #333;
    background-color: #1a1a1a;
    transition: background-color 0.3s;
}

.page-link:hover {
    background-color: #2a2a2a;
}

.page-link.active {
    background-color: #ffcc00;
    color: #000;
    font-weight: 700;
    border-color: #ffcc00;
}                            */
/* Basic Reset and Setup */
body {
    margin: 0;
    padding: 0;
    /* Dark background like the image */
    background-color: #121212; 
    font-family: Arial, sans-serif;
    /* Ensure the body covers the entire viewport */
    min-height: 100vh;
}

/* --- No Data Container --- */
.no-data-container {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    height: 100vh; /* Take up full viewport height */
    text-align: center;
}

.message {
    color: #888888; /* Light gray for the text */
    font-size: 18px;
    margin-top: 30px; /* Space between icon and text */
    letter-spacing: 0.5px;
}

/* --- Icon Styling (Custom CSS Clipboard) --- */
.icon-container {
    position: relative;
    /* Mimic the floating/tilted look */
    transform: rotate(-5deg); 
}

.clipboard-icon {
    width: 120px;
    height: 160px;
    background-color: #333333; /* Darker gray for the clipboard body */
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* The metal clip at the top */
.clip {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 20px;
    background-color: #555555;
    border-radius: 4px 4px 0 0;
}

/* The sad face inside the clipboard */
.face {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.eye {
    position: absolute;
    top: 30px;
    width: 8px;
    height: 8px;
    background-color: #888888; /* Gray for the eyes */
    border-radius: 50%;
}

.left-eye {
    left: 20px;
}

.right-eye {
    right: 20px;
}

/* X's for the eyes */
.eye::before, .eye::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #888888;
    top: 50%;
    left: 0;
    transform-origin: center;
}

.eye::before {
    transform: translateY(-50%) rotate(45deg);
}

.eye::after {
    transform: translateY(-50%) rotate(-45deg);
}

/* The mouth (sad arc) */
.mouth {
    position: absolute;
    bottom: 25px;
    width: 40px;
    height: 20px;
    border: 3px solid #888888; /* Gray for the mouth line */
    border-top: none;
    border-radius: 0 0 50px 50px;
}                            
.critical-footer {
  background-color: #0f0f0f;
  color: #ffffff;
  padding: 60px 20px 30px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.footer-container h2 {
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 700;
}

.social-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.social-box {
  width: 130px;
  background: #1a1a1a;
  padding: 20px 10px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: white;
  border: 1px solid #2b2b2b;
  transition: transform 0.3s;
}

.social-box:hover {
  transform: scale(1.05);
  background-color: #222;
}

.social-box img {
  width: 30px;
  margin-bottom: 10px;
}

.social-box span {
  font-size: 14px;
}

.contact-box {
  margin-bottom: 40px;
}

.contact-box h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.contact-box a {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
}

.contact-box a img {
  width: 20px;
  margin-right: 8px;
}

.footer-note {
  font-size: 12px;
  color: #cccccc;
}

.footer-note a {
  color: #cccccc;
  text-decoration: underline;
  display: inline-block;
  margin-top: 5px;
}

/* Responsive */
@media (max-width: 480px) {
  .social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .social-box {
    width: 100%;
    padding: 15px 5px;
  }

  .footer-container h2 {
    font-size: 22px;
  }

  .contact-box h3 {
    font-size: 18px;
  }
}
