* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    min-height: 100vh;
    overflow-x: hidden;
    word-wrap: break-word;
}

article {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem;
}

@media (min-width: 769px) {
    article {
        padding: 1rem;
    }
}

header {
    padding: 0.75rem 0;
    margin-bottom: 1rem;
}

@media (min-width: 769px) {
    header {
        padding: 1rem 0;
        margin-bottom: 1.5rem;
    }
}

.header-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0 0.5rem;
}

@media (min-width: 769px) {
    .header-content {
        gap: 1rem;
        margin-bottom: 1rem;
        padding: 0;
    }
}

.logo-container {
    flex-shrink: 0;
}

.logo-container a {
    display: block;
    text-decoration: none;
    border: none;
}

.logo-container a:hover {
    border: none;
}

.logo-container img {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@media (min-width: 480px) {
    .logo-container img {
        max-width: 140px;
    }
}

@media (min-width: 769px) {
    .logo-container img {
        max-width: 180px;
    }
}

nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.nav-platforms-btn {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    border-radius: 5px;
    text-decoration: none;
    order: -1;
    margin-right: auto;
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (min-width: 769px) {
    .nav-platforms-btn {
        padding: 0.5rem 1rem;
        font-size: 1rem;
        order: 0;
        margin-right: 0;
    }
}

.burger-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

@media (min-width: 769px) {
    .burger-menu-toggle {
        display: none;
    }
}

.burger-menu-toggle span {
    width: 100%;
    height: 3px;
    background: #ffd700;
    border-radius: 3px;
}

.burger-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(30, 58, 138, 0.98);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 3rem 1rem 1rem;
    gap: 0;
    list-style: none;
    border-radius: 0;
    backdrop-filter: blur(20px);
    margin: 0;
    z-index: 1000;
    overflow-y: auto;
    transition: right 0.3s ease;
}

.nav-menu.mobile-menu-active {
    right: 0;
}

@media (min-width: 769px) {
    .nav-menu {
        position: relative;
        top: auto;
        right: auto;
        width: auto;
        max-width: none;
        height: auto;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 0.5rem;
        background: rgba(255, 255, 255, 0.1);
        padding: 0.5rem;
        border-radius: 10px;
        overflow-y: visible;
    }
}

.nav-menu li {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 769px) {
    .nav-menu li {
        width: auto;
        border-bottom: none;
    }
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    padding: 1rem;
    border-radius: 5px;
    border-bottom: 2px solid transparent;
    display: block;
    text-align: left;
    font-size: 1rem;
    width: 100%;
}

@media (min-width: 769px) {
    .nav-menu a {
        padding: 0.5rem 1rem;
        text-align: center;
        width: auto;
    }
}

.nav-menu a:hover {
    background: rgba(255, 215, 0, 0.2);
    border-bottom-color: #ffd700;
    color: #ffd700;
}

.nav-highlight {
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    color: #1e3a8a !important;
    font-weight: bold;
    border: 2px solid #ffd700;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.nav-highlight:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
    color: #1e3a8a !important;
    border-color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.6);
}

h1 {
    font-size: 1.25rem;
    color: #ffd700;
    margin: 0 0 1rem 0;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    padding: 0 0.5rem;
    line-height: 1.3;
}

@media (min-width: 480px) {
    h1 {
        font-size: 1.5rem;
        margin: 0 0 1.5rem 0;
        padding: 0;
    }
}

@media (min-width: 769px) {
    h1 {
        font-size: 2rem;
    }
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    margin: 0 auto;
    max-width: 600px;
}

@media (min-width: 769px) {
    .article-meta {
        gap: 1rem;
        padding: 1rem;
    }
}

.author-name {
    color: #ffd700;
    font-weight: bold;
    font-size: 0.85rem;
}

@media (min-width: 769px) {
    .author-name {
        font-size: 1rem;
    }
}

