/* Sawasoft Games Top-up Platform - Main Stylesheet */

:root {
    --primary-color: #22c55e;
    --secondary-color: #0f766e;
    --dark-color: #1f2937;
    --light-color: #f3f4f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Gradient Background */
.bg-gradient {
    background: linear-gradient(135deg, #22c55e 0%, #0f766e 100%);
}

/* Hero Section */
.hero-section {
    min-height: 500px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #22c55e 0%, #0f766e 100%);
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card i {
    color: #22c55e;
}

.feature-card h4 {
    font-weight: 600;
    margin: 1rem 0;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    font-size: 0.95rem;
}

/* Game Cards */
.game-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-card h5 {
    font-weight: 600;
    color: #1f2937;
}

.game-card p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Buttons */
.btn-success {
    background-color: #22c55e;
    border-color: #22c55e;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: #16a34a;
    border-color: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-outline-success {
    color: #22c55e;
    border-color: #22c55e;
}

.btn-outline-success:hover {
    background-color: #22c55e;
    border-color: #22c55e;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    color: white !important;
}

.navbar-brand i {
    margin-left: 0.5rem;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.stats-section h3 {
    color: #22c55e;
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #22c55e 0%, #0f766e 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Footer */
footer {
    background-color: #1f2937;
    border-top: 3px solid #22c55e;
}

footer h5 {
    color: #22c55e;
    font-weight: 600;
    margin-bottom: 1rem;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #22c55e !important;
}

/* Form Styles */
.form-control {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.25);
}

.form-label {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .feature-card {
        margin-bottom: 1.5rem;
    }

    .stats-section h3 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }
}

/* Loading Animation */
.spinner-border {
    color: #22c55e;
}

/* Alert Styles */
.alert-success {
    background-color: #d1fae5;
    border-color: #22c55e;
    color: #065f46;
}

.alert-danger {
    background-color: #fee2e2;
    border-color: #ef4444;
    color: #7f1d1d;
}

.alert-warning {
    background-color: #fef3c7;
    border-color: #f59e0b;
    color: #78350f;
}

/* Badge Styles */
.badge-success {
    background-color: #22c55e;
}

/* Pagination */
.pagination .page-link {
    color: #22c55e;
    border-color: #e5e7eb;
}

.pagination .page-link:hover {
    background-color: #22c55e;
    border-color: #22c55e;
    color: white;
}

.pagination .page-item.active .page-link {
    background-color: #22c55e;
    border-color: #22c55e;
}

/* Table Styles */
.table-hover tbody tr:hover {
    background-color: #f0fdf4;
}

.table thead {
    background-color: #f3f4f6;
    border-bottom: 2px solid #22c55e;
}

.table th {
    color: #1f2937;
    font-weight: 600;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #22c55e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #16a34a;
}
