/*
Theme Name: GameZone
Theme URI: https://example.com/gamezone
Author: Your Name
Author URI: https://example.com
Description: A modern gaming news and community theme for WordPress
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gamezone
Tags: gaming, community, news, video, responsive, dark, cyberpunk

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

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

body {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0a0a16;
    background-image: linear-gradient(to bottom, #0a0a16, #1a1a2e);
}

a {
    color: #00D9FF;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FF10F0;
    text-shadow: 0 0 10px rgba(255, 16, 240, 0.5);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #ffffff;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(90deg, #00D9FF, #FF10F0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2rem;
    border-bottom: 2px solid #6C5CE7;
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    color: #6C5CE7;
}

p {
    margin-bottom: 1rem;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.site-header {
    background: rgba(10, 10, 22, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #6C5CE7;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: #00D9FF;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
}

.main-navigation li {
    margin-left: 1.5rem;
}

.main-navigation a {
    color: #e0e0e0;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.main-navigation a:hover {
    color: #00D9FF;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #00D9FF;
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Mobile menu button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #00D9FF;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Search */
.search-form {
    position: relative;
    margin-left: 1.5rem;
}

.search-form input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #6C5CE7;
    border-radius: 20px;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    color: #ffffff;
    width: 200px;
    transition: all 0.3s ease;
}

.search-form input:focus {
    outline: none;
    width: 250px;
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.5);
}

.search-form button {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #00D9FF;
    cursor: pointer;
}

/* Main Content */
.site-content {
    display: flex;
    padding: 2rem 0;
}

.content-area {
    flex: 1;
    padding-right: 2rem;
}