.meta-icon {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

@media (min-width: 769px) {
    .meta-icon {
        width: 20px;
        height: 20px;
    }
}

.article-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

@media (min-width: 769px) {
    .article-date {
        font-size: 0.9rem;
    }
}

.reading-time-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-reading-time {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

@media (min-width: 769px) {
    .article-reading-time {
        font-size: 0.9rem;
    }
}

h2 {
    font-size: 1.25rem;
    color: #ffd700;
    margin: 1.5rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ffd700;
    line-height: 1.3;
}

@media (min-width: 480px) {
    h2 {
        font-size: 1.4rem;
        margin: 2rem 0 1rem;
    }
}

@media (min-width: 769px) {
    h2 {
        font-size: 1.75rem;
    }
}

h3 {
    font-size: 1.2rem;
    color: #ffd700;
    margin: 1.25rem 0 0.75rem;
    line-height: 1.3;
}

@media (min-width: 480px) {
    h3 {
        font-size: 1.5rem;
        margin: 1.5rem 0 1rem;
    }
}

section {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    scroll-margin-top: 100px;
}

@media (min-width: 769px) {
    section {
        padding: 2rem;
    }
}

p {
    margin-bottom: 0.875rem;
    color: #ffffff;
    line-height: 1.6;
}

@media (min-width: 480px) {
    p {
        margin-bottom: 1rem;
    }
}

a {
    color: #ffd700;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

a:hover {
    border-bottom-color: #ffd700;
}

.table-responsive {
    overflow-x: visible;
    margin: 1rem 0;
    -webkit-overflow-scrolling: touch;
    padding: 0 0.5rem;
}

@media (min-width: 769px) {
    .table-responsive {
        margin: 1.5rem 0;
        padding: 0;
        overflow-x: auto;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.casino-table {
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid #ffd700;
    box-shadow: 0 8px 16px rgba(255, 215, 0, 0.3);
}

.casino-table,
.casino-table thead,
.casino-table tbody,
.casino-table th,
.casino-table td,
.casino-table tr {
    display: block;
}

.casino-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
}

.casino-table tr {
    border: 2px solid #ffd700;
    margin-bottom: 0.75rem;
    border-radius: 8px;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
}

@media (min-width: 480px) {
    .casino-table tr {
        margin-bottom: 1rem;
        border-radius: 10px;
        padding: 1rem;
    }
}

.casino-table td {
    border: none;
    position: relative;
    padding-left: 35%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: left;
    font-size: 0.9rem;
}

@media (min-width: 480px) {
    .casino-table td {
        padding-left: 40%;
        font-size: 1rem;
    }
}

.casino-table td:before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 30%;
    padding-right: 8px;
    white-space: nowrap;
    font-weight: bold;
    color: #ffd700;
    font-size: 0.85rem;
}

@media (min-width: 480px) {
    .casino-table td:before {
        width: 35%;
        padding-right: 10px;
        font-size: 1rem;
    }
}

.casino-table td:first-child {
    padding-left: 0;
    text-align: center;
    padding-bottom: 1rem;
}

.casino-table td:first-child:before {
    display: none;
}

.casino-table td:last-child {
    padding-left: 0;
    text-align: center;
    padding-top: 1rem;
}

.casino-table td:last-child:before {
    display: none;
}

.casino-logo {
    justify-content: center;
}

.payment-methods {
    justify-content: center;
    flex-wrap: wrap;
}

.top-card__btn.referral-btn {
    width: 100%;
    margin-top: 0;
}

@media (min-width: 769px) {
    .casino-table,
    .casino-table thead,
    .casino-table tbody,
    .casino-table th,
    .casino-table td,
    .casino-table tr {
        display: revert;
    }
    
    .casino-table thead tr {
        position: static;
    }
    
    .casino-table tr {
        border: none;
        margin-bottom: 0;
        border-radius: 0;
        padding: 0;
        background: transparent;
    }
    
    .casino-table td {
        border: revert;
        position: static;
        padding-left: revert;
        padding-top: revert;
        padding-bottom: revert;
        text-align: revert;
    }
    
    .casino-table td:before {
        display: none;
    }
    
    .casino-table td:first-child {
        padding-left: revert;
        text-align: revert;
        padding-bottom: revert;
    }
    
    .casino-table td:last-child {
        padding-left: revert;
        text-align: center;
        padding-top: revert;
    }
    
    .casino-logo {
        justify-content: flex-start;
    }
    
    .payment-methods {
        justify-content: flex-start;
    }
    
    .top-card__btn.referral-btn {
        width: auto;
        margin-top: 0;
    }
}

thead {
    background: rgba(30, 58, 138, 0.9);
}

.casino-table thead {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

th {
    padding: 1rem;
    text-align: left;
    color: #ffd700;
    font-weight: bold;
    border-bottom: 3px solid #ffd700;
}

.casino-table th {
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    vertical-align: middle;
}

.casino-table td:last-child {
    text-align: center;
}

.casino-table tbody tr:hover {
    background: rgba(255, 215, 0, 0.2);
}

.casino-table tbody tr:last-child td {
    border-bottom: none;
}

.casino-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.casino-logo img {
    max-width: 120px;
    max-height: 50px;
    object-fit: contain;
}

.casino-logo span {
    font-weight: bold;
    color: #ffd700;
    font-size: 1.1rem;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.payment-icon {
    width: 32px;
    height: 20px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px;
    border-radius: 4px;
}

@media (min-width: 480px) {
    .payment-icon {
        width: 40px;
        height: 25px;
    }
}

.top-card__btn.referral-btn {
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    color: #1e3a8a;
    border: 2px solid #ffd700;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.4);
    white-space: nowrap;
}

@media (min-width: 480px) {
    .top-card__btn.referral-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

.top-card__btn.referral-btn:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
    box-shadow: 0 6px 12px rgba(255, 215, 0, 0.6);
}

footer {
    background: rgba(30, 58, 138, 0.9);
    padding: 2rem 1rem;
    margin-top: 2rem;
    border-top: 3px solid #ffd700;
    text-align: center;
}

@media (min-width: 769px) {
    footer {
        padding: 3rem 2rem;
        margin-top: 4rem;
    }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo a {
    display: inline-block;
    text-decoration: none;
    border: none;
}

.footer-logo a:hover {
    border: none;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}

.footer-links a {
    color: #ffffff;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #ffd700;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.legal-preview {
    margin-bottom: 1rem;
}

.legal-content {
    margin-top: 1rem;
}

.toggle-btn {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffd700;
    border: 2px solid #ffd700;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 1rem;
}

.toggle-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #ffffff;
    border-color: #ffffff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

table {
    font-size: 0.9rem;
}

th, td {
    padding: 0.75rem 0.5rem;
}

@media (min-width: 769px) {
    .footer-links {
        flex-direction: row;
        gap: 2rem;
    }
    
    table {
        font-size: 1rem;
    }
    
    th, td {
        padding: 1rem;
    }
}

