/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    position: relative;
}

/* Background Image Styles */
.ai-background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    
    /* Full URL for background image */
    background-image: url('https://ebets.cc/img/background_image.jpg');
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.035;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
    background-color: rgba(51, 51, 51, 0.95); /* Darker gray background */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    height: 50px; /* Narrower header */
}

header h1 {
    margin: 0;
    color: #fff;
    display: none; /* Hide the text heading as we'll use the logo */
}

/* Logo styles */
.logo-container {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 38px; /* Slightly smaller for narrower header */
    width: auto;
    margin-right: 10px;
    filter: brightness(1.2); /* Make the logo slightly brighter against dark background */
}

/* Social icons */
.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: bold;
}

.social-link:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.25);
}

/* Icon styles */
.icon-x, .icon-discord, .icon-email {
    font-size: 14px;
    line-height: 1;
}

.icon-x {
    font-weight: bold;
}

.discord-icon {
    width: 18px;
    height: 18px;
    display: block;
}

.icon-email {
    font-size: 12px;
}

/* Header sections */
header {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr; /* Three-column layout: logo - notification/wallet - button */
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    justify-self: start;
}

.header-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.header-right {
    display: flex;
    align-items: center;
    justify-self: end; /* Push to the right side */
}

/* Wallet info in header */
.wallet-info {
    display: flex;
    align-items: center;
    font-size: 15px; /* Increased font size */
    background-color: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    color: #333; /* Dark text on light background */
    margin: 0 auto; /* Center in the middle section */
}

.wallet-address {
    margin-right: 10px;
    font-family: monospace;
    font-weight: 600;
    font-size: 15px;
}

.wallet-balance {
    font-weight: bold;
    color: #0077cc;
    font-size: 15px;
}

/* Connection status */
#connection-status {
    color: white;
    font-size: 13px;
    text-align: center;
    min-width: 150px;
    margin: 0 auto; /* Center when displayed */
    display: none; /* Hide by default to prevent empty white box */
}

/* Status banner styling integrated with header */
#status-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    max-width: 100%;
    width: fit-content;
    margin: 0 auto;
    padding: 8px 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeIn 0.3s ease;
}

/* Connection display text color update */
#connection-status, #address-display {
    color: #fff;
}

/* Button Styles */
button {
    cursor: pointer;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

#connect-button {
    background-color: #2196F3;
    white-space: nowrap;
    min-width: 140px;
    margin-left: auto; /* Push to right edge */
}

#connect-button:hover {
    background-color: #0b7dda;
}

#connect-button.connected {
    background-color: #4CAF50;
}

#connect-button.connected:hover {
    background-color: #45a049;
}

#create-trustline-button {
    background-color: #ff9800;
}

#create-trustline-button:hover {
    background-color: #e68a00;
}

/* Main Content Styles */
main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    color: #333;
}

/* Connection Status Styles */
#connection-status, #trustline-status {
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    background-color: #f8f9fa;
}

/* Dashboard Container Styles */
#main-content, #trustline-setup {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Address Display Styles */
#address-display {
    margin-right: 20px;
    font-weight: bold;
    color: #333;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    margin-top: 20px;
}

/* Disconnect Popup Styles */
#disconnect-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 300px;
    width: 100%;
    position: relative;
}

.popup-content p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

#confirm-disconnect {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-right: 10px;
    transition: background-color 0.3s;
}

#confirm-disconnect:hover {
    background-color: #d32f2f;
}

#cancel-disconnect {
    background-color: #e0e0e0;
    color: #333;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

#cancel-disconnect:hover {
    background-color: #bdbdbd;
}

