:root {
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --accent-primary: #e01802;
    --accent-secondary: #d61803;
    --text-primary: #ffffff;
    --text-secondary: #b9bbbe;
    --minecraft-red: #ff1900;
    --minecraft-blue: #3498db;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    --card-hover-transform: translateY(-5px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(140, 53, 53, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(181, 67, 67, 0.1) 0%, transparent 40%);
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.profile {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.profile-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 15px;
    overflow: hidden;
    border: 4px solid var(--accent-primary);
    box-shadow: 0 0 20px rgba(255, 33, 9, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(228, 31, 9, 0.87);
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.profile h1 {
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 32px;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bio {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 50px;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-left: 4px solid var(--accent-primary);
    justify-content: space-between;
}

.link-card span {
    flex-grow: 1;
    margin-left: 15px;
}

.link-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.link-card:hover .link-arrow {
    opacity: 1;
    transform: translateX(0);
}

.link-card:nth-child(2) {
    border-left-color: var(--accent-secondary);
}

.link-card:nth-child(3) {
    border-left-color: var(--minecraft-red);
}

.link-card:nth-child(4) {
    border-left-color: #fc3838;
}

.link-card:nth-child(5) {
    border-left-color: #d61e1e;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.05), 
        transparent
    );
    transition: all 0.5s ease;
    z-index: 1;
}

.link-card:hover {
    transform: var(--card-hover-transform);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    background-color: #282828;
}

.link-card:hover::before {
    left: 100%;
}

.link-card i {
    font-size: 22px;
    min-width: 30px;
    text-align: center;
}

.link-card span {
    z-index: 2;
}

.about-section {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: var(--card-shadow);
    border-top: 4px solid var(--accent-primary);
}

.about-section h2 {
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: var(--accent-primary);
}

.about-section p {
    margin-bottom: 25px;
    color: var(--text-secondary);
}

.about-section h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: var(--text-primary);
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background-color: rgba(204, 95, 83, 0.274);
    color: var(--minecraft-red);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgb(255, 25, 0);
}

.skill-tag:nth-child(even) {
    background-color: rgba(204, 95, 83, 0.274);
    color: var(--accent-secondary);
    border: 1px solid rgb(255, 25, 0);
}

.skill-tag:nth-child(3n) {
    background-color: rgba(204, 95, 83, 0.274);
    color: var(--minecraft-red);
    border: 1px solid rgb(255, 25, 0);
}

/* Tools Section */
.tools-section {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: var(--card-shadow);
    border-top: 4px solid var(--accent-primary);
}

.tools-section h2 {
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: var(--accent-primary);
    text-align: center;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 25px;
    justify-items: center;
}

.tool {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.tool:hover {
    transform: translateY(-5px);
}

.tool-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.tool:hover .tool-icon {
    transform: scale(1.1);
}

.tool-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tool p {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 500;
}

.project-showcase {
    margin-bottom: 50px;
}

.project-showcase h2 {
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    text-align: center;
    color: var(--text-primary);
}

.project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.project {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--card-shadow);
    text-decoration: none;
    display: block;
    position: relative;
}

.project:hover {
    transform: var(--card-hover-transform);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.project-img {
    height: 150px;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.minecraft-texture {
    background-image: url('bconomy\ \(1\).png');
    position: relative;
}

.minecraft-texture-2 {
    background-image: url('wantedstats\ \(2\).png');
    position: relative;
}

.minecraft-texture-3 {
    background-image: url('wanted\ hide\ \(2\).png');
    position: relative;
}

.minecraft-texture::after, 
.minecraft-texture-2::after, 
.minecraft-texture-3::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--bg-secondary) 0%, transparent 50%);
}

.project h3 {
    padding: 15px 20px 5px;
    font-size: 18px;
    color: var(--accent-primary);
}

.project p {
    padding: 0 20px 15px;
    font-size: 14px;
    color: var(--text-secondary);
}

.project-link {
    padding: 0 20px 15px;
    font-size: 14px;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.project:hover .project-link {
    opacity: 1;
    transform: translateX(5px);
}

.contact-section {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: var(--card-shadow);
    border-top: 4px solid var(--accent-primary);
}

.contact-section h2 {
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: var(--accent-primary);
    text-align: center;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: rgba(30, 30, 30, 0.5);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 25, 0, 0.432);
}

.contact-method:hover {
    transform: translateY(-5px);
    background-color: rgba(40, 40, 40, 0.5);
    border-color: rgba(207, 29, 9, 0.568);
}

.contact-method i {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--accent-primary);
}

.contact-method span {
    font-weight: 600;
}

footer {
    text-align: center;
    color: var(--text-secondary);
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.footer-note {
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.7;
}

.minecraft-font {
    font-family: monospace;
    letter-spacing: 1px;
    color: var(--minecraft-red);
}

.minecraft-animation {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
}

.minecraft-block {
    width: 150px;
    height: 150px;
    background-image: url('https://i.imgur.com/s3Zb2uE.png');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 6s ease-in-out infinite;
    opacity: 0.2;
    filter: hue-rotate(140deg); /* Turn green to red */
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

@media (max-width: 600px) {
    .container {
        padding: 30px 15px;
    }
    
    .profile h1 {
        font-size: 28px;
    }
    
    .bio {
        font-size: 16px;
    }
    
    .project-cards {
        grid-template-columns: 1fr;
    }
    
    .minecraft-block {
        width: 100px;
        height: 100px;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}