/* BDSM-inspiriertes Design für Linktree */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #333;
    --accent-color: #cc0000;
    --text-color: #f0f0f0;
    --link-color: #f0f0f0;
    --link-hover-color: #cc0000;
    --input-bg: #252525;
    --button-bg: #cc0000;
    --button-hover: #990000;
    --leather-texture: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEUAAABCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkIzMzNCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJ9HgxeAAAAGnRSTlMAAwgBBRMPFCkdGCYqEiwxNS4SOjcwPDtHCvP1HCwAAADJSURBVEjH7dPbDoIwEIXhIqBWQFCO7fs/qAkmQ+gMF5L4X5h0u1+atmt1cXFxYYh31aL/1KdC/JIyb+wwetgXnKgzU5esirNFWOFw4vizc2UBNpsw5YzJ4VkIrPF6ScQbLl5eVhNS42YkBVXO7FJJTCoxkwSp8I/' + 
              'JEy7pEOBIzObBEYHZzDhi8UQlQMDgJQtj8kIqtUQ6o3NjV+27ZCIvpHJJ1M7E0E2kMtCbM1PfyaUyQTN4wl5wc+LMyTZvBMzpXsMbFyc1Xfy3M+lKZCAqTomzAAAAAElFTkSuQmCC');
}

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

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    background-image: var(--leather-texture);
    line-height: 1.6;
}

.admin-page {
    background-color: var(--primary-color);
    background-image: var(--leather-texture);
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 0 10px rgba(204, 0, 0, 0.5);
}

h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 5px rgba(204, 0, 0, 0.7);
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 3px rgba(204, 0, 0, 0.5);
}

.bio {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

/* Links Section */
.links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    color: var(--link-color);
    text-decoration: none;
    padding: 1rem;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 1px solid #444;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.link-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--leather-texture);
    opacity: 0.1;
    z-index: -1;
}

.link-item:hover {
    transform: translateY(-3px);
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.link-item i {
    margin-right: 10px;
}

/* Form Section */
.suggestion-form {
    background-color: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    border: 1px solid #444;
    position: relative;
    overflow: hidden;
}

.suggestion-form:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--leather-texture);
    opacity: 0.1;
    z-index: -1;
}

.suggestion-form h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 0 3px rgba(204, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 1rem;
}

textarea, 
.form-input,
input[type="text"],
input[type="password"],
input[type="url"],
input[type="email"] {
    width: 100%;
    padding: 0.8rem;
    border-radius: 5px;
    border: 1px solid #444;
    background-color: var(--input-bg);
    color: var(--text-color);
    font-family: inherit;
}

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

.submit-btn {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background-color: var(--button-bg);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--button-hover);
}

/* Footer */
footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    position: relative;
}

.chains {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAKCAYAAABCHPt+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6REUwMEY2QkFFODJGMTFFNUJEOTNFNzY4RkZCOTFCQ0MiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6REUwMEY2QkJFODJGMTFFNUJEOTNFNzY4RkZCOTFCQ0MiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpERTAwRjZCOEU4MkYxMUU1QkQ5M0U3NjhGRkI5MUJDQyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpERTAwRjZCOUU4MkYxMUU1QkQ5M0U3NjhGRkI5MUJDQyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/ProQ/RIAAAEvSURBVHjaYvz//z/DYAVMDIMYjDpk1CGjDhl1yKhDBi9gxCUhKCgo8P//f7w6/vz5w8DExMTw6dMnBkFBQYI2/Pv3j4GVlZXh9+/fDF+/fmXg4OCgr0OEhIQEpKWlGYgBf/78YXj37h0DCwsLQU2/fv1ieP/+PcOPHz+AfmRjYGVlI94hQI/z8fExnD9/nuHNmzcMnz9/Jqj49+/fDEpKSgwvX75k+PbtG4Oenh7Dr1+/GN69e8fw/ft3vHpZgA7x8/Nj0NTUZDA0NGRgZ2dn+Pv3L0OYuj1etReu3WD48uULw9OnTxmuXbvGoKamBpZXUFAA85OTkxlevHjB4O3tzcDLywt2BM41WVRUFIOJiQkDOzs7Azc3NwM/Pz/DQI9BYA4ZTQujDhl1yKhDRoFnAcQACDAAOOFnKTB2oRMAAAAASUVORK5CYII=');
    background-repeat: repeat-x;
    transform: translateY(-50%);
}

.admin-link {
    color: #888;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s;
}

.admin-link:hover {
    color: var(--accent-color);
}

/* Admin Styles */
.admin-form {
    background-color: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.admin-form label {
    display: block;
    margin-bottom: 0.5rem;
}

.back-link {
    text-align: center;
    margin-top: 1rem;
}

.back-link a {
    color: #888;
    text-decoration: none;
}

.back-link a:hover {
    color: var(--accent-color);
}

.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-danger {
    background-color: rgba(204, 0, 0, 0.2);
    border: 1px solid rgba(204, 0, 0, 0.3);
}

.alert-success {
    background-color: rgba(0, 204, 0, 0.2);
    border: 1px solid rgba(0, 204, 0, 0.3);
}

/* Dashboard Styles */
.admin-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-bottom: 2rem;
    border-bottom: 1px solid #444;
    flex-wrap: wrap;
}

.admin-nav li {
    margin: 0 0.5rem;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.card {
    background-color: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    border: 1px solid #444;
    position: relative;
    overflow: hidden;
}

.card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--leather-texture);
    opacity: 0.1;
    z-index: -1;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.table-container {
    padding: 1rem;
}

