/* Ubettor Sportsbook Rules Styles */

:root {
    --ubettor-primary: #0099FF;
    --ubettor-secondary: #8937EA;
    --ubettor-gradient: linear-gradient(45deg, #8937EA, #2E5DEB);
    --ubettor-bg-gradient: linear-gradient(90deg, rgba(27, 39, 60, 1) 0%, rgba(30, 34, 82, 1) 100%);
    --ubettor-dark: #1b273c;
    --ubettor-light: #fff;
    --ubettor-card-bg: rgba(255, 255, 255, 0.05);
    --ubettor-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: var(--ubettor-light);
    line-height: 1.6;
    background: var(--ubettor-bg-gradient);
    height: 100%;
    margin: 0;
    padding: 20px 0;
    min-height: 100vh;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--ubettor-card-bg);
    border: 1px solid var(--ubettor-border);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.header {
    color: var(--ubettor-light);
    text-align: center;
    padding: 40px 20px;
}

.logo {
    width: 320px;
    height: 75px;
    margin: 0 auto 20px;
    background: url('ubettor-logo.svg') no-repeat center center;
    background-size: contain;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--ubettor-light);
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0 auto;
    max-width: 740px;
    line-height: 1.6;
    color: var(--ubettor-light);
}

.content-section {
    padding: 30px;
    color: var(--ubettor-light);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px;
    background: #111111;
    color: var(--ubettor-light);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(137, 55, 234, 0.3);
}

.section-icon {
    width: 50px;
    height: 50px;
    margin-right: 20px;
    background: var(--ubettor-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ubettor-light);
    font-size: 24px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.section-description {
    font-size: 0.95rem;
    opacity: 0.95;
    margin: 5px 0 0 0;
}

.accordion {
    --bs-accordion-border-color: var(--ubettor-border);
}

.accordion-button {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    color: var(--ubettor-light) !important;
    font-weight: 600;
    font-size: 1.1rem;
    border: 1px solid var(--ubettor-border) !important;
    box-shadow: none !important;
    padding: 20px 25px;
}

.accordion-button:not(.collapsed) {
    background: var(--ubettor-gradient) !important;
    color: var(--ubettor-light) !important;
    box-shadow: 0 3px 10px rgba(0, 153, 255, 0.3);
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    border: none;
    color: var(--ubettor-light);
    line-height: 1.6;
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.rule-item {
    margin-bottom: 20px;
    padding: 15px;
    background: var(--ubettor-card-bg);
    border: 1px solid var(--ubettor-border);
    border-radius: 10px;
    border-left: 4px solid var(--ubettor-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.rule-number {
    background: var(--ubettor-primary);
    color: var(--ubettor-light);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 15px;
    flex-shrink: 0;
}

.rule-content {
    display: inline;
    line-height: 2em;
    color: var(--ubettor-light);
}

.highlight {
    color: #66D9FF;
    font-weight: 600;
}

.disclaimer {
    background: var(--ubettor-gradient);
    color: var(--ubettor-light);
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
    text-align: center;
    font-style: italic;
}

.example-box {
    background: var(--ubettor-card-bg);
    border: 1px solid var(--ubettor-border);
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    color: var(--ubettor-light);
}

.example-title {
    font-weight: 600;
    color: var(--ubettor-primary);
    margin-bottom: 10px;
}

.bet-type-header {
    background: var(--ubettor-primary);
    color: var(--ubettor-light);
    padding: 15px 20px;
    margin: 20px 0 15px 0;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.2rem;
}

.sub-section {
    margin-left: 20px;
    padding-left: 20px;
    border-left: 3px solid var(--ubettor-primary);
}

.list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.list-bullet {
    color: var(--ubettor-primary);
    font-weight: bold;
    margin-right: 10px;
    margin-top: 2px;
}

.footer {
    background: var(--ubettor-card-bg);
    padding: 30px;
    text-align: center;
    border-top: 2px solid;
    border-image: var(--ubettor-gradient) 1;
}

.footer p {
    color: var(--ubettor-light);
    margin-bottom: 10px;
}

.btn-phk {
    background: var(--ubettor-gradient);
    border: none;
    color: var(--ubettor-light);
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-phk:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(137, 55, 234, 0.3);
    color: var(--ubettor-light);
}

/* Additional Ubettor Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: var(--ubettor-light);
    line-height: 1.6;
    background: var(--ubettor-bg-gradient);
    height: 100%;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Links styling */
a {
    color: var(--ubettor-primary);
    text-decoration: none;
}

a:hover {
    color: #0077cc;
    text-decoration: underline;
}

/* Headings styling */
h1, h2, h3, h4, h5, h6 {
    color: var(--ubettor-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px 0;
    }
    
    .header {
        padding: 30px 15px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 20px 15px;
    }
    
    .section-header {
        padding: 15px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .accordion-button {
        font-size: 1rem;
        padding: 15px 20px;
    }
}
