/* styles.css - Modernized Styles for the Competitions Website */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    text-align: center;
}

header {
    background: linear-gradient(135deg, #6A2B9C, #5D268C);
    color: white;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.logo {
  filter: brightness(0) saturate(100%) invert(74%) sepia(87%) saturate(700%) hue-rotate(2deg) brightness(102%) contrast(101%);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
    transition: 0.3s;
}

nav a:hover {

}

.btn {
    padding: 10px 15px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
	font-weight: bold;
}

.btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
	font-weight: bold;
}



.competitions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px;
}

.competition {
    background: white;
    margin: 15px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
    width: 300px;
    text-align: center;
    transition: 0.3s;
}

.competition:hover {
    transform: scale(1.05);
}

.competition img {
    width: 100%;
    border-radius: 10px;
}

.small-text {
    font-size: 10px;
    color: #666;
}

.countdown {
    font-size: 18px;
    font-weight: bold;
    color: #d9534f;
}

footer {
    background: #333;
    color: white;
    padding: 10px 0;
    width: 100%;
    position: relative;
}
.progress-bar {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}
.ticket-icon {
    width: 15px;
    height: 15px;
    margin: 2px;
    background-color: #ccc;
    border-radius: 3px;
    display: inline-block;
}
.ticket-icon.filled {
    background-color: #4CAF50;
}
.auth-container {
    width: 500px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}

.auth-container .form-group {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.auth-container input {
    width: 95%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.auth-container button {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.auth-container button:hover {
    background-color: #45a049;
}

.error {
    color: red;
}
.purchase-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}

.purchase-left {
    flex: 1;
}

.competition-img {
    width: 100%;
    border-radius: 10px;
}

.purchase-right {
    flex: 1;
    text-align: left;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.purchase-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

input[type="range"] {
    width: 100%;
    margin: 10px 0;
}

.buy-button {
    padding: 10px 15px;
    width: 100%;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
	text-decoration:none;
}

.buy-button:hover {
    background-color: #45a049;
	text-decoration:none;
}

.success-message {
    color: green;
    font-weight: bold;
    margin-top: 10px;
}
.hero {
    position: relative;
    width: 100%;
    height: 400px;
    background: #000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}
.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.btn-primary {
    background-color: #FFCC00;
    padding: 10px 20px;
    color: #6A2B9C;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
	font-weight: bold;
}

.rules-faq {
    margin: 20px 0;
    width: 100%;
    padding: 20px 20px;
    background: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}
.faq-item {
    margin: 10px auto;
    padding: 5px;
    max-width: 800px;
    border-bottom: 1px solid #ddd;
}
.faq-item:last-child {
    border-bottom: none;
}
.other-competitions {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: #f8f9fa;
}

.competition-list {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.competition-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 200px;
}

.competition-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}
.answer-options {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    margin-top: 5px;
    gap: 5px;
}
.answer-label {
    flex: 1;
    text-align: center;
    padding: 8px;
    background: #f4f4f4;
    border-radius: 5px;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.answer-label input {
    margin-right: 5px;
}
.dashboard-container {
    width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}

.admin-container {
            width: 420px;
            margin: 50px auto;
            padding: 20px;
            background: white;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
            border-radius: 10px;
            text-align: center;
        }
        .admin-container input,
        .admin-container textarea,
        .admin-container select {
            width: 95%;
            padding: 10px;
            margin: 10px 0;
            border: 1px solid #ddd;
            border-radius: 5px;
        }
        .admin-container button {
            width: 100%;
            padding: 10px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: 0.3s;
        }
        .admin-container button:hover {
            background-color: #45a049;
        }
        .error { color: red; }
        .img-preview { width: 150px; border-radius: 5px; margin-bottom: 10px; }
        .note { font-size: 12px; color: #555; }