/* assets/css/style.css */
:root {
    --primary-green: #60981b;
    --dark-blue: #24313d;
    --yellow: #ffd800;
    --dark-bg: #18202c;
    --white: #ffffff;
    --card-bg: #1e2836;
    --danger: #dc3545;
    --success: #28a745;
}

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

body {
    background: var(--dark-bg);
    color: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    padding-bottom: 70px;
}

/* Mobile Container */
.mobile-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 16px 80px 16px;
}

/* Navbar */
.navbar {
    background: var(--dark-blue) !important;
    border-bottom: 2px solid var(--primary-green);
    padding: 12px 16px;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--yellow) !important;
}

.navbar-brand span {
    color: var(--primary-green);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--dark-bg) 100%);
    border-radius: 20px;
    padding: 40px 24px;
    text-align: center;
    margin: 20px 0;
    border: 1px solid rgba(96, 152, 27, 0.3);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--yellow) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.hero-subtitle {
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
}

.btn-success {
    background: var(--primary-green);
    border: none;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
}

.btn-success:hover {
    background: #7ab823;
    transform: translateY(-2px);
}

/* Section */
.section {
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 0 4px;
}

.section-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--yellow);
}

.section-header h2 i {
    color: var(--primary-green);
    margin-right: 8px;
}

.view-all {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 0.875rem;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.news-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s;
}

.news-card:active {
    transform: scale(0.98);
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 16px;
}

.news-team {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 12px;
}

.news-content h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-content p {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.news-meta {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}

/* Matches List */
.matches-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.match-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 16px;
}

.match-date {
    color: var(--yellow);
    font-size: 0.75rem;
    margin-bottom: 12px;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.team {
    flex: 1;
}

.team-name {
    font-weight: 600;
    font-size: 1rem;
}

.match-vs {
    background: var(--primary-green);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.match-stadium {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
}

.match-stadium i {
    margin-right: 6px;
    color: var(--primary-green);
}

/* Teams Grid */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.team-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    text-decoration: none;
    color: white;
    transition: transform 0.3s;
}

.team-card:active {
    transform: scale(0.96);
}

.team-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--dark-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

.team-card h4 {
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.team-city {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
}

/* Betika Section */
.betika-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    border: 2px solid var(--yellow);
}

.betika-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.betika-header i {
    font-size: 2rem;
    color: var(--yellow);
}

.betika-header h2 {
    font-size: 1.5rem;
    color: var(--yellow);
    margin: 0;
}

.btn-warning {
    background: var(--yellow);
    color: var(--dark-bg);
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 16px;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-blue);
    display: flex;
    justify-content: space-around;
    padding: 12px 16px 20px;
    border-top: 1px solid rgba(96, 152, 27, 0.3);
    max-width: 500px;
    margin: 0 auto;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: rgba(255,255,255,0.6);
    font-size: 0.7rem;
    transition: color 0.3s;
}

.nav-item i {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.nav-item.active,
.nav-item:hover {
    color: var(--yellow);
}

.nav-item span {
    font-size: 0.7rem;
}

/* Form Styles */
.form-container {
    max-width: 400px;
    margin: 40px auto;
    padding: 24px;
    background: var(--card-bg);
    border-radius: 20px;
}

.form-control {
    background: var(--dark-bg);
    border: 1px solid var(--dark-blue);
    color: white;
    border-radius: 12px;
    padding: 12px;
}

.form-control:focus {
    background: var(--dark-bg);
    border-color: var(--primary-green);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(96, 152, 27, 0.25);
}

.form-label {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.btn-primary {
    background: var(--primary-green);
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
}

/* Profile Page */
.profile-header {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.profile-avatar i {
    font-size: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-container {
        padding: 0 12px 80px 12px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.news-card, .match-card, .team-card {
    animation: slideUp 0.4s ease-out;
}