/*
Theme Name: FairPlayID
Theme URI: https://fairplayid.com
Author: Your Name
Author URI: https://fairplayid.com
Description: A custom WordPress theme for FairPlayID website. Built with Tailwind CSS, featuring dark theme with orange and green accents.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fairplayid
Tags: responsive, custom, modern, clean, dark, gaming

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* Minimal custom styles - Most styling is done via Tailwind CSS */
.container {
    max-width: 1280px;
}

/* Ensure WordPress admin bar doesn't break layout */
body.admin-bar header.sticky {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar header.sticky {
        top: 46px;
    }
}

/* Smooth transitions for cards */
.bg-green-600,
.bg-gray-800 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Scroll animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Casino Review Section - Proper layout and styling */
.casino-review-content {
    line-height: 1.7;
}

/* Intro block */
.casino-review-intro {
    padding: 1.5rem 0;
    margin-bottom: 0.5rem;
}

.casino-review-intro p {
    margin-bottom: 0.75rem;
}

/* Main title */
.casino-review-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(249, 115, 22, 0.5);
}

/* Section headings - card style with scroll offset for anchor links */
.casino-review-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin: 2rem 0 1rem 0;
    padding: 1rem 1.25rem;
    background: rgba(31, 41, 55, 0.8);
    border-left: 4px solid #f97316;
    border-radius: 0.5rem;
    scroll-margin-top: 6rem;
}

.casino-review-content h3:first-of-type {
    margin-top: 0;
}

/* Quick Jump - styled as navigation grid */
.casino-review-quick-jump-links {
    margin: 1.5rem 0 2rem 0;
}

.casino-review-quick-jump-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.casino-review-quick-jump-links li {
    margin: 0;
}

.casino-review-quick-jump-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(145deg, rgba(55, 65, 81, 0.8), rgba(31, 41, 55, 0.6));
    color: #f97316;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    border: 1px solid rgba(249, 115, 22, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
}

.casino-review-quick-jump-links a:hover {
    background: linear-gradient(145deg, rgba(249, 115, 22, 0.25), rgba(234, 88, 12, 0.15));
    color: #fdba74;
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
    transform: translateY(-2px);
}

.casino-review-quick-jump-links a:active {
    transform: translateY(0);
}

.casino-review-quick-jump-links a:focus-visible {
    outline: 2px solid #f97316;
    outline-offset: 2px;
}

/* Quick Jump section title - enhanced */
.casino-review-content h3 + .casino-review-quick-jump-links {
    margin-top: 1.5rem;
}

/* Subheadings */
.casino-review-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e5e7eb;
    margin: 1.25rem 0 0.5rem 0;
}

/* Paragraphs */
.casino-review-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Lists */
.casino-review-content ul {
    margin: 0.5rem 0 1rem 1.5rem;
}

.casino-review-content ul li {
    margin-bottom: 0.5rem;
}

/* Links */
.casino-review-content a {
    color: #f97316;
    text-decoration: none;
    transition: color 0.2s;
}

.casino-review-content a:hover {
    color: #fb923c;
    text-decoration: underline;
}

/* Pros/Cons - visual distinction when using h4 Pros and h4 Cons */
.casino-review-content h4 + ul {
    padding-left: 1rem;
}

/* Numbered steps (How to Play) */
.casino-review-steps {
    list-style: decimal;
    margin: 1rem 0 1rem 1.5rem;
    padding-left: 1rem;
}

.casino-review-steps li {
    margin-bottom: 0.75rem;
}

/* Checkmark list (Smooth App features) */
.casino-review-checkmark-list {
    list-style: none;
    margin: 1rem 0;
    padding-left: 0;
}

.casino-review-checkmark-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Tagline / subtitle */
.casino-review-tagline {
    font-style: italic;
    color: #e5e7eb;
}

/* Section dividers - thin grey horizontal lines */
.casino-review-divider {
    border: none;
    border-top: 1px solid rgba(75, 85, 99, 0.8);
    margin: 2rem 0;
}

/* Bold text emphasis */
.casino-review-content strong {
    font-weight: 600;
    color: #fff;
}

/* FAQ - Q&A styling */
.casino-review-content h3#faq ~ p {
    padding: 0.75rem 1rem;
    background: rgba(55, 65, 81, 0.4);
    border-radius: 0.375rem;
    margin-bottom: 0.75rem;
}

.casino-review-content h3#faq ~ p strong {
    color: #fff;
    display: block;
    margin-bottom: 0.25rem;
}

/* Responsive */
@media (max-width: 640px) {
    .casino-review-quick-jump-links ul {
        grid-template-columns: 1fr;
    }
}

/* Post/Page Content - WordPress Editor Output (excludes shortcode output) */
.post-content {
    line-height: 1.8;
    color: #d1d5db;
}

.post-content > h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 2rem 0 1rem 0;
}

.post-content > h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f97316;
    margin: 2rem 0 0.75rem 0;
    font-style: italic;
}

.post-content > h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f97316;
    margin: 1.75rem 0 0.5rem 0;
    font-style: italic;
}

.post-content > h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e5e7eb;
    margin: 1.5rem 0 0.5rem 0;
}

.post-content > h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #e5e7eb;
    margin: 1.25rem 0 0.5rem 0;
}

.post-content > p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.post-content > ul {
    list-style: disc;
    margin: 0.75rem 0 1.25rem 1.5rem;
    padding-left: 0.5rem;
}

