/* Main Styles for Addic.dk */

/* General Styles */
:root {
    --primary-color: #7289da;    /* Discord blue */
    --secondary-color: #2c2f33;  /* Dark gray */
    --accent-color: #43b581;     /* Green */
    --text-color: #dcddde;       /* Light gray text */
    --light-color: #ffffff;      /* White */
    --bg-dark: #23272a;          /* Dark background */
    --bg-darker: #1a1d20;        /* Darker background */
    --bg-card: #2c2f33;          /* Card background */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-dark);
}

/* Section Styles */
.section-title {
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: 1rem;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--primary-color);
    margin-bottom: 2rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://i.imgur.com/MmtuPWe.png');
    background-size: cover;
    background-position: center;
    padding: 10rem 0;
    position: relative;
}

/* About Section */
#about {
    background-color: var(--bg-darker);
}

.vertical-divider {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--primary-color);
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-color);
}

.feature-list i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* Server Stats Section */
#servers {
    background-color: var(--bg-dark);
}

.server-card {
    transition: transform 0.3s ease;
    height: 100%;
}

.server-card:hover {
    transform: translateY(-5px);
}

.card {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    background-color: var(--bg-card);
}

.card-body {
    background-color: var(--bg-card);
    color: var(--text-color);
    border-radius: 10px;
}

.card-title {
    color: var(--light-color);
}

.card-text {
    color: var(--text-color);
}

.ts-stat {
    display: flex;
    align-items: center;
    background-color: var(--bg-darker);
    padding: 20px;
    border-radius: 10px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ts-stat i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.ts-info {
    flex: 1;
}

.ts-info h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: var(--light-color);
}

.ts-info p {
    margin-bottom: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.ts-timestamp {
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    color: #888 !important;
    margin-top: 0.25rem;
}

/* TeamSpeak Clients Fold-out Section */
.ts-clients-section {
    border-radius: 8px;
    overflow: hidden;
}

.ts-clients-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: var(--bg-darker);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.ts-clients-toggle:hover {
    background-color: rgba(114, 137, 218, 0.2);
    border-color: var(--primary-color);
}

.ts-clients-toggle i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.ts-clients-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: var(--bg-darker);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.ts-clients-content.show {
    max-height: 300px;
    padding: 12px 16px;
    overflow-y: auto;
}

.ts-clients-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ts-client-item {
    padding: 8px 12px;
    border-radius: 5px;
    margin-bottom: 4px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ts-client-item:last-child {
    margin-bottom: 0;
}

.ts-client-item i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

.ts-client-item.text-muted {
    color: #888;
    font-style: italic;
}

.server-address {
    background-color: var(--bg-darker);
    padding: 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.server-address p {
    margin: 0;
    color: var(--text-color);
}

.server-address strong {
    color: var(--light-color);
}

/* Join Us Section */
#join {
    background-color: var(--bg-darker);
}

.step-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    height: 100%;
    background-color: var(--bg-card);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.step-card h3 {
    color: var(--light-color);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

/* Rules Section */
#rules {
    background-color: var(--bg-dark);
}

.rules-list .list-group-item {
    background-color: #ffffff;
    color: #23272a;
    border: 1px solid #dee2e6;
    margin-bottom: 0.5rem;
    border-radius: 5px !important;
}

.rules-list .list-group-item strong {
    color: var(--primary-color);
}

/* Contact Section */
#contact {
    background-color: var(--bg-darker);
}

.contact-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.contact-card h3 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.contact-card h3 i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Admin Cards */
.admin-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-card {
    background-color: var(--bg-darker);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.admin-card:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.admin-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.admin-header h4 {
    margin: 0;
    color: var(--light-color);
    font-size: 1.2rem;
}

.admin-icon {
    color: #ffd700;
    font-size: 1.1rem;
}

.admin-bio {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.admin-socials {
    display: flex;
    gap: 12px;
}

.admin-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.admin-socials a:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
}

/* Specific social icon colors on hover */
.admin-socials a[title="Steam"]:hover {
    background-color: #171a21;
}

.admin-socials a[title="Discord"]:hover {
    background-color: #5865f2;
}

.admin-socials a[title="Twitter"]:hover {
    background-color: #1da1f2;
}

.admin-socials a[title="Twitch"]:hover {
    background-color: #9146ff;
}

.admin-socials a[title="YouTube"]:hover {
    background-color: #ff0000;
}

/* Legacy admin list (can be removed if not used) */
.admin-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-list li {
    padding: 12px 15px;
    background-color: var(--bg-darker);
    border-radius: 8px;
    margin-bottom: 10px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-list li:last-child {
    margin-bottom: 0;
}

.admin-list li i {
    color: #ffd700;
    font-size: 0.9rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background-color: var(--bg-darker);
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-method:last-child {
    margin-bottom: 0;
}

.contact-method > i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 3px;
}

.contact-method h5 {
    color: var(--light-color);
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-method p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.95rem;
}

.contact-method a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-method a:hover {
    color: #5b73c7;
    text-decoration: underline;
}

/* Footer */
.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #5b73c7;
    border-color: #5b73c7;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 6rem 0;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
}
