/* ================================
   HEADER - Premium Glassmorphism
   ================================ */
.site-header {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
}

.logo {
    height: 44px;
    width: auto;
}

.logo img, .logo svg {
    height: 100%;
    width: auto;
}

.main-nav {
    display: flex;
    gap: var(--spacing-xs);
}

.nav-link {
    padding: var(--spacing-sm) var(--spacing-md);
    min-height: var(--touch-target);
    display: flex;
    align-items: center;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text-primary);
}

.nav-link.active {
    background: rgba(152, 37, 152, 0.2);
    color: #E491C9;
}

.mobile-menu-btn {
    display: none;
    width: var(--touch-target);
    height: var(--touch-target);
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
}

/* ================================
   FOOTER - Premium Dark
   ================================ */
.site-footer {
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 15, 0.5) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: var(--spacing-2xl) 0;
    margin-top: var(--spacing-3xl);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.footer-links {
    display: flex;
    gap: var(--spacing-xl);
}

.footer-link {
    color: var(--color-text-muted);
    transition: color var(--transition);
    min-height: var(--touch-target);
    display: flex;
    align-items: center;
    font-size: var(--font-size-sm);
}

.footer-link:hover {
    color: #E491C9;
}

.copyright {
    color: var(--color-text-muted);
    font-size: var(--font-size-xs);
}

/* ================================
   CARDS - Premium 3D Depth
   ================================ */
.card {
    background: linear-gradient(145deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-card);
}

/* Inner glow effect */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(228, 145, 201, 0.3);
}

.card-title {
    font-size: var(--font-size-lg);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    line-height: 1.3;
}

.card-meta {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

/* ================================
   CATEGORY CARDS - Premium Elevated
   ================================ */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(152, 37, 152, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-card);
    min-height: 180px;
}

/* Subtle top highlight */
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(228, 145, 201, 0.3) 50%,
        transparent 100%);
}

/* Ambient glow */
.category-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center,
        rgba(152, 37, 152, 0.1) 0%,
        transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.category-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(228, 145, 201, 0.4);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(152, 37, 152, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.category-card:hover::after {
    opacity: 1;
}

.category-icon {
    font-size: 40px;
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.category-name {
    font-size: var(--font-size-lg);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.category-count {
    font-size: var(--font-size-sm);
    color: #E491C9;
    font-weight: 500;
}

/* ================================
   ARTICLE CARDS
   ================================ */
.article-card {
    display: block;
}

.article-card .card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ================================
   CASINO CARDS - Premium Product Cards
   ================================ */
.casino-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.casino-card {
    background: linear-gradient(165deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(152, 37, 152, 0.12) 50%,
        rgba(228, 145, 201, 0.06) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Premium top edge glow */
.casino-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        #E491C9 20%,
        #982598 50%,
        #E491C9 80%,
        transparent 100%);
    opacity: 0.6;
}

/* Depth shadow layer */
.casino-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 10%;
    right: 10%;
    height: 20px;
    background: radial-gradient(ellipse at center,
        rgba(152, 37, 152, 0.3) 0%,
        transparent 70%);
    filter: blur(10px);
    opacity: 0;
    transition: opacity var(--transition);
}

.casino-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(228, 145, 201, 0.5);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(152, 37, 152, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.casino-card:hover::after {
    opacity: 1;
}

.casino-name {
    font-size: var(--font-size-lg);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.casino-rating {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
}

.casino-rating .star {
    color: #fbbf24;
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.5));
}

.casino-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* ================================
   BUTTONS - Premium Gradient
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--touch-target);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--font-size-sm);
    letter-spacing: 0.02em;
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #982598 0%, #c026d3 50%, #E491C9 100%);
    color: white;
    border: none;
    box-shadow:
        0 4px 16px rgba(152, 37, 152, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 24px rgba(152, 37, 152, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(228, 145, 201, 0.4);
    color: #E491C9;
}

.btn-secondary:hover {
    background: rgba(228, 145, 201, 0.1);
    border-color: #E491C9;
    color: white;
}

/* ================================
   TAGS - Subtle Pills
   ================================ */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(152, 37, 152, 0.15);
    border: 1px solid rgba(152, 37, 152, 0.3);
    border-radius: 100px;
    font-size: var(--font-size-sm);
    color: #E491C9;
    transition: all var(--transition);
    min-height: 36px;
}

.tag:hover {
    background: rgba(152, 37, 152, 0.25);
    border-color: #E491C9;
    transform: translateY(-1px);
}