/* Cards */
.card {
    background: rgba(26, 26, 46, 0.7);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(108, 92, 231, 0.3);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: #6C5CE7;
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(108, 92, 231, 0.3);
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    background: rgba(10, 10, 22, 0.5);
    border-top: 1px solid rgba(108, 92, 231, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Posts */
.post {
    margin-bottom: 2rem;
}

.post-thumbnail {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .post-thumbnail {
    transform: scale(1.05);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #a0a0a0;
}

.post-meta span {
    margin-right: 1rem;
    display: flex;
    align-items: center;
}

.post-meta i {
    margin-right: 0.5rem;
    color: #00D9FF;
}

.post-title {
    margin-bottom: 0.5rem;
}

/* Video Cards */
.video-card {
    position: relative;
    overflow: hidden;
}

.video-thumbnail {
    position: relative;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 217, 255, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.play-button:hover {
    background: rgba(255, 16, 240, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    color: #ffffff;
    font-size: 1.5rem;
    margin-left: 3px;
}

/* Sidebar */
.sidebar {
    width: 350px;
}

.widget {
    background: rgba(26, 26, 46, 0.7);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(108, 92, 231, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #00D9FF;
    color: #ffffff;
}

.widget ul {
    list-style: none;
}

.widget li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.widget li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Game Circles */
.circle-card {
    position: relative;
}

.circle-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #FF10F0;
    color: #ffffff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.circle-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #a0a0a0;
}

.circle-stats span {
    display: flex;
    align-items: center;
}

.circle-stats i {
    margin-right: 0.5rem;
    color: #00D9FF;
}

.join-circle-btn {
    background: linear-gradient(90deg, #00D9FF, #6C5CE7);
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.join-circle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.5);
}

.join-circle-btn i {
    margin-right: 0.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #ffffff;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #6C5CE7;
    border-radius: 5px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #00D9FF;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(90deg, #00D9FF, #6C5CE7);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.5);
}

.btn-primary {
    background: linear-gradient(90deg, #00D9FF, #6C5CE7);
}

.btn-secondary {
    background: linear-gradient(90deg, #6C5CE7, #FF10F0);
}

.btn-danger {
    background: linear-gradient(90deg, #FF1744, #FF4081);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.pagination ul {
    display: flex;
    list-style: none;
}

.pagination li {
    margin: 0 0.25rem;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(26, 26, 46, 0.7);
    border: 1px solid #6C5CE7;
    border-radius: 5px;
    color: #e0e0e0;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #6C5CE7;
    color: #ffffff;
}

.pagination .current {
    background: #00D9FF;
    color: #ffffff;
    border-color: #00D9FF;
}

/* Footer */
.site-footer {
    background: rgba(10, 10, 22, 0.95);
    border-top: 1px solid #6C5CE7;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-widgets {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-widget {
    width: 30%;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(108, 92, 231, 0.3);
    color: #a0a0a0;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 0.5rem;
    color: #00D9FF;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #00D9FF;
    color: #ffffff;
    transform: translateY(-3px);
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 217, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 217, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 217, 255, 0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-primary {
    background: #00D9FF;
    color: #ffffff;
}

.badge-secondary {
    background: #6C5CE7;
    color: #ffffff;
}

.badge-success {
    background: #00E676;
    color: #ffffff;
}

.badge-warning {
    background: #FF9500;
    color: #ffffff;
}

.badge-danger {
    background: #FF1744;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 992px) {
    .site-content {
        flex-direction: column;
    }
    
    .content-area {
        padding-right: 0;
    }
    
    .sidebar {
        width: 100%;
        margin-top: 2rem;
    }
    
    .footer-widgets {
        flex-direction: column;
    }
    
    .footer-widget {
        width: 100%;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 22, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid #6C5CE7;
        padding: 1rem 0;
        display: none;
    }
    
    .main-navigation.toggled {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
    }
    
    .main-navigation li {
        margin: 0;
    }
    
    .main-navigation a {
        display: block;
        padding: 0.75rem 1rem;
    }
    
    .search-form {
        margin-left: 1rem;
    }
    
    .search-form input {
        width: 150px;
    }
    
    .search-form input:focus {
        width: 180px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .post-thumbnail {
        height: 200px;
    }
    
    .search-form {
        display: none;
    }
}

/* Admin Styles */
.gamezone-admin-page {
    background: #f1f1f1;
}

.gamezone-admin-header {
    background: linear-gradient(90deg, #0a0a16, #1a1a2e);
    color: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.gamezone-admin-header h1 {
    margin: 0;
    font-size: 1.8rem;
}

.gamezone-admin-nav {
    background: #ffffff;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gamezone-admin-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gamezone-admin-nav li {
    margin-right: 1rem;
}

.gamezone-admin-nav a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333333;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.gamezone-admin-nav a:hover,
.gamezone-admin-nav a.current {
    background: #6C5CE7;
    color: #ffffff;
}

.gamezone-admin-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gamezone-admin-card h2 {
    margin-top: 0;
    border-bottom: 2px solid #6C5CE7;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    color: #ffffff;
    font-weight: 500;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: #00E676;
}

.notification.warning {
    background: #FF9500;
}

.notification.error {
    background: #FF1744;
}

.notification.info {
    background: #00D9FF;
}

/* Circle Application Form */
.circle-application-form {
    background: rgba(26, 26, 46, 0.7);
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid rgba(108, 92, 231, 0.3);
}

.circle-application-form h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #00D9FF;
}

/* Custom Checkbox */
.custom-checkbox {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    font-size: 1rem;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #6C5CE7;
    border-radius: 4px;
}

.custom-checkbox:hover input ~ .checkmark {
    background-color: rgba(108, 92, 231, 0.3);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #6C5CE7;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* Loading Animation */
.loading {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.loading div {
    position: absolute;
    border: 4px solid #00D9FF;
    opacity: 1;
    border-radius: 50%;
    animation: loading 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.loading div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes loading {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}

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

::-webkit-scrollbar-track {
    background: rgba(10, 10, 22, 0.5);
}

::-webkit-scrollbar-thumb {
    background: #6C5CE7;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00D9FF;
}