/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.5rem;
    color: #2c3e50;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #3498db;
}

/* Main content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.btn-link {
    background: transparent;
    color: #3498db;
    text-decoration: underline;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Sections */
section {
    margin: 3rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    color: #2c3e50;
}

/* Casino slider */
.casino-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.casino-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.casino-card:hover {
    transform: translateY(-5px);
}

.casino-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

.casino-logo-small {
    max-width: 100px;
    height: auto;
    margin-bottom: 0.5rem;
}

.card-image,
.lottery-image,
.article-image-small {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.article-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-bottom: 2rem;
    border-radius: 5px;
}

.card-image-large,
.lottery-image-large {
    max-width: 300px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.casino-logo-large {
    max-width: 200px;
    height: auto;
}

.casino-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Grids */
.casino-grid,
.cards-grid,
.betting-grid,
.lottery-grid,
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.casino-item,
.card-item,
.betting-item,
.lottery-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.casino-item:hover,
.card-item:hover,
.betting-item:hover,
.lottery-item:hover {
    transform: translateY(-5px);
}

.casino-item h3,
.card-item h3,
.betting-item h3,
.lottery-item h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.badge {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin: 0.5rem 0;
}

.feature-badge {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
    font-size: 0.85rem;
    margin: 0.25rem 0.25rem 0.25rem 0;
}

/* Hub pages */
.hub-page {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hub-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.intro-text {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #555;
    line-height: 1.8;
}

.casino-list,
.cards-list,
.betting-list,
.lottery-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.casino-item-large,
.card-item-large,
.betting-item-large,
.lottery-item-large {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.casino-content,
.card-content,
.betting-content,
.lottery-content {
    flex: 1;
}

.casino-info h2,
.card-content h2,
.betting-info h2,
.lottery-content h2 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.casino-info h2 a,
.card-content h2 a,
.betting-info h2 a,
.lottery-content h2 a {
    color: inherit;
    text-decoration: none;
}

.casino-info h2 a:hover,
.card-content h2 a:hover,
.betting-info h2 a:hover,
.lottery-content h2 a:hover {
    color: #3498db;
}

.short-desc {
    margin: 1rem 0;
    color: #666;
}

.long-desc {
    margin: 1rem 0;
    line-height: 1.8;
}

.casino-cta,
.card-cta,
.betting-cta,
.lottery-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 200px;
}

/* Detail pages */
.detail-page {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.breadcrumbs {
    margin-bottom: 2rem;
    color: #666;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.detail-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.detail-logo {
    max-width: 200px;
    height: auto;
}

.detail-title h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.detail-features {
    margin-top: 1rem;
}

.lead {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.detail-content {
    line-height: 1.8;
    margin-bottom: 2rem;
}

.detail-content p {
    margin-bottom: 1rem;
}

.detail-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 5px;
}

.info-item {
    padding: 0.5rem 0;
}

.detail-cta {
    margin-top: 2rem;
    text-align: center;
}

/* Articles */
.article-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-card h2,
.article-card h3 {
    margin-bottom: 0.5rem;
}

.article-card a {
    color: #2c3e50;
    text-decoration: none;
}

.article-card a:hover {
    color: #3498db;
}

.perex {
    color: #666;
    margin: 0.5rem 0;
}

.article-meta {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #999;
    display: flex;
    gap: 1rem;
}

.category {
    background: #ecf0f1;
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
}

.related-articles {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.article-item {
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 5px;
}

.article-item h2,
.article-item h3 {
    margin-bottom: 0.5rem;
}

.article-item a {
    color: #2c3e50;
    text-decoration: none;
}

.article-item a:hover {
    color: #3498db;
}

.article-content {
    line-height: 1.8;
    margin: 2rem 0;
}

.article-content p {
    margin-bottom: 1rem;
}

.article-content a {
    color: #3498db;
    text-decoration: none;
}

.article-content a:hover {
    text-decoration: underline;
}

.affiliate-link {
    position: relative;
}

.affiliate-link::after {
    content: " ↗";
    font-size: 0.8em;
}

/* Footer */
.main-footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    font-size: 0.9rem;
}

.disclaimer {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #95a5a6;
}

/* Error page */
.error-page {
    text-align: center;
    padding: 4rem 0;
}

.error-page h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #e74c3c;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .casino-item-large,
    .card-item-large,
    .betting-item-large,
    .lottery-item-large {
        flex-direction: column;
    }
    
    .casino-cta,
    .card-cta,
    .betting-cta,
    .lottery-cta {
        width: 100%;
    }
    
    .detail-header {
        flex-direction: column;
    }
}

