/*
Theme Name: Tipsterify
Description: A professional betting tips and tipster platform theme inspired by blogabet.com. Features custom post types for tipsters and betting tips, user subscription system, and comprehensive statistics tracking.
Version: 1.0
Author: Tipsterify Team
Text Domain: tipsterify
*/

/* Import blogabet.com inspired styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables for consistent theming */
:root {
    --primary-color: #1a73e8;
    --secondary-color: #34a853;
    --accent-color: #ea4335;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --background-primary: #ffffff;
    --background-secondary: #f8f9fa;
    --border-color: #dadce0;
    --success-color: #34a853;
    --warning-color: #fbbc04;
    --error-color: #ea4335;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-primary);
    margin: 0;
    padding: 0;
}

/* Header Styles */
.site-header {
    background: var(--background-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

/* Navigation Styles */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

/* Content Area */
.site-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

/* Tipster Card Styles */
.tipster-card {
    background: var(--background-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.tipster-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tipster-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.tipster-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--background-secondary);
    margin-right: 1rem;
}

.tipster-info h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.tipster-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Betting Tip Styles */
.betting-tip {
    background: var(--background-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.tip-match {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.tip-odds {
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Sidebar Styles */
.sidebar {
    background: var(--background-secondary);
    border-radius: 8px;
    padding: 1.5rem;
    height: fit-content;
}

.widget {
    margin-bottom: 2rem;
}

.widget h3 {
    margin-top: 0;
    color: var(--text-primary);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: #1557b0;
}

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

.btn-secondary:hover {
    background: #2d8f47;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .tipster-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Footer Styles */
.site-footer {
    background: var(--background-secondary);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
    color: var(--text-secondary);
}