/* Welcome Message Styles */
.welcome-message {
    text-align: center;
    margin: 20px auto 50px;
    max-width: 600px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.welcome-message h2 {
    margin-top: 0;
    color: #2196F3;
}

.welcome-message p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

/* Dashboard Section Styles */
.dashboard-section {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dashboard-section h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Sports Events Panel Styles - Polymarkets-inspired */
#sports-events-container {
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

.loading-sports, .error-sports, .no-events {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 15px;
    color: #555;
}

.loading-sports {
    background-color: #e8f4fd;
    color: #0077cc;
}

.error-sports {
    background-color: #fee8e7;
    color: #d32f2f;
}

.sports-category {
    margin-bottom: 30px;
}

.sports-category {
    margin-bottom: 30px;
}

.category-header {
    background-color: #2c3136;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.category-header h3 {
    margin: 0;
    font-size: 18px;
    color: #fff;
    border: none;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-header::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 20px;
    background-color: #4CAF50;
    border-radius: 4px;
    margin-right: 10px;
}

.category-events {
    background-color: #fff;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-events {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 10px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.event-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex: 0 0 300px;
    width: 300px;
    max-width: 300px;
    min-width: 300px;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.event-card.completed {
    order: 999; /* Push completed events to the end */
    background-color: #f5f5f5;
    border-color: #ddd;
}

/* Remove the automatic COMPLETED badge */

.winner-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 5;
    transition: opacity 0.3s ease;
}

/* Scrollbar styling for event cards */
.category-events::-webkit-scrollbar {
    height: 8px;
}

.category-events::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.category-events::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.category-events::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.event-time {
    color: #777;
    font-size: 13px;
    font-weight: 500;
}

.event-title {
    font-weight: bold;
    color: #333;
}

.event-bets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.bet-type {
    background-color: #f8f9fa;
    border-radius: 6px;
    overflow: hidden;
}

.bet-type-header {
    background-color: #dee2e6;
    color: #495057;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: bold;
}

.bet-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
}

.bet-options.has-draw {
    grid-template-columns: 1fr 1fr 1fr;
}

.bet-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bet-option:hover {
    border-color: #0077cc;
    background-color: #f0f7ff;
}

.bet-option.selected {
    background-color: #0077cc;
    color: white;
    border-color: #0077cc;
}

.team-name {
    font-size: 13px;
    margin-bottom: 5px;
    font-weight: 500;
    text-align: center;
}

.odds {
    font-weight: bold;
    color: #0077cc;
    font-size: 15px;
}

.bet-option.selected .odds {
    color: white;
}

.point {
    font-size: 12px;
    margin-bottom: 3px;
}

.no-bets {
    padding: 15px;
    text-align: center;
    color: #777;
    font-style: italic;
}

/* Team Logo Styles */
.event-header {
    background-color: #2c3136;
    color: white;
    padding: 10px;
    border-radius: 6px 6px 0 0;
    margin: -15px -15px 10px -15px; /* Extend to edges of card */
    position: relative;
}

.event-time {
    background-color: #fff;
    color: #333;
    font-size: 14px; /* Larger font size */
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    white-space: nowrap; /* Prevent wrapping */
}

.event-title {
    font-size: 14px;
    font-weight: bold;
    margin-top: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-teams {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 10px;
    background-color: #f0f2f5;
    border-radius: 6px;
    margin: 10px 0;
}

.team-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
}

.team-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 5px;
    border-radius: 50%;
    background-color: #fff;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 2px solid #e5e7eb;
}

.team-name {
    font-size: 12px;
    text-align: center;
    font-weight: 600;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-symbol {
    font-weight: bold;
    font-size: 14px;
    color: #777;
    background-color: #e5e7eb;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Simplified Betting UI */
.simplified-betting {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    gap: 8px;
}

.simple-bet-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 5px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    flex: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.simple-bet-option:hover {
    background-color: #f8f9fa;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.simple-bet-option.selected {
    background-color: #0077cc;
    color: white;
    border-color: #0077cc;
    transform: translateY(-2px);
}

.team-short {
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 5px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.odds-display {
    font-size: 16px;
    font-weight: bold;
    color: #0077cc;
    margin: 5px 0;
    padding: 3px 8px;
    background-color: #f0f7ff;
    border-radius: 12px;
}

.simple-bet-option.selected .odds-display {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Completed event styles */
.event-completed {
    text-align: center;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 5px;
    font-style: italic;
    color: #777;
}

.team-logo.winner::after {
    content: '🏆';
    position: absolute;
    bottom: -5px;
    right: 15px;
    font-size: 16px;
}

.bet-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    margin-top: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
    width: 100%;
    max-width: 60px;
}

.simple-bet-option.selected .bet-button {
    background-color: #2e7d32;
}

/* Welcome Popup Overlay */
#welcome-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#welcome-popup {
    background-color: white;
    width: 90%;
    max-width: 600px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: center;
}

#welcome-popup h2 {
    color: #2196F3;
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 10px;
}

#welcome-popup > p {
    font-size: 18px;
    color: #555;
    margin-bottom: 25px;
}

.welcome-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.welcome-step {
    display: flex;
    align-items: center;
    text-align: left;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #2196F3;
}

.step-number {
    font-size: 24px;
    font-weight: bold;
    color: white;
    background-color: #2196F3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h3 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 18px;
}

.step-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

#get-started-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0 auto;
    display: block;
}

#get-started-button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

.close-welcome {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-welcome:hover {
    background-color: #f3f3f3;
    color: #555;
}

/* Category Panels */
.category-panel {
    display: none;
}

.category-panel.active-panel {
    display: block;
}

/* Animation keyframes for status banners */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-10px); }
}

/* Betting Categories Grid */
.betting-categories-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.categories-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 28px;
}

.betting-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 25px;
}

.betting-category-tile {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #eaeaea;
}

