/* assets/css/style.css */
:root {
    --enshrouded-white: #ffffff;
    --enshrouded-blue: #13ecf5;
    --dark-bg: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark-bg);
    color: var(--enshrouded-white);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
}

/* Navigation */
.top-nav {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    align-items: center;
    z-index: 1000;
}

.nav-link {
    color: var(--enshrouded-white);
    text-decoration: none;
    margin-left: 2rem;
    transition: all 0.3s ease;
}

/* Precise Enshrouded Neon Effect */
.neo-glow,
.nav-link:hover,
.nav-link.active,
.hero-title {
    color: var(--enshrouded-white);
    text-shadow: 0 0 1px var(--enshrouded-white),
                0 0 15px var(--enshrouded-blue);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Button Styles */
.btn-glow {
    background: transparent;
    border: 1px solid var(--enshrouded-blue);
    color: var(--enshrouded-white);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-glow:hover {
    color: var(--enshrouded-white);
    box-shadow: 0 0 1px var(--enshrouded-white),
                0 0 15px var(--enshrouded-blue);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-link {
        margin-left: 1rem;
    }
}
/* Добавете това към съществуващия style.css файл */

.rules-section {
    padding: 120px 20px 40px;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.rules-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.rules-container {
    display: grid;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.rule-category {
    padding: 20px;
    border: 1px solid var(--enshrouded-blue);
    border-radius: 5px;
    background-color: rgba(19, 236, 245, 0.05);
    transition: all 0.3s ease;
}

.rule-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(19, 236, 245, 0.1);
}

.rule-category h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.rules-list {
    list-style: none;
    padding: 0;
}

.rules-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.rules-list li::before {
    content: '•';
    color: var(--enshrouded-blue);
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .rules-title {
        font-size: 2rem;
    }
    
    .rule-category h2 {
        font-size: 1.3rem;
    }
    
    .rules-section {
        padding: 100px 15px 30px;
    }
}
/* Добавете към съществуващия style.css */

.gallery-section {
    padding: 120px 20px 40px;
    min-height: 100vh;
}

.gallery-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.image-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1050;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 5px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    cursor: pointer;
    z-index: 1060;
}

.modal-nav {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    pointer-events: none;
}

.modal-nav-btn {
    background: transparent;
    border: none;
    color: var(--enshrouded-white);
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.modal-nav-btn:hover {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .gallery-title {
        font-size: 2rem;
    }
    
    .modal-nav-btn {
        font-size: 24px;
    }
}
/* Добавете към style.css */

/* Admin Login Styles */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--enshrouded-blue);
    padding: 30px;
    border-radius: 5px;
    width: 100%;
    max-width: 400px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Admin Dashboard Styles */
.admin-dashboard {
    padding: 40px 20px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
}

.upload-section {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--enshrouded-blue);
    padding: 30px;
    border-radius: 5px;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--enshrouded-blue);
    border-radius: 5px;
    color: white;
}

.gallery-management {
    margin-top: 40px;
}

.error-message {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
    color: #ff0000;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.success-message {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
    color: #00ff00;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.btn-delete {
    background: transparent;
    border: 1px solid #ff0000;
    color: #ff0000;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-delete:hover {
    background: rgba(255, 0, 0, 0.1);
}

.image-actions {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
}