/* TwinPower Shooting Custom Styles */

:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --accent-color: #ffd100;
    --dark-bg: #1a1a1a;
    --dark-surface: #2d2d2d;
    --light-surface: #3a3a3a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #999999;
    --border-color: #444444;
    --shadow-dark: 0 4px 15px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.3);
}

/* Global Styles */
body {
    font-family: 'Exo 2', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
}

/* Image Placeholders */
.hero-image-placeholder,
.game-image-placeholder,
.news-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-surface) 0%, var(--light-surface) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.hero-image-placeholder {
    min-height: 400px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.hero-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: var(--shadow-dark);
}

.hero-image-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    text-shadow: var(--shadow-dark);
}

.game-image-placeholder {
    height: 250px;
}

.game-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.game-image-placeholder p {
    font-size: 1rem;
    margin: 0;
    text-align: center;
    padding: 0 1rem;
}

.news-image-placeholder {
    height: 200px;
}

.news-image-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.news-image-placeholder p {
    font-size: 0.9rem;
    margin: 0;
}

.game-card:hover .game-image-placeholder,
.news-card:hover .news-image-placeholder {
    transform: scale(1.05);
}

.player-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-surface);
}

.player-avatar i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-surface) 100%);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 2rem;
    color: var(--primary-color);
    text-shadow: var(--shadow-glow);
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.logo-subtitle {
    font-family: 'Orbitron', monospace;
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--primary-color);
    margin-left: -5px;
}

.navbar-nav .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.header-actions .btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    box-shadow: var(--shadow-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-surface) 50%, var(--light-surface) 100%);
    position: relative;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/patterns/target-pattern.png') center/cover;
    opacity: 0.1;
    z-index: -1;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    margin-bottom: 2rem;
}

.title-main {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-primary);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 0.9;
}

.title-sub {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: var(--shadow-glow);
    margin-left: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    margin-bottom: 3rem;
}

.hero-actions .btn {
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    border-radius: 30px;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: var(--shadow-glow);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-dark);
}

.hero-image .hero-image-placeholder {
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.hero-image:hover .hero-image-placeholder {
    transform: scale(1.05);
}

.hero-video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.9);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-dark);
}

.play-button:hover {
    background: var(--primary-color);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* Section Styles */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.text-center .section-title::after {
    left: 50%;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Featured Games Section */
.featured-games-section {
    padding: 80px 0;
    background: var(--dark-surface);
}

.game-card {
    background: var(--light-surface);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.game-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-actions {
    display: flex;
    gap: 1rem;
}

.game-actions .btn {
    border-radius: 25px;
    padding: 0.6rem 1.5rem;
}

.game-genre {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.game-content {
    padding: 1.5rem;
}

.game-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.game-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-platform {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.game-price {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Tournament Section */
.tournament-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.tournament-table-container {
    background: var(--light-surface);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.tournament-table {
    margin: 0;
    background: transparent;
}

.tournament-table thead th {
    background: var(--dark-surface);
    color: var(--text-primary);
    border: none;
    padding: 1rem;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tournament-table tbody td {
    background: var(--light-surface);
    color: var(--text-primary);
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
    vertical-align: middle;
}

.tournament-table tbody tr:hover {
    background: rgba(255, 107, 53, 0.1);
}

.tournament-table tbody tr:last-child td {
    border-bottom: none;
}

.leaderboard-widget {
    background: var(--light-surface);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    height: fit-content;
}

.widget-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.widget-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 0;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-item:last-child {
    border-bottom: none;
}

.player-rank {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 30px;
    text-align: center;
}

.player-info {
    flex: 1;
}

.player-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.player-score {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Status Badges */
.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-upcoming {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.status-live {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid #28a745;
}

.status-completed {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
    border: 1px solid #6c757d;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: var(--dark-surface);
}

.news-card {
    background: var(--light-surface);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dark);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.news-content {
    padding: 1.5rem;
}

.news-meta {
    margin-bottom: 1rem;
}

.news-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.news-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.news-summary {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: var(--secondary-color);
}

/* Statistics Section */
.statistics-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.chart-container {
    background: var(--light-surface);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.chart-title {
    font-family: 'Orbitron', monospace;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, var(--dark-surface) 0%, var(--dark-bg) 100%);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.footer-logo span {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-section h5 {
    font-family: 'Orbitron', monospace;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--light-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}

/* DevExtreme Customizations */
.dx-datagrid {
    background: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.dx-datagrid-headers {
    background: var(--dark-surface);
    color: var(--text-primary);
}

.dx-datagrid-rowsview .dx-row {
    background: var(--light-surface);
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.dx-datagrid-rowsview .dx-row:hover {
    background: rgba(255, 107, 53, 0.1);
}

.dx-list {
    background: transparent;
    border: none;
}

.dx-list-item {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .title-main {
        font-size: 2.5rem;
    }
    
    .title-sub {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-collapse {
        background: var(--dark-surface);
        border-radius: 10px;
        margin-top: 1rem;
        padding: 1rem;
    }
    
    .tournament-table {
        font-size: 0.8rem;
    }
    
    .tournament-table thead th,
    .tournament-table tbody td {
        padding: 0.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card,
.news-card,
.leaderboard-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
} 