/**
 * Coinner Theme Stylesheet
 * 
 * Custom theme based on the Coinner logo
 */

:root {
    /* Primary colors based on the green in the logo */
    --primary-color: #20a382;      /* Bright green from logo */
    --primary-dark: #4bb84b;       /* Darker green for hover states */
    --primary-light: #7ed957;      /* Lighter green for accents */
    
    /* Secondary colors */
    --secondary-color: #000000;    /* Black from logo outline */
    --secondary-dark: #333333;     /* Dark gray */
    --secondary-light: #666666;    /* Light gray */
    
    /* Status colors */
    --success-color: #3cb043;      /* Same as primary for consistency */
    --warning-color: #ffd600;      /* Yellow */
    --danger-color: #ff1744;       /* Red */
    --info-color: #00b0ff;         /* Blue */
    
    /* Dark theme colors */
    --dark-color: #121212;         /* Near black for dark theme background */
    --dark-secondary: #1e1e1e;     /* Slightly lighter than background */
    --dark-tertiary: #2d2d2d;      /* Even lighter for cards and elements */
    
    /* Light theme colors */
    --light-color: #f5f5f5;        /* Off-white for light theme background */
    
    /* Text colors */
    --text-primary: #ffffff;       /* White text for dark backgrounds */
    --text-secondary: #b0b0b0;     /* Gray text for less emphasis */
    
    /* Other UI colors */
    --border-color: #333333;       /* Border color for elements */
    --card-bg: #1e1e1e;            /* Card background color */
}

/* Logo specific styles */
.navbar-brand {
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo {
    max-height: 70px;
}

/* Button styles to match logo */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* Card styles with logo-inspired accents */
.card {
    color: white;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.card-header {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero section with logo-inspired design */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.1;
    z-index: -1;
    animation: pulse 15s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.15;
    }
    100% {
        transform: scale(1);
        opacity: 0.1;
    }
}

.hero-title {
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Navigation styling */
.navbar-dark .navbar-nav .nav-link {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.navbar-dark .navbar-nav .nav-link:hover {
    background-color: var(--info-color);
    color: var(--light-color);
}

.bg-light-section {
    background: linear-gradient(135deg, #001a05 0%, #001602 100%) !important;    
    color: var(--text-primary);
}

/* Section titles with logo-inspired styling */
.section-title {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Game cards with logo-inspired styling */
.game-card-badge {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Coin display with logo-inspired styling */
.coin-display {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.coin-display i {
    margin-right: 0.5rem;
    color: var(--warning-color);
}

/* Footer with logo-inspired styling */
.footer {
    background-color: var(--dark-color);
    border-top: 4px solid var(--primary-color);
}

.footer h5 {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Social icons with logo-inspired styling */
.social-icon {
    background-color: var(--primary-color);
    color: white;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: transform 0.3s, background-color 0.3s;
}

.social-icon:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Friend Request Card */
.friend-requests {
    transition: all 0.3s ease;
}

.friend-requests:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

.friend-requests .badge {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Friends Page Styles */
.list-group-item {
    background-color: #2a2a2a;
    border-color: #444;
}

.list-group-item h6.text-dark {
    color: #e0e0e0 !important;
}

.list-group-item small.text-muted {
    color: #aaa !important;
} 