/* Variables */
:root {
    --primary-blue: #1e3c72;
    --secondary-blue: #2a5298;
    --gold: #fddb27;
    --light-gray: lightgray;
    --background-gray: #f4f4f4;
    --white: #fff;
    --black: #222;
    --dark-gray: #ccc;
    --green: green;
}


/* Basic Reset */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-gray);
    text-align: center;
    min-height: 100vh; /*make body full viewport height*/
}

/* Header and Navigation Bar combined */
.header-container {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
}
.custom-logo-link img {
    max-height: 100px;
    width: auto;
}
.page h3 {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 8px;
}
header {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 30px; /* Consistent padding */
    box-sizing: border-box;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue)); /* Added gradient background */
}
button#openSignup, button#openLogin {
    position: absolute;
    opacity: 0;
    width: 0;
    left: 0;
    height: 0;
    padding: 0;
}
header h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0px 30px; /* Consistent padding */
}

/* Navigation */
.navbar nav {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%; /* add full width */
    box-sizing: border-box;
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 10px 0;
    list-style: none;
    margin: 0;
}
ul.footer-navigation-wrappers {
    padding: 0;
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    flex-grow: 1; /* make container grow and take all space */
    position: relative; /* Create a new stacking context */
}

.rating-card {
    background: var(--white); /* Change background to white */
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    padding: 20px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    color: var(--primary-blue); /* Change text color to primary blue */
    transition: transform 0.3s, box-shadow 0.3s; /* Add transition for hover effect */
    z-index: 1; /* Ensure the rating card is above other elements */
}

.rating-card:hover {
    transform: translateY(-5px); /* Lift the card on hover */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2); /* Enhance shadow on hover */
}

.rating-card h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.rating-card h1 {
    font-size: 48px;
    margin: 10px 0;
    color: var(--secondary-blue); /* Change rating color to secondary blue */
}

.match-image {
    border: 5px solid var(--primary-blue);
    border-radius: 12px;
    width: 40%;
    height: auto;
    margin-bottom: 20px; /* Add margin to avoid overlap */
}

/* Star Rating Styles */
.star-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse; /* Reverse the order for right-to-left */
    gap: 5px;
}

.star-rating input[type="radio"] {
    display: none;
}
.star-rating input[type=radio][disabled] + label {
    cursor: no-drop;
}
.star-rating input[type=radio] + label {
    font-size: 30px;
    cursor: pointer;
    color: var(--dark-gray);
    transition: color 0.3s;
    margin: 0 2px;
    padding: 0;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input[type="radio"]:checked ~ label {
    color: var(--gold);
}

.star-rating input[type="radio"]:checked ~ label {
    color: var(--gold);
}
button[disabled] {
    cursor: no-drop;
}
.question-container {
    width: 90%;
    max-width: 1200px;
    margin-top: 20px;
    padding: 30px; /* Increase padding */
    background: var(--white);
    border-radius: 15px; /* Increase border radius */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Enhance shadow */
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s; /* Add transition for hover effect */
}

.question-container:hover {
    transform: translateY(-5px); /* Lift the container on hover */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2); /* Enhance shadow on hover */
}

.question-container h1 {
    font-size: 24px; /* Increase font size */
    color: var(--primary-blue); /* Change color */
    margin-bottom: 20px; /* Add margin */
}

.question-container button {
    margin: 5px;
    padding: 10px 20px; /* Adjust padding */
    border: none;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 25px; /* Increase border radius */
    transition: background 0.3s, transform 0.3s; /* Add transition for hover effect */
}

.question-container button:hover {
    background: var(--secondary-blue);
    transform: scale(1.05); /* Slightly enlarge button on hover */
}

.progress-container {
    width: 100%;
    text-align: left;
    margin-top: 15px;
}

.progress-bar {
    width: 100%;
    background-color: var(--light-gray);
    height: 20px;
    border-radius: 10px;
    margin: 5px 0;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 10px;
    text-align: right;
    padding-right: 5px;
    line-height: 20px;
    color: var(--white);
    font-size: 12px;
    width: 0%;
    transition: width 0.3s ease-in-out;
    box-sizing: border-box; /* Add this line */
}

footer {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 40px 0 0;
    width: 100%;
    text-align: center;
    box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    margin: 20px;
    min-width: 250px;
}

.footer-section h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ff7eb3;
}

.footer-section p,
.footer-section ul,
.footer-section li {
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ff7eb3;
}

.footer-bottom {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    padding: 10px 0;
    font-size: 14px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    width: 100%;
}

.footer-bottom::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 5px;
    background: #ff7eb3;
    border-radius: 5px;
}

/* Media Queries for Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        margin: 10px 0;
    }
}

.players-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    width: 100%;
    max-width: 1200px;
}

.player {
    text-align: center;
    background: var(--white);
    padding: 15px; /* Increase padding */
    border-radius: 15px; /* Increase border radius */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Enhance shadow */
    width: 200px; /* Increase width */
    transition: transform 0.3s, box-shadow 0.3s; /* Add transition for hover effect */
}

.player:hover {
    transform: translateY(-10px); /* Lift the card on hover */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); /* Enhance shadow on hover */
}

.player h3 {
    font-size: 18px; /* Increase font size */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px; /* Add margin */
}

.character-name {
    font-size: 14px; /* Adjust font size */
    color: var(--black); /* Make character names dark */
    margin-top: -5px;
    margin-bottom: 10px; /* Add margin */
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Add ellipsis for overflow text */
}

