/* Custom styles for PlayPoint Web */

:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4895ef;
    --success-color: #4cc9f0;
    --warning-color: #f72585;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --border-radius: 12px;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition-speed: 0.3s;
    
    /* New earning app colors */
    --earn-color-1: #FF6B6B;
    --earn-color-2: #4ECDC4;
    --earn-color-3: #FFD166;
    --earn-color-4: #06D6A0;
    --earn-color-5: #118AB2;
    --earn-color-6: #073B4C;
    --earn-gradient-1: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    --earn-gradient-2: linear-gradient(135deg, #4ECDC4, #45B7AF);
    --earn-gradient-3: linear-gradient(135deg, #FFD166, #FFC43D);
    --earn-gradient-4: linear-gradient(135deg, #06D6A0, #05BF8E);
    --earn-gradient-5: linear-gradient(135deg, #118AB2, #0F7A9D);
    --earn-gradient-6: linear-gradient(135deg, #073B4C, #0A4D68);
}

/* General styles */
body {
    background-color: #f5f7fa;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #333;
    padding-bottom: 70px; /* Space for bottom nav on mobile */
    overflow-x: hidden;
    width: 100%;
}

/* Card styles */
.card {
    box-shadow: var(--card-shadow);
    border: none;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    overflow: hidden;
    width: 100%;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--earn-gradient-1);
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.card:hover::before {
    opacity: 1;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 20px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.card-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: var(--earn-gradient-1);
    opacity: 0.1;
    border-radius: 0 0 0 30px;
}

.card-body {
    padding: 20px;
}

.card-img-top {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Colorful card variants */
.card-earn-1 {
    border-top: 4px solid var(--earn-color-1);
}

.card-earn-2 {
    border-top: 4px solid var(--earn-color-2);
}

.card-earn-3 {
    border-top: 4px solid var(--earn-color-3);
}

.card-earn-4 {
    border-top: 4px solid var(--earn-color-4);
}

.card-earn-5 {
    border-top: 4px solid var(--earn-color-5);
}

.card-earn-6 {
    border-top: 4px solid var(--earn-color-6);
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #6878e1, #3f247f);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.nav-link:hover, .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile bottom navigation */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 10px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--gray-color);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
    flex: 1;
    text-align: center;
}

.bottom-nav-item.active {
    color: var(--earn-color-5);
}

.bottom-nav-icon {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

/* Points badge */
.badge {
    padding: 0.5em 1em;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.badge-primary {
    background-color: var(--earn-color-5);
}

.badge-earn-1 {
    background-color: var(--earn-color-1);
}

.badge-earn-2 {
    background-color: var(--earn-color-2);
}

.badge-earn-3 {
    background-color: var(--earn-color-3);
}

.badge-earn-4 {
    background-color: var(--earn-color-4);
}

.badge-earn-5 {
    background-color: var(--earn-color-5);
}

.badge-earn-6 {
    background-color: var(--earn-color-6);
}

/* List group items */
.list-group-item {
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 8px;
    border-radius: var(--border-radius) !important;
    transition: transform 0.2s, box-shadow 0.2s;
}

.list-group-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
}

/* Buttons */
.btn {
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
    white-space: normal;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(50px, 50px);
    transition: all 0.5s ease-out;
}

.btn:active::after {
    transform: scale(0, 0);
    opacity: 0.3;
    transition: 0s;
}

.btn-primary {
    background: var(--earn-gradient-5);
    border: none;
}

.btn-primary:hover {
    background: var(--earn-gradient-6);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--earn-gradient-4);
    border: none;
}

.btn-warning {
    background: var(--earn-gradient-3);
    border: none;
}

.btn-earn-1 {
    background: var(--earn-gradient-1);
    border: none;
    color: white;
}

.btn-earn-2 {
    background: var(--earn-gradient-2);
    border: none;
    color: white;
}

.btn-earn-3 {
    background: var(--earn-gradient-3);
    border: none;
    color: white;
}

.btn-earn-4 {
    background: var(--earn-gradient-4);
    border: none;
    color: white;
}

.btn-earn-5 {
    background: var(--earn-gradient-5);
    border: none;
    color: white;
}

.btn-earn-6 {
    background: var(--earn-gradient-6);
    border: none;
    color: white;
}

/* Footer */
footer {
    margin-top: 1rem;
    padding: 1rem 0;
    background-color: white;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Task and reward items */
.task-item, .reward-item {
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: var(--border-radius);
    overflow: hidden;
    width: 100%;
    position: relative;
}

.task-item:hover, .reward-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.task-item::before, .reward-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--earn-gradient-1);
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.task-item:hover::before, .reward-item:hover::before {
    opacity: 1;
}

/* Profile section */
.profile-stats {
    background: #fff;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.profile-stats::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--earn-gradient-5);
    opacity: 0.1;
    border-radius: 0 0 0 100px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--earn-color-5);
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Leaderboard */
.leaderboard-item {
    padding: 15px;
    margin-bottom: 10px;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    width: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.leaderboard-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.leaderboard-rank {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--earn-gradient-5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Forms */
.form-control {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid rgba(0,0,0,0.1);
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(17, 138, 178, 0.25);
    border-color: var(--earn-color-5);
}

/* Stats cards */
.stats-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stats-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: var(--earn-gradient-5);
    opacity: 0.1;
    border-radius: 0 0 0 80px;
}

.stats-card-earn-1 {
    border-top: 4px solid var(--earn-color-1);
}

.stats-card-earn-2 {
    border-top: 4px solid var(--earn-color-2);
}

.stats-card-earn-3 {
    border-top: 4px solid var(--earn-color-3);
}

.stats-card-earn-4 {
    border-top: 4px solid var(--earn-color-4);
}

.stats-card-earn-5 {
    border-top: 4px solid var(--earn-color-5);
}

.stats-card-earn-6 {
    border-top: 4px solid var(--earn-color-6);
}

.stats-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--earn-color-5);
}

.stats-label {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 0;
}

/* Referral section */
.referral-section {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.referral-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--earn-gradient-3);
}

.referral-code {
    background: rgba(255, 209, 102, 0.1);
    border: 1px dashed var(--earn-color-3);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--earn-color-6);
}

/* Animation for earning points */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.earn-animation {
    animation: pulse 0.5s ease-in-out;
}

/* Progress bars */
.progress {
    height: 10px;
    border-radius: 5px;
    background-color: rgba(0,0,0,0.05);
    margin-bottom: 15px;
    overflow: hidden;
}

.progress-bar {
    background: var(--earn-gradient-5);
    border-radius: 5px;
}

.progress-bar-earn-1 {
    background: var(--earn-gradient-1);
}

.progress-bar-earn-2 {
    background: var(--earn-gradient-2);
}

.progress-bar-earn-3 {
    background: var(--earn-gradient-3);
}

.progress-bar-earn-4 {
    background: var(--earn-gradient-4);
}

.progress-bar-earn-5 {
    background: var(--earn-gradient-5);
}

.progress-bar-earn-6 {
    background: var(--earn-gradient-6);
}

/* Alert styles */
.alert {
    border-radius: var(--border-radius);
    padding: 15px 20px;
    margin-bottom: 20px;
    border: none;
    position: relative;
    overflow: hidden;
}

.alert::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0 0 0 50px;
}

.alert-success {
    background: var(--earn-gradient-4);
    color: white;
}

.alert-warning {
    background: var(--earn-gradient-3);
    color: white;
}

.alert-info {
    background: var(--earn-gradient-5);
    color: white;
}

.alert-danger {
    background: var(--earn-gradient-1);
    color: white;
}

/* Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(17, 138, 178, 0.1);
    border-radius: 50%;
    border-top-color: var(--earn-color-5);
    animation: spin 1s ease-in-out infinite;
    margin: 20px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* App container */
.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .card {
        margin-bottom: 15px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .card-header {
        padding: 12px 15px;
    }
    
    .btn {
        padding: 0.5rem 1.2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 0;
    }
    
    .bottom-nav {
        display: flex;
    }
    
    .card {
        margin-bottom: 15px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    body {
        padding-bottom: 70px;
    }
    
    .app-container {
        padding: 5px 3px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .card-header {
        padding: 12px 15px;
    }
    
    .btn {
        padding: 0.5rem 1rem;
    }
    
    .profile-avatar {
        width: 80px;
        height: 80px;
    }
    
    .leaderboard-item {
        padding: 12px;
    }
    
    .leaderboard-rank {
        width: 35px;
        height: 35px;
        margin-right: 10px;
    }
    
    footer {
        margin-top: 1rem;
        padding: 1rem 0;
    }
}

@media (max-width: 576px) {
    .card {
        margin-bottom: 12px;
    }
    
    .card-body {
        padding: 12px;
    }
    
    .card-header {
        padding: 10px 12px;
    }
    
    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .profile-avatar {
        width: 70px;
        height: 70px;
    }
    
    .leaderboard-item {
        padding: 10px;
    }
    
    .leaderboard-rank {
        width: 30px;
        height: 30px;
        margin-right: 8px;
        font-size: 0.8rem;
    }
    
    .form-control {
        padding: 10px 12px;
    }
    
    .alert {
        padding: 12px 15px;
    }
    
    .badge {
        padding: 0.4em 0.8em;
        font-size: 1rem;
    }
}

/* App header */
.app-header {
      color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 5px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.app-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 0 0 150px;
}

.app-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.app-content {
    padding: 20px 0;
}

/* Pull to refresh */
.pull-to-refresh {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--earn-color-5);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

/* Bottom sheet */
.bottom-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    transition: bottom 0.3s ease-out;
    z-index: 1000;
    padding: 20px;
    max-height: 80vh;
    overflow-y: auto;
}

.bottom-sheet.active {
    bottom: 0;
}

.bottom-sheet-handle {
    width: 40px;
    height: 5px;
    background: rgba(0,0,0,0.1);
    border-radius: 3px;
    margin: 0 auto 15px;
}

/* Row and column */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col, [class*="col-"] {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* Table responsive */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Flex utilities */
.d-flex {
    display: flex !important;
}

/* Text truncate */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Lucky Wheel Styles */
.wheel-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.wheel {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    transform: rotate(0deg);
}

.wheel-section {
    position: absolute;
    width: 50%;
    height: 50%;
    transform-origin: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    padding: 10px;
    clip-path: polygon(100% 100%, 0 100%, 100% 0);
}

.wheel-pointer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px;
    background: #ff4757;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.wheel-pointer::after {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    margin-left: -10px;
    border: 10px solid transparent;
    border-bottom-color: #ff4757;
}

.spin-button {
    display: block;
    width: 200px;
    margin: 20px auto;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: #4361ee;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s;
}

.spin-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.spin-button:hover:not(:disabled) {
    background: #2d3fd9;
}

.spins-left {
    text-align: center;
    margin: 10px 0;
    font-size: 16px;
    color: #666;
}

.wheel-result {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
}

.wheel-result.show {
    opacity: 1;
    transform: translateY(0);
}

.wheel-result.win {
    background: #2ecc71;
    color: #fff;
}

.wheel-result.try-again {
    background: #f1c40f;
    color: #fff;
}

/* Wheel Animation */
@keyframes spinWheel {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.wheel.spinning {
    animation: spinWheel 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

/* Scratch Card Styles */
.scratch-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 20px;
}

.scratch-card {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
}

.scratch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #4361ee, #3498db);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    transition: opacity 0.3s;
}

.scratch-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #fff;
    padding: 20px;
}

.scratch-points {
    font-size: 32px;
    font-weight: bold;
    color: #2ecc71;
    margin-bottom: 10px;
}

.scratch-message {
    font-size: 16px;
    color: #666;
    text-align: center;
}

.scratch-button {
    display: block;
    width: 200px;
    margin: 20px auto;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: #4361ee;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s;
}

.scratch-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.scratch-button:hover:not(:disabled) {
    background: #2d3fd9;
}

.scratches-left {
    text-align: center;
    margin: 10px 0;
    font-size: 16px;
    color: #666;
}

.scratch-result {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
}

.scratch-result.show {
    opacity: 1;
    transform: translateY(0);
}

.scratch-result.win {
    background: #2ecc71;
    color: #fff;
}

.scratch-result.try-again {
    background: #f1c40f;
    color: #fff;
}

/* Scratch Animation */
@keyframes scratchEffect {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.scratching {
    animation: scratchEffect 1s forwards;
}

/* Dice Roll Game Styles */
.dice-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.dice {
    width: 100px;
    height: 100px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 48px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.dice.rolling {
    animation: rollDice 0.5s ease;
}

@keyframes rollDice {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(90deg); }
    50% { transform: rotate(180deg); }
    75% { transform: rotate(270deg); }
    100% { transform: rotate(360deg); }
}

.roll-button {
    background-color: var(--earn-1);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.roll-button:hover {
    background-color: var(--earn-2);
}

.roll-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.rolls-left {
    margin-top: 10px;
    font-size: 16px;
    color: #666;
}

.dice-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    display: none;
}

.dice-result.show {
    display: block;
}

.dice-result.win {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

/* Number Guess Game Styles */
.guess-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.guess-input {
    width: 100px;
    height: 100px;
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
}

.guess-input:focus {
    border-color: var(--earn-1);
    outline: none;
}

.guess-range {
    margin-bottom: 20px;
    font-size: 16px;
    color: #666;
}

.guess-button {
    background-color: var(--earn-3);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.guess-button:hover {
    background-color: var(--earn-4);
}

.guess-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.guesses-left {
    margin-top: 10px;
    font-size: 16px;
    color: #666;
}

.guess-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    display: none;
}

.guess-result.show {
    display: block;
}

.guess-result.win {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.guess-result.high {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.guess-result.low {
    background-color: rgba(23, 162, 184, 0.2);
    color: #17a2b8;
}

/* Memory Card Game Styles */
.memory-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.memory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.memory-card {
    width: 80px;
    height: 120px;
    background-color: var(--earn-1);
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
    position: relative;
}

.memory-card.flipped {
    transform: rotateY(180deg);
}

.memory-card-front,
.memory-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}

.memory-card-front {
    background-color: var(--earn-1);
}

.memory-card-back {
    background-color: white;
    transform: rotateY(180deg);
}

.memory-button {
    background-color: var(--earn-5);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.memory-button:hover {
    background-color: var(--earn-6);
}

.memory-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.memory-stats {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
}

.memory-stat {
    text-align: center;
    font-size: 16px;
    color: #666;
}

.memory-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    display: none;
}

.memory-result.show {
    display: block;
}

.memory-result.win {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

/* Slot Machine Game Styles */
.slot-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.slot-machine {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #333;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.slot-reel {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 5px;
    margin: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    overflow: hidden;
}

.slot-reel.spinning {
    animation: spinReel 0.5s linear infinite;
}

@keyframes spinReel {
    0% { transform: translateY(0); }
    100% { transform: translateY(-80px); }
}

.slot-button {
    background-color: var(--earn-2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slot-button:hover {
    background-color: var(--earn-3);
}

.slot-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.spins-left {
    margin-top: 10px;
    font-size: 16px;
    color: #666;
}

.slot-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    display: none;
}

.slot-result.show {
    display: block;
}

.slot-result.win {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.slot-result.jackpot {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    font-weight: bold;
}

/* Tic Tac Toe Game Styles */
.tictactoe-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.tictactoe-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-bottom: 20px;
}

.tictactoe-cell {
    width: 80px;
    height: 80px;
    background-color: white;
    border: 2px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tictactoe-cell:hover {
    background-color: #f8f9fa;
}

.tictactoe-cell.x {
    color: var(--earn-1);
}

.tictactoe-cell.o {
    color: var(--earn-3);
}

.tictactoe-button {
    background-color: var(--earn-4);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tictactoe-button:hover {
    background-color: var(--earn-5);
}

.tictactoe-status {
    margin-top: 20px;
    font-size: 18px;
    text-align: center;
}

.tictactoe-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    display: none;
}

.tictactoe-result.show {
    display: block;
}

.tictactoe-result.win {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.tictactoe-result.draw {
    background-color: rgba(108, 117, 125, 0.2);
    color: #6c757d;
}

/* Quick Access Card Styles */
.quick-card {
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #4895ef 0%, #4361ee 100%);
    box-shadow: 0 4px 16px rgba(67,97,238,0.08);
    transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
    cursor: pointer;
    min-height: 120px;
    position: relative;
    overflow: hidden;
}
.quick-card.bg-primary { background: linear-gradient(135deg, #4895ef 0%, #4361ee 100%); }
.quick-card.bg-success { background: linear-gradient(135deg, #06d6a0 0%, #118ab2 100%); }
.quick-card.bg-warning { background: linear-gradient(135deg, #ffd166 0%, #f72585 100%); }
.quick-card.bg-danger { background: linear-gradient(135deg, #f72585 0%, #7209b7 100%); }
.quick-card.bg-info { background: linear-gradient(135deg, #4cc9f0 0%, #4895ef 100%); }
.quick-card.bg-purple { background: linear-gradient(135deg, #7209b7 0%, #b5179e 100%); }
.quick-card.bg-secondary { background: linear-gradient(135deg, #adb5bd 0%, #495057 100%); }
.quick-card.bg-dark { background: linear-gradient(135deg, #22223b 0%, #4a4e69 100%); }

.quick-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(67,97,238,0.18);
    filter: brightness(1.08);
}
.quick-card .fa-2x {
    font-size: 2.2rem;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.10));
}
.quick-card .fw-bold {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Featured Game Card Styles */
.game-card {
    border: none;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(67,97,238,0.08);
    transition: transform 0.18s, box-shadow 0.18s;
    overflow: hidden;
    position: relative;
}
.game-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(67,97,238,0.18);
}
.game-card .card-img-top {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    height: 180px;
    object-fit: cover;
    background: #f5f7fa;
}
.game-card .card-title {
    font-weight: 600;
    font-size: 1.15rem;
}
.game-card .btn-primary {
    border-radius: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .quick-card, .game-card {
        min-height: 100px;
    }
    .game-card .card-img-top {
        height: 120px;
    }
} 