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

:root {
    --primary-purple: #9b59b6;
    --dark-purple: #7d3c98;
    --light-purple: #bb8fce;
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --medium-gray: #2a2a2a;
    --white: #ffffff;
    --border-color: #3a3a3a;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    color: var(--white);
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
}

.logo-container {
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
}

.logo {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(155, 89, 182, 0.5));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

h1 {
    font-size: 3rem;
    color: var(--primary-purple);
    text-shadow: 0 0 10px rgba(155, 89, 182, 0.5);
    margin-bottom: 10px;
    animation: fadeInUp 1s ease-out;
}

.tagline {
    font-size: 1.3rem;
    color: var(--light-purple);
    font-style: italic;
    animation: fadeInUp 1.2s ease-out;
}

/* Section Styles */
.links-section,
.contact-section {
    background: var(--medium-gray);
    border: 2px solid var(--primary-purple);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 0 30px rgba(155, 89, 182, 0.3);
    animation: fadeIn 1.5s ease-out;
}

.links-section h2,
.contact-section h2 {
    color: var(--primary-purple);
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.links-section h2 i,
.contact-section h2 i {
    margin-right: 10px;
}

/* Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.link-card {
    background: var(--dark-gray);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(155, 89, 182, 0.2), transparent);
    transition: left 0.5s ease;
}

.link-card:hover::before {
    left: 100%;
}

.link-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.4);
}

.link-card i,
.link-card .x-icon {
    font-size: 3rem;
    color: var(--primary-purple);
    transition: all 0.3s ease;
}

.x-icon {
    width: 3rem;
    height: 3rem;
    fill: var(--primary-purple);
}

.link-card:hover i,
.link-card:hover .x-icon {
    transform: scale(1.2);
    color: var(--light-purple);
}

.link-card:hover .x-icon {
    fill: var(--light-purple);
}

.link-card span {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Specific Platform Colors */
.youtube:hover {
    border-color: #FF0000;
}

.youtube:hover i {
    color: #FF0000;
}

.instagram:hover {
    border-color: #E4405F;
}

.instagram:hover i {
    color: #E4405F;
}

.twitter:hover {
    border-color: #1DA1F2;
}

.twitter:hover i,
.twitter:hover .x-icon {
    color: #000000;
    fill: #000000;
}

.printables:hover {
    border-color: #FF6B35;
}

.printables:hover i {
    color: #FF6B35;
}

.makerworld:hover {
    border-color: #00D9FF;
}

.makerworld:hover i {
    color: #00D9FF;
}

.tinkeratlas:hover {
    border-color: #FFD700;
}

.tinkeratlas:hover i {
    color: #FFD700;
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--light-purple);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: var(--dark-gray);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 10px rgba(155, 89, 182, 0.3);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-purple);
    border: none;
    border-radius: 8px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: var(--dark-purple);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(155, 89, 182, 0.5);
}

.submit-btn i {
    margin-right: 8px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: rgba(46, 204, 113, 0.2);
    border: 2px solid #2ecc71;
    color: #2ecc71;
    display: block;
}

.form-message.error {
    background: rgba(231, 76, 60, 0.2);
    border: 2px solid #e74c3c;
    color: #e74c3c;
    display: block;
}

.contact-info {
    margin-top: 30px;
    text-align: center;
    padding: 20px;
    background: var(--dark-gray);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.contact-info p {
    color: var(--light-purple);
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--light-purple);
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--light-purple);
    border-top: 2px solid var(--border-color);
    margin-top: 40px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .logo {
        max-width: 200px;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .links-section h2,
    .contact-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .links-section,
    .contact-section {
        padding: 20px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .link-card {
        padding: 20px;
    }

    .link-card i {
        font-size: 2.5rem;
    }
}
/* New Platform Colors */
.merch:hover {
    border-color: #FF6B35;
}

.merch:hover i {
    color: #FF6B35;
}

.kofi:hover {
    border-color: #FF5722;
}

.kofi:hover i {
    color: #FF5722;
}

.patreon:hover {
    border-color: #F96854;
}

.patreon:hover i {
    color: #F96854;
}

.fiverr:hover {
    border-color: #1DBF73;
}

.fiverr:hover i {
    color: #1DBF73;
}

.github:hover {
    border-color: #333;
}

.github:hover i {
    color: #333;
}

.aliexpress:hover {
    border-color: #FF8C00;
}

.aliexpress:hover i {
    color: #FF8C00;
}

.portfolio:hover {
    border-color: #9b59b6;
}

.portfolio:hover i {
    color: #9b59b6;
}