.table-wrapper {
    overflow-x: auto;
    max-width: 100%;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.admin-table th,
.admin-table td {
    padding: 0.5rem;
    text-align: left;
    border-bottom: 1px solid #444;
    word-break: break-word;
}

.admin-table th {
    background-color: rgba(0, 0, 0, 0.2);
}

.admin-table .url-cell {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.position-handle {
    cursor: grab;
}

.toggle-form {
    display: inline;
}

.delete-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.8rem;
}

.delete-btn.small {
    padding: 0.2rem 0.4rem;
    font-size: 0.7rem;
}

.delete-btn:hover {
    background-color: var(--button-hover);
}

.suggestion-item {
    padding: 1rem;
    border-bottom: 1px solid #444;
    position: relative;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.suggestion-date {
    font-size: 0.8rem;
    color: #888;
}

.suggestion-username {
    font-size: 0.8rem;
    font-style: italic;
    color: #aaa;
}

.suggestion-content {
    margin-bottom: 0.8rem;
}

.admin-logout {
    text-align: center;
    margin-top: 2rem;
}

/* Form Element Styling */
.current-image {
    margin-bottom: 10px;
    text-align: center;
}

.preview-img {
    max-width: 100px;
    max-height: 100px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    margin-bottom: 5px;
}

.form-help {
    font-size: 0.8rem;
    color: #888;
    margin-top: 5px;
}

/* Settings Section Styling */
#settings-section .form-group,
#password-section .form-group {
    margin-bottom: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .container {
        padding: 1rem;
    }
    
    .admin-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .admin-nav li {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }
    
    .suggestion-header {
        flex-direction: column;
    }
    
    .suggestion-username {
        margin-left: 0;
        margin-top: 0.2rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.3rem;
        font-size: 0.8rem;
    }
}

/* BDSM-Specific Design Elements */
.link-item::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(204, 0, 0, 0.3), transparent);
    bottom: 0;
    left: 0;
}

.profile-img {
    position: relative;
}

.profile-img::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, var(--accent-color), transparent);
    z-index: -1;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.3;
    }
}

/* Neue Stile für Radio-Buttons und Slider */
.suggestion-type {
    display: flex;
    margin: 1.5rem auto;
    justify-content: center;
    max-width: 300px;
    position: relative;
}

.suggestion-type::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    z-index: -1;
}

.radio-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 0.8rem 1.2rem;
    position: relative;
    border-radius: 5px;
    background-color: var(--secondary-color);
    border: 1px solid #444;
    transition: all 0.3s ease;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    flex: 1;
    margin: 0 0.5rem;
}

.radio-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--leather-texture);
    opacity: 0.1;
    z-index: -1;
}

.radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.radio-label span {
    margin-top: 0.5rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

/* Custom radio button design */
.radio-label .custom-radio {
    position: relative;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    border: 2px solid #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background-color: #252525;
}

.radio-label .custom-radio::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent-color);
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

/* Hover state */
.radio-label:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.radio-label:hover .custom-radio {
    border-color: var(--accent-color);
}

/* Selected state */
.radio-label input[type="radio"]:checked + .custom-radio::after {
    opacity: 1;
    transform: scale(1);
}

.radio-label input[type="radio"]:checked + .custom-radio {
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(204, 0, 0, 0.5);
}

.radio-label input[type="radio"]:checked ~ span {
    color: var(--accent-color);
}

.radio-label input[type="radio"]:checked ~ .custom-radio::before {
    opacity: 1;
}

.radio-label input[type="radio"]:checked {
    background-color: var(--secondary-color);
}

/* Active radio button */
.radio-label input[type="radio"]:checked + .radio-label {
    border-color: var(--accent-color);
    background-color: rgba(204, 0, 0, 0.1);
}

/* Video length slider container */
.video-length-container {
    margin: 1.5rem auto;
    padding: 1.2rem;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
    max-width: 500px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.video-length-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--leather-texture);
    opacity: 0.1;
    z-index: -1;
}

.video-length-container label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: bold;
    text-align: center;
    color: var(--text-color);
    text-shadow: 0 0 3px rgba(204, 0, 0, 0.3);
}

/* Slider styling */
.slider-container {
    padding: 0 1rem;
    margin-top: 1rem;
    position: relative;
}

.slider-container::before {
    content: '';
    position: absolute;
    top: 49%;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    z-index: 0;
    opacity: 0.4;
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    background: rgba(68, 68, 68, 0.6);
    outline: none;
    border-radius: 5px;
    position: relative;
    z-index: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(204, 0, 0, 0.7);
    border: 2px solid #fff;
    transition: all 0.2s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(204, 0, 0, 0.7);
    border: 2px solid #fff;
    transition: all 0.2s ease;
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.1);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.8rem;
    font-size: 0.75rem;
    color: #aaa;
    padding: 0 0.3rem;
}

.selected-length {
    text-align: center;
    margin-top: 1.2rem;
    font-size: 1rem;
    font-weight: bold;
    color: var(--text-color);
    padding: 0.6rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.selected-length span {
    color: var(--accent-color);
    text-shadow: 0 0 3px rgba(204, 0, 0, 0.3);
}

/* Admin suggestions display */
.suggestion-type {
    display: block;
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 0.2rem;
}

@media (min-width: 768px) {
    .suggestion-header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 1rem;
    }
    
    .suggestion-type {
        margin-left: auto;
    }
}