.post-content > ol {
    list-style: decimal;
    margin: 0.75rem 0 1.25rem 1.5rem;
    padding-left: 0.5rem;
}

.post-content > ul li,
.post-content > ol li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    padding-left: 0.25rem;
}

.post-content > ul ul,
.post-content > ol ul {
    list-style: circle;
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
    padding-left: 1rem;
}

.post-content > ol ol,
.post-content > ul ol {
    list-style: lower-alpha;
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
    padding-left: 1rem;
}

.post-content > a,
.post-content > p a,
.post-content > ul a,
.post-content > ol a {
    color: #f97316;
    text-decoration: none;
    transition: color 0.2s;
}

.post-content > a:hover,
.post-content > p a:hover,
.post-content > ul a:hover,
.post-content > ol a:hover {
    color: #fb923c;
    text-decoration: underline;
}

.post-content > p strong,
.post-content > ul strong,
.post-content > ol strong {
    font-weight: 600;
    color: #fff;
}

.post-content > p em,
.post-content > ul em,
.post-content > ol em {
    font-style: italic;
}

.post-content > blockquote {
    border-left: 4px solid #f97316;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    background: rgba(31, 41, 55, 0.6);
    border-radius: 0 0.5rem 0.5rem 0;
    color: #e5e7eb;
    font-style: italic;
}

.post-content > blockquote p:last-child {
    margin-bottom: 0;
}

.post-content > img,
.post-content > figure img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.post-content > hr {
    border: none;
    border-top: 1px solid rgba(75, 85, 99, 0.6);
    margin: 2rem 0;
}

.post-content > table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.post-content > table th,
.post-content > table td {
    border: 1px solid rgba(75, 85, 99, 0.6);
    padding: 0.625rem 0.875rem;
    text-align: left;
}

.post-content > table th {
    background: rgba(31, 41, 55, 0.8);
    color: #fff;
    font-weight: 600;
}

.post-content > pre {
    background: rgba(17, 24, 39, 0.8);
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1rem 0;
    font-size: 0.875rem;
    border: 1px solid rgba(75, 85, 99, 0.4);
}

.post-content > code,
.post-content > p code {
    background: rgba(31, 41, 55, 0.6);
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    color: #fb923c;
}

.post-content > pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Shortcode output wrapper */
.post-content > .shortcode-output {
    margin: 2rem 0;
}

/* Sports - How to Start Betting Section */
.sports-start-betting-section {
    position: relative;
    overflow: hidden;
}

.sports-start-betting-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgb(249 115 22 / 0.6), transparent);
    border-radius: 2px;
}

.sports-start-betting-title {
    line-height: 1.3;
}

.sports-start-betting-steps {
    counter-reset: step-counter;
}

.sports-start-betting-steps {
    list-style: none;
    padding-left: 0;
}

.sports-start-betting-steps .sports-start-betting-step {
    position: relative;
    padding-left: 2.5rem;
    counter-increment: step-counter;
}

.sports-start-betting-steps .sports-start-betting-step::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 1.75rem;
    height: 1.75rem;
    background: linear-gradient(135deg, rgb(249 115 22), rgb(234 88 12));
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50%;
    line-height: 1.75rem;
    text-align: center;
    box-shadow: 0 2px 8px rgb(249 115 22 / 0.4);
}

.sports-start-betting-step p {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.sports-start-betting-step strong {
    color: rgb(253 186 116);
}

.sports-start-betting-pro-tip {
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.sports-start-betting-pro-tip:hover {
    background-color: rgb(249 115 22 / 0.15);
}

.sports-start-betting-note {
    transition: background-color 0.2s ease;
}

/* Sports - Favourite Sports Section */
.sports-favourite-section p strong {
    color: rgb(253 186 116);
}

.sports-favourite-card:hover {
    box-shadow: 0 4px 20px rgb(0 0 0 / 0.2);
}

.sports-favourite-features {
    border-left: 2px solid rgb(34 197 94);
    padding-left: 0.75rem;
    font-style: italic;
}

/* Sports - Advantages Section */
.sports-advantages-card:hover {
    box-shadow: 0 4px 20px rgb(249 115 22 / 0.1);
}

.sports-advantages-icon {
    border: 1px solid rgb(249 115 22 / 0.3);
}

/* Sports - Support & Security Section */
.sports-support-list li {
    padding-left: 0.25rem;
}

.sports-support-section hr {
    opacity: 0.6;
}

/* Download App - Extra Sections (Cards) */
.download-app-card {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.download-app-card:hover {
    box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.15), 0 4px 10px -5px rgba(0, 0, 0, 0.2);
}
.download-app-section-content {
    line-height: 1.75;
}
.download-app-section-content ol,
.download-app-section-content ul {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}
.download-app-section-content li {
    margin-bottom: 0.5rem;
}
.download-app-section-content ul ul,
.download-app-section-content ol ul {
    margin-top: 0.4rem;
    padding-left: 1.25rem;
}
.download-app-section-content strong {
    color: #fff;
}
.download-app-section-content h4 {
    color: #e5e7eb;
    font-size: 1.05rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
.download-app-card h2 {
    font-size: 1.25rem;
}
@media (min-width: 768px) {
    .download-app-card h2 {
        font-size: 1.5rem;
    }
}