/* ================================
   PAGINATION - Clean Minimal
   ================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-2xl);
}

.pagination a, .pagination span {
    min-width: var(--touch-target);
    min-height: var(--touch-target);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    transition: all var(--transition);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.pagination a:hover {
    background: rgba(152, 37, 152, 0.2);
    border-color: rgba(228, 145, 201, 0.4);
    color: white;
}

.pagination .current {
    background: linear-gradient(135deg, #982598 0%, #c026d3 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 16px rgba(152, 37, 152, 0.4);
}

.pagination .dots {
    border: none;
    background: none;
    color: var(--color-text-muted);
}

/* ================================
   BREADCRUMBS - Subtle Path
   ================================ */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.breadcrumbs a {
    color: var(--color-text-secondary);
    transition: color var(--transition);
}

.breadcrumbs a:hover {
    color: #E491C9;
}

.breadcrumbs .separator {
    color: rgba(228, 145, 201, 0.5);
    font-size: 10px;
}

/* ================================
   ARTICLE CONTENT - Separate Cards Per Paragraph
   ================================ */
.article-content {
    line-height: 1.8;
    color: var(--color-text-secondary);
}

/* Cards Container */
.cards-container {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* ===== BASE CARD STYLE ===== */
.card {
    background: rgba(20, 15, 30, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(228, 145, 201, 0.15);
    border-radius: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(228, 145, 201, 0.6) 50%,
        transparent 100%);
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(228, 145, 201, 0.35);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(152, 37, 152, 0.2);
}

/* Card Header */
.card-header {
    padding: 28px 36px 20px;
    border-bottom: 1px solid rgba(228, 145, 201, 0.15);
}

.card-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #E491C9;
    line-height: 1.3;
}

/* Card Content */
.card-content {
    padding: 24px 36px 32px;
    line-height: 1.8;
}

.card-content p {
    margin: 0 0 16px 0;
    color: rgba(255, 255, 255, 0.85);
}

.card-content p:last-child {
    margin-bottom: 0;
}

.card-content ul,
.card-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.card-content li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.85);
}

.card-content li::marker {
    color: #E491C9;
}

.card-content figure {
    margin: 20px 0;
    text-align: center;
}

.card-content figcaption {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* ===== LINKS ===== */
.card a,
.card-content a {
    color: #E491C9;
    text-decoration: none;
    border-bottom: 1px solid rgba(228, 145, 201, 0.3);
    transition: all 0.2s ease;
}

.card a:hover,
.card-content a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* ===== BOLD TEXT ===== */
.card strong,
.card b,
.card-content strong,
.card-content b {
    color: #E491C9;
    font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .cards-container {
        gap: 20px;
    }

    .card-header {
        padding: 20px 24px 16px;
    }

    .card-header h3 {
        font-size: 18px;
    }

    .card-content {
        padding: 20px 24px 24px;
    }
}

.article-content strong,
.article-content b {
    color: #E491C9;
    font-weight: 600;
}

.article-content em,
.article-content i {
    color: var(--color-text-primary);
    font-style: italic;
}

.content-card ul,
.content-card ol {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-lg);
}

.content-card ul {
    list-style: none;
}

.content-card ul li {
    position: relative;
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

.content-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #982598, #E491C9);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(228, 145, 201, 0.5);
}

.content-card ol {
    list-style: decimal;
}

.content-card ol li::marker {
    color: #E491C9;
    font-weight: 600;
}

.content-card li {
    margin-bottom: var(--spacing-xs);
}

.article-content a {
    color: #E491C9;
    text-decoration: none;
    border-bottom: 1px solid rgba(228, 145, 201, 0.3);
    transition: all var(--transition);
}

.article-content a:hover {
    color: white;
    border-bottom-color: white;
}

.article-content img {
    border-radius: var(--radius-lg);
    margin: var(--spacing-md) 0;
    box-shadow: var(--shadow-lg);
    max-width: 100%;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-xl) 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.article-content th,
.article-content td {
    padding: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.article-content th {
    background: rgba(152, 37, 152, 0.2);
    color: var(--color-text-primary);
    font-weight: 600;
}

.article-content td {
    background: rgba(255, 255, 255, 0.02);
}

/* ================================
   FORMS - Premium Inputs
   ================================ */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    min-height: var(--touch-target);
    color: var(--color-text-primary);
    transition: all var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: rgba(228, 145, 201, 0.5);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(152, 37, 152, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-text-muted);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.form-message {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.form-message.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* ================================
   ERROR PAGE - Statement
   ================================ */
.error-page {
    text-align: center;
    padding: var(--spacing-4xl) 0;
}

.error-code {
    font-size: 160px;
    font-weight: 800;
    background: linear-gradient(135deg, #982598 0%, #E491C9 50%, #c026d3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.05em;
}

.error-title {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
}

.error-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
    font-size: var(--font-size-lg);
}
