/* JackPot Guru - SEO Optimized Stylesheet */
/* Optimized for Core Update June 2025 + Spam Update August 2025 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header and Navigation */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-links a::before {
    font-size: 0.9rem;
}

.nav-links a[href="/"]::before {
    content: "🏠";
}

.nav-links a[href="/about-us.html"]::before {
    content: "ℹ️";
}

.nav-links a[href="/privacy-policy.html"]::before {
    content: "🔒";
}

.nav-links a[href="/terms-conditions.html"]::before {
    content: "📋";
}

.nav-links a[href="/disclaimer.html"]::before {
    content: "⚠️";
}

.nav-links a[href="/support.html"]::before {
    content: "🎧";
}

.nav-links a:hover {
    color: #ffd700;
}

/* Breadcrumb Navigation */
.breadcrumb {
    background-color: #e9ecef;
    padding: 0.5rem 0;
    border-bottom: 1px solid #dee2e6;
}

.breadcrumb-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.breadcrumb-nav a {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: #495057;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    min-height: 80vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    text-align: center;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

h1::before {
    content: "🎰";
    margin-right: 0.5rem;
    font-size: 2.2rem;
}

h2 {
    font-size: 2rem;
    color: #34495e;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

h2::before {
    font-size: 1.5rem;
}

h2.about::before {
    content: "🏆";
}

h2.features::before {
    content: "⚡";
}

h2.registration::before {
    content: "📝";
}

h2.security::before {
    content: "🔒";
}

h2.faq::before {
    content: "❓";
}

h2.get-started::before {
    content: "🚀";
}

h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 1.5rem 0 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

h3::before {
    font-size: 1.2rem;
}

h3.security::before {
    content: "🛡️";
}

h3.interface::before {
    content: "📱";
}

h3.support::before {
    content: "🎧";
}

h3.account::before {
    content: "👤";
}

h3.login::before {
    content: "🔑";
}

h3.licensed::before {
    content: "📜";
}

h3.fair::before {
    content: "⚖️";
}

h3.data::before {
    content: "🔐";
}

p {
    margin-bottom: 1rem;
    text-align: justify;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

p::before {
    content: "✨";
    font-size: 0.8rem;
    opacity: 0.6;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

p:first-of-type::before {
    content: "🎯";
}

p:nth-of-type(2)::before {
    content: "💎";
}

p:nth-of-type(3)::before {
    content: "🚀";
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: bold;
    margin: 0.5rem;
}

.btn::before {
    font-size: 1.1rem;
}

.btn.login::before {
    content: "🔑";
}

.btn.register::before {
    content: "📝";
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* FAQ Section */
.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    background: #f8f9fa;
    padding: 1rem;
    font-weight: bold;
    cursor: pointer;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-question::before {
    content: "❓";
    font-size: 1.2rem;
}

.faq-answer {
    padding: 1rem;
    background: white;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.footer-links a::before {
    font-size: 0.8rem;
}

.footer-links a[href="/"]::before {
    content: "🏠";
}

.footer-links a[href="/about-us.html"]::before {
    content: "ℹ️";
}

.footer-links a[href="/privacy-policy.html"]::before {
    content: "🔒";
}

.footer-links a[href="/terms-conditions.html"]::before {
    content: "📋";
}

.footer-links a[href="/disclaimer.html"]::before {
    content: "⚠️";
}

.footer-links a[href="/support.html"]::before {
    content: "🎧";
}

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

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    main {
        padding: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
    loading: lazy;
    transition: opacity 0.3s ease;
}

/* Critical image optimization for LCP */
img[loading="eager"] {
    loading: eager;
    decoding: async;
}

/* Image loading states */
img:not(.loaded) {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* Picture element optimization */
picture {
    display: block;
    width: 100%;
}

picture img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Responsive image containers */
.image-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.image-container::before {
    content: '';
    display: block;
    padding-top: 50%; /* 2:1 aspect ratio */
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus indicators for accessibility */
a:focus,
button:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Schema.org structured data styling */
.structured-data {
    display: none;
}