.player-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%; /* Make image circular */
    margin-bottom: 10px; /* Add margin */
    padding: 5px; /* Add padding for the border */
    background: var(--white); /* Change border color to white */
    border: 3px solid var(--white); /* Smaller border */
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.5); /* Add white shadow */
    transition: transform 0.3s, box-shadow 0.3s; /* Add transition for hover effect */
}

.player-img:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.7); /* Enhance white shadow on hover */
}

.like-button,.please_login {
    margin-top: 10px;
    padding: 10px 20px; /* Adjust padding */
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    cursor: pointer;
    border-radius: 25px; /* Increase border radius */
    transition: background 0.3s, transform 0.3s; /* Add transition for hover effect */
}

.like-button:hover,.please_login:hover {
    background-color: var(--secondary-blue);
    transform: scale(1.05); /* Slightly enlarge button on hover */
    color: #fff;
}

.status-bar {
    width: 100%;
    background-color: var(--light-gray);
    height: 20px;
    border-radius: 5px;
    margin-top: 10px;
    position: relative;
}

.like-status {
    background-color: var(--primary-blue);
    height: 100%;
    width: 0%;
    text-align: center;
    line-height: 20px;
    color: var(--white);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    /* Ensures text is visible */
    white-space: nowrap;
    /* Prevents text from breaking */
    overflow: hidden;
    box-sizing: border-box; /* Add this line */
}

/* Hidden by default */
#answer {
    display: none;
}

#total-ratings {
    font-size: 18px; /* Increase font size */
    font-weight: bold; /* Make text bold */
    color: var(--primary-blue); /* Change color */
    margin-top: 10px; /* Add margin */
}

.match-card:hover {
    transform: translateY(-8px) scale(1.05); /* Slightly enlarge on hover */
    border-color: var(--secondary-blue); /* Use secondary blue color */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
}

/*.match-card:hover h2 {
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--primary-blue); 
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); 
}*/

.match-card.active {
    border: 2px solid var(--gold); /* Use a visually appealing gold color */
    box-shadow: 0 0 15px rgba(253, 219, 39, 0.5); /* Add a soft gold glow */
}

/* Login and signup popup */
.popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex; justify-content: center; align-items: center;
  z-index: 9999;
}
.popup.hidden { display: none; }
.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    position: relative;
    max-width: 380px;
}
.popup .close {
  position: absolute; right: 10px; top: 10px;
  cursor: pointer;
}
form { display: flex; flex-direction: column; gap: 10px; }
form.hidden { display: none; }
#authPopup .msg{
    font-size: 14px;
    text-align: left;    
}
#authPopup .msg[data-status="false"] {
    color: red;
}
#authPopup .msg[data-status="true"] {
    color: green;
}

/*contact page*/
.page-id-130 h2.wp-block-heading {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: "Roboto", Sans-serif;
    font-size: 40px;
    font-weight: 600;
    color: #000000;
}
.form-wrp {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}
.form-wrp .form-field p * {
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
}
.form-wrp .form-field p input {
    height: 45px;
    padding-left: 15px;
}
input.wpcf7-form-control.wpcf7-submit {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    cursor: pointer;
    border-radius: 25px;
    transition: background 0.3s, transform 0.3s;
}
 
/* After agree disagree section */
#pollContainer {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto 0 auto;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}
#pollContainer:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}
.song-container h1 {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}
.song-container button {
    margin: 5px 18px 10px 0;
    padding: 12px 32px;
    border: none;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(30, 60, 114, 0.12);
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    min-width: 200px;
    max-width: 100%;
    letter-spacing: 0.5px;
}
.song-container button:hover {
    background: var(--secondary-blue);
    transform: scale(1.07);
    box-shadow: 0 8px 24px rgba(30, 60, 114, 0.18);
}
#pollContainer .progress-container {
    margin-top: 20px;
}
#pollContainer .progress-bar {
    margin: 10px 0 18px 0;
    box-shadow: 0 2px 8px rgba(30, 60, 114, 0.08);
    width: 100%;
    background-color: var(--light-gray);
    height: 25px;
    border-radius: 15px;
    margin: 10px 0;
    position: relative;
    overflow: hidden;
}
#pollContainer .progress-fill {
    height: 100%;
    background: var(--primary-blue);
    border-radius: 15px;
    text-align: right;
    padding-right: 10px;
    line-height: 25px;
    color: var(--white);
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 2px rgba(30, 60, 114, 0.08);
    width: 0%;
    transition: width 0.3s ease-in-out;
}
.poll-label {
    display: inline-block;
    min-width: 200px;
    max-width: 100%;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
    vertical-align: middle;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 2px rgba(30, 60, 114, 0.05);
}
.poll-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 18px;
    background: rgba(30, 60, 114, 0.06); /* subtle background using your blue */
    border-radius: 18px;
    padding: 18px 0 10px 0;
    box-shadow: 0 2px 10px rgba(30, 60, 114, 0.07);
    transition: box-shadow 0.3s, background 0.3s;
}
.poll-row:not(:last-child) {
    border-bottom: 2px solid rgba(42, 82, 152, 0.08);
}
.poll-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 60px;
    margin-top: 20px;
}
.poll-option {
    background: rgba(30, 60, 114, 0.06);
    border-radius: 18px;
    padding: 18px 20px 14px 20px;
    box-shadow: 0 2px 10px rgba(30, 60, 114, 0.07);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 280px;
}
.poll-option button {
    align-self: flex-start;
    margin-bottom: 8px;
}
.poll-option .poll-label {
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
}
.poll-option .progress-bar {
    width: 100%;
}
button[disabled] {
    cursor: no-drop !important;
}
