/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6B35;
    --secondary-color: #F7931E;
    --accent-color: #4ECDC4;
    --dark-color: #2C3E50;
    --light-color: #F8F9FA;
    --text-color: #333333;
    --white: #FFFFFF;
}

body {
    font-family: "Livvic", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

/* Typography */
.slackey-regular {
    font-family: "Slackey", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.gluten-header {
    font-family: "Gluten", cursive;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings: "slnt" 0;
}

.livvic-regular {
    font-family: "Livvic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.livvic-medium {
    font-family: "Livvic", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.livvic-semibold {
    font-family: "Livvic", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.livvic-bold {
    font-family: "Livvic", sans-serif;
    font-weight: 700;
    font-style: normal;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 2rem;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-content {
    flex: 0.8;
    min-width: 300px;
    max-width: 500px;
    color: var(--white);
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-family: "Slackey", sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-family: "Gluten", cursive;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 500;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-image {
    flex: 1.2;
    min-width: 350px;
    max-width: 650px;
    animation: fadeInUp 1s ease-out 0.4s backwards;
    position: relative;
    z-index: 5;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05) rotate(2deg);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    font-family: "Gluten", cursive;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.cta-button:hover {
    background-color: #45b8af;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Carousel Section */
.carousel-section {
    padding: 5rem 2rem;
    background-color: var(--white);
}

.section-title {
    font-family: "Slackey", sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
}

.carousel-btn:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

/* Watch Me Go Section */
.watch-section {
    padding: 5rem 2rem;
    background-color: var(--light-color);
    text-align: center;
}

.gifs-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.gif-wrapper {
    width: 300px;
    height: 300px;
    perspective: 1000px;
}

.gif-item {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.6s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

.gif-wrapper:hover .gif-item {
    transform: rotateY(180deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.gif-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    backface-visibility: hidden;
}

/* About Section */
.about-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #3DBDB4 100%);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-section .section-title {
    color: var(--white);
    text-align: left;
    margin-bottom: 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.about-item {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-item:hover {
    transform: translateY(-5px);
}

.about-label {
    font-family: "Gluten", cursive;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about-value {
    font-family: "Livvic", sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-color);
}

.about-image {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05) rotate(-2deg);
}

/* Personality Section */
.personality-section {
    padding: 5rem 2rem;
    background-color: var(--white);
}

.personality-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.personality-card {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.personality-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.personality-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.personality-card:nth-child(1) .personality-icon {
    animation-delay: 0s;
}

.personality-card:nth-child(2) .personality-icon {
    animation-delay: 0.2s;
}

.personality-card:nth-child(3) .personality-icon {
    animation-delay: 0.4s;
}

.personality-card:nth-child(4) .personality-icon {
    animation-delay: 0.6s;
}

.personality-title {
    font-family: "Gluten", cursive;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.personality-text {
    font-family: "Livvic", sans-serif;
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* Skills Section */
.skills-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    text-align: center;
}

.skills-section .section-title {
    color: var(--white);
}

.skills-intro {
    font-family: "Gluten", cursive;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.skills-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.skill-badge {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 1.5rem 3rem;
    border-radius: 50px;
    font-family: "Gluten", cursive;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.skill-badge:hover {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* What I Like Section */
.likes-section {
    padding: 5rem 2rem;
    background-color: var(--white);
    text-align: center;
}

.word-cloud {
    max-width: 1000px;
    margin: 3rem auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem 2rem;
    padding: 2rem;
}

.word-item {
    display: inline-block;
    font-family: "Gluten", cursive;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: default;
    animation: fadeInUp 0.6s ease-out backwards;
}

.word-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.word-large {
    font-size: 2rem;
    transform: rotate(-2deg);
    animation-delay: 0.1s;
}

.word-medium {
    font-size: 1.5rem;
    transform: rotate(1deg);
    animation-delay: 0.2s;
}

.word-small {
    font-size: 1.2rem;
    transform: rotate(-1deg);
    animation-delay: 0.3s;
}

.word-item:nth-child(1) {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.word-item:nth-child(2) {
    background: linear-gradient(135deg, var(--accent-color), #3DBDB4);
}

.word-item:nth-child(3) {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.word-item:nth-child(4) {
    background: linear-gradient(135deg, #3DBDB4, var(--accent-color));
}

.word-item:nth-child(5) {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.word-item:nth-child(6) {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}

.word-item:nth-child(7) {
    background: linear-gradient(135deg, var(--primary-color), #3DBDB4);
}

.word-item:nth-child(8) {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.likes-footnote {
    font-family: "Livvic", sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    font-style: italic;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    background-color: var(--dark-color);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: "Slackey", sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-text {
    font-family: "Livvic", sans-serif;
    font-size: 1.3rem;
    color: var(--light-color);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-button-large {
    display: inline-block;
    padding: 1.5rem 3.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    font-family: "Gluten", cursive;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
}

.cta-button-large:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.6);
}

.cta-note {
    font-family: "Livvic", sans-serif;
    font-size: 1rem;
    color: var(--accent-color);
    margin-top: 1.5rem;
    font-style: italic;
}

.cta-image {
    margin-top: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-image img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.cta-image img:hover {
    transform: scale(1.03);
}

/* Footer */
.footer {
    padding: 2rem;
    background-color: #1a252f;
    text-align: center;
}

.footer-text {
    font-family: "Livvic", sans-serif;
    font-size: 1rem;
    color: var(--light-color);
    margin: 0.5rem 0;
}

.footer-text a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-text a:hover {
    color: var(--secondary-color);
}

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

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 3rem 1.5rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .carousel-container {
        flex-direction: column;
    }
    
    .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }
    
    .carousel-btn.prev {
        left: 10px;
    }
    
    .carousel-btn.next {
        right: 10px;
    }
    
    .about-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .about-section .section-title {
        text-align: center;
    }
    
    .personality-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-list {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .skill-badge {
        padding: 1.2rem 2.5rem;
        font-size: 1.3rem;
    }
}
