/* ======================================
   BASSWIN CASINO - MAIN STYLESHEET
   Created: 28 January 2026
   Version: 1.0
   ====================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* IMAGE OPTIMIZATION - ALL IMAGES */
img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ======================================
   HEADER & NAVIGATION
   ====================================== */

header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #ff6b35;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: inline-block;
}

.logo:hover {
    color: #ffb86c;
    transition: color 0.3s ease;
}

/* Main Navigation */
nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: #ff6b35;
    color: white;
}

nav a.active {
    background-color: #ff6b35;
    color: white;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* ======================================
   MAIN CONTENT AREA
   ====================================== */

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: calc(100vh - 300px);
}

.container {
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ======================================
   TYPOGRAPHY
   ====================================== */

h1 {
    font-size: 36px;
    color: #1a1a2e;
    margin-bottom: 20px;
    line-height: 1.2;
}

h2 {
    font-size: 28px;
    color: #1a1a2e;
    margin-bottom: 15px;
    margin-top: 30px;
    line-height: 1.3;
}

h3 {
    font-size: 22px;
    color: #16213e;
    margin-bottom: 12px;
    margin-top: 20px;
}

h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    margin-top: 15px;
}

p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}

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

a:hover {
    color: #ffb86c;
    text-decoration: underline;
}

/* ======================================
   BUTTONS
   ====================================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background-color: #ff6b35;
    color: white;
}

.btn-primary:hover {
    background-color: #e55a23;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background-color: #16213e;
    color: white;
}

.btn-secondary:hover {
    background-color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(22, 33, 62, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #ff6b35;
    border: 2px solid #ff6b35;
}

.btn-outline:hover {
    background-color: #ff6b35;
    color: white;
}

/* ======================================
   CARDS & GRIDS
   ====================================== */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #e0e0e0;
    display: block;
    border-radius: 8px 8px 0 0;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.card-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.card-footer {
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

/* ======================================
   HERO SECTION
   ====================================== */

.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="400" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.hero h1 {
    color: white;
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    color: #ddd;
    font-size: 18px;
    margin-bottom: 30px;
}

/* ======================================
   FORMS
   ====================================== */

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

input,
textarea,
select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* ======================================
   FOOTER
   ====================================== */

footer {
    background: #1a1a2e;
    color: white;
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #ff6b35;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff6b35;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* ======================================
   BREADCRUMB NAVIGATION
   ====================================== */

.breadcrumb {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    color: #666;
}

.breadcrumb a {
    color: #ff6b35;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 5px;
    color: #999;
}

/* ======================================
   ALERTS & MESSAGES
   ====================================== */

.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ======================================
   TABLES
   ====================================== */

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th {
    background-color: #f5f5f5;
    padding: 12px;
    text-align: left;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
}

td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

tr:hover {
    background-color: #f9f9f9;
}

/* ======================================
   RESPONSIVE DESIGN
   ====================================== */

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    nav a {
        padding: 10px;
        border-radius: 4px;
    }

    .menu-toggle {
        display: block;
        align-self: flex-end;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    .hero {
        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 20px;
    }

    main {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
    }

    nav a {
        font-size: 14px;
    }

    .card-image {
        height: 150px;
    }

    table {
        font-size: 14px;
    }

    th,
    td {
        padding: 8px;
    }
}

/* ======================================
   ANIMATIONS
   ====================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.slide-in {
    animation: slideIn 0.3s ease-in-out;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ======================================
   UTILITY CLASSES
   ====================================== */

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

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

.p-20 {
    padding: 20px;
}

.p-40 {
    padding: 40px;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* ======================================
   SPECIAL SECTIONS
   ====================================== */

.featured-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.highlight {
    background-color: #fff3cd;
    padding: 20px;
    border-left: 4px solid #ff6b35;
    border-radius: 4px;
    margin-bottom: 20px;
}

.section-intro {
    text-align: center;
    margin-bottom: 40px;
}

.section-intro h2 {
    margin-top: 0;
}

/* SEO-Friendly Content */
.content-section {
    line-height: 1.8;
    margin-bottom: 30px;
}

.content-section h2 {
    color: #1a1a2e;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 10px;
}

/* ======================================
   ADVANCED IMAGE STYLING
   ====================================== */

/* Images in cards and containers */
.card img,
.game-item img,
.slot-card img,
.benefit-block img,
.review-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Background images in containers */
.card-image,
.game-card-image,
.slot-image {
    width: 100%;
    height: auto;
    min-height: 200px;
    object-fit: cover;
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Images inside content sections */
.content-section img,
.section-intro img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    display: block;
}

/* ======================================
   END STYLESHEET
   ====================================== */
