/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4A90E2;
    --secondary-color: #2ECC71;
    --accent-color: #F39C12;
    --dark-bg: #1a1a2e;
    --card-bg: #16213e;
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #999;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #f8f9fa;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: darken(var(--primary-color), 10%);
}

/* Header */
.header {
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Mobile Menu */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #16213e 100%);
    color: white;
    padding: 4rem 0;
}

.hero-content {
    text-align: center;
}

.hero-title {
    color: white;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-text {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
}

/* Casino Cards */
.top-casinos {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.casino-grid {
    display: grid;
    gap: 2rem;
}

.casino-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
}

.casino-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.casino-card.featured {
    border: 2px solid var(--accent-color);
}

.casino-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #f8f9fa;
}

.casino-logo {
    height: 50px;
    width: auto;
}

.casino-rating {
    text-align: right;
}

.rating-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.rating-max {
    color: var(--text-light);
}

.casino-body {
    padding: 1.5rem;
}

.casino-name {
    margin-bottom: 1rem;
}

.bonus-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    text-align: center;
}

.bonus-amount {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
}

.bonus-extra {
    font-size: 0.875rem;
    opacity: 0.9;
}

.casino-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
    margin: 1rem 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.feature-icon {
    font-size: 1.25rem;
}

.casino-description {
    color: var(--text-secondary);
    margin: 1rem 0;
}

.casino-highlights h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.casino-highlights ul {
    list-style: none;
    padding-left: 0;
}

.casino-highlights li {
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.casino-highlights li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #3A7BC8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.125rem;
}

/* Content Sections */
.what-is-payper,
.how-it-works,
.pros-cons,
.casino-integration,
.deposits-withdrawals,
.transaction-details,
.rating-methodology,
.bonuses,
.game-selection,
.mobile,
.legal-safety,
.alternatives,
.conclusion,
.faq {
    padding: 3rem 0;
}

.what-is-payper {
    background: white;
}

.content-grid {
    display: grid;
    gap: 2rem;
}

.content-main {
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.feature-card .feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.step-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Pros and Cons */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
}

.pros-card,
.cons-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.pros-card h3 {
    color: var(--secondary-color);
}

.cons-card h3 {
    color: var(--accent-color);
}

.pros-card ul,
.cons-card ul {
    list-style: none;
    padding: 0;
}

.pros-card li,
.cons-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.pros-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.cons-card li:before {
    content: "×";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Integration Features */
.integration-features {
    display: grid;
    gap: 2rem;
}

.integration-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

/* Deposit/Withdrawal Steps */
.deposit-steps,
.withdrawal-steps {
    margin: 2rem 0;
}

.deposit-step,
.withdrawal-step {
    background: white;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.step-note {
    background: #f8f9fa;
    padding: 1rem;
    border-left: 4px solid var(--primary-color);
    margin-top: 1rem;
    font-size: 0.875rem;
}

.tip-box,
.important-note {
    background: #e8f4fd;
    border: 1px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

/* Transaction Details */
.details-grid {
    display: grid;
    gap: 2rem;
}

.detail-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.detail-card.full-width {
    grid-column: 1 / -1;
}

.limits-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

@media (max-width: 768px) {
    .limits-comparison {
        grid-template-columns: 1fr;
    }
}

.limit-tier {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.summary-box {
    background: #f0f8ff;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

/* Rating Criteria */
.rating-criteria {
    display: grid;
    gap: 1.5rem;
}

.criterion {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

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

.weight {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
}

/* Bonuses */
.bonus-types {
    display: grid;
    gap: 2rem;
}

.bonus-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

/* Games */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.game-category {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.game-category.special {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #f0f8ff, #e8f4fd);
}

/* Mobile Features */
.mobile-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mobile-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

/* Safety */
.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.safety-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

/* Alternatives */
.alternatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.alternative-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.pros-cons-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.pros-cons-mini h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.pros-cons-mini ul {
    list-style: none;
    padding: 0;
    font-size: 0.875rem;
}

.pros-cons-mini li {
    padding: 0.25rem 0;
}

.comparison-summary {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

/* Conclusion */
.conclusion-content {
    display: grid;
    gap: 2rem;
}

.conclusion-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.future-outlook {
    background: #f0f8ff;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.final-recommendation {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 2rem;
}

.final-recommendation h3 {
    color: white;
    margin-bottom: 1rem;
}

.final-recommendation p {
    margin-bottom: 2rem;
}

.final-recommendation .btn {
    background: white;
    color: var(--primary-color);
}

.final-recommendation .btn:hover {
    background: #f8f9fa;
}

/* FAQ */
.faq-grid {
    display: grid;
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.faq-item h4 {
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

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

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
}

.disclaimer {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Utility Classes */
.mt-5 {
    margin-top: 3rem;
}

.section-lead {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}