/**
 * INDBET Theme - Additional Styles
 *
 * @package INDBET
 */

/* Additional animation effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    }
}

/* Hero section enhancements */
.hero-section .btn-gold {
    animation: glow 2s ease-in-out infinite;
}

/* Card hover effects */
.game-category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, transparent 100%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.game-category-card {
    position: relative;
    overflow: hidden;
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f0f23;
}

::-webkit-scrollbar-thumb {
    background: #2a2a4a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffd700;
}

/* Selection styling */
::selection {
    background: rgba(255, 215, 0, 0.3);
    color: #ffffff;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

/* WordPress alignment classes */
.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

/* WordPress caption */
.wp-caption {
    max-width: 100%;
    margin-bottom: 20px;
}

.wp-caption-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    padding: 8px 0;
}

/* WordPress gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Archive page description */
.archive-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 10px;
    max-width: 700px;
}

/* Loading state */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    border-top-color: #ffd700;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .floating-download,
    .sidebar,
    .social-share,
    .content-cta,
    .related-posts,
    .post-navigation {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
        padding: 0;
    }

    .entry-content a {
        color: #000;
        text-decoration: underline;
    }
}
