/* ========================================
   GAME VIEW - PUBLIC LANDING PAGE STYLES
   ======================================== */

/* Fix for Hostco sticky header overlap */
#content {
    padding-top: 0 !important;
}

/* Ensure hero section starts below header */
.game-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 10px; /* Default header height */
}

/* Adjust for smaller header */
header.smaller ~ #content .game-hero {
    margin-top: 60px;
}

/* Adjust for header with topbar */
header.has-topbar ~ #content .game-hero {
    margin-top: 0px;
}

header.has-topbar.smaller ~ #content .game-hero {
    margin-top: 40px;
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .game-hero {
        margin-top: 10px;
    }
    
    header.has-topbar ~ #content .game-hero {
        margin-top: 10px;
    }
}

.game-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.game-hero .container {
    position: relative;
    z-index: 2;
}

.game-sport-badge .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.badge-outline {
    background: transparent !important;
    border: 2px solid rgba(255,255,255,0.5);
    color: white !important;
}

.text-shadow {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.text-white-75 {
    color: rgba(255,255,255,0.75);
}

/* Pulse Animation for CTA */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(var(--bs-primary-rgb), 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 10px rgba(var(--bs-primary-rgb), 0);
    }
}

.pulse-button {
    animation: pulse 2s infinite;
}

/* Game Logo */
.game-logo-hero {
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating-animation {
    animation: floating 3s ease-in-out infinite;
}

.game-logo-placeholder {
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin: 0 auto;
}

/* Social Share Buttons */
.btn-social {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 5px;
    transition: transform 0.2s;
}

.btn-social:hover {
    transform: translateY(-3px);
}

.btn-twitter {
    background: #1DA1F2;
    color: white;
    border: none;
}

.btn-facebook {
    background: #4267B2;
    color: white;
    border: none;
}

.btn-link {
    background: #6c757d;
    color: white;
    border: none;
}

/* Quick Stats Bar */
.game-stats-bar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.stat-item {
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon i {
    font-size: 2rem;
}

.stat-value {
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Card Enhancements */
.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-header {
    border-bottom: 3px solid rgba(0,0,0,0.1);
}

/* Feature List */
.feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    margin-right: 10px;
    color: var(--bs-success);
    font-size: 1.2rem;
}

/* Resource Items */
.resource-item {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.resource-item:hover {
    background: var(--bs-primary) !important;
    color: white;
    transform: translateX(10px);
}

.resource-item:hover i {
    color: white !important;
}

/* CTA Card */
.cta-card {
    border-width: 3px;
}

.cta-card .display-1 {
    animation: pulse 2s infinite;
}

/* Owner Avatar */
.owner-avatar-placeholder {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Share Card Buttons */
.share-card .btn {
    text-align: left;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .game-hero {
        min-height: auto;
        padding: 3rem 0;
        margin-top: 60px;
    }
    
    .game-hero h1 {
        font-size: 2rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
    }
    
    .hero-cta-group .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .stat-item {
        margin-bottom: 1.5rem;
    }
    
    .game-logo-hero {
        max-width: 200px !important;
    }
}

/* Background Gradients */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0056b3 100%);
}

/* Status Item */
.status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status-label {
    font-weight: 600;
}

/* Prevent content from hiding under sticky header */
.game-content-section {
    position: relative;
    z-index: 1;
}