.straw-section {
	/* background: url(../images/menubg_2000x1333_2.jpg) no-repeat; */
	--section: 60px;
	margin-top: var(--section);
	margin-bottom: calc(-1 * var(--section));
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}

.straw-section.straw-scroll-fixed {
	background-attachment: fixed;
}

.animation-wrap {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 90vh;
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: none;
}

.straw-scroll-fixed .animation-wrap {
	position: sticky;
}

.cup {
	position: relative;
	width: 300px;
	filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.3));
}

.liquid {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 2;
	opacity: 0.9;
}

.liquid-img {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	/* height: 100%; */
	object-fit: cover;
}

.straw-container {
	position: absolute;
	width: 43px;
	height: 600px;
	/* 調整初始位置 */
	left: 50%;
	transform: translateX(-50%);
}

.straw-container img {
	filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.15));
}

.straw {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: #FF5E3A;
	border-radius: 10px;
}

.straw::before {
	content: '';
	position: absolute;
	width: 10px;
	height: 100%;
	background-color: #FF9500;
	border-radius: 5px;
	left: 5px;
}

@keyframes rise {
	0% {
		bottom: 0;
		opacity: 0;
	}

	20% {
		opacity: 1;
	}

	80% {
		opacity: 0.7;
	}

	100% {
		bottom: 100%;
		opacity: 0;
	}
}

/* 確保頁面底部有足夠空間 */
.spacer {
	height: 100vh;
}

/* 調試用邊框 */
.debug-border {
	border: 2px solid red;
}

.cup-empty-up {
	position: absolute;
	opacity: 0.6;
	z-index: 2;
}

.cup-logo {
	width: 100px;
	position: absolute;
	top: 130px;
	left: calc(50% + 5px);
	transform: translateX(-50%);
	z-index: 3;
}

.mt-adjust {
	position: relative;
	margin-top: 150px;
}
.straw-container img {
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.15));
    transform: rotate(15deg);
    transition: transform 0.3s;
}
.cup:hover .straw-container img {
    transform: rotate(15deg);
}
.straw-line {
	position: absolute;
	top: 15px;
	left: 50%;
	width: 0;
	height: 2px;
	background-color: #333;
	transform-origin: left center;
	transition: width 0.5s ease-out;
}

.straw-text {
	position: absolute;
	top: 30px;
	left: 50%;
	transform: translateX(-50%);
	width: 200px;
	opacity: 0;
	transition: opacity 0.5s ease-out;
}

.straw-text p {
	margin: 5px 0;
	font-size: 14px;
	line-height: 1.5;
	color: #333;
}

.straw-content {
	position: relative;
	z-index: 2;
	margin-top: -100vh;
	padding: 0 2rem;
}

.straw-intro {
	max-width: 400px;
	margin: 0 auto;
}

.straw-intro h2 {
	font-size: 2rem;
	font-weight: 600;
	color: #333;
	margin-bottom: 2rem;
	text-align: left;
}

.straw-features {
	background: rgba(255, 255, 255, 0.9);
	padding: 2rem;
	border-radius: 15px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-item {
	padding: 1rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

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

.feature-item:hover {
	transform: translateX(5px);
	background: rgba(255, 255, 255, 0.95);
}

.feature-item h3 {
	color: #2c3e50;
	font-weight: 600;
	position: relative;
	padding-left: 1.5rem;
	font-size: 1.2rem;
}

.feature-item h3:before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 6px;
	height: 6px;
	background: #e74c3c;
	border-radius: 50%;
}

.feature-item p {
	color: #666;
	font-size: 1rem;
	line-height: 1.6;
	padding-left: 1.5rem;
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.straw-section {
		background-attachment: fixed;
		background-size: cover;
		background-position: center;
	}
	
	.straw-content {
		margin-top: -80vh;
		padding: 0 1rem;
	}
	
	.straw-intro {
		max-width: 100%;
	}
	
	.straw-intro h2 {
		font-size: 1.8rem;
	}
	
	.straw-features {
		padding: 1.5rem;
	}
	
	.feature-item {
		padding: 0.8rem;
	}
	
	.feature-item h3 {
		font-size: 1.1rem;
	}
	
	.feature-item p {
		font-size: 0.9rem;
	}
}