.betting-category-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    background-color: #f5f7fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: 55px;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid #eaeaea;
}

.betting-category-tile h3 {
    margin: 15px 0;
    color: #222;
    font-size: 22px;
    font-weight: 700;
}

.betting-category-tile p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.category-button {
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 80%;
    max-width: 200px;
}

.category-button:hover {
    background-color: #0d8aee;
    transform: scale(1.05);
}

/* Different colors for each category */
.betting-category-tile[data-category="sports"] .category-icon {
    background-color: #e6f7ff;
    border-color: #91d5ff;
}

.betting-category-tile[data-category="politics"] .category-icon {
    background-color: #f6ffed;
    border-color: #b7eb8f;
}

.betting-category-tile[data-category="financial"] .category-icon {
    background-color: #fff7e6;
    border-color: #ffd591;
}

.betting-category-tile[data-category="casino"] .category-icon {
    background-color: #f9f0ff;
    border-color: #d3adf7;
}

.betting-category-tile[data-category="sports"] .category-button {
    background-color: #1890ff;
}

.betting-category-tile[data-category="politics"] .category-button {
    background-color: #52c41a;
}

.betting-category-tile[data-category="financial"] .category-button {
    background-color: #fa8c16;
}

.betting-category-tile[data-category="casino"] .category-button {
    background-color: #722ed1;
}

/* Casino icon */
.casino-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 24 24'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM7.5 18c-.83 0-1.5-.67-1.5-1.5S6.67 15 7.5 15s1.5.67 1.5 1.5S8.33 18 7.5 18zm0-9C6.67 9 6 8.33 6 7.5S6.67 6 7.5 6 9 6.67 9 7.5 8.33 9 7.5 9zm4.5 4.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm4.5 4.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm0-9c-.83 0-1.5-.67-1.5-1.5S15.67 6 16.5 6s1.5.67 1.5 1.5S17.33 9 16.5 9z'/%3E%3C/svg%3E");
}

/* Feature Tiles - smaller version below the categories */
.feature-tiles-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto 40px;
    padding: 0 20px;
}

.feature-tile {
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background-color: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: 40px;
    background-position: center;
    background-repeat: no-repeat;
}

.sports-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-4.5-6L12 9.5l4.5 4.5-4.5 4.5z'/%3E%3C/svg%3E");
}

.politics-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L2 6v2h20V6L12 2zm-2 9H4v10h6V11zm2 0v10h6V11h-6zm8 0v10h2V11h-2zM2 21v-2h20v2H2z'/%3E%3C/svg%3E");
}

.finance-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h18v2H3zm0 4h18v2H3zm0 4h8v10H3zm10 0h8v10h-8z'/%3E%3C/svg%3E");
}

.xrpl-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm.31-8.86c-1.77-.45-2.34-.94-2.34-1.67 0-.84.79-1.43 2.1-1.43 1.38 0 1.9.66 1.94 1.64h1.71c-.05-1.34-.87-2.57-2.49-2.97V5H10.9v1.69c-1.51.32-2.72 1.3-2.72 2.81 0 1.79 1.49 2.69 3.66 3.21 1.95.46 2.34 1.15 2.34 1.87 0 .53-.39 1.39-2.1 1.39-1.6 0-2.23-.72-2.32-1.64H8.04c.1 1.7 1.36 2.66 2.86 2.97V19h2.34v-1.67c1.52-.29 2.72-1.16 2.73-2.77-.01-2.2-1.9-2.96-3.66-3.42z'/%3E%3C/svg%3E");
}

.community-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 24 24'%3E%3Cpath d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E");
}

.rewards-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
}

.feature-tile h3 {
    margin: 12px 0;
    color: #333;
    font-size: 18px;
}

.feature-tile p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Media queries for responsive layout */
@media (max-width: 768px) {
    .betting-categories-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
    }
}

/* Footer Styles */
footer {
    background-color: rgba(51, 51, 51, 0.95);
    color: #fff;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.admin-button {
    background-color: #444;
    color: #ccc;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
}

.admin-button:hover {
    background-color: #555;
    color: #fff;
}

/* Security dropdown menu */
.security-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 10px;
}

.security-button {
    background-color: transparent;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.security-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.icon-security {
    font-size: 16px;
}

.security-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    min-width: 160px;
    background-color: #f9f9f9;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 4px;
    overflow: hidden;
}

.security-dropdown:hover .security-dropdown-content {
    display: block;
}

.security-dropdown-content button {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    background-color: transparent;
    border: none;
    width: 100%;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.security-dropdown-content button:hover {
    background-color: #f1f1f1;
}

/* Responsive adjustments for feature tiles */
@media (max-width: 992px) {
    .feature-tiles-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .feature-tiles-container {
        grid-template-columns: 1fr;
    }
}